Table

AgreementReference

Intercompany agreement references

Links a derived agreement to its source agreement in intercompany agreements. It has no key. A flag shows whether the link is within the same company; this flag is used for Russia.

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

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DerivedAgreementSystem record ID of the agreement that was derived from the source agreement.Int64
RefRecId
NoAgreementHeader.RecIdNone
IsIntraCompany_RUYes or no flag for an intracompany link. Used for Russia.Enum
IsIntraCompany_RU
NoYes (enum)
NoNone
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
SourceAgreementSystem record ID of the agreement that the derived agreement comes from.Int64
RefRecId
NoAgreementHeader.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • DerivedAgreement → AgreementHeader

    Join on DerivedAgreement = AgreementHeader.RecId

    Many AgreementReference records → exactly one AgreementHeader record

  • SourceAgreement → AgreementHeader

    Join on SourceAgreement = AgreementHeader.RecId

    Zero or one AgreementReference record → exactly one AgreementHeader record

Get this data out

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

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

Email sales@drdynamics.co.uk