Data entity

SalesAgreementConfirmationHeaderEntity

Read-only history of confirmed sales agreement headers. Each record is one confirmation of an agreement, keyed by sales agreement ID and confirmation number. It holds the customer, classification, dates, currency, payment and delivery details as they were at confirmation.

Entity name
SalesAgreementConfirmationHeaderEntity
Public entity name
SalesAgreementConfirmation
OData collection
SalesAgreementConfirmations
Category
Document
Module
Sales and marketing
Read-only
Yes
Data management enabled
Yes
Configuration key
TradeBlanketOrder
Keys
SalesAgreementId, ConfirmationNumber
Staging table
SalesAgreementConfirmationHeaderStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesAgreementConfirmations
Dataverse virtual table
mserp_salesagreementconfirmationheaderentity. 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

  • SalesAgreementHeaderHistory · root
  • AgreementClassification · InnerJoin to SalesAgreementHeaderHistory · read-only
  • Originator (table DirPerson) · OuterJoin to SalesAgreementHeaderHistory · read-only
  • CompanyInfo · InnerJoin to SalesAgreementHeaderHistory · read-only
  • DefaultLedgerDimensionDAVS (table DimensionSetEntity) · OuterJoin to SalesAgreementHeaderHistory · read-only
  • SalesAgreementHeaderDefaultHistory · OuterJoin to SalesAgreementHeaderHistory
  • HcmWorker_OrderResponsible (table HcmWorker) · OuterJoin to SalesAgreementHeaderDefaultHistory · read-only
  • AgreementHeaderDefaultHistory · OuterJoin to SalesAgreementHeaderHistory
  • LogisticsPostalAddressBaseEntity · OuterJoin to AgreementHeaderDefaultHistory

Fields (70)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SellingLegalEntityRecIdPoints to the legal entity that sells.Int64
RefRecId
NoNo (private)CompanyInfo.RecIdSalesAgreementHeaderHistory.SellingLegalEntity
SellingLegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
NoYesCompanyInfo.DataArea
SalesAgreementIdID of the sales agreement.String (20)
SalesAgreementId
NoYesSalesAgreementHeaderHistory.SalesNumberSequence
AgreementCustomerAccountNumberAccount number of the customer.String (20)
CustAccount
YesYesCustTable.AccountNumSalesAgreementHeaderHistory.CustAccount
SalesAgreementClassificationRecIdSystem record ID of the agreement classification.Int64
RefRecId
YesNo (private)AgreementClassification.RecIdAgreementHeaderHistory.AgreementClassification
SalesAgreementClassificationNameName of the agreement classification.String (60)
Name
YesYesAgreementClassification.Name
AgreementStatusStatus of the agreement: on hold, effective or closed.Enum
AgreementState
  • OnHold 0
  • Effective 1
  • Closed 2
NoYesAgreementHeaderHistory.AgreementStatus
CurrencyCodeCurrency code of the agreement, pointing to the currency record.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeAgreementHeaderHistory.Currency
DefaultEffectiveDateDefault effective date for the agreement lines.Date
EffectiveDate
NoYesAgreementHeaderHistory.DefaultAgreementLineEffectiveDate
DefaultExpirationDateDefault expiration date for the agreement lines.Date
ExpirationDate
NoYesAgreementHeaderHistory.DefaultAgreementLineExpirationDate
DefaultCommitmentTypeDefault commitment type for lines: product quantity, product value, product category value or value commitment.Enum
CommitmentType
  • ProductQuantity 0
  • ProductVolume 1
  • ProductCategory 2
  • ProductRootCategory 3
