PurchSpendingThresholdValidation_PSN.checkAllPurchaseOrdersAreOfTypeComplete Method [AX 2012]

Verify that the all purchase orders for a selected category is of type Purchase agreement type complete.

private boolean checkAllPurchaseOrdersAreOfTypeComplete(PurchPolicyRuleCatThresholdDetail_PSN _purchPolicyRuleCatThresholdDetail, PurchCategory _purchCategory)

Run On

Server

Parameters

_purchPolicyRuleCatThresholdDetail
Type: PurchPolicyRuleCatThresholdDetail_PSN Table
The purchPolicyRuleCatThresholdDetail_PSN table record.
_purchCategory
Type: PurchCategory Extended Data Type
The selected PO line category.

Return Value

Type: boolean
true if all PO purchase agreement is of type complete for the selected category;otherwise, false.

Community Additions

ADD
Show: