UnitOfMeasureCalculator Class [AX 2012]
The UnitOfMeasureCalculator class provides the methods that are required to control the UnitOfMeasureCalculator form behavior and handle form events.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| editFromValue | Gets or sets a value from which to convert. |
| editToValue | Gets or sets a value to which to convert. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| formInitPostSuper | Handles a form postinitialization event. |
| formInitPreSuper | Handles a form preinitialization event. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| instantiateConverters | Instantiates classes to convert values in forward and inverse directions. |
| lookupReferenceFromUnitOfMeasure | Handles a lookup event for unit of measure to convert from reference form control. |
| lookupReferenceProduct | Handles a lookup event for product reference form control. |
| lookupReferenceToUnitOfMeasure | Handles a lookup event for unit of measure to convert to reference form control. |
| lookupReferenceUnitOfMeasure | |
| modifiedFromUnitOfMeasureControl | Handles unit of measure to convert from form control modified event. |
| modifiedProductControl | Handles product form control modified event. |
| modifiedToUnitOfMeasureControl | Handles unit of measure to convert to form control modified event. |
| new | Initializes a new instance of the UnitOfMeasureCalculator 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.) |
| parmFormRun | Gets or sets the FormRun parameter. |
| parmFromUnitOfMeasureControl | Gets or sets the FromUnitOfMeasureControl parameter. |
| parmFromValueControl | Gets or sets the FromValueControl parameter. |
| parmProductControl | Gets or sets the ProductControl parameter. |
| parmProductLookup | Gets or sets the ProductLookup parameter. |
| parmToUnitOfMeasureControl | Gets or sets the ToUnitOfMeasureControl parameter. |
| parmToValueControl | Gets or sets the ToValueControl parameter. |
| resolveReferenceProduct | Handles a lookup event for a product reference form control. |
| setFromValueControlDecimalPrecision | Sets unit of measure to convert from form control decimal precision property. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setToValueControlDecimalPrecision | Sets unit of measure to convert to form control decimal precision property. |
| setValueControlsEnabled | Sets enabled state of the value to convert from and value to convert to form controls. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| unitOfMeasureReferenceGroupChildControl | Retrieves the FormStringControl form control bound to the Symbol field of the UnitOfMeasure table from a unit of measure reference group. |
| updateFromValue | Updates the value from which to convert. |
| updateToValue | Updates the value to which to convert. |
| updateValue | Updates either the value to convert from or the value to convert to depending on the last user input. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| 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 UnitOfMeasureCalculator class. |
| ::newFromFormRun | Creates and initializes a new instance of the UnitOfMeasureCalculator class. |
Community Additions
ADD
Show: