Table

ExtCodeValueTable

External code value

Holds the values of external codes for specific records, such as a customer, an item or a unit. The key is the reference table ID, the record ID and the code. It links back to the external code definition.

Table name
ExtCodeValueTable
Module
Procurement and sourcing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
ExtCodeIdx
Replacement key
None
Key fields
ExtCodeRelationTableId, ExtCodeRelationRecId, ExtCodeId
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ExtCodeRelationTableIdID of the table that the value is set for.Integer
RefTableId
YesEcoResReleasedProductVariantExternalCodeV2EntityEcoResProductNumberIdentifiedReleasedProductVariantExternalCodeEntityEcoResReleasedProductVariantExternalCodeEntityand 1 more
ExtCodeRelationRecIdSystem record ID of the record that the value is set for.Int64
RefRecId
YesExtCodeValueTableCDREntity
ExtCodeIdIdentifier of the external code that the value belongs to.String
ExtCodeId
YesExtCodeTable.ExtCodeIdEcoResReleasedProductVariantExternalCodeV2EntityEcoResProductNumberIdentifiedReleasedProductVariantExternalCodeEntityEcoResReleasedProductVariantExternalCodeEntityand 1 more
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoExtCodeValueTableCDREntity
ExtCodeSubModuleKind of party the value applies to: none, customer or vendor.Enum
ExtCodeSubModule (enum)
NoExtCodeValueTableCDREntity
ExtCodeTableTableIdID of the table that the external code definition was created for. It is used to join to the code definition.Integer
RefTableId
YesExtCodeTable.ExtCodeTableIdEcoResReleasedProductVariantExternalCodeV2EntityEcoResProductNumberIdentifiedReleasedProductVariantExternalCodeEntityEcoResReleasedProductVariantExternalCodeEntityand 1 more
ExtCodeValueValue of the external code for the linked record.String (50)
ExtCodeValue
YesEcoResReleasedProductVariantExternalCodeV2EntityEcoResProductNumberIdentifiedReleasedProductVariantExternalCodeEntityEcoResReleasedProductVariantExternalCodeEntityand 1 more
ExtCodeValueAliasAlternative name for the value.String (50)
ExtCodeValueAlias
NoExtCodeValueTableCDREntity
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
NoExtCodeValueTableCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
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 (17)

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

  • AgreementClassification → AgreementClassification

    Join on ExtCodeRelationTableId = AgreementClassification.TableId, ExtCodeRelationRecId = AgreementClassification.RecId

    Many ExtCodeValueTable records → zero or one AgreementClassification record

  • Currency → Currency

    Join on ExtCodeRelationTableId = Currency.TableId, ExtCodeRelationRecId = Currency.RecId

    Many ExtCodeValueTable records → zero or one Currency record

  • CustTable → CustTable

    Join on ExtCodeRelationTableId = CustTable.TableId, ExtCodeRelationRecId = CustTable.RecId

    Many ExtCodeValueTable records → zero or one CustTable record

  • DlvMode → DlvMode

    Join on ExtCodeRelationTableId = DlvMode.TableId, ExtCodeRelationRecId = DlvMode.RecId

    Many ExtCodeValueTable records → zero or one DlvMode record

  • DlvTerm → DlvTerm

    Join on ExtCodeRelationTableId = DlvTerm.TableId, ExtCodeRelationRecId = DlvTerm.RecId

    Many ExtCodeValueTable records → zero or one DlvTerm record

  • ExtCodeTable → ExtCodeTable

    Join on ExtCodeTableTableId = ExtCodeTable.ExtCodeTableId, ExtCodeId = ExtCodeTable.ExtCodeId

    Many ExtCodeValueTable records → exactly one ExtCodeTable record

  • InventDimCombination → InventDimCombination

    Join on ExtCodeRelationTableId = InventDimCombination.TableId, ExtCodeRelationRecId = InventDimCombination.RecId

    Many ExtCodeValueTable records → zero or one InventDimCombination record

  • InventTable → InventTable

    Join on ExtCodeRelationTableId = InventTable.TableId, ExtCodeRelationRecId = InventTable.RecId

    Many ExtCodeValueTable records → zero or one InventTable record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on ExtCodeRelationTableId = LogisticsAddressCountryRegion.TableId, ExtCodeRelationRecId = LogisticsAddressCountryRegion.RecId

    Many ExtCodeValueTable records → zero or one LogisticsAddressCountryRegion record

  • LogisticsAddressCounty → LogisticsAddressCounty

    Join on ExtCodeRelationTableId = LogisticsAddressCounty.TableId, ExtCodeRelationRecId = LogisticsAddressCounty.RecId

    Many ExtCodeValueTable records → zero or one LogisticsAddressCounty record

  • LogisticsAddressState → LogisticsAddressState

    Join on ExtCodeRelationTableId = LogisticsAddressState.TableId, ExtCodeRelationRecId = LogisticsAddressState.RecId

    Many ExtCodeValueTable records → zero or one LogisticsAddressState record

  • LogisticsAddressZipCode → LogisticsAddressZipCode

    Join on ExtCodeRelationTableId = LogisticsAddressZipCode.TableId, ExtCodeRelationRecId = LogisticsAddressZipCode.RecId

    Many ExtCodeValueTable records → zero or one LogisticsAddressZipCode record

  • MarkupTable → MarkupTable

    Join on ExtCodeRelationTableId = MarkupTable.TableId, ExtCodeRelationRecId = MarkupTable.RecId

    Many ExtCodeValueTable records → zero or one MarkupTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on ExtCodeRelationTableId = UnitOfMeasure.TableId, ExtCodeRelationRecId = UnitOfMeasure.RecId

    Many ExtCodeValueTable records → zero or one UnitOfMeasure record

  • VendTable → VendTable

    Join on ExtCodeRelationTableId = VendTable.TableId, ExtCodeRelationRecId = VendTable.RecId

    Many ExtCodeValueTable records → zero or one VendTable record

  • TaxTable → TaxTable

    Join on ExtCodeRelationRecId = TaxTable.RecId, ExtCodeRelationTableId = TaxTable.TableId

    Many ExtCodeValueTable records → zero or one TaxTable record

  • TaxExemptCodeTable → TaxExemptCodeTable

    Join on ExtCodeRelationRecId = TaxExemptCodeTable.RecId, ExtCodeRelationTableId = TaxExemptCodeTable.TableId

    Many ExtCodeValueTable records → zero or one TaxExemptCodeTable record

Get this data out

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

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

Email sales@drdynamics.co.uk