Table

UnitOfMeasure_W

Local unit code

Adds local unit codes to a unit of measure. It is keyed by the unit and holds the OKEI code and two Mexican SAT external codes.

Table name
UnitOfMeasure_W
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
UnitOfMeasureIdx
Key fields
UnitOfMeasure
Model
UnitOfMeasure

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
UnitOfMeasureThe unit of measure the local codes belong to, as a system record ID.Int64
UnitOfMeasureRecId
YesUnitOfMeasure.RecIdNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NationalCodeUnit code in the OKEI classification, used for Russia.String
UnitOKEI
NoUnitOfMeasureEntity
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
SATCodeId_MXSAT external classification code for the unit, used for Mexico.String
EInvoiceExtCodeId_MX
NoNone
SATCustomUnitOfMeasureExternal classification code for the SAT customs unit of measure. The Mexico link is inferred from the related table.low confidenceString
EInvoiceExtCodeId_MX
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 (2)

Relations (3)

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

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitOfMeasure = UnitOfMeasure.RecId

    Zero or one UnitOfMeasure_W record → exactly one UnitOfMeasure record

  • EInvoiceExtCodeTable_MX → EInvoiceExtCodeTable_MX

    Join on SATCodeId_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 2

    Exactly one UnitOfMeasure_W record → exactly one EInvoiceExtCodeTable_MX record

  • EInvoiceExtCodeCustomsUOM_MX → EInvoiceExtCodeTable_MX

    Join on SATCustomUnitOfMeasure = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 7

    Exactly one UnitOfMeasure_W record → exactly one EInvoiceExtCodeTable_MX record

Get this data out

Tables are not exposed directly. These public entities read from UnitOfMeasure_W; use one of them in Power BI, Power Platform or a data management project.

Need help with UnitOfMeasure_W in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk