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

Server

Parameters

_salesPurchLine
Type: SalesPurchLine Map
An instance of the SalesPurchLine table map.
_inventDim
Type: InventDim Table
A buffer of the InventDim table.
_doCallPriceDate
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.
Show: