Search

PDF Validate

Last Updated: Nov 23, 2020

Articles

Use this function to add validation for a specific column.

Syntax

PDF Validate (tablepath, uuid, column, message)

Parameters

Input Parameter Name Description
tablepath Path of the table
uuid UUID of the record
column Column to add the validation
message Message to be added for validation

Sample

PDF Validate (/docube/api/pdf/Training/BasicTraining/invoicetable, 5fba170c58e0a754f2a19050, PO Number, Validation_Failed)

  • Suppose the data in the column ‘PO Number’ of the table ‘/docube/api/pdf/Training/BasicTraining/invoicetable’ is validated against PO Master table and it is found that the extracted data is not present in Master table, then the error message ‘Validation_Failed’ is updated for the row with the UUID ‘5fba170c58e0a754f2a19050’.

To view all the Document functions, click here.

Did you find what you were looking for?