Working with line item matching
In order to use the LIM feature for a Document Type, select the LIM check box from the Additional Configurations column on the Document Type screen. If LIM is configured at the Document level, the LIM button becomes visible on the Validation screen for the selected Document Type.
In AUTOMATED_REGEX_VALIDATION, Line Items are matched for the document types for which LIM was enabled. Based on validation, the Line Item field is marked as True/Empty. If this plugin is not present at the Batch Class level, the application considers that the Line Items are not matched (validation failed) and the LIM button becomes red on the Validation screen. The user has to manually validate the line items and process further.
When executing the Batch, the Automatic Validation module runs the LIM algorithm and validates the line items based on the configurations.
The Line Items Matched check box is a read-only field and is selected if all the line items are matched.
The LIM View lists the Invoice and PO data tables with Line Items matched.
-
Case 1: If the Line Items are matched and fields are valid, the row is highlighted in green.
-
Case 2: If the Line Items are matched and validation fails, the row is highlighted in red.
-
Case 3: If the Line Items are not matched, the row is empty.
-
Case 4: If there are multiple data tables for a Document Type and any of the property (Batch Class/ PO level configuration) is missing, the validation is considered failed and the LIM View button is red.
In the above example, the green rows reflect the Line Items which are matched and valid. And the red row reflects that the Line Item is matched but invalid, here the value of the PO Line field is not correct. The line item is invalid if either the price or quantity or both do not match.
You can manually update the PO Line by selecting the desired value from the drop-down list.
When you click Save, only the Data Table which is visible is saved. All the other Data Tables are not saved.