Compartir a través de


PurchLine.checkCommitmentVendorMatchesOrderAccount Method

Validates that the order account for the current purchase order header matches the vendor account on the commitment related to the current purchase order line, if the commitment has a vendor account specified.

Syntax

public boolean checkCommitmentVendorMatchesOrderAccount([VendAccount _newOrderAccount])

Run On

Called

Parameters

  • _newOrderAccount
    Type: VendAccount Extended Data Type
    The account number that should be validated against. If no value is specied then it will be retrieved from the purchase order header.

Return Value

Type: boolean
true if the vendor account on the related commitment is blank or matches the order account on the purchase order header; otherwise, false.

Remarks

If no value is specified in the _newOrderAccount parameter, it will be retrieved from the purchase order header.

See Also

Reference

PurchLine Table