PDSAdvancedPricing Class [AX 2012]
The PDSAdvancedPricing class computes prices by using potency pricing calculation expressions that are defined in the database.
| Method | Description | |
|---|---|---|
| applyElementMapToFormula | Applies the element value maps to the equation. |
| averageAdjustedUnitPrice | Progressively gets the adjusted unit price as a weighted average. |
| calc | Calculates the adjusted unit price. |
| calculationId | Gets the calculation ID that is used by the master record. |
| calEquation | Computes the adjusted unit price by using the stored calculation equation. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| elementValue | Gets the value for a specified advanced pricing equation element. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| evalError | Logs or throws an evaluation error message. |
| getElementDefinitions | Gets a list of element definitions or metadata of the current equation. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| inventTable | Gets the InventTable record for the specified line. |
| inventTableModule | Gets the InventTableModule record that is appropriate for the active item and module. |
| inventTransId | Gets the inventory transaction ID of the main table record for which an advanced price will be computed. |
| isError | Gets a value that indicates whether an error occurred during the specified calculation. |
| itemId | Gets the item ID on the specified line. |
| maxReceiptStatus | Gets the maximum processed receipt status for inventory transactions that will be used for computing adjusted unit prices. |
| new | Initializes a new instance of the PDSAdvancedPricing 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.) |
| parmHideMessage | Gets or sets the HideMessage parameter. |
| parmInventQualityOrderTable | Gets or sets the InventQualityOrderTable parameter. |
| parmInventTrans | Gets or sets the InventTrans parameter. |
| parmPDSCalculationTable | Gets or sets the PDSCalculationTable parameter. |
| parmThrowException | Gets or sets the ThrowException parameter. |
| populateElementValueMap | Populates the value map used for variables in the advanced pricing calculation. |
| qty | Gets the quantity that will be used for advanced calculation equation processing. |
| reset | Resets the internal counters for the total quantity and total amount. |
| setElementValue | Sets an element in the current equation to a specified value. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| unitPrice | Gets the unit price on the specified line. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateEquation | Gets a value that indicates whether the specified equation is valid. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Construct an PDSAdvancedPricing derived object based on the advanced pricing type. |
| ::newRecord | Creates a new PDSAdvancedPricing object (record) that is appropriate for the specified record. |
| ::numRefCalculationId | Gets the number sequence reference for the CalculationId field. |
Community Additions
ADD
Show: