PDSAdvancedPricing_Validator Class [AX 2012]

The PDSAdvancedPricing_Validator class provides equation validation but no actual pricing calculations.

class PDSAdvancedPricing_Validator extends PDSAdvancedPricing

Run On

Server

  MethodDescription
JJ768098.protmethod(en-us,AX.60).gif applyElementMapToFormula Applies the element value maps to the equation. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif averageAdjustedUnitPrice Progressively gets the adjusted unit price as a weighted average. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif calc Calculates the adjusted unit price. (Inherited from PDSAdvancedPricing.)
JJ768098.protmethod(en-us,AX.60).gif calculationId Gets the calculation ID that is used by the master record. (Overrides the calculationId Method.)
JJ768098.pubmethod(en-us,AX.60).gif calEquation Computes the adjusted unit price by using the stored calculation equation. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
JJ768098.protmethod(en-us,AX.60).gif elementValue Gets the value for a specified advanced pricing equation element. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
JJ768098.protmethod(en-us,AX.60).gif evalError Logs or throws an evaluation error message. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif getElementDefinitions Gets a list of element definitions or metadata of the current equation. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
JJ768098.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
JJ768098.protmethod(en-us,AX.60).gif inventTable Gets the InventTable record for the specified line. (Inherited from PDSAdvancedPricing.)
JJ768098.protmethod(en-us,AX.60).gif inventTableModule Gets the appropriate InventTableModule record for the current item and module. (Overrides the inventTableModule Method.)
JJ768098.protmethod(en-us,AX.60).gif inventTransId Gets the inventory transaction ID for the main table record. (Overrides the inventTransId Method.)
JJ768098.pubmethod(en-us,AX.60).gif isError Gets a value that indicates whether an error occurred during the specified calculation. (Inherited from PDSAdvancedPricing.)
JJ768098.protmethod(en-us,AX.60).gif itemId Gets the item ID on the line. (Overrides the itemId Method.)
JJ768098.protmethod(en-us,AX.60).gif maxReceiptStatus Gets the maximum processed receipt status for inventory transactions that will be used for computing adjusted unit prices. (Inherited from PDSAdvancedPricing.)
JJ768098.protmethod(en-us,AX.60).gif new Initializes a new instance of the PDSAdvancedPricing_Validator class. (Overrides the new Method.)
JJ768098.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.)
JJ768098.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.)
JJ768098.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
JJ768098.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
JJ768098.pubmethod(en-us,AX.60).gif parmHideMessage Gets or sets the HideMessage parameter. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif parmInventQualityOrderTable Gets or sets the InventQualityOrderTable parameter. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif parmInventTrans Gets or sets the InventTrans parameter. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif parmPDSCalculationTable Gets or sets the PDSCalculationTable parameter. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif parmThrowException Gets or sets the ThrowException parameter. (Inherited from PDSAdvancedPricing.)
JJ768098.protmethod(en-us,AX.60).gif populateElementValueMap Populates the value map used for variables in the advanced pricing calculation. (Inherited from PDSAdvancedPricing.)
JJ768098.protmethod(en-us,AX.60).gif qty Gets the quantity to use for the equation processing. (Overrides the qty Method.)
JJ768098.pubmethod(en-us,AX.60).gif reset Resets the internal counters for the total quantity and total amount. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif setElementValue Sets an element in the current equation to a specified value. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
JJ768098.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
JJ768098.protmethod(en-us,AX.60).gif unitPrice Gets the unit price on the line. (Overrides the unitPrice Method.)
JJ768098.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.)
JJ768098.pubmethod(en-us,AX.60).gif validateEquation Gets a value that indicates whether the specified equation is valid. (Inherited from PDSAdvancedPricing.)
JJ768098.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
JJ768098.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
JJ768098.privmethod(en-us,AX.60).gif JJ768098.static(en-us,AX.60).gif ::construct Initializes a new instance of the PDSAdvancedPricing_Validator class.
JJ768098.pubmethod(en-us,AX.60).gif JJ768098.static(en-us,AX.60).gif ::newCalculationTable Creates a new PDSAdvancedPricing_Validator class for a purchase parm line.
JJ768098.pubmethod(en-us,AX.60).gif JJ768098.static(en-us,AX.60).gif ::validateCalculationElementId Validates that the specified ID of the attribute-based pricing equation is valid.
Top

Do not attempt to use this class to calculate a unit price.

Object Class
  PDSAdvancedPricing Class
    PDSAdvancedPricing_Validator Class

Community Additions

ADD
Show: