SalesPurchLine.setPriceDiscPriceUnitMarkup Method
Sets the price, price unit, and markup based on the price discount change policy.
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 setPriceDiscPriceUnitMarkup(
PriceDisc_Price _priceDisc,
[PriceDiscPolicyCheckPolicy _checkPolicy,
RetailOrderCalculator _retailCalculator])
Microsoft Dynamics AX 2012 R2 (SYS)
public void setPriceDiscPriceUnitMarkup(PriceDisc_Price _priceDisc, [PriceDiscPolicyCheckPolicy _checkPolicy])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void setPriceDiscPriceUnitMarkup(PriceDisc_Price _priceDisc, [PriceDiscPolicyCheckPolicy _checkPolicy])
Microsoft Dynamics AX 2012 (FPK)
public void setPriceDiscPriceUnitMarkup(PriceDisc_Price _priceDisc, [PriceDiscPolicyCheckPolicy _checkPolicy])
Microsoft Dynamics AX 2012 (SYS)
public void setPriceDiscPriceUnitMarkup(PriceDisc_Price _priceDisc, [PriceDiscPolicyCheckPolicy _checkPolicy])
Run On
Called
Parameters
- _priceDisc
Type: PriceDisc_Price Class
A PriceDisc object.
- _checkPolicy
Type: PriceDiscPolicyCheckPolicy Class
A PriceDiscPolicyCheckPolicy object.
- _retailCalculator
Type: RetailOrderCalculator Class