PurchPrepayTable::validatePrepayCrossPurchOrder Method
Checks whether the prepay purchase order documents are arranged or posted only when they all belong to purchase orders with the same prepay status.
Syntax
server public static boolean validatePrepayCrossPurchOrder(ParmId _parmId, DocumentStatus _documentStatus)
Run On
Server
Parameters
- _parmId
Type: ParmId Extended Data Type
The value of the ParmId field from either the PurchParmTable or VendInvoiceInfoTable table.
- _documentStatus
Type: DocumentStatus Enumeration
The document status value of the PurchFormLetter object.
Return Value
Type: boolean
true if the prepay purchase order documents are not mixed with non-prepay; otherwise, false.