Table

InterCompanyTradingRelation

Trading relationship

Describes a trading relationship between two intercompany trading partners. One reference is for the customer side and one for the vendor side, and a flag shows if the relationship is active. The customer-side reference is the key.

Table name
InterCompanyTradingRelation
Module
Procurement and sourcing
Table group
Group
Table type
Regular
Data per company
No
Configuration key
TradeInterCompany
Primary index
None
Replacement key
TradingCustomerIdx
Key fields
InterCompanyTradingCustomer
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InterCompanyTradingCustomerPoints to the trading partner record on the customer side of the relationship.Int64
InterCompanyTradingPartnerRecID
YesInterCompanyTradingPartner.RecIdNone
ActiveYes/No flag that shows whether the trading relationship is active.Enum
InterCompanyTradingActive
NoYes (enum)
NoNone
InterCompanyTradingVendorPoints to the trading partner record on the vendor side of the relationship.Int64
InterCompanyTradingPartnerRecID
YesInterCompanyTradingPartner.RecIdNone
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
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 (2)

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

  • TradingCustomer → InterCompanyTradingPartner

    Join on InterCompanyTradingCustomer = InterCompanyTradingPartner.RecId

    Zero or one InterCompanyTradingRelation record → exactly one InterCompanyTradingPartner record

  • TradingVendor → InterCompanyTradingPartner

    Join on InterCompanyTradingVendor = InterCompanyTradingPartner.RecId

    Zero or one InterCompanyTradingRelation record → exactly one InterCompanyTradingPartner record

Get this data out

No public entity reads from InterCompanyTradingRelation. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk