Add alert display function to single-cut screen

Data that needs to be processed urgently can be displayed in red on the single-cut screen.

Here, as an example, we will add the function to display the items whose unit price of the quotation 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.en7.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.en80.png

Tip

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

  1. Double-click the app you want to customize.
../../../../../_images/img_02.en80.png
  1. Double-click the quotation sheet (main sheet).
../../../../../_images/img_03.en65.png
  1. Click the img_sheet_setting_button button in the sheet setting category.
../../../../../_images/img_04.en59.png
  1. In the "General" tab, increase the value of "Number of columns" by 1 and click the "OK" button.
../../../../../_images/img_05.en55.png
  1. Enter the threshold in the first line of the rightmost column of the sheet.
../../../../../_images/img_06.en42.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_07.en40.png
  1. Save and close the sheet.
../../../../../_images/img_08.en33.png

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

Add alert display function to "Redisplay" action of single-cut screen
The following figure shows the process flow of adding the alert feature to the "Redisplay" action.
../../../../../_images/img_36.en2.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 action set in the single sheet screen.

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

Tip

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

  1. Double-click the app you want to customize.
../../../../../_images/img_02.en80.png
  1. Double-click the quotation sheet (main sheet).
../../../../../_images/img_03.en65.png
  1. Click the img_edit_action_button button.
../../../../../_images/img_09.en28.png

Initializing the cell formatting of a statement section

  1. Double-click on the "Redisplay" action set.
../../../../../_images/img_10.en25.png
  1. Select the "Apply format to cell" action from the "Cells" tab and add it to the top of the action set.
../../../../../_images/img_11.en23.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.en2.png
  1. Click the cell selection button for the added "Apply format to cell" action.
../../../../../_images/img_12.en18.png
  1. Select the area of the table.
../../../../../_images/img_13.en17.png
  1. Click the "Format" button for the added "Apply format to cell" action.
../../../../../_images/img_14.en15.png
  1. Edit the items in the "Font" tab as follows
  • Font: MeiRyo
../../../../../_images/img_15.en15.png
  1. Edit the "Line" item on the " Borders" tab as follows.
  • Color: Grey
../../../../../_images/img_16.en15.png
  1. Click the "Presets" item below on the " Borders" tab.
  • Preset: Outline
  • Preset: Inside
../../../../../_images/img_17.en13.png
  1. Click the "OK" button.
../../../../../_images/img_18.en13.png

Hint

The formatting is now complete.

../../../../../_images/img_19.en13.png

Add alert display function to single-cut screen

  1. Copy the "Set values to sheet cell" action in line 36 by dragging and dropping it under itself.
../../../../../_images/img_20.en12.png

Hint

Look for the action commented as "Initialize the row counter".

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 on top of the "Set value to sheet cell" action you copied.
../../../../../_images/img_21.en10.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 2 below.
../../../../../_images/img_22.en9.png

Hint

Look for the action that is commented as follows: "Repeat for the number of acquisitions and perform the following process -Copy the search results to the DB data".

  1. Select the "Determine conditions" action from the "Control" tab, and drag and drop it into the "Repeat processing for the specified number of times" action that you added.
../../../../../_images/img_23.en7.png
  1. Enter "=AND( INDIRECT( "S" & [sheet name]!F2) < AB1 , INDIRECT( "S" & [sheet name]!F2) <>"" )" in the branching condition of the added "Determine condition" action.
../../../../../_images/img_24.en8.png

Hint

This formula is complex, so please copy and paste it from the description above and make appropriate changes.
If you are interested, the meaning of the formula is explained in the "Side note".

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' and if the 'Unit price of that row' is not blank".
../../../../../_images/img_25.en7.png
'"S" & [sheet name]!F2' represents the cell address of "Unit price of that row".
""S"" is the column address for the unit price,
../../../../../_images/img_26.en4.png
and the "[sheet name]!F2" is the address of the row.

"AB1" is the address of the threshold cell set in "Change screen layout".
../../../../../_images/img_06.en42.png
  1. Select the "Apply format to cell" action from the "Cells" tab and drag and drop it onto the "If ___ then" part of the "Determine condition" action you added.
../../../../../_images/img_27.en6.png
  1. Enter "="S" & [sheet name]!F2" in the cell entry field of the added action.
../../../../../_images/img_28.en6.png

Hint

This formula is complex, so please copy and paste it from the description above and make appropriate changes.
If you are interested, the meaning of the formula is explained in the "Side note".

Tip

'"S" & [sheet name]!F2' represents the cell address of "Unit price of that row".
""S"" is the column address for the unit price,
../../../../../_images/img_26.en4.png
and the "[sheet name]!F2" is the address of the row.
  1. Click the "Format" button for the added "Apply format to cell" action.
../../../../../_images/img_29.en6.png
  1. Edit the items in the "Font" tab as follows
  • Font: MeiRyo
../../../../../_images/img_15.en15.png
  1. Edit the "Line" item on the " Borders" tab as follows.
  • Color: Grey
../../../../../_images/img_16.en15.png
  1. Click the "Presets" item below on the " Borders" tab.
  • Preset: Outline
  • Preset: Inside
../../../../../_images/img_17.en13.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_30.en6.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_31.en4.png

Hint

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

../../../../../_images/img_32.en4.png
  1. Click the "Select sheet"button of the added "Set value to sheet cell" action.
../../../../../_images/img_33.en5.png
  1. Double-click on the "Quotation_for Control(Action)" sheet.
../../../../../_images/img_34.en5.png
  1. Configure the added "Set value to sheet cell" actions as follows
  • Cell: "F2"
  • Value: "[sheet name]!F2 + 1"
../../../../../_images/img_35.en3.png

Tip

For "[sheet name]!F2 + 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.en1.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 the list sheet, see "Add alert display function to list screen".
To add to a cross sheet, see "Add an alert function to the cross table screen".