Data entity
PurchPurchaseAgreementConfirmationHeaderEntity
Read-only history of confirmed purchase agreement headers. Each record is identified by the purchase agreement ID and the confirmation number. It holds the vendor, status, currency, validity dates, commitment type and classification. It also holds payment and delivery settings, default dimensions and the delivery address.
- Entity name
PurchPurchaseAgreementConfirmationHeaderEntity- Public entity name
PurchaseAgreementConfirmation- OData collection
PurchaseAgreementConfirmations- Category
Document- Module
Procurement and sourcing- Read-only
Yes- Data management enabled
Yes- Configuration key
TradeBlanketOrder- Keys
PurchaseAgreementId, ConfirmationNumber- Staging table
PurchPurchaseAgreementConfirmationHeaderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PurchaseAgreementConfirmations- Dataverse virtual table
mserp_purchpurchaseagreementconfirmationheaderentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
PurchAgreementHeaderHistory· rootAgreementClassification· InnerJoin toPurchAgreementHeaderHistory· read-onlyOriginator(tableDirPerson) · OuterJoin toPurchAgreementHeaderHistory· read-onlyCompanyInfo· InnerJoin toPurchAgreementHeaderHistory· read-onlyDefaultLedgerDimensionDAVS(tableDimensionSetEntity) · OuterJoin toPurchAgreementHeaderHistory· read-onlyPurchAgreementHeaderDefaultHistory· OuterJoin toPurchAgreementHeaderHistory· read-onlyAgreementHeaderDefaultHistory· OuterJoin toPurchAgreementHeaderHistory· read-onlyLogisticsPostalAddressBaseEntity· OuterJoin toAgreementHeaderDefaultHistory· read-only
Fields (69)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BuyingLegalEntityRecIdPoints to the company (legal entity) record that is buying under the agreement. | Int64RefRecId | Yes | No (private) | CompanyInfo.RecId | PurchAgreementHeaderHistory.BuyingLegalEntity |
BuyingLegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | No | Yes | CompanyInfo.DataArea | |
PurchaseAgreementIdThe purchase agreement number that this history record relates to. | String (20)PurchAgreementId | No | Yes | PurchAgreementHeaderHistory.PurchNumberSequence | |
AgreementVendorAccountNumberAccount number of the vendor on the agreement. It links to the vendor record together with the vendor company. | String (20)VendAccount | Yes | Yes | VendTable.AccountNum | PurchAgreementHeaderHistory.VendAccount |
VendorReferenceName of the external contact or reference person. | String (60)PersonName | No | Yes | AgreementHeaderDefaultHistory.ExternalReference | |
PurchaseAgreementClassificationRecIdSystem record ID of the agreement classification. | Int64RefRecId | Yes | No (private) | AgreementClassification.RecId | AgreementHeaderHistory.AgreementClassification |
PurchaseAgreementClassificationNameName of the agreement classification. | String (60)Name | Yes | Yes | AgreementClassification.Name | |
AgreementStatusStatus of the agreement: on hold, effective or closed. | Enum
| No | Yes | AgreementHeaderHistory.AgreementStatus | |
CurrencyCodeCurrency code of the agreement, pointing to the currency record. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | AgreementHeaderHistory.Currency |
DefaultEffectiveDateDefault effective date for the agreement lines. | DateEffectiveDate | No | Yes | AgreementHeaderHistory.DefaultAgreementLineEffectiveDate | |
DefaultExpirationDateDefault expiration date for the agreement lines. | DateExpirationDate | No | Yes | AgreementHeaderHistory.DefaultAgreementLineExpirationDate | |
DefaultCommitmentTypeDefault commitment type for lines: product quantity, product value, product category value or value commitment. | Enum
| No | Yes | AgreementHeaderHistory.DefaultAgreementLineType | |
DefaultLedgerDimensionSystem record ID of the default financial dimension set. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | AgreementHeaderHistory.DefaultDimension |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
ExternalDocumentReferenceExternal reference for the agreement document. | String (60)AgreementDocumentExternalReference | No | Yes | AgreementHeaderHistory.DocumentExternalReference | |
DocumentTitleTitle of the agreement document. | String (20)AgreementDocumentTitle | No | Yes | AgreementHeaderHistory.DocumentTitle | |
LanguageIdLanguage of the agreement, pointing to the language record. | String (7)LanguageId | No | Yes | LanguageTable.LanguageId | AgreementHeaderHistory.Language |
PreparerRecIdSystem record ID of the person who originated the agreement. | Int64RefRecId | No | No (private) | DirPerson.RecId | AgreementHeaderHistory.Originator |
PreparerPersonPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
IsInterestBasedOnCentralEuropeanBankYes/No flag showing whether interest is based on the central European bank rate. Used for public sector. | EnumNoYesId
| No | Yes | PurchAgreementHeaderHistory.InterestBasedOnCEB_PSN | |
MaximumContractAmountUpper amount limit for the agreement; currency not stated in the metadata. Used for public sector. | RealAmountCur | No | Yes | PurchAgreementHeaderHistory.MaximumAmount_PSN | |
MinimumContractAmountLower amount limit for the agreement; currency not stated in the metadata. Used for public sector. | RealAmountCur | No | Yes | PurchAgreementHeaderHistory.MinimumAmount_PSN | |
ProcurementClassificationShort text that classifies the procurement. Used for public sector. | String (60)Description | No | Yes | PurchAgreementHeaderHistory.ProcurementClassification_PSN | |
PurchasingPurposeShort text that states the purpose of the agreement. Used for public sector. | String (60)Description | No | Yes | PurchAgreementHeaderHistory.Purpose_PSN | |
IsAgreementRenewableYes/No flag showing whether the agreement can be renewed. Used for public sector. | EnumNoYesId
| No | Yes | PurchAgreementHeaderHistory.Renewable_PSN | |
BuyerGroupIdBuyer group that was used by default. | StringItemBuyerGroupId | No | Yes | InventBuyerGroup.Group | PurchAgreementHeaderDefaultHistory.BuyerGroup |
VendorPaymentMethodNameVendor method of payment that was used by default. | StringVendPaymMode | No | Yes | VendPaymModeTable.PaymMode | PurchAgreementHeaderDefaultHistory.MethodOfPayment |
VendorPaymentMethodSpecificationNamePayment specification that was used by default. | StringVendPaymSpec | No | Yes | VendPaymModeSpec.Specification | PurchAgreementHeaderDefaultHistory.PaymentSpecification |
PurchaseOrderPoolIdPurchase pool that was used by default. | StringPurchPoolId | No | Yes | PurchPool.PurchPoolId | PurchAgreementHeaderDefaultHistory.PurchasePool |
VendorBankAccountIdIdentifier of the vendor bank account. Used for public sector. | StringBankAccountID | No | Yes | VendBankAccount.AccountID | PurchAgreementHeaderDefaultHistory.VendBankAccountID_PSN |
InvoiceVendorAccountNumberVendor account that invoices were sent to by default. | String (20)VendInvoiceAccount | No | Yes | VendTable.AccountNum | PurchAgreementHeaderDefaultHistory.VendorInvoiceAccount |
CashDiscountCodeCash discount code held in this history, pointing to the cash discount record. | StringCashDiscCode | No | Yes | CashDisc.CashDiscCode | AgreementHeaderDefaultHistory.CashDiscountCode |
ContactPersonIdContact person ID, pointing to the contact record. | String (20)ContactPersonId | No | Yes | ContactPerson.ContactPersonId | AgreementHeaderDefaultHistory.ContactPerson |
DeliveryModeCodeMode of delivery, pointing to the delivery mode record. | StringDlvModeId | No | Yes | DlvMode.Code | AgreementHeaderDefaultHistory.DeliveryMode |
DeliveryTermsCodeTerms of delivery, pointing to the delivery terms record. | StringDlvTermId | No | Yes | DlvTerm.Code | AgreementHeaderDefaultHistory.DeliveryTerm |
ChargeVendorGroupIdCharges group, pointing to the charges group record. | StringMarkupGroupId | No | Yes | MarkupGroup.GroupId | AgreementHeaderDefaultHistory.MiscChargeGroup |
PaymentScheduleNamePayment schedule, pointing to the payment schedule record. | String (30)PaymSchedId | No | Yes | PaymSched.Name | AgreementHeaderDefaultHistory.PaymentSchedule |
PaymentTermsNameTerms of payment, pointing to the payment terms record. | String (100)PaymTermId | No | Yes | PaymTerm.PaymTermId | AgreementHeaderDefaultHistory.PaymentTerms |
ProjectIdProject ID, pointing to the project record. | String (20)ProjId | No | Yes | ProjTable.ProjId | AgreementHeaderDefaultHistory.Project |
DeliveryNameName used for delivery. | String (100)LogisticsDeliveryName | No | Yes | AgreementHeaderDefaultHistory.DeliveryName | |
DeliveryPostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | No (private) | LogisticsPostalAddress.RecId | |
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
IsDeliveryAddressAgreementSpecificYes or no value showing whether the delivery address is a one-time address for this agreement. | EnumNoYesId
| No | Yes | computed | |
FormattedDeliveryAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
DeliveryAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
DeliveryAddressBuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
DeliveryAddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
DeliveryAddressCityInKanaCity name written in Kana; used for Japan. | String (60)AssetCityKana_JP | No | Yes | LogisticsPostalAddress.CityKana_JP | |
DeliveryAddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
DeliveryAddressCountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
DeliveryAddressCountyIdCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
DeliveryAddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
DeliveryAddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
DeliveryAddressDunsNumberThe DUNS number, up to nine characters long. It is the key of the table. | String (9)LogisticsDunsNumber | No | Yes | DirDunsNumber.DunsNumber | |
DeliveryAddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
IsDeliveryAddressPrivateShows whether the address is private (Yes or No). | EnumLogisticsIsPrivate
| No | Yes | LogisticsPostalAddress.IsPrivate | |
DeliveryAddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
DeliveryAddressPostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
DeliveryAddressStateIdState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
DeliveryAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
DeliveryAddressStreetInKanaStreet name written in Kana; used for Japan. | String (250)AssetStreetKana_JP | No | Yes | LogisticsPostalAddress.StreetKana_JP | |
DeliveryAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
DeliveryAddressValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | No (private) | LogisticsPostalAddress.ValidFrom | |
DeliveryAddressValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | No (private) | LogisticsPostalAddress.ValidTo | |
DeliveryAddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
DeliveryPostalAddressSystem record ID of the delivery postal address. | Int64LogisticsPostalAddressRecId | No | No (private) | LogisticsPostalAddress.RecId | AgreementHeaderDefaultHistory.DeliveryPostalAddress |
ConfirmationNumberConfirmation number of the agreement version. | String (20)AgreementConfirmationNumber | No | Yes | AgreementHeaderHistory.ConfirmationNumber | |
PurchaseAgreementConfirmationNumberNumber that identifies the confirmation of the purchase agreement. | String (41)AgreementConfirmation | No | Yes | computed | |
ConfirmationCreationDateTimeDate and time when the confirmation was created. | UtcDateTimeCreatedDateTime | No | Yes | computed |
Foreign keys (25)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
BuyingLegalEntityRecId→CompanyInfo.RecId(key of CompanyInfo)Many PurchAgreementHeaderHistory records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
AgreementVendorAccountNumber→VendTable.AccountNum(key of VendTable)Join on all of:
AgreementVendorAccountNumber=VendTable.AccountNum,VendorDataAreaId(table field, not in this entity) =VendTable.dataAreaIdMany PurchAgreementHeaderHistory records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
PurchaseAgreementClassificationRecId→AgreementClassification.RecId(key of AgreementClassification)Many AgreementHeaderHistory records → exactly one AgreementClassification record
AgreementClassification details: see CLMIntegrationPurchaseAgreementHeaderEntity, PurchPurchaseAgreementHeaderV2Entity, SalesAgreementConfirmationHeaderEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many AgreementHeaderHistory records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DefaultLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many AgreementHeaderHistory records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
LanguageId→LanguageTable.LanguageId(key of LanguageTable)Relation also requires LanguageTable.LabelFile = 1.
Many AgreementHeaderHistory records → zero or one LanguageTable record
LanguageTable details: see ConfirmingPOEntity, MainAccountTranslationEntity, RetailCatalogTranslationEntity
PreparerRecId→DirPerson.RecId(key of DirPerson)Many AgreementHeaderHistory records → exactly one DirPerson record
DirPerson details: see CustCustomerBaseEntity, CustFoundationEntity, DirPartyCDSEntity
BuyerGroupId→InventBuyerGroup.Group(key of InventBuyerGroup)Join on all of:
BuyerGroupId=InventBuyerGroup.Group,BuyerGroupDataAreaId(table field, not in this entity) =InventBuyerGroup.dataAreaIdMany PurchAgreementHeaderDefaultHistory records → zero or one InventBuyerGroup record
Not exposed by a public entity.
VendorPaymentMethodName→VendPaymModeTable.PaymMode(key of VendPaymModeTable)Join on all of:
VendorPaymentMethodName=VendPaymModeTable.PaymMode,MethodOfPaymentDataAreaId(table field, not in this entity) =VendPaymModeTable.dataAreaIdMany PurchAgreementHeaderDefaultHistory records → zero or one VendPaymModeTable record
VendPaymModeTable details: see VendorPaymentMethodEntity, BankVendPaymModeBankAccountsEntity, VendPaymModeTableCDREntity
VendorPaymentMethodSpecificationName→VendPaymModeSpec.Specification(key of VendPaymModeSpec)Join on all of:
VendorPaymentMethodSpecificationName=VendPaymModeSpec.Specification,PaymentSpecificationDataAreaId(table field, not in this entity) =VendPaymModeSpec.dataAreaId,VendorPaymentMethodName=VendPaymModeSpec.PaymModeMany PurchAgreementHeaderDefaultHistory records → zero or one VendPaymModeSpec record
VendPaymModeSpec details: see VendorPaymentMethodSpecificationEntity
PurchaseOrderPoolId→PurchPool.PurchPoolId(key of PurchPool)Join on all of:
PurchaseOrderPoolId=PurchPool.PurchPoolId,PurchasePoolDataAreaId(table field, not in this entity) =PurchPool.dataAreaIdMany PurchAgreementHeaderDefaultHistory records → zero or one PurchPool record
Not exposed by a public entity.
VendorBankAccountId→VendBankAccount.AccountID(key of VendBankAccount)Join on all of:
VendorBankAccountId=VendBankAccount.AccountID,VendBankAccountDataAreaID_PSN(table field, not in this entity) =VendBankAccount.dataAreaId,VendAccount_PSN(table field, not in this entity) =VendBankAccount.VendAccountMany PurchAgreementHeaderDefaultHistory records → exactly one VendBankAccount record
VendBankAccount details: see VendVendorBankAccountEntity, VendBankAccountCDREntity, VRMVendorBankAccountEntity
InvoiceVendorAccountNumber→VendTable.AccountNum(key of VendTable)Join on all of:
InvoiceVendorAccountNumber=VendTable.AccountNum,VendorInvoiceAccountDataAreaId(table field, not in this entity) =VendTable.dataAreaIdMany PurchAgreementHeaderDefaultHistory records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
CashDiscountCode→CashDisc.CashDiscCode(key of CashDisc)Join on all of:
CashDiscountCode=CashDisc.CashDiscCode,CashDiscountDataAreaId(table field, not in this entity) =CashDisc.dataAreaIdMany AgreementHeaderDefaultHistory records → zero or one CashDisc record
CashDisc details: see CashDiscountEntity, CredManCashDiscRankEntity, CashDiscBiEntity
ContactPersonId→ContactPerson.ContactPersonId(key of ContactPerson)Join on all of:
ContactPersonId=ContactPerson.ContactPersonId,ContactPersonDataAreaId(table field, not in this entity) =ContactPerson.dataAreaIdMany AgreementHeaderDefaultHistory records → zero or one ContactPerson record
ContactPerson details: see smmContactPersonV2Entity, smmContactPersonCDSV2Entity, BusinessDocumentSalesInvoiceBaseEntity
DeliveryModeCode→DlvMode.Code(key of DlvMode)Join on all of:
DeliveryModeCode=DlvMode.Code,DeliveryModeDataAreaId(table field, not in this entity) =DlvMode.dataAreaIdMany AgreementHeaderDefaultHistory records → zero or one DlvMode record
DlvMode details: see DlvDeliveryModeEntity, RetailDeliveryModeAddressLineEntity, RetailDeliveryModeChannelLineEntity
DeliveryTermsCode→DlvTerm.Code(key of DlvTerm)Join on all of:
DeliveryTermsCode=DlvTerm.Code,DeliveryTermDataAreaId(table field, not in this entity) =DlvTerm.dataAreaIdMany AgreementHeaderDefaultHistory records → zero or one DlvTerm record
DlvTerm details: see DeliveryTermsEntity, VRMDeliveryTermsEntity
ChargeVendorGroupId→MarkupGroup.GroupId(key of MarkupGroup)Join on all of:
ChargeVendorGroupId=MarkupGroup.GroupId,MiscChargeGroupDataAreaId(table field, not in this entity) =MarkupGroup.dataAreaId,MiscChargeGroupApplicationModule(table field, not in this entity) =MarkupGroup.ModuleMany AgreementHeaderDefaultHistory records → zero or one MarkupGroup record
MarkupGroup details: see CustChargeCustomerGroupEntity, DlvChargeDeliveryGroupEntity
PaymentScheduleName→PaymSched.Name(key of PaymSched)Join on all of:
PaymentScheduleName=PaymSched.Name,PaymentScheduleDataAreaId(table field, not in this entity) =PaymSched.dataAreaIdMany AgreementHeaderDefaultHistory records → zero or one PaymSched record
PaymSched details: see PaymentScheduleEntity
PaymentTermsName→PaymTerm.PaymTermId(key of PaymTerm)Join on all of:
PaymentTermsName=PaymTerm.PaymTermId,PaymentTermsDataAreaId(table field, not in this entity) =PaymTerm.dataAreaIdMany AgreementHeaderDefaultHistory records → zero or one PaymTerm record
PaymTerm details: see PaymentTermEntity, CredManPaymTermRankEntity, TaxWithholdSettlementPeriodEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Join on all of:
ProjectId=ProjTable.ProjId,ProjectDataAreaId(table field, not in this entity) =ProjTable.dataAreaIdMany AgreementHeaderDefaultHistory records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
DeliveryAddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
DeliveryAddressCountyId→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
DeliveryAddressCountyId=LogisticsAddressCounty.CountyId,DeliveryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,DeliveryAddressStateId=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
DeliveryAddressStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
DeliveryAddressStateId=LogisticsAddressState.StateId,DeliveryAddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
DeliveryPostalAddress→LogisticsPostalAddress.RecId(key of LogisticsPostalAddress)Many AgreementHeaderDefaultHistory records → zero or one LogisticsPostalAddress record
LogisticsPostalAddress details: see CustCustomerV3Entity, InventTransferOrderHeaderEntity, TMSFreightBillDetailEntity
Need help with PurchPurchaseAgreementConfirmationHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.