LineItemsValidate

This is a delegate of the UserExitLineItemsValidate and has the following parameters:

  • ITable table

  • IField field

  • IWorkdoc doc

  • bool lineItemsMandatory

  • ref bool valid

This user exit enables you to customize validation logic for line items by checking the cells and rows in a table. To account for a custom validation error, ensure that you set the cell state and cell error message of the affected cell, and also set he passed value flag to false.

The lineItemsMandatory flag indicates if lines are mandatory or not on the document. Whether line items are mandatory or not is configured by the following settings in the Settings > Invoice Processing > Capture Profiles > Line Item Table Settings:

  • Skip For Service

  • Skip For Multi Line Limits

  • Skip For No PO

  • Skip For Credit

  • Skip For MIRA

  • Skip For Unreleased PO

  • Skip For Invalid PO

  • Skip For Invalid Vendor

  • Skip For Utility Vendor

This user exit is available during validation processing only.