PriceDiscPolicyDialog.updatePolicy Method [AX 2012]
Updates the policies in question if the user has changed any values in the dialog.
Syntax
protected RefRecId updatePolicy(
RefRecId _origPriceDiscPolicy,
container _policy,
Map _policyFieldList,
[RefFieldId _singleFieldEntry])
Run On
Called
Parameters
- _origPriceDiscPolicy
Type: RefRecId Extended Data Type
The record ID of the PriceDiscChangePolicy record.
- _policy
Type: container
A container that contains a policy as it looked before the dialog was opened.
- _policyFieldList
Type: Map Class
A map that stores the instances of the DialogField class coming from the dialog.
- _singleFieldEntry
Type: RefFieldId Extended Data Type
A field ID that specifies if only a single policy field is handled.
Return Value
Type: RefRecId Extended Data Type
The record ID of the PriceDiscChangePolicy record.