Data entity
SalesAgreementHeaderEntity
Holds sales agreement headers, one record per agreement, keyed by sales agreement ID. It includes the customer, classification, status, currency, effective and expiration dates, payment terms and delivery details. It also joins transport fields and fields used for Russia.
- Entity name
SalesAgreementHeaderEntity- Public entity name
SalesAgreement- OData collection
SalesAgreements- Category
Document- Module
Sales and marketing- Read-only
No- Data management enabled
Yes- Configuration key
TradeBlanketOrder- Keys
SalesAgreementId- Staging table
SalesAgreementHeaderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SalesAgreements- Dataverse virtual table
mserp_salesagreementheaderentity. 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
SalesAgreementHeader· rootAgreementClassification· InnerJoin toSalesAgreementHeader· read-onlyOriginator(tableDirPerson) · OuterJoin toSalesAgreementHeader· read-onlyCompanyInfo· InnerJoin toSalesAgreementHeader· read-onlyDefaultLedgerDimensionDAVS(tableDimensionSetEntity) · OuterJoin toSalesAgreementHeader· read-onlySalesAgreementHeaderDefault· OuterJoin toSalesAgreementHeaderHcmWorker_OrderResponsible(tableHcmWorker) · OuterJoin toSalesAgreementHeaderDefault· read-onlyAgreementHeaderDefault· OuterJoin toSalesAgreementHeaderLogisticsPostalAddressBaseEntity· OuterJoin toAgreementHeaderDefaultTMSSalesAgreementHeader· OuterJoin toSalesAgreementHeaderSalesAgreementHeaderExt_RU· OuterJoin toSalesAgreementHeader
Fields (96)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SellingLegalEntityRecIdLegal entity that sells under the agreement. | Int64RefRecId | No | No (private) | CompanyInfo.RecId | SalesAgreementHeader.SellingLegalEntity |
SellingLegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | No | Yes | CompanyInfo.DataArea | |
SalesAgreementIdID of the sales agreement. | String (20)SalesAgreementId | No | Yes | SalesAgreementHeader.SalesNumberSequence | |
AgreementCustomerAccountNumberCustomer account that the agreement is for. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | SalesAgreementHeader.CustAccount |
SalesAgreementClassificationRecIdClassification of the agreement. | Int64AgreementClassificationRecId | Yes | No (private) | AgreementClassification.RecId | AgreementHeader.AgreementClassification |
SalesAgreementClassificationNameName of the agreement classification. | String (60)Name | Yes | Yes | AgreementClassification.Name | |
AgreementStatusStatus of the agreement: on hold, effective or closed. | Enum
| No | Yes | AgreementHeader.AgreementState | |
CurrencyCodeCurrency code of the agreement. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | AgreementHeader.Currency |
DefaultEffectiveDateDefault effective date for new agreement lines. | DateEffectiveDate | No | Yes | AgreementHeader.DefaultAgreementLineEffectiveDate | |
DefaultExpirationDateDefault expiry date for new agreement lines. | DateExpirationDate | No | Yes | AgreementHeader.DefaultAgreementLineExpirationDate | |
DefaultCommitmentTypeDefault commitment type for new lines, such as quantity or value. | Enum
| No | Yes | AgreementHeader.DefaultAgreementLineType | |
DefaultLedgerDimensionDefault financial dimension values for the agreement. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | AgreementHeader.DefaultDimension |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
ExternalDocumentReferenceReference to an external document. | String (60)AgreementDocumentExternalReference | No | Yes | AgreementHeader.DocumentExternalReference | |
DocumentTitleTitle of the agreement document. | String (20)AgreementDocumentTitle | No | Yes | AgreementHeader.DocumentTitle | |
LanguageIdLanguage of the agreement. | String (7)LanguageId | No | Yes | LanguageTable.LanguageId | AgreementHeader.Language |
PreparerRecIdPerson recorded as the reference for the agreement. | Int64RefRecId | No | No (private) | DirPerson.RecId | AgreementHeader.Originator |
PreparerPersonPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
CustomerPaymentMethodNameDefault method of payment for the customer. | StringCustPaymMode | No | Yes | CustPaymModeTable.PaymMode | SalesAgreementHeaderDefault.CustomerMethodOfPayment |
CustomerPaymentMethodSpecificationNameDefault payment specification. | StringCustPaymSpec | No | Yes | CustPaymModeSpec.Specification | SalesAgreementHeaderDefault.CustomerPaymentSpec |
SalesOrderPoolIdDefault order pool. | StringSalesPoolId | No | Yes | SalesPool.SalesPoolId | SalesAgreementHeaderDefault.SalesPool |
InvoiceCustomerAccountNumberCustomer account to invoice by default. | String (20)CustInvoiceAccount | No | Yes | CustTable.AccountNum | SalesAgreementHeaderDefault.CustomerInvoiceAccount |
ContactPersonIdDefault contact person ID, pointing to the contact record. | String (20)ContactPersonId | No | Yes | ContactPerson.ContactPersonId | AgreementHeaderDefault.ContactPerson |
DeliveryModeCodeDefault mode of delivery, pointing to the delivery mode record. | StringDlvModeId | No | Yes | DlvMode.Code | AgreementHeaderDefault.DeliveryMode |
DeliveryTermsCodeDefault terms of delivery, pointing to the delivery terms record. | StringDlvTermId | No | Yes | DlvTerm.Code | AgreementHeaderDefault.DeliveryTerm |
ShippingCarrierIdShipping carrier code, pointing to the carrier record. | String (20)TMSCarrierCode | No | Yes | TMSCarrier.CarrierCode | TMSSalesAgreementHeader.CarrierCode |
ShippingCarrierServiceGroupIdCarrier group code, pointing to the carrier group record. | String (20)TMSCarrierGroupCode | No | Yes | TMSCarrierGroup.CarrierGroupCode | TMSSalesAgreementHeader.CarrierGroupCode |
ShippingCarrierServiceIdCarrier service code. It is matched together with the carrier. | String (20)TMSCarrierServiceCode | No | Yes | TMSCarrierService.CarrierServiceCode | TMSSalesAgreementHeader.CarrierServiceCode |
TransportationModeIdTransportation mode, pointing to the mode record. | String (20)TMSModeCode | No | Yes | TMSMode.ModeCode | TMSSalesAgreementHeader.ModeCode |
TransportationRoutePlanIdRoute plan code, pointing to the route plan record. | String (20)TMSRouteConfigCode | No | Yes | TMSRouteConfig.RouteConfigCode | TMSSalesAgreementHeader.RouteConfigCode |
TransportationTemplateIdTransportation template, pointing to the template record. | String (20)TMSTransportationTemplateId | No | Yes | TMSTransportationTemplate.TransportationTemplateId | TMSSalesAgreementHeader.TransportationTemplateId |
DeliveryAddressNameDefault name used for delivery. | String (100)LogisticsDeliveryName | No | Yes | AgreementHeaderDefault.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/No flag showing whether the delivery address is a one-time address used only 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 default delivery postal address. | Int64LogisticsPostalAddressRecId | No | No (private) | LogisticsPostalAddress.RecId | AgreementHeaderDefault.DeliveryPostalAddress |
PaymentScheduleNameDefault payment schedule, pointing to the payment schedule record. | String (30)PaymSchedId | No | Yes | PaymSched.Name | AgreementHeaderDefault.PaymentSchedule |
PaymentTermsNameDefault terms of payment, pointing to the payment terms record. | String (100)PaymTermId | No | Yes | PaymTerm.PaymTermId | AgreementHeaderDefault.PaymentTerms |
CampaignIdThe campaign that is set by default. | StringsmmCampaignId | No | Yes | smmCampaignTable.CampaignId | SalesAgreementHeaderDefault.Campaign |
CommissionCustomerGroupIdDefault commission group for the customer. | StringCommissCustomerGroup | No | Yes | CommissionCustomerGroup.GroupId | SalesAgreementHeaderDefault.CommissionCustomerGroup |
CommissionSalesRepresentativeGroupIdDefault sales commission group. | StringCommissSalesGroup | No | Yes | CommissionSalesGroup.GroupId | SalesAgreementHeaderDefault.CommissionSalesGroup |
CustomerRequisitionNumberThe customer's own requisition or purchase order reference. | String (20)CustPurchaseOrder | No | Yes | SalesAgreementHeaderDefault.CustomerRequisitionNumber | |
FixedExchangeRateA fixed exchange rate to use by default. | RealSalesFixedExchRate | No | Yes | SalesAgreementHeaderDefault.FixedExchangeRate | |
WillRebateCalculationExcludeLineByDefaultYes/No flag to leave the order out of rebates. | EnumPdsExcludeFromRebate
| No | Yes | SalesAgreementHeaderDefault.PdsExcludeFromRebate | |
SalesUnitIdDefault sales management unit. | String (20)smmSalesUnitId | No | Yes | smmSalesUnit.SalesUnitId | SalesAgreementHeaderDefault.SalesUnit |
SalesResponsibleThe worker who is responsible for the sale. | Int64WorkerSalesResponsible | No | No (private) | HcmWorker.RecId | SalesAgreementHeaderDefault.WorkerSalesResponsible |
OrderResponsiblePersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
CustomerReferenceName of the external contact or reference person. | String (60)PersonName | No | Yes | AgreementHeaderDefault.ExternalReference | |
ChargeCustomerGroupIdDefault charges group, pointing to the charges group record. | StringMarkupGroupId | No | Yes | MarkupGroup.GroupId | AgreementHeaderDefault.MiscChargeGroup |
ProjectIdDefault project ID, pointing to the project record. | String (20)ProjId | No | Yes | ProjTable.ProjId | AgreementHeaderDefault.Project |
CashDiscountCodeDefault cash discount code, pointing to the cash discount record. | StringCashDiscCode | No | Yes | CashDisc.CashDiscCode | AgreementHeaderDefault.CashDiscountCode |
CommissionAgreementShows whether this is a commission agreement: none, purchase by commissioner or sale by commissioner. | Enum
| No | Yes | AgreementHeaderExt_RU.AgencyAgreement | |
AgreementSumTotal sum of the agreement. | RealAgreementAmount_RU | No | Yes | AgreementHeaderExt_RU.AgreementAmount | |
AgreementDateDate of the agreement. | DateAgreementDate_RU | No | Yes | AgreementHeaderExt_RU.AgreementDate | |
SubjectOfAnAgreementFree text describing what the agreement is about. | String (-1)AgreementSubject_RU | No | Yes | AgreementHeaderExt_RU.AgreementSubject | |
AgreementVatAmountVAT amount of the agreement. | RealAgreementVatAmount_RU | No | Yes | AgreementHeaderExt_RU.AgreementVatAmount | |
MobilePhoneMobile phone number for the agreement contact. | String (20)PhoneMobile | No | Yes | AgreementHeaderExt_RU.CellularPhone | |
CreditLimitMaximum credit allowed for this agreement (in accounting currency). | RealCreditMaxMST | No | Yes | AgreementHeaderExt_RU.CreditMax | |
InventoryProfileInventory profile linked to the agreement. | StringInventProfileId_RU | No | Yes | InventProfile_RU.InventProfileId | AgreementHeaderExt_RU.InventProfileId |
KindOfActivityKind of activity, such as basic, commission agent, principal's agent or bailee. | Enum
| No | Yes | AgreementHeaderExt_RU.InventProfileType | |
LineOfBusinessLine of business linked to the agreement. | StringLineOfBusinessId | No | Yes | LineOfBusiness.LineOfBusinessId | AgreementHeaderExt_RU.LineOfBusinessId |
PaymDayPayment day setting linked to the agreement. | StringPaymDayId | No | Yes | PaymDay.PaymDayId | AgreementHeaderExt_RU.PaymDayId |
TelephoneTelephone number for the agreement contact. | String (20)Phone | No | Yes | AgreementHeaderExt_RU.Phone | |
ExtensionTelephone extension number. | StringPhoneLocal | No | Yes | AgreementHeaderExt_RU.PhoneLocal | |
FaxFax number for the agreement contact. | String (20)TeleFax | No | Yes | AgreementHeaderExt_RU.TeleFax | |
TelexNumberTelex number for the agreement contact. | String (20)Telex | No | Yes | AgreementHeaderExt_RU.Telex | |
InternetAddressInternet address for the agreement contact. | String (255)URL | No | Yes | AgreementHeaderExt_RU.Url | |
PostingTypePosting type for the sales invoice: standard or postponed passing of property. | Enum
| No | Yes | SalesAgreementHeaderExt_RU.SalesInvoicePostingType | |
PostingProfileCustomer posting profile used for the agreement. | StringCustPostingProfile | No | Yes | CustLedger.PostingProfile | SalesAgreementHeaderExt_RU.CustPostingProfile |
PostingProfileWithPrepaymentJournalVoucherCustomer posting profile used with a prepayment journal voucher. | StringCustPostingProfile | No | Yes | CustLedger.PostingProfile | SalesAgreementHeaderExt_RU.CustPrepaymentPostingProfile |
AmountDifferenceInTaxAccountingYes or no flag for amount difference in tax accounting. | EnumTaxAmountDifference_RU
| No | Yes | AgreementHeaderExt_RU.TaxAmountDifference | |
ExcludeFromReserveInBusinessAccountingYes or no flag to leave this agreement out of the reserve in business accounting. | EnumExcludeReserveCalc_RU
| No | Yes | AgreementHeaderExt_RU.ExcludeReserveCalc | |
ExcludeFromReserveInTaxAccountingYes or no flag to leave this agreement out of the reserve in tax accounting. | EnumExcludeReserveCalc_RU
| No | Yes | AgreementHeaderExt_RU.ExcludeReserveCalcTax | |
ReportingCurrencyFixedExchangeRateAn exchange rate value labelled 'Exchange rate'; the currency is not stated in the metadata.low confidence | RealCustExchRate | No | Yes | SalesAgreementHeaderDefault.ReportingCurrencyFixedExchRate |
Foreign keys (39)
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 SalesAgreementHeader 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.dataAreaIdMany SalesAgreementHeader records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
SalesAgreementClassificationRecId→AgreementClassification.RecId(key of AgreementClassification)Many AgreementHeader records → exactly one AgreementClassification record
AgreementClassification details: see CLMIntegrationPurchaseAgreementHeaderEntity, PurchPurchaseAgreementConfirmationHeaderEntity, PurchPurchaseAgreementHeaderV2Entity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many AgreementHeader records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DefaultLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many AgreementHeader records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
LanguageId→LanguageTable.LanguageId(key of LanguageTable)Relation also requires LanguageTable.LabelFile = 1.
Many AgreementHeader records → zero or one LanguageTable record
LanguageTable details: see ConfirmingPOEntity, MainAccountTranslationEntity, RetailCatalogTranslationEntity
PreparerRecId→DirPerson.RecId(key of DirPerson)Many AgreementHeader 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.dataAreaIdMany SalesAgreementHeaderDefault 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.PaymModeMany SalesAgreementHeaderDefault 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.dataAreaIdMany SalesAgreementHeaderDefault 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.dataAreaIdMany SalesAgreementHeaderDefault 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.dataAreaIdMany AgreementHeaderDefault 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 AgreementHeaderDefault 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 AgreementHeaderDefault records → zero or one DlvTerm record
DlvTerm details: see DeliveryTermsEntity, VRMDeliveryTermsEntity
ShippingCarrierId→TMSCarrier.CarrierCode(key of TMSCarrier)Many TMSSalesAgreementHeader records → zero or one TMSCarrier record
TMSCarrier details: see TMSShippingCarrierEntity, TMSTransportationAppointmentDriverLogEntity, TMSTransportationAppointmentEntity
ShippingCarrierServiceGroupId→TMSCarrierGroup.CarrierGroupCode(key of TMSCarrierGroup)Many TMSSalesAgreementHeader records → zero or one TMSCarrierGroup record
TMSCarrierGroup details: see TMSShippingCarrierServiceGroupEntity
ShippingCarrierServiceId→TMSCarrierService.CarrierServiceCode(key of TMSCarrierService)Join on all of:
ShippingCarrierServiceId=TMSCarrierService.CarrierServiceCode,ShippingCarrierId=TMSCarrierService.CarrierCodeMany TMSSalesAgreementHeader records → zero or one TMSCarrierService record
TMSCarrierService details: see TMSShippingCarrierServiceEntity
TransportationModeId→TMSMode.ModeCode(key of TMSMode)Many TMSSalesAgreementHeader records → zero or one TMSMode record
TMSMode details: see TMSTransportationModeEntity
TransportationRoutePlanId→TMSRouteConfig.RouteConfigCode(key of TMSRouteConfig)Many TMSSalesAgreementHeader records → zero or one TMSRouteConfig record
TMSRouteConfig details: see TMSTransportationRoutePlanEntity
TransportationTemplateId→TMSTransportationTemplate.TransportationTemplateId(key of TMSTransportationTemplate)Many TMSSalesAgreementHeader records → zero or one TMSTransportationTemplate record
Not exposed by a public entity.
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 AgreementHeaderDefault 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.dataAreaIdMany AgreementHeaderDefault 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 AgreementHeaderDefault 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.dataAreaIdMany SalesAgreementHeaderDefault 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.dataAreaIdMany SalesAgreementHeaderDefault 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.dataAreaIdMany SalesAgreementHeaderDefault 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.dataAreaIdMany SalesAgreementHeaderDefault records → zero or one smmSalesUnit record
Not exposed by a public entity.
SalesResponsible→HcmWorker.RecId(key of HcmWorker)Many SalesAgreementHeaderDefault 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.ModuleMany AgreementHeaderDefault 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.dataAreaIdMany AgreementHeaderDefault 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.dataAreaIdMany AgreementHeaderDefault records → zero or one CashDisc record
CashDisc details: see CashDiscountEntity, CredManCashDiscRankEntity, CashDiscBiEntity
InventoryProfile→InventProfile_RU.InventProfileId(key of InventProfile_RU)Many AgreementHeaderExt_RU records → exactly one InventProfile_RU record
InventProfile_RU details: see InventInventoryProfileEntity, InventInventoryProfileRelationEntity, InventInventoryProfileCustomerVendorLedgerEntity
LineOfBusiness→LineOfBusiness.LineOfBusinessId(key of LineOfBusiness)Many AgreementHeaderExt_RU records → exactly one LineOfBusiness record
LineOfBusiness details: see LineOfBusinessEntity
PaymDay→PaymDay.PaymDayId(key of PaymDay)Many AgreementHeaderExt_RU records → exactly one PaymDay record
PaymDay details: see PaymentDayCdsEntity, PaymentDayEntity
PostingProfile→CustLedger.PostingProfile(key of CustLedger)Many SalesAgreementHeaderExt_RU records → exactly one CustLedger record
CustLedger details: see CustCustomerPostingProfileHeaderEntity, CustCustomerPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
PostingProfileWithPrepaymentJournalVoucher→CustLedger.PostingProfile(key of CustLedger)Many SalesAgreementHeaderExt_RU records → exactly one CustLedger record
CustLedger details: see CustCustomerPostingProfileHeaderEntity, CustCustomerPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
Need help with SalesAgreementHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.