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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ProductProduct that the conversion applies to. It points to a record in EcoResProduct.Int64
RefRecId
NoEcoResProduct.RecIdNone
FromUnitOfMeasureUnit being converted from. It points to a record in UnitOfMeasure.Int64
UnitOfMeasureFromRecId
YesUnitOfMeasure.RecIdNone
ToUnitOfMeasureUnit being converted to. It points to a record in UnitOfMeasure.Int64
UnitOfMeasureToRecId
YesUnitOfMeasure.RecIdNone
ConversionExistsYes/No flag that shows whether a conversion exists for this combination.Enum
NoYes (enum)
NoNone
DenominatorDenominator of the conversion ratio.Integer
UnitOfMeasureConversionDenominator
NoNone
FactorConversion factor between the two units.Real
UnitOfMeasureConversionFactor
NoNone
FactorDenominatorConversion factor value, held in a second field next to the denominator.low confidenceReal
UnitOfMeasureConversionFactor
NoNone
InnerOffsetInner offset value used in the conversion.Real
UnitOfMeasureConversionInnerOffset
NoNone
NumeratorNumerator of the conversion ratio.Integer
UnitOfMeasureConversionNumerator
NoNone
OuterOffsetOuter offset value used in the conversion.Real
UnitOfMeasureConversionOuterOffset
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RoundingRounding method for the result: to nearest, up or down.Enum
UnitOfMeasureConversionRounding (enum)
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

Each relation joins UnitOfMeasureConversionCache to another table on the fields shown.

  • FromUnitOfMeasure → UnitOfMeasure

    Join on FromUnitOfMeasure = UnitOfMeasure.RecId

    Many UnitOfMeasureConversionCache records → exactly one UnitOfMeasure record

  • ToUnitOfMeasure → UnitOfMeasure

    Join on ToUnitOfMeasure = UnitOfMeasure.RecId

    Many UnitOfMeasureConversionCache records → exactly one UnitOfMeasure record

  • EcoResProduct → EcoResProduct

    Join on Product = EcoResProduct.RecId

    Many 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.

Email sales@drdynamics.co.uk