Table
AgreementHeaderDefault
Release order defaulting policy
Holds default values for release orders created from an agreement. It has one row per agreement header. Defaults cover payment, delivery, contact, project and charges group, each linked to its own table.
- Table name
AgreementHeaderDefault- Module
Procurement and sourcing- Table group
WorksheetHeader- Table type
Regular- Data per company
No- Configuration key
TradeBlanketOrder- Primary index
None- Replacement key
AgreementHeaderIdx- Key fields
AgreementHeader- Model
Foundation
Fields (31)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AgreementHeaderSystem record ID of the agreement this default row belongs to. | Int64AgreementHeaderRecId | No | AgreementHeader.RecId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity |
CashDiscountCodeDefault cash discount code, pointing to the cash discount record. | StringCashDiscCode | No | CashDisc.CashDiscCode | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
CashDiscountDataAreaIdCompany of the related cash discount record. | StringDataAreaId | No | CashDisc.dataAreaId | None |
ContactPersonDefault contact person ID, pointing to the contact record. | String (20)ContactPersonId | No | ContactPerson.ContactPersonId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
ContactPersonDataAreaIdCompany of the related contact record. | StringDataAreaId | No | ContactPerson.dataAreaId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DeliveryModeDefault mode of delivery, pointing to the delivery mode record. | StringDlvModeId | No | DlvMode.Code | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
DeliveryModeDataAreaIdCompany of the related delivery mode record. | StringDataAreaId | No | DlvMode.dataAreaId | None |
DeliveryNameDefault name used for delivery. | String (100)LogisticsDeliveryName | No | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more | |
DeliveryPostalAddressSystem record ID of the default delivery postal address. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
DeliveryTermDefault terms of delivery, pointing to the delivery terms record. | StringDlvTermId | No | DlvTerm.Code | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
DeliveryTermDataAreaIdCompany of the related delivery terms record. | StringDataAreaId | No | DlvTerm.dataAreaId | None |
ExternalReferenceName of the external contact or reference person. | String (60)PersonName | No | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more | |
InterCompanySkipUpdateControls whether updates are skipped: none, internal, intercompany or both. | EnumInterCompanySkipUpdate (enum) | No | None | |
IsIntegrationShows the integration type of the agreement: none or CLM. | EnumPurchAgreementIntegrationType (enum) | No | None | |
MiscChargeGroupDefault charges group, pointing to the charges group record. | StringMarkupGroupId | No | MarkupGroup.GroupId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
MiscChargeGroupApplicationModuleModule that the charges group applies to: inventory, customer, vendor or delivery. | EnumMarkupModuleMarkupModuleType (enum) | No | MarkupGroup.Module | None |
MiscChargeGroupDataAreaIdCompany of the related charges group record. | StringDataAreaId | No | MarkupGroup.dataAreaId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentScheduleDefault payment schedule, pointing to the payment schedule record. | String (30)PaymSchedId | No | PaymSched.Name | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
PaymentScheduleDataAreaIdCompany of the related payment schedule record. | StringDataAreaId | No | PaymSched.dataAreaId | None |
PaymentTermsDefault terms of payment, pointing to the payment terms record. | String (100)PaymTermId | No | PaymTerm.PaymTermId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
PaymentTermsDataAreaIdCompany of the related payment terms record. | StringDataAreaId | No | PaymTerm.dataAreaId | None |
ProjectDefault project ID, pointing to the project record. | String (20)ProjId | No | ProjTable.ProjId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
ProjectDataAreaIdCompany of the related project record. | StringDataAreaId | No | ProjTable.dataAreaId | 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 (9)
ProjTableIdxNot unique.
ContactPersonIdxContactPersonDataAreaId,ContactPersonNot unique.
CashDiscIdxCashDiscountDataAreaId,CashDiscountCodeNot unique.
MarkupGroupIdxMiscChargeGroupDataAreaId,MiscChargeGroup,MiscChargeGroupApplicationModuleNot unique.
DlvTermIdxDeliveryTermDataAreaId,DeliveryTermNot unique.
DlvModeIdxDeliveryModeDataAreaId,DeliveryModeNot unique.
PaymTermIdxPaymentTermsDataAreaId,PaymentTermsNot unique.
PaymSchedIdxPaymentScheduleDataAreaId,PaymentScheduleNot unique.
AgreementHeaderIdxReplacement keyUnique, alternate key.
Relations (11)
Each relation joins AgreementHeaderDefault to another table on the fields shown.
AgreementHeader→AgreementHeaderJoin on
AgreementHeader = AgreementHeader.RecIdZero or one AgreementHeaderDefault record → exactly one AgreementHeader record
CashDiscount→CashDiscJoin on
CashDiscountDataAreaId = CashDisc.dataAreaId,CashDiscountCode = CashDisc.CashDiscCodeMany AgreementHeaderDefault records → zero or one CashDisc record
ContactPerson→ContactPersonJoin on
ContactPersonDataAreaId = ContactPerson.dataAreaId,ContactPerson = ContactPerson.ContactPersonIdMany AgreementHeaderDefault records → zero or one ContactPerson record
DeliveryPostalAddress→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany AgreementHeaderDefault records → zero or one LogisticsPostalAddress record
DlvMode→DlvModeJoin on
DeliveryModeDataAreaId = DlvMode.dataAreaId,DeliveryMode = DlvMode.CodeMany AgreementHeaderDefault records → zero or one DlvMode record
DlvTerm→DlvTermJoin on
DeliveryTermDataAreaId = DlvTerm.dataAreaId,DeliveryTerm = DlvTerm.CodeMany AgreementHeaderDefault records → zero or one DlvTerm record
MarkupGroup→MarkupGroupJoin on
MiscChargeGroupDataAreaId = MarkupGroup.dataAreaId,MiscChargeGroup = MarkupGroup.GroupId,MiscChargeGroupApplicationModule = MarkupGroup.ModuleMany AgreementHeaderDefault records → zero or one MarkupGroup record
PaymSched→PaymSchedJoin on
PaymentScheduleDataAreaId = PaymSched.dataAreaId,PaymentSchedule = PaymSched.NameMany AgreementHeaderDefault records → zero or one PaymSched record
PaymTerm→PaymTermJoin on
PaymentTermsDataAreaId = PaymTerm.dataAreaId,PaymentTerms = PaymTerm.PaymTermIdMany AgreementHeaderDefault records → zero or one PaymTerm record
Project→ProjTableJoin on
ProjectDataAreaId = ProjTable.dataAreaId,Project = ProjTable.ProjIdMany AgreementHeaderDefault records → zero or one ProjTable record
LogisticsPostalAddressBaseEntity→LogisticsPostalAddressBaseEntityJoin on
DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecIdMany AgreementHeaderDefault records → zero or one LogisticsPostalAddressBaseEntity record
Get this data out
Tables are not exposed directly. These public entities read from AgreementHeaderDefault; use one of them in Power BI, Power Platform or a data management project.
PurchPurchaseAgreementHeaderV2Entity· 12 fields from this tableCLMIntegrationPurchaseAgreementHeaderEntity· 12 fields from this tableSalesAgreementHeaderEntity· 11 fields from this tableCLMIntegrationValidationPurchaseAgreementHeaderEntity· 12 fields from this table
Need help with AgreementHeaderDefault in a report, an integration or a migration? Talk to Dr Dynamics.