Share via


RequisitionPurchaseOrderGeneration.validateVendor Method [AX 2012]

Checks for vendor rule.

Syntax

private boolean validateVendor(PurchReqLine _purchReqLine, [boolean _purchaseOrderCreate])

Run On

Server

Parameters

  • _purchReqLine
    Type: PurchReqLine Table
    The PurchReqLine table object from the PurchReqLine table to retrieve.
  • _purchaseOrderCreate
    Type: boolean
    The boolean value indicates if the caller is from PO creation.

Return Value

Type: boolean
true if vendor rule passes; otherwise, false.

See Also

Reference

RequisitionPurchaseOrderGeneration Class