Add alert display function to list screen

Data that needs to be processed urgently can be displayed in red on the list screen.

Here, as an example, we will add the function to display the items whose unit price of the order list application is below the threshold value in red.

App Operation

Items whose unit price is below 5,000 yen are displayed in red.

../../../../../_images/img_00.en6.png

Customization procedure

Change screen layout

Set the threshold to display alerts on the screen.

  1. Login to CELF and click the "Manage"button to open the Management screen.
../../../../../_images/img_01.en79.png

Tip

The "Manage" button appears when you are logged in as an administrator.

  1. Double-click the app you want to customize.
../../../../../_images/img_02.en79.png
  1. Double-click the Order List sheet (main sheet).
../../../../../_images/img_03.en64.png
  1. Click on the column heading of the last column displayed and drag it to the right.
../../../../../_images/img_04.en58.png

Hint

Drag the mouse to the right of the last column.

  1. With the entire last column selected, right-click on the column heading of the column and click "Unhide".
../../../../../_images/img_05.en54.png

Tip

The hidden columns will be displayed.

../../../../../_images/img_06.en41.png
  1. Enter the threshold in the first line of the displayed column.
../../../../../_images/img_07.en39.png

Hint

Enter "5000" to "Display in red when the unit price is less than 5000 yen".

  1. Right-click the column heading in the column where you entered the threshold and select "Hide".
../../../../../_images/img_08.en32.png
  1. Save and close the sheet.
../../../../../_images/img_09.en27.png

Change the action to show rows that exceed the threshold in red

Add alert display function to the "Redisplay" action of the list screen
The following figure shows the process flow of adding the alert display function to the "Redisplay" action.
../../../../../_images/img_43.en1.png

The modifications are as follows

[1] Initialize the formatting of a cell in a table section
Add a process to initialize the formatting of cells in the table section.
This process is to avoid leaving the previous alert display on the second data search.

[2] Alert display settings
Add processing for alert display settings.
The number of rows in the table is processed to determine if the "Unit price" is below the threshold value.
If it is below the threshold, change the cell format in which the data is displayed.

Now, the steps below will show you how to actually modify the action set.

Open the "Redisplay" action on the list screen

  1. Login to CELF and click the "Manage"button to open the Management screen.
../../../../../_images/img_01.en79.png

Tip

The "Manage" button appears when you are logged in as an administrator.

  1. Double-click the app you want to customize.
../../../../../_images/img_02.en79.png
  1. Double-click the Order List sheet (main sheet).
../../../../../_images/img_03.en64.png
  1. Click the img_edit_action_button button.
../../../../../_images/img_10.en24.png
  1. Double-click the "Redisplay" action set.
../../../../../_images/img_11.en22.png

Initialize the cell format of a table section

  1. Select the "Set cell format" action from the "Cells" tab and add it by dragging and dropping it to the top of the action set.
../../../../../_images/img_12.en17.png

Hint

The area where you can add an action will change to orange. Make sure the color of the area you want to add changes and then release the mouse button.
../../../../../_images/img_0044.en1.png
  1. In the added "Set cell format" action, enter '=[sheet name]!B5 & [sheet name]!B3 & "":" & [sheet name]!B6 & [sheet name]!B4'.
../../../../../_images/img_13.en16.png

Hint

This formula is complex, so please copy and paste it from the description above.
The meaning of the formula is explained in the "Side note" section below, if you’re interested.

Tip

This formula represents the range of the list, "From "Cell address at the start of the table" to "Cell address at the end of the table"".
../../../../../_images/img_14.en14.png
The "Cell address at the start of the table" indicates the following cells
../../../../../_images/img_15.en14.png
The "Cell address at the end of the table" indicates the following cells
../../../../../_images/img_16.en14.png
  1. Click the "Format" button for the added "Set cell format" action.
../../../../../_images/img_17.en12.png
  1. Edit the items in the "Font" tab as follows
  • Font: MeiRyo
../../../../../_images/img_18.en12.png
  1. Use the "Borders" tab to set the left and right borders.
../../../../../_images/img_19.en12.png

Hint

Black lines will appear on the left and right.

../../../../../_images/img_20.en11.png
  1. On the "Borders" tab, set the color of the line to gray.
../../../../../_images/img_21.en9.png
  1. On the "Borders" tab, set the remaining borders in step 10.
../../../../../_images/img_22.en8.png

Hint

A gray line will appear.

