Table
AgreementReleaseHeaderMatch
Release order match
Links a purchase order to a sales order, with the agreement they are matched to. Each record is identified by the purchase order and the sales order, each with its company. It points to AgreementHeader, PurchTable and SalesTable.
- Table name
AgreementReleaseHeaderMatch- Module
Procurement and sourcing- Table group
Worksheet- Table type
Regular- Data per company
No- Configuration key
TradeBlanketOrder- Primary index
None- Replacement key
AllRefsIdx- Key fields
PurchTablePurchId, PurchTableDataAreaId, SalesTableSalesId, SalesTableDataAreaId- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchTablePurchIdNumber of the matched purchase order. | String (20)PurchIdBase | No | PurchTable.PurchId | None |
PurchTableDataAreaIdCompany of the matched purchase order. It forms the link to the purchase order together with the purchase order number. | StringDataAreaId | No | PurchTable.dataAreaId | None |
SalesTableSalesIdNumber of the matched sales order. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
SalesTableDataAreaIdCompany of the matched sales order. It forms the link to the sales order together with the sales order number. | StringDataAreaId | No | SalesTable.dataAreaId | None |
MatchingReleaseOrderAgreementPoints to the agreement (AgreementHeader record) that the matched release orders belong to. | Int64AgreementHeaderRecId | Yes | AgreementHeader.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 | |
ReferenceRelationTypeTable ID that identifies the type of record being referred to.low confidence | IntegerRefTableId | Yes | 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 (3)
AgreementHeaderIdxNot unique.
AllRefsIdxReplacement keyPurchTablePurchId,PurchTableDataAreaId,SalesTableSalesId,SalesTableDataAreaIdUnique, alternate key.
SalesTableIdxSalesTableSalesId,SalesTableDataAreaIdNot unique.
Relations (3)
Each relation joins AgreementReleaseHeaderMatch to another table on the fields shown.
AgreementHeader→AgreementHeaderJoin on
MatchingReleaseOrderAgreement = AgreementHeader.RecIdMany AgreementReleaseHeaderMatch records → exactly one AgreementHeader record
PurchTable→PurchTableJoin on
PurchTableDataAreaId = PurchTable.dataAreaId,PurchTablePurchId = PurchTable.PurchIdZero or one AgreementReleaseHeaderMatch record → zero or one PurchTable record
SalesTable→SalesTableJoin on
SalesTableDataAreaId = SalesTable.dataAreaId,SalesTableSalesId = SalesTable.SalesIdZero or one AgreementReleaseHeaderMatch record → zero or one SalesTable record
Get this data out
No public entity reads from AgreementReleaseHeaderMatch. Its data is only reachable through the application, a custom entity or a database export.
Need help with AgreementReleaseHeaderMatch in a report, an integration or a migration? Talk to Dr Dynamics.