PriceDiscPolicyFindOrCreate Class [AX 2012]

The PriceDiscPolicyFindOrCreate class is used to find or create a price discount change policy.

class PriceDiscPolicyFindOrCreate

Run On

Called

  MethodDescription
Gg806702.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg806702.protmethod(en-us,AX.60).gif create Creates a record in the PriceDiscChangePolicy table and related records in the PriceDiscPolicyFields table.
Gg806702.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif findOrCreateChangePolicy Finds or creates a new price discount policy.
Gg806702.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif init Initializes the instance variables.
Gg806702.protmethod(en-us,AX.60).gif isAutoTotalDiscountEnabled Checks whether the automatic calculation of the total discount percentage parameter is enabled for the sales order of a purchase order module.
Gg806702.protmethod(en-us,AX.60).gif new Initializes a new instance of the PriceDiscPolicyFindOrCreate class.
Gg806702.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif parmPolicyField Gets or sets the PolicyField parameter.
Gg806702.pubmethod(en-us,AX.60).gif parmPolicySource Gets or sets the PolicySource parameter.
Gg806702.pubmethod(en-us,AX.60).gif parmPriceDiscResultFields Gets or sets the PriceDiscResultFields parameter.
Gg806702.pubmethod(en-us,AX.60).gif run Distinguishes price discount policies based on automatically created and manually created records, and also handles the special line amount scenario.
Gg806702.protmethod(en-us,AX.60).gif setSystemPolicyFields Sets the default field IDs for the system based policies for header or line fields.
Gg806702.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg806702.protmethod(en-us,AX.60).gif systemHeaderPolicyFields Holds the list of the default system policy header fields.
Gg806702.protmethod(en-us,AX.60).gif systemLinePolicyFields Holds the list of default system policy line fields.
Gg806702.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg806702.protmethod(en-us,AX.60).gif updatePriceSystemDiscPolicyEntry Updates system based policies to avoid redundancy to manual based policies.
Gg806702.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg806702.protmethod(en-us,AX.60).gif validateManualEntryPolicy Indicates whether a manual entry price discount policy can be created.
Gg806702.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg806702.pubmethod(en-us,AX.60).gif Gg806702.static(en-us,AX.60).gif ::construct Initializes a new instance of the PriceDiscPolicyFindOrCreate class.
Gg806702.pubmethod(en-us,AX.60).gif Gg806702.static(en-us,AX.60).gif ::newFromParm Creates a new instance of the PriceDiscPolicyFindOrCreate class and initializes the instance variable.
Gg806702.pubmethod(en-us,AX.60).gif Gg806702.static(en-us,AX.60).gif ::newFromPriceDiscResultFields Creates a new instance of the PriceDiscPolicyFindOrCreate class and initializes the instance variables.
Top

Object Class
  PriceDiscPolicyFindOrCreate Class

Community Additions

ADD
Show: