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