NoYesAgreementHeaderHistory.DefaultAgreementLineType
DefaultLedgerDimensionSystem record ID of the default financial dimension set.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdAgreementHeaderHistory.DefaultDimension
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
ExternalDocumentReferenceExternal reference for the agreement document.String (60)
AgreementDocumentExternalReference
NoYesAgreementHeaderHistory.DocumentExternalReference
DocumentTitleTitle of the agreement document.String (20)
AgreementDocumentTitle
NoYesAgreementHeaderHistory.DocumentTitle
LanguageIdLanguage of the agreement, pointing to the language record.String (7)
LanguageId
NoYesLanguageTable.LanguageIdAgreementHeaderHistory.Language
PreparerRecIdSystem record ID of the person who originated the agreement.Int64
RefRecId
NoNo (private)DirPerson.RecIdAgreementHeaderHistory.Originator
PreparerPersonPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
CustomerPaymentMethodNameMethod of payment for the customer.String
CustPaymMode
NoYesCustPaymModeTable.PaymModeSalesAgreementHeaderDefaultHistory.CustomerMethodOfPayment
CustomerPaymentMethodSpecificationNamePayment specification.String
CustPaymSpec
NoYesCustPaymModeSpec.SpecificationSalesAgreementHeaderDefaultHistory.CustomerPaymentSpec
SalesOrderPoolIdOrder pool.String
SalesPoolId
NoYesSalesPool.SalesPoolIdSalesAgreementHeaderDefaultHistory.SalesPool
InvoiceCustomerAccountNumberCustomer account to invoice.String (20)
CustInvoiceAccount
NoYesCustTable.AccountNumSalesAgreementHeaderDefaultHistory.CustomerInvoiceAccount
ContactPersonIdContact person ID, pointing to the contact record.String (20)
ContactPersonId
NoYesContactPerson.ContactPersonIdAgreementHeaderDefaultHistory.ContactPerson
DeliveryModeCodeMode of delivery, pointing to the delivery mode record.String
DlvModeId
NoYesDlvMode.CodeAgreementHeaderDefaultHistory.DeliveryMode
DeliveryTermsCodeTerms of delivery, pointing to the delivery terms record.String
DlvTermId
NoYesDlvTerm.CodeAgreementHeaderDefaultHistory.DeliveryTerm
DeliveryAddressNameName used for delivery.String (100)
LogisticsDeliveryName
NoYesAgreementHeaderDefaultHistory.DeliveryName
DeliveryPostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoNo (private)LogisticsPostalAddress.RecId
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
IsDeliveryAddressAgreementSpecificYes/No flag showing whether the delivery address is a one-time address used only for this agreement.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
FormattedDeliveryAddressThe full address as one formatted text.String (250)
LogisticsAddressing
NoYesLogisticsPostalAddress.Address
DeliveryAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
DeliveryAddressBuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
DeliveryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
DeliveryAddressCityInKanaCity name written in Kana; used for Japan.String (60)
AssetCityKana_JP
NoYesLogisticsPostalAddress.CityKana_JP
DeliveryAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
DeliveryAddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
DeliveryAddressCountyIdCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
DeliveryAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
DeliveryAddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
DeliveryAddressDunsNumberThe DUNS number, up to nine characters long. It is the key of the table.String (9)
LogisticsDunsNumber
NoYesDirDunsNumber.DunsNumber
DeliveryAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
IsDeliveryAddressPrivateShows whether the address is private (Yes or No).Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.IsPrivate
DeliveryAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
DeliveryAddressPostBoxPost office box number.String (20)
LogisticsAddressPostBox
NoYesLogisticsPostalAddress.PostBox
DeliveryAddressStateIdState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLogisticsPostalAddress.State
DeliveryAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
DeliveryAddressStreetInKanaStreet name written in Kana; used for Japan.String (250)
AssetStreetKana_JP
NoYesLogisticsPostalAddress.StreetKana_JP
DeliveryAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
DeliveryAddressValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoNo (private)LogisticsPostalAddress.ValidFrom
DeliveryAddressValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoNo (private)LogisticsPostalAddress.ValidTo
DeliveryAddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
DeliveryPostalAddressSystem record ID of the delivery postal address.Int64
LogisticsPostalAddressRecId
NoNo (private)LogisticsPostalAddress.RecIdAgreementHeaderDefaultHistory.DeliveryPostalAddress
PaymentScheduleNamePayment schedule, pointing to the payment schedule record.String (30)
PaymSchedId
NoYesPaymSched.NameAgreementHeaderDefaultHistory.PaymentSchedule
PaymentTermsNameTerms of payment, pointing to the payment terms record.String (100)
PaymTermId
NoYesPaymTerm.PaymTermIdAgreementHeaderDefaultHistory.PaymentTerms
CampaignIdThe campaign that was set by default.String
smmCampaignId
NoYessmmCampaignTable.CampaignIdSalesAgreementHeaderDefaultHistory.Campaign
CommissionCustomerGroupIdCommission group for the customer.String
CommissCustomerGroup
NoYesCommissionCustomerGroup.GroupIdSalesAgreementHeaderDefaultHistory.CommissionCustomerGroup
CommissionSalesRepresentativeGroupIdSales commission group.String
CommissSalesGroup
NoYesCommissionSalesGroup.GroupIdSalesAgreementHeaderDefaultHistory.CommissionSalesGroup
CustomerRequisitionNumberThe customer's own requisition or purchase order reference.String (20)
CustPurchaseOrder
NoYesSalesAgreementHeaderDefaultHistory.CustomerRequisitionNumber
FixedExchangeRateA fixed exchange rate.Real
SalesFixedExchRate
NoYesSalesAgreementHeaderDefaultHistory.FixedExchangeRate
SalesUnitIdSales management unit.String (20)
smmSalesUnitId
NoYessmmSalesUnit.SalesUnitIdSalesAgreementHeaderDefaultHistory.SalesUnit
SalesResponsibleThe worker responsible for the sale.Int64
RefRecId
NoNo (private)HcmWorker.RecIdSalesAgreementHeaderDefaultHistory.WorkerSalesResponsible
OrderResponsiblePersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
CustomerReferenceName of the external contact or reference person.String (60)
PersonName
NoYesAgreementHeaderDefaultHistory.ExternalReference
ChargeCustomerGroupIdCharges group, pointing to the charges group record.String
MarkupGroupId
NoYesMarkupGroup.GroupIdAgreementHeaderDefaultHistory.MiscChargeGroup
ProjectIdProject ID, pointing to the project record.String (20)
ProjId
NoYesProjTable.ProjIdAgreementHeaderDefaultHistory.Project
CashDiscountCodeCash discount code held in this history, pointing to the cash discount record.String
CashDiscCode
NoYesCashDisc.CashDiscCodeAgreementHeaderDefaultHistory.CashDiscountCode
ConfirmationNumberConfirmation number of the agreement version.String (20)
AgreementConfirmationNumber
NoYesAgreementHeaderHistory.ConfirmationNumber
SalesAgreementConfirmationNumberNumber that identifies the confirmation of the sales agreement.String (41)
AgreementConfirmation
NoYescomputed
ConfirmationCreationDateTimeDate and time when the confirmation was created.UtcDateTime
CreatedDateTime
NoYescomputed
ReportingCurrencyFixedExchangeRateA fixed exchange rate for the reporting currency, judging by the name; the label is empty.low confidenceRealNoYesSalesAgreementHeaderDefaultHistory.ReportingCurrencyFixedExchRate

