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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
UnitOfMeasureThe unit of measure the local codes belong to, as a system record ID. | Int64UnitOfMeasureRecId | Yes | UnitOfMeasure.RecId | None |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NationalCodeUnit code in the OKEI classification, used for Russia. | StringUnitOKEI | No | UnitOfMeasureEntity | |
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 | |
SATCodeId_MXSAT external classification code for the unit, used for Mexico. | StringEInvoiceExtCodeId_MX | No | None | |
SATCustomUnitOfMeasureExternal classification code for the SAT customs unit of measure. The Mexico link is inferred from the related table.low confidence | StringEInvoiceExtCodeId_MX | 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 (2)
UnitOfMeasureIdxReplacement keyUnique, alternate key.
NationalCodeNot unique.
Relations (3)
Each relation joins UnitOfMeasure_W to another table on the fields shown.
UnitOfMeasure→UnitOfMeasureJoin on
UnitOfMeasure = UnitOfMeasure.RecIdZero or one UnitOfMeasure_W record → exactly one UnitOfMeasure record
EInvoiceExtCodeTable_MX→EInvoiceExtCodeTable_MXJoin on
SATCodeId_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 2Exactly one UnitOfMeasure_W record → exactly one EInvoiceExtCodeTable_MX record
EInvoiceExtCodeCustomsUOM_MX→EInvoiceExtCodeTable_MXJoin on
SATCustomUnitOfMeasure = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 7Exactly 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.
UnitOfMeasureEntity· 1 field from this table
Need help with UnitOfMeasure_W in a report, an integration or a migration? Talk to Dr Dynamics.