SalesPurchLine.setAgreementQtyAndPrice Method [AX 2012]

Sets the price and discounts from the agreement line.

public void setAgreementQtyAndPrice(AgreementLine _agreementLine, [boolean _setQty])

Run On

ClientOrServer

Parameters

_agreementLine
Type: AgreementLine Table
The AgreementLine record to set the price and discounts from.
_setQty
Type: boolean
true if quantity is to be set based on AgreementLine record; otherwise false.
Show: