Table
ExtCodeTable
External code
Holds external codes that are defined for a type of record, such as items, units or currencies. The key is the reference table ID plus the code. Each code has a definition, an alias, a description and a standard code flag.
- Table name
ExtCodeTable- Module
Procurement and sourcing- Table group
Group- Table type
Regular- Data per company
No- Configuration key
None- Primary index
ExtCodeIdx- Replacement key
None- Key fields
ExtCodeTableId, ExtCodeId- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ExtCodeTableIdID of the table that the external code is defined for. | IntegerRefTableId | Yes | ExtCodeTableCDREntity | |
ExtCodeIdIdentifier of the external code. | StringExtCodeId | Yes | ExtCodeTableCDREntity | |
ExtCodeCodeDefinition of the external code. | String (50)ExtCodeCode | Yes | ExtCodeTableCDREntity | |
ExtCodeCodeAliasAlternative name for the external code definition. | String (50)ExtCodeCodeAlias | No | ExtCodeTableCDREntity | |
ExtCodeDescriptionShort text that describes the external code. | String (80)ExtCodeDescription | No | ExtCodeTableCDREntity | |
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 | ExtCodeTableCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StandardCodeYes or no flag that marks the code as a standard code. | EnumNoYes (enum) | No | ExtCodeTableCDREntity | |
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)
ExtCodeIdxPrimary indexUnique, alternate key.
Relations (21)
Each relation joins ExtCodeTable to another table on the fields shown.
AgreementClassification→AgreementClassificationJoin on
ExtCodeTableId = AgreementClassification.TableIdMany ExtCodeTable records → zero or one AgreementClassification record
Currency→CurrencyJoin on
ExtCodeTableId = Currency.TableIdCardinality not set in the metadata.
CustTable→CustTableJoin on
ExtCodeTableId = CustTable.TableIdCardinality not set in the metadata.
DimensionAttributeValue→DimensionAttributeValueJoin on
ExtCodeTableId = DimensionAttributeValue.TableIdCardinality not set in the metadata.
DlvMode→DlvModeJoin on
ExtCodeTableId = DlvMode.TableIdCardinality not set in the metadata.
DlvTerm→DlvTermJoin on
ExtCodeTableId = DlvTerm.TableIdCardinality not set in the metadata.
InventDimCombination→InventDimCombinationJoin on
ExtCodeTableId = InventDimCombination.TableIdCardinality not set in the metadata.
InventLocation→InventLocationJoin on
ExtCodeTableId = InventLocation.TableIdCardinality not set in the metadata.
InventProfile→InventProfile_RUJoin on
ExtCodeTableId = InventProfile_RU.TableIdCardinality not set in the metadata.
InventTable→InventTableJoin on
ExtCodeTableId = InventTable.TableIdCardinality not set in the metadata.
LogisticsCountryRegion→LogisticsAddressCountryRegionJoin on
ExtCodeTableId = LogisticsAddressCountryRegion.TableIdCardinality not set in the metadata.
LogisticsCounty→LogisticsAddressCountyJoin on
ExtCodeTableId = LogisticsAddressCounty.TableIdCardinality not set in the metadata.
LogisticsState→LogisticsAddressStateJoin on
ExtCodeTableId = LogisticsAddressState.TableIdCardinality not set in the metadata.
LogisticsZipCode→LogisticsAddressZipCodeJoin on
ExtCodeTableId = LogisticsAddressZipCode.TableIdCardinality not set in the metadata.
MarkupTable→MarkupTableJoin on
ExtCodeTableId = MarkupTable.TableIdCardinality not set in the metadata.
ReturnDispositionCode→ReturnDispositionCodeJoin on
ExtCodeTableId = ReturnDispositionCode.TableIdCardinality not set in the metadata.
ReturnReasonCode→ReturnReasonCodeJoin on
ExtCodeTableId = ReturnReasonCode.TableIdCardinality not set in the metadata.
TaxExemptCodeTable→TaxExemptCodeTableJoin on
ExtCodeTableId = TaxExemptCodeTable.TableIdCardinality not set in the metadata.
TaxTable→TaxTableJoin on
ExtCodeTableId = TaxTable.TableIdCardinality not set in the metadata.
UnitOfMeasure→UnitOfMeasureJoin on
ExtCodeTableId = UnitOfMeasure.TableIdCardinality not set in the metadata.
VendTable→VendTableJoin on
ExtCodeTableId = VendTable.TableIdCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from ExtCodeTable; use one of them in Power BI, Power Platform or a data management project.
ExtCodeTableCDREntity· 7 fields from this table
Need help with ExtCodeTable in a report, an integration or a migration? Talk to Dr Dynamics.