Share via


PdsCWValidation Class [AX 2012]

The PdsCWValidation class implements the validations between pairs of catch weight and inventory quantity fields.

Syntax

class PdsCWValidation

Run On

Called

Methods

  Method Description
Hh807133.protmethod(en-us,AX.60).gif adjustQtyPair Syncs a pair of catch weight and inventory quantity fields.
Hh807133.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Hh807133.protmethod(en-us,AX.60).gif convertInventQty Converts the catch weight quantity to an inventory quantity in the specified unit.
Hh807133.pubmethod(en-us,AX.60).gif dataSourceActivePost Performs processing after the active event of a datasource.
Hh807133.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Hh807133.pubmethod(en-us,AX.60).gif fieldChanged Triggers that one of the controlled fields changed its value.
Hh807133.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Hh807133.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Hh807133.protmethod(en-us,AX.60).gif itemChanged Triggers that the ItemId field changed
Hh807133.pubmethod(en-us,AX.60).gif itemId Gets the ItemId value from the record buffer.
Hh807133.protmethod(en-us,AX.60).gif new Iinitializes a new instance of the PdsCWValidation class.
Hh807133.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.)
Hh807133.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.)
Hh807133.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Hh807133.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Hh807133.pubmethod(en-us,AX.60).gif parmBuffer Gets or sets the Buffer parameter.
Hh807133.pubmethod(en-us,AX.60).gif parmFieldIds Gets or sets the FieldIds parameter.
Hh807133.pubmethod(en-us,AX.60).gif parmItemFieldId Gets or sets the ItemFieldId parameter.
Hh807133.pubmethod(en-us,AX.60).gif parmSkipValidation Gets or sets the SkipValidation parameter.
Hh807133.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Hh807133.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Hh807133.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.)
Hh807133.pubmethod(en-us,AX.60).gif validate Validates the relation between the quantities of the field pairs.
Hh807133.pubmethod(en-us,AX.60).gif validateField Validates the relation of the quantities for a specific field pair.
Hh807133.protmethod(en-us,AX.60).gif validateFieldInternal Executes the validation of the quantities in a pair of quantity and catch-weight quantity fields.
Hh807133.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Hh807133.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Hh807133.pubmethod(en-us,AX.60).gif Hh807133.static(en-us,AX.60).gif ::construct Initializes a new instance of the PdsCWValidation class.
Hh807133.pubmethod(en-us,AX.60).gif Hh807133.static(en-us,AX.60).gif ::createUnitFieldMap Creates a field map keyed on the fieldId of the unit.
Hh807133.pubmethod(en-us,AX.60).gif Hh807133.static(en-us,AX.60).gif ::fieldMapFromContainers Creates the map used by the PdsCWValidation class from a container type.
Hh807133.pubmethod(en-us,AX.60).gif Hh807133.static(en-us,AX.60).gif ::reverseFieldMap Reverses a typical field map.

Top

Remarks

This class can handle the validations only when these pairs are both present in the same record buffer. The itemId field has to be on the same record buffer also. Other situations have to be implemented individually.

Inheritance Hierarchy

Object Class
  PdsCWValidation Class
    PdsCWValidation_FixedItemId Class
    PdsCWValidation_InventQuarantineParmEnd Class
    PdsCWValidation_lastBox Class
    PdsCWValidation_Min Class
    PdsCWValidation_PickReg Class
    PdsCWValidation_ProdJournalRoute Class
    PdsCWValidation_ProdParmSplit Class
    PdsCWValidation_ProdParmStartup Class
    PdsCWValidation_StepConsumption Class
    PdsCWValidation_TestResults Class