../../../../../_images/img_23.en6.png
  1. Click the "OK" button.
../../../../../_images/img_24.en7.png

Add alert display function to list screen

  1. Copy the "Set value to sheet cell" action on line 17 by dragging and dropping it on top of the previous "Execute sheet action" action.
../../../../../_images/img_25.en6.png

Hint

Make sure you copy it into the following image, taking care to position it so that it looks like the following image.

../../../../../_images/img_26.en3.png

Hint

You can copy an action by dragging and dropping it while holding down Ctrl.

  1. Add the "Repeat processing for the specified number of times" action from the "Control" tab by dragging and dropping it under the "Set value to sheet cell" action that you copied.
../../../../../_images/img_27.en5.png
  1. Set the number of repetition of the added "Repeat processing for the specified number of times" action to the same formula as the number of repetitions of the "Repeat processing for the specified number of times" action 3 below.
../../../../../_images/img_28.en5.png

Hint

Look for the actions listed in the comments below.
Repeat for the number of acquisitions and perform the following process
・Copy the search results to DB data
・Set No.
・Set the checkboxes in the Delete column.
  1. Drag and drop the "Determine condition" action from the "Control" tab into the "Repeat processing for the specified number of times" action that you added.
../../../../../_images/img_29.en5.png
  1. Enter "=INDIRECT( "M" & [sheet name]!H3) < Q1" in the branching condition of the added "Determine condition" action.
../../../../../_images/img_30.en5.png

Hint

This formula is complex, so please copy and paste it from the description above.
The meaning of the formula is explained in the "Side note" section below, if you’re interested.

Tip

This formula expresses the condition of a cell that is displayed with a red background color, "If the 'Unit price of that row' is below the 'Threshold'".

""M" & [sheet name]!H3" represents the cell address of "Unit price of that row".
The ""M"" is the unit price column address,
../../../../../_images/img_31.en3.png
The "[sheet name]!H3" displays the address of the row.

"Q1" is the address of the threshold cell set by Change screen layout.
../../../../../_images/img_07.en39.png
  1. Select the "Set cell format" action from the "Cells" tab and drag and drop it onto the "If ___ then" part of the "Determine condition" action you added.
../../../../../_images/img_32.en3.png
  1. Enter "="M" & [sheet name]!H3" in the cell input field of the added "Set cell format" action.
../../../../../_images/img_33.en4.png

Hint

If you are interested, the meaning of the formula is explained in the "Side note" section of Procedure 5.

  1. Click the "Format" button for the added "Set cell format" action.
../../../../../_images/img_34.en4.png
  1. Edit the items in the "Font" tab as follows
  • Font: MeiRyo
../../../../../_images/img_18.en12.png
  1. Edit the "Lines" item on the "Borders" tab as follows.
  • Color: Grey
../../../../../_images/img_35.en2.png
  1. Click the "Presets" item below on the "Borders" tab.
  • Preset: Outline
  • Preset: Inside
../../../../../_images/img_36.en1.png
  1. In the "Fill" tab, edit the "Cell Shading Color" item and click the "OK" button.
  • Shaded color of the cells: red
../../../../../_images/img_37.en1.png
  1. Select the "Set value to sheet cell" action from the "Sheets" tab and copy it by dragging and dropping it underneath the "Repeat processing for the specified number of times" action you added in step 2.
../../../../../_images/img_38.en1.png

Hint

Pay close attention to the position when adding, so that it looks like the following image.

../../../../../_images/img_39.en1.png
  1. Click the "Select sheet" button of the added "Set value to sheet cell" action.
../../../../../_images/img_40.en1.png
  1. Double-click the "Order List__for Control(Action)" sheet.
../../../../../_images/img_41.en1.png
  1. Configure the added "Set value to sheet cell" actions as follows.
  • Cell: "H3"
  • Value:"=[sheet name]!H3 + 1"
../../../../../_images/img_42.en1.png

Tip

For "=[sheet name]!H3 + 1", add 1 to the row number.
This action causes the value to increase each time it is repeated with the "Repeat processing for the specified number of times" action, covering all rows in the unit price column.
  1. Click the "OK" button on the action set.
../../../../../_images/img_0045.en.png

Completed.

See also

Similar functionality can be added to other sheets.
To add it to the header search screen sheet, see "Add an alert display function on the header search screen".
To add to a single sheet, see "Add alert display function to single-cut screen".
To add to a cross sheet, see "Add an alert function to the cross table screen".