Data entity

SalesOrderHeaderV4Entity

Sales order headers, version 4, one record per sales order and keyed by sales order number. It holds customer and invoice details, currency, discounts, delivery and payment terms, site and warehouse, and totals. It also joins country-specific, Italy base document and fulfilment policy data.

Entity name
SalesOrderHeaderV4Entity
Public entity name
SalesOrderHeaderV4
OData collection
SalesOrderHeadersV4
Category
Document
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
LogisticsBasic
Keys
SalesOrderNumber
Staging table
SalesOrderHeaderV4Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesOrderHeadersV4
Dataverse virtual table
mserp_salesorderheaderv4entity. 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
  • CustDirectDebitMandate · OuterJoin to SalesTable · read-only
  • HcmWorker_OrderResponsible (table HcmWorker) · OuterJoin to SalesTable · read-only
  • HcmWorker_OrderTaker (table HcmWorker) · OuterJoin to SalesTable · read-only
  • DefaultDimensionDAVS (table DimensionSetEntity) · OuterJoin to SalesTable · read-only
  • SalesTable_W · OuterJoin to SalesTable
  • TMSSalesTable · OuterJoin to SalesTable
  • LogisticsPostalAddressBaseEntity · OuterJoin to SalesTable
  • CreditNoteReasonTableRef (table ReasonTableRef) · OuterJoin to SalesTable · read-only
  • ExportSalesOrder · OuterJoin to SalesTable · read-only
  • SalesTableSymbol · OuterJoin to SalesTable · read-only
  • BankConstantSymbol · OuterJoin to SalesTableSymbol · read-only
  • SalesTable_BR · OuterJoin to SalesTable
  • SalesPurchOperationType_BR · OuterJoin to SalesTable_BR · read-only
  • FiscalDocumentType_BR · OuterJoin to SalesTable_BR · read-only
  • CustDefaultInvoiceAddress · OuterJoin to SalesTable · read-only
  • SalesOrderTotals · OuterJoin to SalesTable · read-only
  • TransportationDocument · OuterJoin to SalesTable · read-only
  • BaseDocument_IT · OuterJoin to SalesTable
  • WHSSourceOrderFullfillmentPolicy · OuterJoin to SalesTable
  • FulfillmentPolicy (table WHSFulfillmentPolicy) · OuterJoin to WHSSourceOrderFullfillmentPolicy · read-only
  • RetailSalesTable · OuterJoin to SalesTable
  • FinTag · OuterJoin to SalesTable · read-only
  • WHSSourceOrderOutboundShipmentProcessingPolicy · OuterJoin to SalesTable
  • WHSOutboundShipmentProcessingPolicy · OuterJoin to WHSSourceOrderOutboundShipmentProcessingPolicy · read-only

Fields (180)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SalesOrderNumberSales order number that identifies the order.String (20)
SalesIdBase
NoYesSalesTable.SalesId
SalesOrderStatusStatus of the order: open, delivered, invoiced or cancelled.Enum
SalesStatus
  • None 0
  • Backorder 1
  • Delivered 2
  • Invoiced 3
  • Canceled 4
NoYesSalesTable.SalesStatus
OrderingCustomerAccountNumberCustomer account that the order is for.String (20)
CustAccount
NoYesCustTable.AccountNumSalesTable.CustAccount
InvoiceCustomerAccountNumberCustomer account that receives the invoice.String (20)
CustInvoiceAccount
NoYesCustTable.AccountNumSalesTable.InvoiceAccount
LineDiscountCustomerGroupCodeLine discount group that applies to the order, linked to a price group.String
CustLineDiscCode
NoYesSalesTable.LineDisc
CashDiscountCodeCash discount code applied to the order.String
CustCashDiscCode
NoYesCashDisc.CashDiscCodeSalesTable.CashDisc
PaymentTermsBaseDateBase date used for the payment terms.Date
CashDiscBaseDate
NoYesSalesTable.CashDiscBaseDate
CommissionCustomerGroupIdCommission customer group assigned to the order.String
CommissCustomerGroup
NoYesCommissionCustomerGroup.GroupIdSalesTable.CommissionGroup
ContactPersonIdContact person for the order, linked to the contacts.String (20)
ContactPersonId
NoYesContactPerson.ContactPersonIdSalesTable.ContactPersonId
CurrencyCodeCurrency of the order.String (3)
CustCurrencyCode
NoYesCurrency.CurrencyCodeSalesTable.CurrencyCode
CustomersOrderReferenceReference text supplied by the customer.String (60)
CustRef
NoYesSalesTable.CustomerRef
DefaultLedgerDimensionPoints to the default financial dimension values for the order.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdSalesTable.DefaultDimension
SalesOrderPromisingMethodMethod used to control delivery dates, such as sales lead time or ATP.Enum
SalesDeliveryDateControlType
  • None 0
  • SalesLeadTime 1
  • ATP 2
  • ATPPlusIssueMargin 3
  • CTP 4
  • FullRunCTP 5
NoYesSalesTable.DeliveryDateControlType
DeliveryAddressNameName of the delivery recipient.String (100)
LogisticsDeliveryName
NoYesSalesTable.DeliveryName
DirectDebitMandatePoints to the customer direct debit mandate for the order.Int64
CustDirectDebitMandateRecId
NoNo (private)CustDirectDebitMandate.RecIdSalesTable.DirectDebitMandate
TotalDiscountPercentageTotal discount percentage held on the order header.Real
SalesEndDiscPct
NoYesSalesTable.DiscPercent
DeliveryModeCodeMode of delivery for the order.String
CustDlvModeId
NoYesDlvMode.CodeSalesTable.DlvMode
DeliveryReasonCodeReason for delivery for the order.String
DlvReasonId
NoYesDlvReason.CodeSalesTable.DlvReason
DeliveryTermsCodeTerms of delivery for the order.String
CustDlvTermId
NoYesDlvTerm.CodeSalesTable.DlvTerm
EmailEmail address on the order.String (80)
Email
NoYesSalesTable.Email
TotalDiscountCustomerGroupCodeTotal discount group applied to the order, linked to a price group.String
CustEndDiscCode
NoYesSalesTable.EndDisc
ExportReasonText giving the reason for export.String (30)
SalesExportReason
NoYesSalesTable.ExportReason
FixedDueDateFixed due date for payment.Date
SalesFixedDueDate
NoYesSalesTable.FixedDueDate
FixedExchangeRateFixed exchange rate set for the order.Real
SalesFixedExchRate
NoYesSalesTable.FixedExchRate
InvoicePaymentAttachmentTypeType of payment slip attached to the customer invoice, such as FIK or Blue slip.Enum
PaymentStubInvoiceId
PaymentStub
  • None 0
  • FIK 1
  • BBS 2
  • ESR_blue_PTT 3
  • ESR_red_bank 4
  • FIK762 5
  • ESR_orange 6
  • BelSMS101 7
  • BelSMS102 8
  • Finnish 9
  • FIK751 10
  • FIK752 11
  • QRBill 12
NoYesSalesTable.GiroType
ArePricesIncludingSalesTaxYes/no flag showing whether prices include sales tax.Enum
InclTax
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InclTax
DefaultShippingWarehouseIdWarehouse for the order.String
SalesInventLocationId
NoYesInventLocation.InventLocationIdSalesTable.InventLocationId
DefaultShippingSiteIdSite for the order.String
InventSiteId
NoYesInventSite.SiteIdSalesTable.InventSiteId
LanguageIdLanguage used for the order.String (7)
CustLanguageId
NoYesLanguageTable.LanguageIdSalesTable.LanguageId
EUSalesListCodeCode that classifies the order for trade lists, such as EU trade or triangular trade.Enum
ListcodeId
Listcode
  • IncludeNot 0
  • EUTrade 1
  • ProductionOnToll 2
  • TriangularEUTrade 3
  • TriangularProductionOnToll 4
  • PropertyMoving_CZ 50
  • TriangularIntermediateRole_HU 51
  • PurchasedOnBehalf_LV 53
NoYesSalesTable.Listcode
ChargeCustomerGroupIdCharges group applied to the order.String
CustMarkupGroupId
NoYesSalesTable.MarkupGroup
SalesAgreementNumberPoints to the agreement header linked to the order.Int64
AgreementHeaderRecId
NoNo (private)AgreementHeader.RecIdSalesTable.MatchingAgreement
IsSalesProcessingStoppedYes/no flag telling processing to skip the order.Enum
MCROrderStopped
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.MCROrderStopped
MultilineDiscountCustomerGroupCodeMultiline discount group for the order, linked to a price group.String
CustMultiLineDiscCode
NoYesSalesTable.MultiLineDisc
NumberSequenceGroupIdNumber sequence group used for the order.String
NumberSequenceGroupId
NoYesNumberSequenceGroup.numberSequenceGroupIdSalesTable.NumberSequenceGroup
IsOneTimeCustomerYes/no flag showing that the order is for a one-time customer.Enum
OneTimeCustomer
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.OneTimeCustomer
PaymentTermsNameTerms of payment for the order.String (100)
CustPaymTermId
NoYesPaymTerm.PaymTermIdSalesTable.Payment
PaymentScheduleNamePayment schedule for the order.String (30)
PaymSchedId
NoYesPaymSched.NameSalesTable.PaymentSched
CustomerPaymentMethodNameMethod of payment for the customer.String
CustPaymMode
NoYesCustPaymModeTable.PaymModeSalesTable.PaymMode
CustomerPaymentMethodSpecificationNamePayment specification linked to the payment method.String
CustPaymSpec
NoYesCustPaymModeSpec.SpecificationSalesTable.PaymSpec
WillAutomaticInventoryReservationConsiderBatchAttributesYes/no flag for automatic batch reservation.Enum
PdsBatchAttribAutoRes
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.PdsBatchAttribAutoRes
SalesRebateCustomerGroupIdCustomer rebate group for the order.String (20)
PdsCustRebateGroupId
NoYesPdsCustRebateGroup.PdsCustRebateGroupIdSalesTable.PdsCustRebateGroupId
TMACustomerGroupIdCustomer trade management agreement (TMA) group for rebates.String
PdsRebateProgramTMAGroup
NoYesPdsRebateProgramTMATable.PdsRebateProgramTMAGroupSalesTable.PdsRebateProgramTMAGroup
IntrastatPortIdPort used for Intrastat reporting.String
IntrastatPortId
NoYesIntrastatPort.PortIdSalesTable.Port
CustomerPostingProfileIdCustomer posting profile for the order.String
CustPostingProfile
NoYesCustLedger.PostingProfileSalesTable.PostingProfile
PriceCustomerGroupCodePrice group of the order, linked to the price groups.String
CustPriceGroup
NoYesSalesTable.PriceGroupId
CustomerRequisitionNumberCustomer's own requisition or purchase order number.String (20)
CustPurchaseOrder
NoYesSalesTable.PurchOrderFormNum
QuotationNumberQuotation number that the order relates to.String (20)
QuotationId
NoYesSalesTable.QuotationId
ConfirmedReceiptDateConfirmed date on which the customer receives the goods.Date
SalesReceiptDateConfirmed
NoYesSalesTable.ReceiptDateConfirmed
RequestedReceiptDateDate on which the customer asked to receive the goods.Date
SalesReceiptDateRequested
NoYesSalesTable.ReceiptDateRequested
InventoryReservationMethodReservation mode for the order: manual, automatic or explosion.Enum
ItemReservation
  • None 0
  • Automatic 1
  • Explosion 2
NoYesSalesTable.Reservation
CommissionSalesRepresentativeGroupIdCommission sales group for the order.String
CommissSalesGroup
NoYesCommissionSalesGroup.GroupIdSalesTable.SalesGroup
SalesOrderNameName of the customer on the order.String (60)
SalesName
NoYesSalesTable.SalesName
SalesOrderOriginCodeOrder origin code showing where the order came from.String
SalesOriginId
NoYesSalesOrigin.OriginIdSalesTable.SalesOriginId
SalesOrderPoolIdOrder pool that the order belongs to.String
SalesPoolId
NoYesSalesPool.SalesPoolIdSalesTable.SalesPoolId
SalesUnitIdSales unit from sales management.String (20)
smmSalesUnitId
NoYessmmSalesUnit.SalesUnitIdSalesTable.SalesUnitId
CustomerTransactionSettlementTypeSettlement type: open transactions or designated transactions.Enum
SalesSettlementType
SettlementType
  • None 0
  • OpenTransact 1
  • SelectedTransact 2
NoYesSalesTable.SettleVoucher
ConfirmedShippingDateConfirmed ship date.Date
SalesShippingDateConfirmed
NoYesSalesTable.ShippingDateConfirmed
RequestedShippingDateShip date requested by the customer.Date
SalesShippingDateRequested
NoYesSalesTable.ShippingDateRequested
SalesTakerWorker who took the order.Int64
SalesTaker
NoNo (private)HcmWorker.RecIdSalesTable.WorkerSalesTaker
CampaignIdCampaign linked to the order.String
smmCampaignId
NoYessmmCampaignTable.CampaignIdSalesTable.smmCampaignId
IntrastatStatisticsProcedureCodeStatistics procedure code for Intrastat.String
IntrastatProcId
NoYesSalesTable.StatProcId
SalesTaxGroupCodeSales tax group for the order.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupSalesTable.TaxGroup
IntrastatTransactionCodeIntrastat transaction code for the order.String
IntrastatTransactionCodeId
NoYesIntrastatTransactionCode.TransactionCodeSalesTable.TransactionCode
IntrastatTransportModeCodeIntrastat transport method.String
IntrastatTransport
NoYesIntrastatTransportMode.TransPortCodeSalesTable.Transport
URLInternet address on the order.String (255)
URL
NoYesSalesTable.URL
TaxExemptNumberTax exempt number on the order.String (20)
VATNumJournal
NoYesSalesTable.VATNum
SalesResponsibleWorker who is responsible for the sale.Int64
WorkerSalesResponsible
NoNo (private)HcmWorker.RecIdSalesTable.WorkerSalesResponsible
DirectDebitMandateIdUnique ID of the mandate.String (35)
CustMandateId
NoYesCustDirectDebitMandate.MandateReference
OrderResponsiblePersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
OrderTakerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
IsEntryCertificateRequiredYes/No flag showing whether an entry certificate is required.Enum
EntryCertificateRequired_W
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable_W.EntryCertificateRequired_W
IsOwnEntryCertificateIssuedYes/No flag for issuing your own entry certificate.Enum
IssueOwnEntryCertificate_W
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable_W.IssueOwnEntryCertificate_W
InvoiceTypeType of invoice, such as GST or self-billed, used for Malaysia.Enum
InvoiceType_MY
  • Invoice 0
  • GST 1
  • SelfBilled 2
  • ServiceInvoice 3
NoYesSalesTable_W.InvoiceType_MY
TransportationBrokerIdBroker for the order, chosen from the carrier list.String (20)
TMSBrokerCode
NoYesTMSCarrier.CarrierCodeTMSSalesTable.BrokerCode
ShippingCarrierIdShipping carrier for the sales order.String (20)
TMSCarrierCode
NoYesTMSCarrier.CarrierCodeTMSSalesTable.CarrierCode
ShippingCarrierServiceGroupIdCarrier group for the sales order.String (20)
TMSCarrierGroupCode
NoYesTMSCarrierGroup.CarrierGroupCodeTMSSalesTable.CarrierGroupCode
ShippingCarrierServiceIdService of the chosen carrier.String (20)
TMSCarrierServiceCode
NoYesTMSCarrierService.CarrierServiceCodeTMSSalesTable.CarrierServiceCode
TransportationModeIdTransportation mode for the order.String (20)
TMSModeCode
NoYesTMSMode.ModeCodeTMSSalesTable.ModeCode
TransportationRoutePlanIdRoute plan used for the order.String (20)
TMSRouteConfigCode
NoYesTMSRouteConfig.RouteConfigCodeTMSSalesTable.RouteConfigCode
TransportationTemplateIdTransportation template used for the order.String (20)
TMSTransportationTemplateId
NoYesTMSTransportationTemplate.TransportationTemplateIdTMSSalesTable.TransportationTemplateId
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
IsDeliveryAddressOrderSpecificYes/no flag showing whether the delivery address is a one-time address for this order only.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
FormattedDelveryAddressDelivery address built as one text string.low confidenceString (250)NoYesNone
DeliveryBuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
DeliveryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
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
IsDeliveryAddressPrivateShows whether the address is private (Yes or No).Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.IsPrivate
DeliveryAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
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
NoYesLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdLogisticsPostalAddress.State
DeliveryAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
DeliveryAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
DeliveryValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoNo (private)LogisticsPostalAddress.ValidFrom
DeliveryValidToDate 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
DeliveryAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
DeliveryAddressCityInKanaCity name written in Kana; used for Japan.String (60)
AssetCityKana_JP
NoYesLogisticsPostalAddress.CityKana_JP
DeliveryAddressStreetInKanaStreet name written in Kana; used for Japan.String (250)
AssetStreetKana_JP
NoYesLogisticsPostalAddress.StreetKana_JP
IsConsolidatedInvoiceTargetYes/no flag showing whether the customer is a consolidation target, used for Japan.Enum
CustConsTarget_JP
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.ConsTarget_JP
EInvoiceDimensionAccountCodeDimension account code used in electronic invoices.String (35)
EInvoiceAccountCode
NoYesSalesTable.EInvoiceAccountCode
IsEInvoiceDimensionAccountCodeSpecifiedPerLineYes/no flag for line-specific electronic invoicing.Enum
EInvoiceLineSpecific
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.EInvoiceLineSpec
CreditNoteReasonCodeReason code, pointing to the reasons table.String
ReasonCode
NoYesReasonTable.ReasonReasonTableRef.Reason
IsExportSaleShows whether the order is an export sale, as a yes/no value.Enum
PlExportSales
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
BankConstantSymbolConstant symbol code, used for the Czech Republic.String
CzConstantSymbol
YesYesBankConstantSymbol.ConstantSymbol
BankSpecificSymbolSpecific symbol text for the order, up to 20 characters.String (20)
SpecificSymbol
NoYesSalesTableSymbol.SpecificSymbol
CFPSCodeCFPS service code for the order.String (4)
CFPSId_BR
NoYesSalesTable_BR.CFPSId_BR
IsFinalUserYes/No flag showing whether the customer is the final user.Enum
CustVendFinalUser_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable_BR.CustFinalUser_BR
CustomerPaymentFineCodeFine code applied to the order.String
CustFineCode_BR
NoYesCustFineSetup_BR.FineCodeSalesTable_BR.FineCode_BR
FiscalDocumentTypeRecIdFiscal document type for the order.Int64
RefRecId
NoNo (private)FiscalDocumentType_BR.RecIdSalesTable_BR.FiscalDocumentType_BR
CustomerPaymentFinancialInterestCodeInterest code applied to the order.String
CustInterestCode_BR
NoYesCustInterestSetup_BR.InterestCodeSalesTable_BR.InterestCode_BR
FiscalOperationPresenceTypeHow the buyer was present in the sale, such as in person, internet or telesales.Enum
EFDocPresenceType_BR
  • DoesNotApply 0
  • InPerson 1
  • Internet 2
  • Telesales 3
  • InPersonOut 5
  • Others 9
NoYesSalesTable_BR.PresenceType
SalesPurchOperationTypeRecIdOperation type of the order.Int64
SalesPurchOperationTypeRecId_BR
NoNo (private)SalesPurchOperationType_BR.RecIdSalesTable_BR.SalesPurchOperationType_BR
IsServiceDeliveryAddressBasedYes/No flag for taking the service code from the delivery address.Enum
TaxServiceCodeOnDlvAddress_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable_BR.ServiceCodeOnDlvAddress_BR
ServiceFiscalInformationCodeService code for the order.String
TaxServiceCodeId_BR
NoYesSalesTable_BR.TaxServiceCode_BR
FiscalDocumentOperationTypeIdUnique ID of the operation type.String
OperationTypeID_BR
YesYesSalesPurchOperationType_BR.OperationTypeID
FiscalDocumentTypeIdID of the fiscal document type, part of the key.String
FiscalDocumentTypeId_BR
YesNo (private)FiscalDocumentType_BR.FiscalDocumentTypeId
InvoiceAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
FormattedInvoiceAddressThe full address as one formatted text.String (250)
LogisticsAddressing
NoYesLogisticsPostalAddress.Address
InvoiceBuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
InvoiceAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
InvoiceAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
InvoiceAddressCountyIdCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
InvoiceAddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
IsInvoiceAddressPrivateShows whether the address is private (Yes or No).Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.IsPrivate
InvoiceAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
InvoiceAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
InvoiceAddressPostBoxPost office box number.String (20)
LogisticsAddressPostBox
NoYesLogisticsPostalAddress.PostBox
InvoiceAddressStateIdState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdLogisticsPostalAddress.State
InvoiceAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
InvoiceAddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
InvoiceAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
InvoiceAddressCityInKanaCity name written in Kana; used for Japan.String (60)
AssetCityKana_JP
NoYesLogisticsPostalAddress.CityKana_JP
InvoiceAddressStreetInKanaStreet name written in Kana; used for Japan.String (250)
AssetStreetKana_JP
NoYesLogisticsPostalAddress.StreetKana_JP
OrderTotalAmountOverall total amount of the order.Real
MCRTotalAmount
NoYesSalesOrderTotals.OrderTotalAmount
OrderTotalChargesAmountTotal of the charges on the order.Real
MCRTotalMarkupAmount
NoYesSalesOrderTotals.OrderTotalChargesAmount
OrderTotalDiscountAmountDiscount held at the level of the whole sales order.Real
SalesDiscountAmount
NoYesSalesOrderTotals.OrderTotalDiscountAmount
OrderTotalTaxAmountTotal tax amount for the order.Real
MCRTotalTaxAmount
NoYesSalesOrderTotals.OrderTotalTaxAmount
OrderHeaderTaxAmountSales tax amount held on the order header.Real
TaxAmount
NoYesSalesOrderTotals.OrderHeaderTaxAmount
TotalDiscountAmountTotal discount amount for the order.Real
SalesDiscountAmount
NoYesSalesOrderTotals.TotalDiscountAmount
SalesOrderProcessingStatusProcessing status of the sales order, shown as a list of fixed values.Enum
SalesOrderProcessingStatus
  • Active 0
  • Confirmed 1
  • Picked 2
  • PartiallyDelivered 3
  • Delivered 4
  • Invoiced 5
  • PartiallyInvoiced 6
  • Canceled 7
  • DeliveredPartiallyInvoiced 8
NoYescomputed
AreTotalsCalculatedShows whether the order totals have been calculated.Enum
SalesTotalsCalculated
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
TransportationDocumentLineIdUnique GUID that identifies the record.Guid
SysGuid
NoYesTransportationDocument.LineId
InvoiceValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoNo (private)LogisticsPostalAddress.ValidTo
InvoiceValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoNo (private)LogisticsPostalAddress.ValidFrom
OrderCreationDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesSalesTable.CreatedDateTime
InvoiceAddressCountryRegionISOCodeTwo-letter ISO code.String (2)
LogisticsAddressCountryRegionISOCode
NoYesLogisticsAddressCountryRegion.ISOcode
ProjectIdProject linked to the order.String (20)
ProjId
NoYesProjTable.ProjIdSalesTable.ProjId
SkipCreateAutoChargesYes/no flag to skip the automatic charges for the order.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
BaseDocumentDateDate of the base document.Date
DocumentDate_IT
NoYesBaseDocument_IT.DocumentDate
CIPEcodeCIPE code of the base document.String (15)
Code_IT
NoYesBaseDocument_IT.CIPEcode
BaseDocumentNumberNumber of the base document.String (20)
Number_IT
NoYesBaseDocument_IT.DocumentNumber
BaseDocumentTypeKind of base document, such as payment order, contract, agreement or original invoice.Enum
DocumentType_IT
  • None 0
  • PaymentOrder 1
  • Contract 2
  • Agreement 3
  • ManagementSystem 4
  • OriginalInvoice 5
NoYesBaseDocument_IT.DocumentType
BaseDocumentItemNumberItem number on the base document.String (20)
Number_IT
NoYesBaseDocument_IT.ItemNumber
BaseDocumentLineNumberLine number on the base document.Integer
LineNumber_IT
NoYesBaseDocument_IT.LineNumber
OrderOrAgreementCodeCode of the related order or agreement.String (100)
OrderOrAgreementCode_IT
NoYesBaseDocument_IT.OrderOrAgreementCode
TenderCodeIdentification code of the tender procedure.String (15)
Code_IT
NoYesBaseDocument_IT.TenderCode
ReportingCurrencyFixedExchangeRateExchange rate for the reporting currency.Real
CustExchRate
NoYesSalesTable.ReportingCurrencyFixedExchRate
ShippingCarrierCustomerAccountNumberCustomer's account number with the shipping carrier.String (20)
TMSCarrierCustomerAccountNumber
NoYesTMSSalesTable.CarrierCustomerAccountNumber
ThirdPartySalesDigitalPlatformYes/No flag showing whether the sale went through a third-party digital platform or marketplace.Enum
ThirdPartySalesDigitalPlatform_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable_BR.ThirdPartySalesDigitalPlatform
ThirdPartySalesDigitalPlatformCNPJCNPJ tax number of the digital platform provider.String (20)
ThirdPartySalesDigitalPlatformCNPJ_BR
NoYesSalesTable_BR.ThirdPartySalesDigitalPlatformCNPJ
OverrideSalesTaxYes/no flag that overrides the sales tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.OverrideSalesTax
FulfillmentPolicySystem record ID of the fulfilment policy used for the order. Points to WHSFulfillmentPolicy.Int64
WHSFulfillmentPolicyRecId
NoNo (private)WHSFulfillmentPolicy.RecIdWHSSourceOrderFullfillmentPolicy.FulfillmentPolicy
FulfillmentPolicyNameName of the fulfilment policy. It is the key.String (60)
WHSFulfillmentPolicyName
NoYesWHSFulfillmentPolicy.Name
FullRunCTPStatusShows whether batch capable-to-promise dates are ready: ready or not ready.Enum
MPSFullRunCTPStatus
  • Ready 0
  • NotReady 1
NoYesSalesTable.MPSFullRunCTPStatus
IsCDSIntegrationYes/no flag that appears to relate to Dataverse integration.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesvirtual
ExcludeFromMasterPlanningYes/no flag excluding the order from master planning.Enum
MpsExcludeSalesOrder
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.MpsExcludeSalesOrder
RetailChannelTablePoints to the retail channel for the order.Int64
RetailChannelRecId
NoYesRetailChannelTable.RecIdSalesTable.RetailChannelTable
FinTagDisplayValueLong text showing the tag values together in a readable form.String (-1)
FinTagDisplayValue
YesYesFinTag.DisplayValue
ShipmentProcessingPolicyNameUnique name of the policy. It is the key of the table.String (60)
WHSOutboundShipmentProcessingPolicyName
NoYesWHSOutboundShipmentProcessingPolicy.Name
ShipmentProcessingPolicyPoints to the outbound shipment processing policy applied to the order.Int64
WHSOutboundShipmentProcessingPolicyRecId
NoNo (private)WHSOutboundShipmentProcessingPolicy.RecIdWHSSourceOrderOutboundShipmentProcessingPolicy.OutboundShipmentProcessingPolicy
ExpediteExpedite text for the order.String
MCRExpedite
NoYesSalesTable.Expedite

Foreign keys (58)

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.

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

Email sales@drdynamics.co.uk