SalesLine.setPriceDiscPriceUnit Method [AX 2012]

Calls the setPriceDiscPriceUnit method of the SalesPurchLine table map.

NoteNote

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, 
           [RetailSalesOrderCalculator _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

Called

Parameters

_priceDisc
Type: PriceDisc_Price Class
An instance of the PriceDisc class.
_checkPolicy
Type: PriceDiscPolicyCheckPolicy Class
An instance of the PriceDiscPolicyCheckPolicy class.
_retailCalculator
Type: RetailSalesOrderCalculator Class
Show: