Table
UnitOfMeasureConversionCache
Cache of unit conversion rules between two units of measure for a product. The key is product, from unit and to unit. It stores the numerator, denominator, factor, offsets and rounding type, and links to EcoResProduct and UnitOfMeasure.
- Table name
UnitOfMeasureConversionCache- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
ConversionIdx- Key fields
Product, FromUnitOfMeasure, ToUnitOfMeasure- Model
UnitOfMeasure
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProductProduct that the conversion applies to. It points to a record in EcoResProduct. | Int64RefRecId | No | EcoResProduct.RecId | None |
FromUnitOfMeasureUnit being converted from. It points to a record in UnitOfMeasure. | Int64UnitOfMeasureFromRecId | Yes | UnitOfMeasure.RecId | None |
ToUnitOfMeasureUnit being converted to. It points to a record in UnitOfMeasure. | Int64UnitOfMeasureToRecId | Yes | UnitOfMeasure.RecId | None |
ConversionExistsYes/No flag that shows whether a conversion exists for this combination. | EnumNoYes (enum) | No | None | |
DenominatorDenominator of the conversion ratio. | IntegerUnitOfMeasureConversionDenominator | No | None | |
FactorConversion factor between the two units. | RealUnitOfMeasureConversionFactor | No | None | |
FactorDenominatorConversion factor value, held in a second field next to the denominator.low confidence | RealUnitOfMeasureConversionFactor | No | None | |
InnerOffsetInner offset value used in the conversion. | RealUnitOfMeasureConversionInnerOffset | No | None | |
NumeratorNumerator of the conversion ratio. | IntegerUnitOfMeasureConversionNumerator | No | None | |
OuterOffsetOuter offset value used in the conversion. | RealUnitOfMeasureConversionOuterOffset | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RoundingRounding method for the result: to nearest, up or down. | EnumUnitOfMeasureConversionRounding (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ConversionIdxReplacement keyProduct,FromUnitOfMeasure,ToUnitOfMeasureUnique, alternate key.
Relations (3)
Each relation joins UnitOfMeasureConversionCache to another table on the fields shown.
FromUnitOfMeasure→UnitOfMeasureJoin on
FromUnitOfMeasure = UnitOfMeasure.RecIdMany UnitOfMeasureConversionCache records → exactly one UnitOfMeasure record
ToUnitOfMeasure→UnitOfMeasureJoin on
ToUnitOfMeasure = UnitOfMeasure.RecIdMany UnitOfMeasureConversionCache records → exactly one UnitOfMeasure record
EcoResProduct→EcoResProductJoin on
Product = EcoResProduct.RecIdMany UnitOfMeasureConversionCache records → zero or one EcoResProduct record
Get this data out
No public entity reads from UnitOfMeasureConversionCache. Its data is only reachable through the application, a custom entity or a database export.
Need help with UnitOfMeasureConversionCache in a report, an integration or a migration? Talk to Dr Dynamics.