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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ExtCodeTableIdID of the table that the external code is defined for.Integer
RefTableId
YesExtCodeTableCDREntity
ExtCodeIdIdentifier of the external code.String
ExtCodeId
YesExtCodeTableCDREntity
ExtCodeCodeDefinition of the external code.String (50)
ExtCodeCode
YesExtCodeTableCDREntity
ExtCodeCodeAliasAlternative name for the external code definition.String (50)
ExtCodeCodeAlias
NoExtCodeTableCDREntity
ExtCodeDescriptionShort text that describes the external code.String (80)
ExtCodeDescription
NoExtCodeTableCDREntity
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
NoExtCodeTableCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StandardCodeYes or no flag that marks the code as a standard code.Enum
NoYes (enum)
NoExtCodeTableCDREntity
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 (21)

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

  • AgreementClassification → AgreementClassification

    Join on ExtCodeTableId = AgreementClassification.TableId

    Many ExtCodeTable records → zero or one AgreementClassification record

  • Currency → Currency

    Join on ExtCodeTableId = Currency.TableId

    Cardinality not set in the metadata.

  • CustTable → CustTable

    Join on ExtCodeTableId = CustTable.TableId

    Cardinality not set in the metadata.

  • DimensionAttributeValue → DimensionAttributeValue

    Join on ExtCodeTableId = DimensionAttributeValue.TableId

    Cardinality not set in the metadata.

  • DlvMode → DlvMode

    Join on ExtCodeTableId = DlvMode.TableId

    Cardinality not set in the metadata.

  • DlvTerm → DlvTerm

    Join on ExtCodeTableId = DlvTerm.TableId

    Cardinality not set in the metadata.

  • InventDimCombination → InventDimCombination

    Join on ExtCodeTableId = InventDimCombination.TableId

    Cardinality not set in the metadata.

  • InventLocation → InventLocation

    Join on ExtCodeTableId = InventLocation.TableId

    Cardinality not set in the metadata.

  • InventProfile → InventProfile_RU

    Join on ExtCodeTableId = InventProfile_RU.TableId

    Cardinality not set in the metadata.

  • InventTable → InventTable

    Join on ExtCodeTableId = InventTable.TableId

    Cardinality not set in the metadata.

  • LogisticsCountryRegion → LogisticsAddressCountryRegion

    Join on ExtCodeTableId = LogisticsAddressCountryRegion.TableId

    Cardinality not set in the metadata.

  • LogisticsCounty → LogisticsAddressCounty

    Join on ExtCodeTableId = LogisticsAddressCounty.TableId

    Cardinality not set in the metadata.

  • LogisticsState → LogisticsAddressState

    Join on ExtCodeTableId = LogisticsAddressState.TableId

    Cardinality not set in the metadata.

  • LogisticsZipCode → LogisticsAddressZipCode

    Join on ExtCodeTableId = LogisticsAddressZipCode.TableId

    Cardinality not set in the metadata.

  • MarkupTable → MarkupTable

    Join on ExtCodeTableId = MarkupTable.TableId

    Cardinality not set in the metadata.

  • ReturnDispositionCode → ReturnDispositionCode

    Join on ExtCodeTableId = ReturnDispositionCode.TableId

    Cardinality not set in the metadata.

  • ReturnReasonCode → ReturnReasonCode

    Join on ExtCodeTableId = ReturnReasonCode.TableId

    Cardinality not set in the metadata.

  • TaxExemptCodeTable → TaxExemptCodeTable

    Join on ExtCodeTableId = TaxExemptCodeTable.TableId

    Cardinality not set in the metadata.

  • TaxTable → TaxTable

    Join on ExtCodeTableId = TaxTable.TableId

    Cardinality not set in the metadata.

  • UnitOfMeasure → UnitOfMeasure

    Join on ExtCodeTableId = UnitOfMeasure.TableId

    Cardinality not set in the metadata.

  • VendTable → VendTable

    Join on ExtCodeTableId = VendTable.TableId

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

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

Email sales@drdynamics.co.uk