Share via


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.

Return Value

Type: boolean
true if the prepay purchase order documents are not mixed with non-prepay; otherwise, false.

See Also

Reference

PurchPrepayTable Table