Search

Set Validation For Inner Column

Articles

Use this function to add a validation error message to the column of the Inline table of the document table.

Syntax

Set validation for inner column (message, document_table_name, uuid, column, inner_table_uuid)

Parameters

Input Parameter Name Description
message Validation message to be displayed
document_table_name Name of the document table
uuid UUID of the record in the parent table
column The column in the Inline table for which message must be set
inner_table_uuid UUID of the record in the Inline table for which message must be set

Sample

Set validation for inner column (Quantity is NULL, InvoiceTable, UUID, Item.Quantity, Item.UUID)

  • In the InvoiceTable for record with specified UUID the column Quantity of the inner table Item having the specified UUID Item.Quantity is blank, then the error message Quantity is NULL is displayed for that record in Inline table.

For column parameter format is InnerTable.ColumnName, if the inner column name is ITEM NO and the inline-table name is PRODUCT provide column parameter as PRODUCT.ITEM NO

The error message is displayed in the document only when the status of the record is MANUAL_INTERVENTION_VALIDATION_FAILED. For any other status, the error message is not displayed.

To view all the Document functions, click here.

Did you find what you were looking for?