PriceDiscPolicyFixed::newFromPriceDiscResultFields Method [AX 2012]
Creates a new instance of the PriceDiscPolicyFixed class and initiates the internal variables.
client server public static PriceDiscPolicyFixed newFromPriceDiscResultFields(PriceDiscResultFields _priceDiscResultFields)
Run On
ClientOrServerParameters
- _priceDiscResultFields
- Type: PriceDiscResultFields Map
An instance of the PriceDiscResultFields table map.
When this method is called for the first time, an instance of the PriceDiscPolicyFixed class is constructed and initialized and then stored in the global cache.
When it is called again, the instance of the PriceDiscPolicyFixed class is retrieved from the global cache and validated to see whether is still valid. If it is not valid, it is re-initialized.
Show: