SalesPurchLine.setPriceDiscPriceUnit Method
Sets the price and price unit based on trade agreements.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public void setPriceDiscPriceUnit(
PriceDisc_Price _priceDisc,
PriceDiscPolicyCheckPolicy _checkPolicy,
[RetailOrderCalculator _retailCalculator])
Microsoft Dynamics AX 2012 R2 (SYS)
public void setPriceDiscPriceUnit(PriceDisc_Price _priceDisc, PriceDiscPolicyCheckPolicy _checkPolicy)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void setPriceDiscPriceUnit(PriceDisc_Price _priceDisc, PriceDiscPolicyCheckPolicy _checkPolicy)
Microsoft Dynamics AX 2012 (FPK)
public void setPriceDiscPriceUnit(PriceDisc_Price _priceDisc, PriceDiscPolicyCheckPolicy _checkPolicy)
Microsoft Dynamics AX 2012 (SYS)
public void setPriceDiscPriceUnit(PriceDisc_Price _priceDisc, PriceDiscPolicyCheckPolicy _checkPolicy)
Run On
ClientOrServer
Parameters
- _priceDisc
Type: PriceDisc_Price Class
A PriceDisc object.
- _checkPolicy
Type: PriceDiscPolicyCheckPolicy Class
A PriceDiscPolicyCheckPolicy object.
- _retailCalculator
Type: RetailOrderCalculator Class