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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InterCompanyTradingCustomerPoints to the trading partner record on the customer side of the relationship. | Int64InterCompanyTradingPartnerRecID | Yes | InterCompanyTradingPartner.RecId | None |
ActiveYes/No flag that shows whether the trading relationship is active. | EnumInterCompanyTradingActiveNoYes (enum) | No | None | |
InterCompanyTradingVendorPoints to the trading partner record on the vendor side of the relationship. | Int64InterCompanyTradingPartnerRecID | Yes | InterCompanyTradingPartner.RecId | None |
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 | |
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)
TradingCustomerIdxReplacement keyUnique, alternate key.
TradingVendorIdxUnique, alternate key.
Relations (2)
Each relation joins InterCompanyTradingRelation to another table on the fields shown.
TradingCustomer→InterCompanyTradingPartnerJoin on
InterCompanyTradingCustomer = InterCompanyTradingPartner.RecIdZero or one InterCompanyTradingRelation record → exactly one InterCompanyTradingPartner record
TradingVendor→InterCompanyTradingPartnerJoin on
InterCompanyTradingVendor = InterCompanyTradingPartner.RecIdZero 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.