Share via


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

  • _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.

Return Value

Type: RefRecId Extended Data Type
The record ID of the PriceDiscChangePolicy record.

See Also

Reference

PriceDiscPolicyDialog Class