Foreign keys (28)

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.

  • SellingLegalEntityRecId → CompanyInfo.RecId (key of CompanyInfo)

    Many SalesAgreementHeaderHistory records → exactly one CompanyInfo record

    CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity

  • AgreementCustomerAccountNumber → CustTable.AccountNum (key of CustTable)

    Join on all of: AgreementCustomerAccountNumber = CustTable.AccountNum, CustomerDataAreaId (table field, not in this entity) = CustTable.dataAreaId

    Many SalesAgreementHeaderHistory records → exactly one CustTable record

    CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity

  • SalesAgreementClassificationRecId → AgreementClassification.RecId (key of AgreementClassification)

    Many AgreementHeaderHistory records → exactly one AgreementClassification record

    AgreementClassification details: see CLMIntegrationPurchaseAgreementHeaderEntity, PurchPurchaseAgreementConfirmationHeaderEntity, PurchPurchaseAgreementHeaderV2Entity

  • 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

  • CustomerPaymentMethodName → CustPaymModeTable.PaymMode (key of CustPaymModeTable)

    Join on all of: CustomerPaymentMethodName = CustPaymModeTable.PaymMode, CustomerMethodOfPaymentDataAreaId (table field, not in this entity) = CustPaymModeTable.dataAreaId

    Many SalesAgreementHeaderDefaultHistory records → zero or one CustPaymModeTable record

    CustPaymModeTable details: see CustomerPaymentMethodEntity, BankCustPaymModeBankAccountsEntity, CustPaymModeTableBiEntity

  • CustomerPaymentMethodSpecificationName → CustPaymModeSpec.Specification (key of CustPaymModeSpec)

    Join on all of: CustomerPaymentMethodSpecificationName = CustPaymModeSpec.Specification, CustomerPaymentSpecDataAreaId (table field, not in this entity) = CustPaymModeSpec.dataAreaId, CustomerPaymentMethodName = CustPaymModeSpec.PaymMode

    Many SalesAgreementHeaderDefaultHistory records → zero or one CustPaymModeSpec record

    CustPaymModeSpec details: see CustomerPaymentMethodSpecificationEntity

  • SalesOrderPoolId → SalesPool.SalesPoolId (key of SalesPool)

    Join on all of: SalesOrderPoolId = SalesPool.SalesPoolId, SalesPoolDataAreaId (table field, not in this entity) = SalesPool.dataAreaId

    Many SalesAgreementHeaderDefaultHistory records → zero or one SalesPool record

    SalesPool details: see SalesOrderPoolEntity

  • InvoiceCustomerAccountNumber → CustTable.AccountNum (key of CustTable)

    Join on all of: InvoiceCustomerAccountNumber = CustTable.AccountNum, CustomerInvoiceAccountDataAreaId (table field, not in this entity) = CustTable.dataAreaId

    Many SalesAgreementHeaderDefaultHistory records → zero or one CustTable record

    CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity

  • ContactPersonId → ContactPerson.ContactPersonId (key of ContactPerson)

    Join on all of: ContactPersonId = ContactPerson.ContactPersonId, ContactPersonDataAreaId (table field, not in this entity) = ContactPerson.dataAreaId

    Many 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.dataAreaId

    Many 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.dataAreaId

    Many AgreementHeaderDefaultHistory records → zero or one DlvTerm record

    DlvTerm details: see DeliveryTermsEntity, VRMDeliveryTermsEntity

  • 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.StateId

    Many 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.CountryRegionId

    Many 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

  • PaymentScheduleName → PaymSched.Name (key of PaymSched)

    Join on all of: PaymentScheduleName = PaymSched.Name, PaymentScheduleDataAreaId (table field, not in this entity) = PaymSched.dataAreaId

    Many 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.dataAreaId

    Many AgreementHeaderDefaultHistory records → zero or one PaymTerm record

    PaymTerm details: see PaymentTermEntity, CredManPaymTermRankEntity, TaxWithholdSettlementPeriodEntity

  • CampaignId → smmCampaignTable.CampaignId (key of smmCampaignTable)

    Join on all of: CampaignId = smmCampaignTable.CampaignId, CampaignDataAreaId (table field, not in this entity) = smmCampaignTable.dataAreaId

    Many SalesAgreementHeaderDefaultHistory records → zero or one smmCampaignTable record

    smmCampaignTable details: see DimAttributeSmmCampaignTableEntity

  • CommissionCustomerGroupId → CommissionCustomerGroup.GroupId (key of CommissionCustomerGroup)

    Join on all of: CommissionCustomerGroupId = CommissionCustomerGroup.GroupId, CommissionCustomerGroupDataAreaId (table field, not in this entity) = CommissionCustomerGroup.dataAreaId

    Many SalesAgreementHeaderDefaultHistory records → zero or one CommissionCustomerGroup record

    Not exposed by a public entity.

  • CommissionSalesRepresentativeGroupId → CommissionSalesGroup.GroupId (key of CommissionSalesGroup)

    Join on all of: CommissionSalesRepresentativeGroupId = CommissionSalesGroup.GroupId, CommissionSalesGroupDataAreaId (table field, not in this entity) = CommissionSalesGroup.dataAreaId

    Many SalesAgreementHeaderDefaultHistory records → zero or one CommissionSalesGroup record

    Not exposed by a public entity.

  • SalesUnitId → smmSalesUnit.SalesUnitId (key of smmSalesUnit)

    Join on all of: SalesUnitId = smmSalesUnit.SalesUnitId, SalesUnitDataAreaId (table field, not in this entity) = smmSalesUnit.dataAreaId

    Many SalesAgreementHeaderDefaultHistory records → zero or one smmSalesUnit record

    Not exposed by a public entity.

  • SalesResponsible → HcmWorker.RecId (key of HcmWorker)

    Many SalesAgreementHeaderDefaultHistory records → zero or one HcmWorker record

    HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity

  • ChargeCustomerGroupId → MarkupGroup.GroupId (key of MarkupGroup)

    Join on all of: ChargeCustomerGroupId = MarkupGroup.GroupId, MiscChargeGroupDataAreaId (table field, not in this entity) = MarkupGroup.dataAreaId, MiscChargeGroupApplicationModule (table field, not in this entity) = MarkupGroup.Module

    Many AgreementHeaderDefaultHistory records → zero or one MarkupGroup record

    MarkupGroup details: see CustChargeCustomerGroupEntity, DlvChargeDeliveryGroupEntity

  • ProjectId → ProjTable.ProjId (key of ProjTable)

    Join on all of: ProjectId = ProjTable.ProjId, ProjectDataAreaId (table field, not in this entity) = ProjTable.dataAreaId

    Many AgreementHeaderDefaultHistory records → zero or one ProjTable record

    ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity

  • CashDiscountCode → CashDisc.CashDiscCode (key of CashDisc)

    Join on all of: CashDiscountCode = CashDisc.CashDiscCode, CashDiscountDataAreaId (table field, not in this entity) = CashDisc.dataAreaId

    Many AgreementHeaderDefaultHistory records → zero or one CashDisc record

    CashDisc details: see CashDiscountEntity, CredManCashDiscRankEntity, CashDiscBiEntity

Need help with SalesAgreementConfirmationHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk