Trigger Field Value Change Script for Table Data Fields

This feature helps the user to run custom script while changing the table data on the validation screen. System triggers a validation script if you change any table field. The system control defaults to the 1st invalid entry on the table view if the script is ON. This feature works the same way as the field value change script works for document level fields.

Steps to Run the Function:

1. From the DCMA Home page, click ADMINSITRATOR and select BATCH CLASS MANAGEMENT. The Ephesoft Enterprise Login page displays.

2. Enter valid credentials to login. The Batch Class Management screen displays.

3. Create a Batch Class or enhance an existing batch class.

4. Add Table Name under the batch class and set “Table Cell Value Change Script” to true. The default value for the field is False.

Screen Print:

5. Set Table cell value change Script Switch “ON” under validate Document Plugin.
Screen Print:

6. Configure the table columns and table extraction rules.

7. Apply and deploy the newly added configuration.

8. Go to Ephesoft/SharedFolders/Batch_Identifier/
Screen Print:
9. Open the script.Image4
Screen Print:

Note: This script is bind to the table, if needed configure the script as required.
Note: Ctrl + open bracket ‘[’ {[} will be used as script enable disable shortcut key.
The following information is displayed in the script:

  • Updated document object
  • Table Name
  • Document Identifier
  • Table Column Name
  • Row index(int)

Batch Execution:
10. Run the batch once the configuration is completed.

11. Click Table button given on top of Validation screen.
Screen Print:

Table view screen displays
12. In the Table view screen, change the field value as shown in the image (image no.) and press the Tab key on the keyboard.
Screen Print:Image7

As expected, the application highlights the first invalid field in the table on the Invoice tiff file.
Screen Print:

Similarly, the application highlights any other field in the table that is changed.
Screen Print:

End of Document.