SalesPurchLine::priceDisc_PriceCache Method [AX 2012]

Initializes the PriceDisc_Price class.

server public static PriceDisc_Price priceDisc_PriceCache(
    SalesPurchLine _salesPurchLine, 
   [InventDim _inventDim, 
    boolean _doCallPriceDate])

Run On



Type: SalesPurchLine Map
An instance of the SalesPurchLine table map.
Type: InventDim Table
A buffer of the InventDim table.
Type: boolean
A Boolean value that specifies whether to use the price date or the system date for the price calculation.

Return Value

Type: PriceDisc_Price Class
An instance of the PriceDisc_Price class.