PurchSpendingThresholdValidation_PSN.evaluatePurchaseAgreementType Method [AX 2012]

Verifies the PO and invoice line amounts and purchase agreement against the policy theshold amount and purchase process type.

protected boolean evaluatePurchaseAgreementType(Array _policyRules, Common _common)

Run On

Server

Parameters

_policyRules
Type: Array Class
An array of the purchase spending policy rules to be checked against.
_common
Type: Common Table
The selected table record.

Return Value

Type: boolean
true if validation passed; otherwise, false.

Community Additions

ADD
Show: