Data entity
SalesOrderHeaderV2ExistAddrReadOnlyEntity
Read-only version of sales order headers V2 that also includes the delivery address. It is keyed by delivery address location ID and delivery valid-from date. It repeats the order header fields and adds address details.
- Entity name
SalesOrderHeaderV2ExistAddrReadOnlyEntity- Public entity name
SalesOrderHeaderV2ExistAddrReadOnly- OData collection
SalesOrderHeaderV2ExistAddrReadOnlys- Category
Document- Module
Sales and marketing- Read-only
Yes- Data management enabled
Yes- Configuration key
LogisticsBasic- Keys
DeliveryAddressLocationId, DeliveryValidFrom- Staging table
SalesOrderHeaderV2ExistAddrReadOnlyStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SalesOrderHeaderV2ExistAddrReadOnlys- Dataverse virtual table
mserp_salesorderheaderv2existaddrreadonlyentity. 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
SalesTable· root · read-onlySalesOrderHeaderV2Entity· InnerJoin toSalesTable· read-onlyLogisticsPostalAddressBaseEntity· OuterJoin toSalesTable· read-only
Fields (166)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SalesOrderNumberSales order number that identifies the order. | String (20)SalesIdBase | No | Yes | SalesTable.SalesId | |
SalesOrderStatusStatus of the order: open, delivered, invoiced or cancelled. | Enum
| No | Yes | SalesTable.SalesStatus | |
OrderingCustomerAccountNumberCustomer account that the order is for. | String (20)CustAccount | No | Yes | CustTable.AccountNum | SalesTable.CustAccount |
InvoiceCustomerAccountNumberCustomer account that receives the invoice. | String (20)CustInvoiceAccount | No | Yes | CustTable.AccountNum | SalesTable.InvoiceAccount |
LineDiscountCustomerGroupCodeLine discount group that applies to the order, linked to a price group. | StringCustLineDiscCode | No | Yes | SalesTable.LineDisc | |
CashDiscountCodeCash discount code applied to the order. | StringCustCashDiscCode | No | Yes | CashDisc.CashDiscCode | SalesTable.CashDisc |
PaymentTermsBaseDateBase date used for the payment terms. | DateCashDiscBaseDate | No | Yes | SalesTable.CashDiscBaseDate | |
CommissionCustomerGroupIdCommission customer group assigned to the order. | StringCommissCustomerGroup | No | Yes | CommissionCustomerGroup.GroupId | SalesTable.CommissionGroup |
ContactPersonIdContact person for the order, linked to the contacts. | String (20)ContactPersonId | No | Yes | ContactPerson.ContactPersonId | SalesTable.ContactPersonId |
CurrencyCodeCurrency of the order. | String (3)CustCurrencyCode | No | Yes | Currency.CurrencyCode | SalesTable.CurrencyCode |
CustomersOrderReferenceReference text supplied by the customer. | String (60)CustRef | No | Yes | SalesTable.CustomerRef | |
DefaultLedgerDimensionPoints to the default financial dimension values for the order. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | SalesTable.DefaultDimension |
SalesOrderPromisingMethodMethod used to control delivery dates, such as sales lead time or ATP. | Enum
| No | Yes | SalesTable.DeliveryDateControlType | |
DeliveryAddressNameName of the delivery recipient. | String (100)LogisticsDeliveryName | No | Yes | SalesTable.DeliveryName | |
DirectDebitMandatePoints to the customer direct debit mandate for the order. | Int64CustDirectDebitMandateRecId | No | No (private) | CustDirectDebitMandate.RecId | SalesTable.DirectDebitMandate |
TotalDiscountPercentageTotal discount percentage held on the order header. | RealSalesEndDiscPct | No | Yes | SalesTable.DiscPercent | |
DeliveryModeCodeMode of delivery for the order. | StringCustDlvModeId | No | Yes | DlvMode.Code | SalesTable.DlvMode |
DeliveryReasonCodeReason for delivery for the order. | StringDlvReasonId | No | Yes | DlvReason.Code | SalesTable.DlvReason |
DeliveryTermsCodeTerms of delivery for the order. | StringCustDlvTermId | No | Yes | DlvTerm.Code | SalesTable.DlvTerm |
EmailEmail address on the order. | String (80)Email | No | Yes | SalesTable.Email | |
TotalDiscountCustomerGroupCodeTotal discount group applied to the order, linked to a price group. | StringCustEndDiscCode | No | Yes | SalesTable.EndDisc | |
ExportReasonText giving the reason for export. | String (30)SalesExportReason | No | Yes | SalesTable.ExportReason | |
FixedDueDateFixed due date for payment. | DateSalesFixedDueDate | No | Yes | SalesTable.FixedDueDate | |
FixedExchangeRateFixed exchange rate set for the order. | RealSalesFixedExchRate | No | Yes | SalesTable.FixedExchRate | |
InvoicePaymentAttachmentTypeType of payment slip attached to the customer invoice, such as FIK or Blue slip. | EnumPaymentStubInvoiceId
| No | Yes | SalesTable.GiroType | |
ArePricesIncludingSalesTaxYes/no flag showing whether prices include sales tax. | EnumInclTax
| No | Yes | SalesTable.InclTax | |
DefaultShippingWarehouseIdWarehouse for the order. | StringSalesInventLocationId | No | Yes | InventLocation.InventLocationId | SalesTable.InventLocationId |
DefaultShippingSiteIdSite for the order. | StringInventSiteId | No | Yes | InventSite.SiteId | SalesTable.InventSiteId |
LanguageIdLanguage used for the order. | String (7)CustLanguageId | No | Yes | LanguageTable.LanguageId | SalesTable.LanguageId |
EUSalesListCodeCode that classifies the order for trade lists, such as EU trade or triangular trade. | EnumListcodeId
| No | Yes | SalesTable.Listcode | |
ChargeCustomerGroupIdCharges group applied to the order. | StringCustMarkupGroupId | No | Yes | SalesTable.MarkupGroup | |
SalesAgreementNumberPoints to the agreement header linked to the order. | Int64AgreementHeaderRecId | No | No (private) | AgreementHeader.RecId | SalesTable.MatchingAgreement |
IsSalesProcessingStoppedYes/no flag telling processing to skip the order. | EnumMCROrderStopped
| No | Yes | SalesTable.MCROrderStopped | |
MultilineDiscountCustomerGroupCodeMultiline discount group for the order, linked to a price group. | StringCustMultiLineDiscCode | No | Yes | SalesTable.MultiLineDisc | |
NumberSequenceGroupIdNumber sequence group used for the order. | StringNumberSequenceGroupId | No | Yes | NumberSequenceGroup.numberSequenceGroupId | SalesTable.NumberSequenceGroup |
IsOneTimeCustomerYes/no flag showing that the order is for a one-time customer. | EnumOneTimeCustomer
| No | Yes | SalesTable.OneTimeCustomer | |
PaymentTermsNameTerms of payment for the order. | String (100)CustPaymTermId | No | Yes | PaymTerm.PaymTermId | SalesTable.Payment |
PaymentScheduleNamePayment schedule for the order. | String (30)PaymSchedId | No | Yes | PaymSched.Name | SalesTable.PaymentSched |
CustomerPaymentMethodNameMethod of payment for the customer. | StringCustPaymMode | No | Yes | CustPaymModeTable.PaymMode | SalesTable.PaymMode |
CustomerPaymentMethodSpecificationNamePayment specification linked to the payment method. | StringCustPaymSpec | No | Yes | CustPaymModeSpec.Specification | SalesTable.PaymSpec |
WillAutomaticInventoryReservationConsiderBatchAttributesYes/no flag for automatic batch reservation. | EnumPdsBatchAttribAutoRes
| No | Yes | SalesTable.PdsBatchAttribAutoRes | |
SalesRebateCustomerGroupIdCustomer rebate group for the order. | String (20)PdsCustRebateGroupId | No | Yes | PdsCustRebateGroup.PdsCustRebateGroupId | SalesTable.PdsCustRebateGroupId |
TMACustomerGroupIdCustomer trade management agreement (TMA) group for rebates. | StringPdsRebateProgramTMAGroup | No | Yes | PdsRebateProgramTMATable.PdsRebateProgramTMAGroup | SalesTable.PdsRebateProgramTMAGroup |
IntrastatPortIdPort used for Intrastat reporting. | StringIntrastatPortId | No | Yes | IntrastatPort.PortId | SalesTable.Port |
CustomerPostingProfileIdCustomer posting profile for the order. | StringCustPostingProfile | No | Yes | CustLedger.PostingProfile | SalesTable.PostingProfile |
PriceCustomerGroupCodePrice group of the order, linked to the price groups. | StringCustPriceGroup | No | Yes | SalesTable.PriceGroupId | |
CustomerRequisitionNumberCustomer's own requisition or purchase order number. | String (20)CustPurchaseOrder | No | Yes | SalesTable.PurchOrderFormNum | |
QuotationNumberQuotation number that the order relates to. | String (20)QuotationId | No | Yes | SalesTable.QuotationId | |
ConfirmedReceiptDateConfirmed date on which the customer receives the goods. | DateSalesReceiptDateConfirmed | No | Yes | SalesTable.ReceiptDateConfirmed | |
RequestedReceiptDateDate on which the customer asked to receive the goods. | DateSalesReceiptDateRequested | No | Yes | SalesTable.ReceiptDateRequested | |
InventoryReservationMethodReservation mode for the order: manual, automatic or explosion. | Enum
| No | Yes | SalesTable.Reservation | |
CommissionSalesRepresentativeGroupIdCommission sales group for the order. | StringCommissSalesGroup | No | Yes | CommissionSalesGroup.GroupId | SalesTable.SalesGroup |
SalesOrderNameName of the customer on the order. | String (60)SalesName | No | Yes | SalesTable.SalesName | |
SalesOrderOriginCodeOrder origin code showing where the order came from. | StringSalesOriginId | No | Yes | SalesOrigin.OriginId | SalesTable.SalesOriginId |
SalesOrderPoolIdOrder pool that the order belongs to. | StringSalesPoolId | No | Yes | SalesPool.SalesPoolId | SalesTable.SalesPoolId |
SalesUnitIdSales unit from sales management. | String (20)smmSalesUnitId | No | Yes | smmSalesUnit.SalesUnitId | SalesTable.SalesUnitId |
CustomerTransactionSettlementTypeSettlement type: open transactions or designated transactions. | EnumSalesSettlementType
| No | Yes | SalesTable.SettleVoucher | |
ConfirmedShippingDateConfirmed ship date. | DateSalesShippingDateConfirmed | No | Yes | SalesTable.ShippingDateConfirmed | |
RequestedShippingDateShip date requested by the customer. | DateSalesShippingDateRequested | No | Yes | SalesTable.ShippingDateRequested | |
SalesTakerWorker who took the order. | Int64SalesTaker | No | No (private) | HcmWorker.RecId | SalesTable.WorkerSalesTaker |
CampaignIdCampaign linked to the order. | StringsmmCampaignId | No | Yes | smmCampaignTable.CampaignId | SalesTable.smmCampaignId |
IntrastatStatisticsProcedureCodeStatistics procedure code for Intrastat. | StringIntrastatProcId | No | Yes | SalesTable.StatProcId | |
SalesTaxGroupCodeSales tax group for the order. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | SalesTable.TaxGroup |
IntrastatTransactionCodeIntrastat transaction code for the order. | StringIntrastatTransactionCodeId | No | Yes | IntrastatTransactionCode.TransactionCode | SalesTable.TransactionCode |
IntrastatTransportModeCodeIntrastat transport method. | StringIntrastatTransport | No | Yes | IntrastatTransportMode.TransPortCode | SalesTable.Transport |
URLInternet address on the order. | String (255)URL | No | Yes | SalesTable.URL | |
TaxExemptNumberTax exempt number on the order. | String (20)VATNumJournal | No | Yes | SalesTable.VATNum | |
SalesResponsibleWorker who is responsible for the sale. | Int64WorkerSalesResponsible | No | No (private) | HcmWorker.RecId | SalesTable.WorkerSalesResponsible |
DirectDebitMandateIdUnique ID of the mandate. | String (35)CustMandateId | No | Yes | CustDirectDebitMandate.MandateReference | |
OrderResponsiblePersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
OrderTakerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
IsEntryCertificateRequiredYes/No flag showing whether an entry certificate is required. | EnumEntryCertificateRequired_W
| No | Yes | SalesTable_W.EntryCertificateRequired_W | |
IsOwnEntryCertificateIssuedYes/No flag for issuing your own entry certificate. | EnumIssueOwnEntryCertificate_W
| No | Yes | SalesTable_W.IssueOwnEntryCertificate_W | |
InvoiceTypeType of invoice, such as GST or self-billed, used for Malaysia. | Enum
| No | Yes | SalesTable_W.InvoiceType_MY | |
TransportationBrokerIdBroker for the order, chosen from the carrier list. | String (20)TMSBrokerCode | No | Yes | TMSCarrier.CarrierCode | TMSSalesTable.BrokerCode |
ShippingCarrierIdShipping carrier for the sales order. | String (20)TMSCarrierCode | No | Yes | TMSCarrier.CarrierCode | TMSSalesTable.CarrierCode |
ShippingCarrierServiceGroupIdCarrier group for the sales order. | String (20)TMSCarrierGroupCode | No | Yes | TMSCarrierGroup.CarrierGroupCode | TMSSalesTable.CarrierGroupCode |
ShippingCarrierServiceIdService of the chosen carrier. | String (20)TMSCarrierServiceCode | No | Yes | TMSCarrierService.CarrierServiceCode | TMSSalesTable.CarrierServiceCode |
TransportationModeIdTransportation mode for the order. | String (20)TMSModeCode | No | Yes | TMSMode.ModeCode | TMSSalesTable.ModeCode |
TransportationRoutePlanIdRoute plan used for the order. | String (20)TMSRouteConfigCode | No | Yes | TMSRouteConfig.RouteConfigCode | TMSSalesTable.RouteConfigCode |
TransportationTemplateIdTransportation template used for the order. | String (20)TMSTransportationTemplateId | No | Yes | TMSTransportationTemplate.TransportationTemplateId | TMSSalesTable.TransportationTemplateId |
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 | |
IsDeliveryAddressOrderSpecificYes or no choice showing whether the delivery address is a one-time address for this order. | EnumNoYesId
| No | Yes | None | |
FormattedDelveryAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
DeliveryBuildingComplimentExtra 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 | |
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 | |
IsDeliveryAddressPrivateShows whether the address is private (Yes or No). | EnumLogisticsIsPrivate
| No | Yes | LogisticsPostalAddress.IsPrivate | |
DeliveryAddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
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 | LogisticsAddressCounty.StateIdLogisticsAddressState.StateId | LogisticsPostalAddress.State |
DeliveryAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
DeliveryAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
DeliveryValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
DeliveryValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | No (private) | LogisticsPostalAddress.ValidTo | |
DeliveryAddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
DeliveryAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
DeliveryAddressCityInKanaCity name written in Kana; used for Japan. | String (60)AssetCityKana_JP | No | Yes | LogisticsPostalAddress.CityKana_JP | |
DeliveryAddressStreetInKanaStreet name written in Kana; used for Japan. | String (250)AssetStreetKana_JP | No | Yes | LogisticsPostalAddress.StreetKana_JP | |
IsConsolidatedInvoiceTargetYes/no flag showing whether the customer is a consolidation target, used for Japan. | EnumCustConsTarget_JP
| No | Yes | SalesTable.ConsTarget_JP | |
EInvoiceDimensionAccountCodeDimension account code used in electronic invoices. | String (35)EInvoiceAccountCode | No | Yes | SalesTable.EInvoiceAccountCode | |
IsEInvoiceDimensionAccountCodeSpecifiedPerLineYes/no flag for line-specific electronic invoicing. | EnumEInvoiceLineSpecific
| No | Yes | SalesTable.EInvoiceLineSpec | |
CreditNoteReasonCodeReason code, pointing to the reasons table. | StringReasonCode | No | Yes | ReasonTable.Reason | ReasonTableRef.Reason |
IsExportSaleShows whether the order is an export sale. | EnumPlExportSales
| No | Yes | None | |
BankConstantSymbolConstant symbol code, used for the Czech Republic. | StringCzConstantSymbol | No | Yes | BankConstantSymbol.ConstantSymbol | |
BankSpecificSymbolSpecific symbol text for the order, up to 20 characters. | String (20)SpecificSymbol | No | Yes | SalesTableSymbol.SpecificSymbol | |
CFPSCodeCFPS service code for the order. | String (4)CFPSId_BR | No | Yes | SalesTable_BR.CFPSId_BR | |
IsFinalUserYes/No flag showing whether the customer is the final user. | EnumCustVendFinalUser_BR
| No | Yes | SalesTable_BR.CustFinalUser_BR | |
CustomerPaymentFineCodeFine code applied to the order. | StringCustFineCode_BR | No | Yes | CustFineSetup_BR.FineCode | SalesTable_BR.FineCode_BR |
FiscalDocumentTypeRecIdFiscal document type for the order. | Int64RefRecId | No | No (private) | FiscalDocumentType_BR.RecId | SalesTable_BR.FiscalDocumentType_BR |
CustomerPaymentFinancialInterestCodeInterest code applied to the order. | StringCustInterestCode_BR | No | Yes | CustInterestSetup_BR.InterestCode | SalesTable_BR.InterestCode_BR |
FiscalOperationPresenceTypeHow the buyer was present in the sale, such as in person, internet or telesales. | Enum
| No | Yes | SalesTable_BR.PresenceType | |
SalesPurchOperationTypeRecIdOperation type of the order. | Int64SalesPurchOperationTypeRecId_BR | No | No (private) | SalesPurchOperationType_BR.RecId | SalesTable_BR.SalesPurchOperationType_BR |
IsServiceDeliveryAddressBasedYes/No flag for taking the service code from the delivery address. | EnumTaxServiceCodeOnDlvAddress_BR
| No | Yes | SalesTable_BR.ServiceCodeOnDlvAddress_BR | |
ServiceFiscalInformationCodeService code for the order. | StringTaxServiceCodeId_BR | No | Yes | SalesTable_BR.TaxServiceCode_BR | |
FiscalDocumentOperationTypeIdUnique ID of the operation type. | StringOperationTypeID_BR | No | Yes | SalesPurchOperationType_BR.OperationTypeID | |
FiscalDocumentTypeIdID of the fiscal document type, part of the key. | StringFiscalDocumentTypeId_BR | No | No (private) | FiscalDocumentType_BR.FiscalDocumentTypeId | |
InvoiceAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
FormattedInvoiceAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
InvoiceBuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
InvoiceAddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
InvoiceAddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
InvoiceAddressCountyIdCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
InvoiceAddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
IsInvoiceAddressPrivateShows whether the address is private (Yes or No). | EnumLogisticsIsPrivate
| No | Yes | LogisticsPostalAddress.IsPrivate | |
InvoiceAddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
InvoiceAddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
InvoiceAddressPostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
InvoiceAddressStateIdState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressCounty.StateIdLogisticsAddressState.StateId | LogisticsPostalAddress.State |
InvoiceAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
InvoiceAddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
InvoiceAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
InvoiceAddressCityInKanaCity name written in Kana; used for Japan. | String (60)AssetCityKana_JP | No | Yes | LogisticsPostalAddress.CityKana_JP | |
InvoiceAddressStreetInKanaStreet name written in Kana; used for Japan. | String (250)AssetStreetKana_JP | No | Yes | LogisticsPostalAddress.StreetKana_JP | |
OrderTotalAmountOverall total amount of the order. | RealMCRTotalAmount | No | Yes | SalesOrderTotals.OrderTotalAmount | |
OrderTotalChargesAmountTotal of the charges on the order. | RealMCRTotalMarkupAmount | No | Yes | SalesOrderTotals.OrderTotalChargesAmount | |
OrderTotalDiscountAmountDiscount held at the level of the whole sales order. | RealSalesDiscountAmount | No | Yes | SalesOrderTotals.OrderTotalDiscountAmount | |
OrderTotalTaxAmountTotal tax amount for the order. | RealMCRTotalTaxAmount | No | Yes | SalesOrderTotals.OrderTotalTaxAmount | |
OrderHeaderTaxAmountSales tax amount held on the order header. | RealTaxAmount | No | Yes | SalesOrderTotals.OrderHeaderTaxAmount | |
TotalDiscountAmountTotal discount amount for the order. | RealSalesDiscountAmount | No | Yes | SalesOrderTotals.TotalDiscountAmount | |
SalesOrderProcessingStatusProcessing status of the sales order, shown as a set of fixed values. | Enum
| No | Yes | None | |
AreTotalsCalculatedShows whether the order totals have been calculated. | EnumSalesTotalsCalculated
| No | Yes | None | |
TransportationDocumentLineIdUnique GUID that identifies the record. | GuidSysGuid | No | Yes | TransportationDocument.LineId | |
InvoiceValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | No (private) | LogisticsPostalAddress.ValidTo | |
InvoiceValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | No (private) | LogisticsPostalAddress.ValidFrom | |
OrderCreationDateTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | SalesTable.CreatedDateTime | |
InvoiceAddressCountryRegionISOCodeTwo-letter ISO code. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | LogisticsAddressCountryRegion.ISOcode | |
ProjectIdProject linked to the order. | String (20)ProjId | No | Yes | ProjTable.ProjId | SalesTable.ProjId |
SkipCreateAutoChargesYes or no choice to skip the automatic charges for the order. | EnumNoYesId
| No | Yes | None | |
BaseDocumentDateDate of the base document. | DateDocumentDate_IT | No | Yes | BaseDocument_IT.DocumentDate | |
CIPEcodeCIPE code of the base document. | String (15)Code_IT | No | Yes | BaseDocument_IT.CIPEcode | |
BaseDocumentNumberNumber of the base document. | String (20)Number_IT | No | Yes | BaseDocument_IT.DocumentNumber | |
BaseDocumentTypeKind of base document, such as payment order, contract, agreement or original invoice. | Enum
| No | Yes | BaseDocument_IT.DocumentType | |
BaseDocumentItemNumberItem number on the base document. | String (20)Number_IT | No | Yes | BaseDocument_IT.ItemNumber | |
BaseDocumentLineNumberLine number on the base document. | IntegerLineNumber_IT | No | Yes | BaseDocument_IT.LineNumber | |
OrderOrAgreementCodeCode of the related order or agreement. | String (100)OrderOrAgreementCode_IT | No | Yes | BaseDocument_IT.OrderOrAgreementCode | |
TenderCodeIdentification code of the tender procedure. | String (15)Code_IT | No | Yes | BaseDocument_IT.TenderCode | |
ReportingCurrencyFixedExchangeRateExchange rate for the reporting currency. | RealCustExchRate | No | Yes | SalesTable.ReportingCurrencyFixedExchRate |
Foreign keys (55)
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.
OrderingCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Many SalesTable records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
InvoiceCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Many SalesTable records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
CashDiscountCode→CashDisc.CashDiscCode(key of CashDisc)Many SalesTable records → zero or one CashDisc record
CashDisc details: see CashDiscountEntity, CredManCashDiscRankEntity, CashDiscBiEntity
CommissionCustomerGroupId→CommissionCustomerGroup.GroupId(key of CommissionCustomerGroup)Many SalesTable records → zero or one CommissionCustomerGroup record
Not exposed by a public entity.
ContactPersonId→ContactPerson.ContactPersonId(key of ContactPerson)Many SalesTable records → zero or one ContactPerson record
ContactPerson details: see smmContactPersonV2Entity, smmContactPersonCDSV2Entity, BusinessDocumentSalesInvoiceBaseEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many SalesTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DefaultLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many SalesTable records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
DirectDebitMandate→CustDirectDebitMandate.RecId(key of CustDirectDebitMandate)Many SalesTable records → zero or one CustDirectDebitMandate record
CustDirectDebitMandate details: see CustDirectDebitMandateEntity, SalesOrderHeaderEntity, SalesOrderHeaderV2Entity
DeliveryModeCode→DlvMode.Code(key of DlvMode)Many SalesTable records → zero or one DlvMode record
DlvMode details: see DlvDeliveryModeEntity, RetailDeliveryModeAddressLineEntity, RetailDeliveryModeChannelLineEntity
DeliveryReasonCode→DlvReason.Code(key of DlvReason)Many SalesTable records → zero or one DlvReason record
Not exposed by a public entity.
DeliveryTermsCode→DlvTerm.Code(key of DlvTerm)Many SalesTable records → zero or one DlvTerm record
DlvTerm details: see DeliveryTermsEntity, VRMDeliveryTermsEntity
DefaultShippingWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many SalesTable records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
DefaultShippingSiteId→InventSite.SiteId(key of InventSite)Many SalesTable records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
LanguageId→LanguageTable.LanguageId(key of LanguageTable)Relation also requires LanguageTable.LabelFile = 1.
Many SalesTable records → exactly one LanguageTable record
LanguageTable details: see ConfirmingPOEntity, MainAccountTranslationEntity, RetailCatalogTranslationEntity
SalesAgreementNumber→AgreementHeader.RecId(key of AgreementHeader)Many SalesTable records → zero or one AgreementHeader record
AgreementHeader details: see CLMIntegrationPurchaseAgreementHeaderEntity, PurchPurchaseAgreementHeaderV2Entity, SalesAgreementHeaderEntity
NumberSequenceGroupId→NumberSequenceGroup.numberSequenceGroupId(key of NumberSequenceGroup)Many SalesTable records → zero or one NumberSequenceGroup record
NumberSequenceGroup details: see NumberSequenceGroupEntity
PaymentTermsName→PaymTerm.PaymTermId(key of PaymTerm)Many SalesTable records → zero or one PaymTerm record
PaymTerm details: see PaymentTermEntity, CredManPaymTermRankEntity, TaxWithholdSettlementPeriodEntity
PaymentScheduleName→PaymSched.Name(key of PaymSched)Many SalesTable records → zero or one PaymSched record
PaymSched details: see PaymentScheduleEntity
CustomerPaymentMethodName→CustPaymModeTable.PaymMode(key of CustPaymModeTable)Many SalesTable 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,CustomerPaymentMethodName=CustPaymModeSpec.PaymModeMany SalesTable records → zero or one CustPaymModeSpec record
CustPaymModeSpec details: see CustomerPaymentMethodSpecificationEntity
SalesRebateCustomerGroupId→PdsCustRebateGroup.PdsCustRebateGroupId(key of PdsCustRebateGroup)Many SalesTable records → zero or one PdsCustRebateGroup record
Not exposed by a public entity.
TMACustomerGroupId→PdsRebateProgramTMATable.PdsRebateProgramTMAGroup(key of PdsRebateProgramTMATable)Many SalesTable records → zero or one PdsRebateProgramTMATable record
Not exposed by a public entity.
IntrastatPortId→IntrastatPort.PortId(key of IntrastatPort)Many SalesTable records → zero or one IntrastatPort record
IntrastatPort details: see IntrastatPortEntity
CustomerPostingProfileId→CustLedger.PostingProfile(key of CustLedger)Many SalesTable records → zero or one CustLedger record
CustLedger details: see CustCustomerPostingProfileHeaderEntity, CustCustomerPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
CommissionSalesRepresentativeGroupId→CommissionSalesGroup.GroupId(key of CommissionSalesGroup)Many SalesTable records → zero or one CommissionSalesGroup record
Not exposed by a public entity.
SalesOrderOriginCode→SalesOrigin.OriginId(key of SalesOrigin)Many SalesTable records → zero or one SalesOrigin record
SalesOrigin details: see SalesOrderOriginEntity
SalesOrderPoolId→SalesPool.SalesPoolId(key of SalesPool)Many SalesTable records → zero or one SalesPool record
SalesPool details: see SalesOrderPoolEntity
SalesUnitId→smmSalesUnit.SalesUnitId(key of smmSalesUnit)Many SalesTable records → zero or one smmSalesUnit record
Not exposed by a public entity.
SalesTaker→HcmWorker.RecId(key of HcmWorker)Many SalesTable records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
CampaignId→smmCampaignTable.CampaignId(key of smmCampaignTable)Many SalesTable records → zero or one smmCampaignTable record
smmCampaignTable details: see DimAttributeSmmCampaignTableEntity
SalesTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many SalesTable records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
IntrastatTransactionCode→IntrastatTransactionCode.TransactionCode(key of IntrastatTransactionCode)Many SalesTable records → zero or one IntrastatTransactionCode record
IntrastatTransactionCode details: see IntrastatTransactionCodeEntity
IntrastatTransportModeCode→IntrastatTransportMode.TransPortCode(key of IntrastatTransportMode)Many SalesTable records → zero or one IntrastatTransportMode record
IntrastatTransportMode details: see IntrastatTransportMethodEntity
SalesResponsible→HcmWorker.RecId(key of HcmWorker)Many SalesTable records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
TransportationBrokerId→TMSCarrier.CarrierCode(key of TMSCarrier)Many TMSSalesTable records → zero or one TMSCarrier record
TMSCarrier details: see TMSShippingCarrierEntity, TMSTransportationAppointmentDriverLogEntity, TMSTransportationAppointmentEntity
ShippingCarrierId→TMSCarrier.CarrierCode(key of TMSCarrier)Many TMSSalesTable records → zero or one TMSCarrier record
TMSCarrier details: see TMSShippingCarrierEntity, TMSTransportationAppointmentDriverLogEntity, TMSTransportationAppointmentEntity
ShippingCarrierServiceGroupId→TMSCarrierGroup.CarrierGroupCode(key of TMSCarrierGroup)Many TMSSalesTable 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 TMSSalesTable records → zero or one TMSCarrierService record
TMSCarrierService details: see TMSShippingCarrierServiceEntity
TransportationModeId→TMSMode.ModeCode(key of TMSMode)Many TMSSalesTable records → zero or one TMSMode record
TMSMode details: see TMSTransportationModeEntity
TransportationRoutePlanId→TMSRouteConfig.RouteConfigCode(key of TMSRouteConfig)Many TMSSalesTable records → zero or one TMSRouteConfig record
TMSRouteConfig details: see TMSTransportationRoutePlanEntity
TransportationTemplateId→TMSTransportationTemplate.TransportationTemplateId(key of TMSTransportationTemplate)Many TMSSalesTable 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→LogisticsAddressCounty.StateId(key of LogisticsAddressCounty)Join on all of:
DeliveryAddressStateId=LogisticsAddressCounty.StateId,DeliveryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,DeliveryAddressCountyId=LogisticsAddressCounty.CountyIdMany 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
CreditNoteReasonCode→ReasonTable.Reason(key of ReasonTable)Many ReasonTableRef records → zero or one ReasonTable record
ReasonTable details: see LedgerFinancialReasonEntity, CustCustomerReasonEntity, VendVendorReasonsEntity
CustomerPaymentFineCode→CustFineSetup_BR.FineCode(key of CustFineSetup_BR)Many SalesTable_BR records → zero or one CustFineSetup_BR record
CustFineSetup_BR details: see CustCustomerPaymentFineCodeEntity
FiscalDocumentTypeRecId→FiscalDocumentType_BR.RecId(key of FiscalDocumentType_BR)Many SalesTable_BR records → zero or one FiscalDocumentType_BR record
FiscalDocumentType_BR details: see FiscalDocumentTypeEntity, VendorInvoiceHeaderEntity, FiscalDocumentTypesForCustomersEntity
CustomerPaymentFinancialInterestCode→CustInterestSetup_BR.InterestCode(key of CustInterestSetup_BR)Many SalesTable_BR records → zero or one CustInterestSetup_BR record
CustInterestSetup_BR details: see CustPaymentInterestCodeEntity
SalesPurchOperationTypeRecId→SalesPurchOperationType_BR.RecId(key of SalesPurchOperationType_BR)Many SalesTable_BR records → zero or one SalesPurchOperationType_BR record
SalesPurchOperationType_BR details: see OperationTypeEntity, BrazilParametersEntity, CFOPMatrixEntity
InvoiceAddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
InvoiceAddressCountyId→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
InvoiceAddressCountyId=LogisticsAddressCounty.CountyId,DeliveryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,DeliveryAddressStateId=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
InvoiceAddressStateId→LogisticsAddressCounty.StateId(key of LogisticsAddressCounty)Join on all of:
InvoiceAddressStateId=LogisticsAddressCounty.StateId,DeliveryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,DeliveryAddressCountyId=LogisticsAddressCounty.CountyIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
InvoiceAddressStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
InvoiceAddressStateId=LogisticsAddressState.StateId,DeliveryAddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Many SalesTable records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
Need help with SalesOrderHeaderV2ExistAddrReadOnlyEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.