UnitOfMeasureConverter_Product Class [AX 2012]
The UnitOfMeasureConverter_Product class is the specialized version of the UnitOfMeasureConverter class which handles conversions of product-specific values between units of measure.
| Method | Description | |
|---|---|---|
| appendForwardConversionToConversionCache | Appends a forward conversion to the cached chain of conversions. (Inherited from UnitOfMeasureConverter.) |
| appendInverseConversionToConversionCache | Appends an inverse conversion to the cached chain of conversions. (Inherited from UnitOfMeasureConverter.) |
| cacheConversion | Inserts a conversion into the cache. (Inherited from UnitOfMeasureConverter.) |
| cachedConversion | Returns a UnitOfMeasureConversionCache object that contains cached conversions. (Inherited from UnitOfMeasureConverter.) |
| calculateConversion | Calculates a conversion between two units of measure based on defined conversions in the UnitOfMeasureConversion table. (Overrides the calculateConversion Method.) |
| calculateConversionThroughOneBaseUnit | Calculates parameters of the conversion between two units by a chain of two conversions found through the base unit. (Inherited from UnitOfMeasureConverter.) |
| calculateConversionThroughTwoBaseUnits | Calculates parameters of the conversion between two units based on the chain of conversions that were found through two base units. |
| calculateDirectConversion | Calculates parameters of the conversion between two units by found forward or inverse conversion. (Inherited from UnitOfMeasureConverter.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| canValueBeConverted | Determines whether conversion can be performed between two units of measure. (Inherited from UnitOfMeasureConverter.) |
| conversionNotExistMessage | Indicates the error message for when a conversion does not exist. (Overrides the conversionNotExistMessage Method.) |
| convertValue | Converts a real value between two units of measure and applies rounding. (Inherited from UnitOfMeasureConverter.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findCachedConversion | Lookups the cache for a stored conversion. (Overrides the findCachedConversion Method.) |
| findConversion | Finds a conversion between two units of measure. (Inherited from UnitOfMeasureConverter.) |
| findConversionThroughOneBaseUnitProduct | Finds a chain of two conversions between two units of measure through a base unit of measure. |
| findConversionThroughTwoBaseUnits | Finds a chain of conversions through two base units of measure. |
| findDirectConversionProduct | Finds a direct, product specific conversion between two units of measure. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initConversionCache | Initializes the cached conversion from the specified values. (Overrides the initConversionCache Method.) |
| initConversionCacheWithForwardConversion | Initializes the cached conversion with a forward conversion. (Inherited from UnitOfMeasureConverter.) |
| initConversionCacheWithInverseConversion | Initializes the cached conversion with an inverse conversion. (Inherited from UnitOfMeasureConverter.) |
| new | Initializes a new instance of the UnitOfMeasureConverter class. (Inherited from UnitOfMeasureConverter.) |
| 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.) |
| pack | Serializes the current instance of the UnitOfMeasureConverter_Product class. (Overrides the pack Method.) |
| parmApplyRounding | Gets or sets the ApplyRounding parameter. (Inherited from UnitOfMeasureConverter.) |
| parmFromUnitId | Gets or sets the from unit ID parameter. (Inherited from UnitOfMeasureConverter.) |
| parmFromUnitOfMeasure | Gets or sets the FromUnitOfMeasure parameter. (Inherited from UnitOfMeasureConverter.) |
| parmProduct | Gets or sets the Product parameter. |
| parmRoundAbsoluteValue | Gets or sets the RoundAbsoluteValue parameter. (Inherited from UnitOfMeasureConverter.) |
| parmSkipException_LV | Get or set skipException_LV parameter. (Inherited from UnitOfMeasureConverter.) |
| parmToUnitId | Gets or sets the ID of the unit of measure to convert to. (Inherited from UnitOfMeasureConverter.) |
| parmToUnitOfMeasure | Gets or sets the ToUnitOfMeasure parameter. (Inherited from UnitOfMeasureConverter.) |
| roundingDecimalPrecision | Retrieves the decimal precision for the unit of measure to which to convert. (Inherited from UnitOfMeasureConverter.) |
| roundValue | Applies rounding to a real value. (Inherited from UnitOfMeasureConverter.) |
| 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.) |
| unpack | Deserializes the _packedClass parameter value to an instance of the UnitOfMeasureConverter_Product class. (Overrides the unpack Method.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateParameters | Validates the specified parameters. (Overrides the validateParameters Method.) |
| 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 UnitOfMeasureConverter_Product class. |
| ::newFromInventTable | Creates a new instance of the converter class based on the specified item. |
Community Additions
ADD
Show: