PriceDiscHeading.updatePriceDate Method [AX 2012]

Updates the date for a given multiline discount code to use for discount calculations.

public void updatePriceDate(
    PriceDiscLine _priceDiscLine, 
    Map _priceDateMap, 
    InventMultiLineDiscCode _multiLineDisc, 
    boolean _hasPriceDate)

Run On

ClientOrServer

Parameters

_priceDiscLine
Type: PriceDiscLine Map
A PriceDiscLine buffer for which the date must be considered.
_priceDateMap
Type: Map Class
A map that contains the price dates based on multiline discount codes.
_multiLineDisc
Type: InventMultiLineDiscCode Extended Data Type
The multiline discount code for which to calculate the price date.
_hasPriceDate
Type: boolean
Determines whether the price date is applicable for the PriceDiscLine object.

Community Additions

ADD
Show: