Data entity

SalesTableBiEntity

Read-only entity for analytics that holds sales order headers. It is a wide entity with over 220 fields covering customer, currency, payment terms, banking, commission and authorisation data. Each record is identified by the sales order ID.

Entity name
SalesTableBiEntity
Public entity name
SalesTableBiEntity
OData collection
SalesTableBiEntities
Category
Document
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LogisticsBasic
Keys
SalesId
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesTableBiEntities
Dataverse virtual table
mserp_salestablebientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • SalesTable · root · read-only

Fields (222)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountingDistributionTemplatePoints to the accounting distribution template for the order.Int64
AccountingDistributionTemplateRecId
NoYesAccountingDistributionTemplate.RecIdSalesTable.AccountingDistributionTemplate
AddressRefRecIdSystem record ID of the record that the address reference points to.Int64
AddressRefRecId
NoYesSalesTable.AddressRefRecId
AddressRefTableIdID of the table that the address reference points to.Integer
AddressRefTableId
NoYesSalesTable.AddressRefTableId
ASOHOrderClassOrder class for the order.String
ASOHOrderClass
NoYesASOHOrderClassTable.OrderClassSalesTable.ASOHOrderClass
AutoSummaryModuleTypeShows whether the summary update parameters relate to customers or to sales orders.Enum
ModuleCustSales
  • Cust 0
  • Sales 1
NoYesSalesTable.AutoSummaryModuleType
BankAccount_LVPrimary bank account of the company, used for Latvia.String
CompanyBankAccountId
NoYesBankAccountTable.AccountIDSalesTable.BankAccount_LV
BankCentralBankPurposeCodeCentral bank purpose code for the payment, taken from the payment purpose codes.String
BankCentralBankPurposeCode
NoYesBankCentralBankPurpose.CodeSalesTable.BankCentralBankPurposeCode
BankCentralBankPurposeTextFree text that explains the central bank purpose.String (210)
BankCentralBankPurposeText
NoYesSalesTable.BankCentralBankPurposeText
BankDocumentTypeType of bank document linked to the order, such as letter of credit or letter of guarantee.Enum
BankDocumentFacilityNature
BankDocumentType
  • None 0
  • LetterOfCredit 1
  • ImportCollection 2
  • LetterOfGuarantee 3
NoYesSalesTable.BankDocumentType
CashDiscCash discount code applied to the order.String
CustCashDiscCode
NoYesCashDisc.CashDiscCodeSalesTable.CashDisc
CashDiscBaseDateBase date used for the payment terms.Date
CashDiscBaseDate
NoYesSalesTable.CashDiscBaseDate
CashDiscBaseDaysNumber of base days used for the payment terms.Integer
CashDiscBaseDays
NoYesSalesTable.CashDiscBaseDays
CashDiscPercentDiscount percentage on the order.Real
DiscPct
NoYesSalesTable.CashDiscPercent
CertificateNumber_MXCertificate number of the document, used for Mexico.String (40)
CertificateNumber_MX
NoYesSalesTable.CertificateNumber_MX
CFDITemporaryExport_MXYes/no flag for temporary export, used for Mexico.Enum
CFDITemporaryExport_MX
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CFDITemporaryExport_MX
CommissionGroupCommission customer group assigned to the order.String
CommissCustomerGroup
NoYesCommissionCustomerGroup.GroupIdSalesTable.CommissionGroup
CommissionType_ITCommission settlement on invoice or on payment, used for Italy.Enum
CommissionType_IT
  • Invoice 0
  • Payment 1
NoYesSalesTable.CommissionType_IT
ConsTarget_JPYes/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
ContactPersonIdContact person for the order, linked to the contacts.String (20)
ContactPersonId
NoYesContactPerson.ContactPersonIdSalesTable.ContactPersonId
CountyOrigDestCounty of origin or destination, linked to the counties list.String (30)
AddressCountyOrigDest
NoYesSalesTable.CountyOrigDest
CovStatusStatus number used for the cash flow forecast.low confidenceInteger
CovStatus
NoYesSalesTable.CovStatus
SysCreatedByThe user who created the record.String (20)
CreatedBy
NoYesSalesTable.CreatedBy
CreatedOnThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesSalesTable.CreatedDateTime
SysCreatedTransactionIdA system number for the database transaction that created the record.Int64
CreatedTransactionId
NoYesSalesTable.CreatedTransactionId
CreditCardApprovalAmountAmount approved for the credit card payment (in accounting currency).Real
AmountMST
NoYesSalesTable.CreditCardApprovalAmount
CreditCardAuthorizationAuthorisation code returned for the credit card payment.String (36)
CreditCardAuthorization
NoYesSalesTable.CreditCardAuthorization
CreditCardAuthorizationErrorYes/no flag showing that a capture error occurred for the credit card.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CreditCardAuthorizationError
CreditCardCustRefIdPoints to the customer credit card record used on the order.Int64
RefRecId
NoYesCreditCardCust.RecIdSalesTable.CreditCardCustRefId
CreditNoteReasonCodePoints to a reason reference record for the credit note.Int64
ReasonTableRefRecId
NoYesReasonTableRef.RecIdSalesTable.CreditNoteReasonCode
CurBankAccount_LVCompany bank account used for an additional currency, used for Latvia.String
CompanyBankAccountId
NoYesBankAccountTable.AccountIDSalesTable.CurBankAccount_LV
CurrencyCodeCurrency of the order.String (3)
CustCurrencyCode
YesYesCurrency.CurrencyCodeSalesTable.CurrencyCode
CustAccountCustomer account that the order is for.String (20)
CustAccount
YesYesCustTable.AccountNumSalesTable.CustAccount
CustBankAccount_LVCustomer bank account on the order, used for Latvia.String
CustBankAccountId
NoYesCustBankAccount.AccountIDSalesTable.CustBankAccount_LV
CustGroupCustomer group of the customer.String
CustGroupId
YesYesCustGroup.CustGroupSalesTable.CustGroup
CustInvoiceIdInvoice number linked to the order.String (20)
CustInvoiceId
NoYesSalesTable.CustInvoiceId
CustomerRefReference text supplied by the customer.String (60)
CustRef
NoYesSalesTable.CustomerRef
CustomsExportOrder_INYes/no flag marking the order as an export order, used for India.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CustomsExportOrder_IN
CustomsShippingBill_INYes/no flag for a shipping bill, used for India.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CustomsShippingBill_IN
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesSalesTable.DataAreaId
DeadlineDeadline date for the order.Date
SalesDeadline
NoYesSalesTable.Deadline
DeliveryDateShip date for the order.Date
SalesShippingDate
NoYesSalesTable.DeliveryDate
DeliveryDateControlTypeMethod 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
DeliveryNameName of the delivery recipient.String (100)
LogisticsDeliveryName
NoYesSalesTable.DeliveryName
DeliveryPostalAddressPoints to the postal address used for delivery.Int64
LogisticsPostalAddressRecId
NoYesLogisticsPostalAddress.RecIdSalesTable.DeliveryPostalAddress
DirectDebitMandatePoints to the customer direct debit mandate for the order.Int64
CustDirectDebitMandateRecId
NoYesCustDirectDebitMandate.RecIdSalesTable.DirectDebitMandate
DiscPercentTotal discount percentage held on the order header.Real
SalesEndDiscPct
NoYesSalesTable.DiscPercent
DlvModeMode of delivery for the order.String
CustDlvModeId
NoYesDlvMode.CodeSalesTable.DlvMode
DlvReasonReason for delivery for the order.String
DlvReasonId
NoYesDlvReason.CodeSalesTable.DlvReason
DlvTermTerms of delivery for the order.String
CustDlvTermId
NoYesDlvTerm.CodeSalesTable.DlvTerm
DocumentStatusStatus of the latest document produced for the order, such as confirmation, packing slip or invoice.Enum
DocumentStatus
  • None 0
  • Quotation 1
  • PurchaseOrder 2
  • Confirmation 3
  • PickingList 4
  • PackingSlip 5
  • ReceiptsList 6
  • Invoice 7
  • ApproveJournal 8
  • ProjectInvoice 9
  • ProjectPackingSlip 10
  • CRMQuotation 11
  • Lost 12
  • Cancelled 13
  • FreeTextInvoice 14
  • RFQ 15
  • RFQAccept 16
  • RFQReject 17
  • PurchReq 18
  • RFQReSend 19
  • ConfirmationRequest 30
  • InvoiceRegistration_IN 219
  • BillOfEntry_IN 220
  • ShippingBill_IN 221
  • Invoice4Paym_RU 101
  • Facture_RU 102
  • FreeTextInvoice4Paym_RU 105
  • DeliverySlip_BR 150
  • PlSAD 103
  • DeliverySlipProject_BR 222
  • Note
  • ProjectPickingList
  • ITMGoodsInTransitReceive
  • RentalInvoiceScheduleProforma 88
  • RevRecRevenueCancelation
  • RevRecDeferredRevenueInvoice
NoYesSalesTable.DocumentStatus
EInvoiceAccountCodeDimension account code used in electronic invoices.String (35)
EInvoiceAccountCode
NoYesSalesTable.EInvoiceAccountCode
EInvoiceCFDIConfirmNumber_MXConfirmation number for the electronic invoice (CFDI), used for Mexico.String (5)
EInvoiceCFDIConfirmNumber_MX
NoYesSalesTable.EInvoiceCFDIConfirmNumber_MX
EInvoiceLineSpecYes/no flag for line-specific electronic invoicing.Enum
EInvoiceLineSpecific
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.EInvoiceLineSpec
ElectronicInvoiceFrameworkType_FRPoints to the electronic invoice framework, used for France.Int64
RefRecId
NoYesBusinessDocumentElectronicInvoiceFrameworkTable.RecIdSalesTable.ElectronicInvoiceFrameworkType_FR
EmailEmail address on the order.String (80)
Email
NoYesSalesTable.Email
EndDiscTotal discount group applied to the order, linked to a price group.String
CustEndDiscCode
NoYesSalesTable.EndDisc
EnterpriseNumberEnterprise number of the customer for tax purposes.String (50)
TaxEnterpriseNumber
NoYesSalesTable.EnterpriseNumber
EstimateEstimated gross amount of the order.Real
SalesEstimateGross
NoYesSalesTable.Estimate
EXIMPorts_INPoints to the export-import (EXIM) port, used for India.Int64
EXIMPortRecId_IN
NoYesEximPorts_IN.RecIdSalesTable.EXIMPorts_IN
ExportReasonText giving the reason for export.String (30)
SalesExportReason
NoYesSalesTable.ExportReason
FinTagPoints to the financial tag for the order.Int64
FinTagRecId
NoYesFinTag.RecIdSalesTable.FinTag
FiscalAddress_MXCountry or region of the fiscal address, used for Mexico.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdSalesTable.FiscalAddress_MX
FiscalDocType_PLChooses whether an invoice or a fiscal document is printed, used for Poland.Enum
PlFiscalDocType
  • Invoice 0
  • FiscalDocument 1
NoYesSalesTable.FiscalDocType_PL
FixedDueDateFixed due date for payment.Date
SalesFixedDueDate
NoYesSalesTable.FixedDueDate
FixedExchRateFixed exchange rate set for the order.Real
SalesFixedExchRate
NoYesSalesTable.FixedExchRate
ForeignTrade_MXYes/no flag for a foreign trade operation, used for Mexico.Enum
ForeignTrade_MX
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.ForeignTrade_MX
FreightSlipTypeType of call tag for freight, such as none or UPS.Enum
CustFreightSlipType
FreightSlipType
  • None 0
  • UPS 1
NoYesSalesTable.FreightSlipType
FreightZoneUPS zone for freight.String
CustFreightZoneId
NoYesSalesTable.FreightZone
FundingSourcePoints to the project funding source.Int64
ProjFundingSourceRefId
NoYesProjFundingSource.RecIdSalesTable.FundingSource
GiroTypeType 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
InclTaxYes/no flag showing whether prices include sales tax.Enum
InclTax
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InclTax
IntentLetterId_ITInternal number of the customer intent letter, used for Italy.String
IntentLetterInternalId_IT
NoYesCustIntentLetter_IT.InternalLetterIdSalesTable.IntentLetterId_IT
InterCompanyAllowIndirectCreationYes/no flag allowing indirect creation of the intercompany order.Enum
InterCompanyAllowIndirectCreation
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InterCompanyAllowIndirectCreation
InterCompanyAllowIndirectCreationOrigOriginal value of the allow indirect creation flag for intercompany orders.low confidenceEnum
InterCompanyAllowIndirectCreation
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InterCompanyAllowIndirectCreationOrig
InterCompanyAutoCreateOrdersYes/no flag for automatic creation of intercompany orders.Enum
InterCompanyAutoCreateOrders
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InterCompanyAutoCreateOrders
InterCompanyCompanyIdCompany of the linked intercompany purchase order.String
InterCompanyCompanyId
NoYesSalesTable.InterCompanyCompanyId
InterCompanyDirectDeliveryYes/no flag for direct delivery in an intercompany order.Enum
InterCompanyDirectDelivery
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InterCompanyDirectDelivery
InterCompanyDirectDeliveryOrigOriginal value of the direct delivery flag for intercompany orders.low confidenceEnum
InterCompanyDirectDelivery
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InterCompanyDirectDeliveryOrig
InterCompanyOrderYes/no flag showing that the order is an intercompany order.Enum
InterCompanyCustomer
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InterCompanyOrder
InterCompanyOriginShows whether the intercompany order is the source or derived from another order.Enum
InterCompanyOrigin
  • Source 0
  • Derived 1
NoYesSalesTable.InterCompanyOrigin
InterCompanyOriginalCustAccountCustomer account on the original intercompany order.String (20)
InterCompanyOriginalCustAccount
NoYesSalesTable.InterCompanyOriginalCustAccount
InterCompanyOriginalSalesIdSales order number of the original intercompany order.String (20)
InterCompanyOriginalSalesId
NoYesSalesTable.InterCompanyOriginalSalesId
InterCompanyPurchIdPurchase order number of the linked intercompany purchase order.String (20)
InterCompanyPurchId
NoYesPurchTable.PurchIdSalesTable.InterCompanyPurchId
IntrastatAddValue_LVAdditional value for Intrastat reporting, used for Latvia.Real
LvIntrastatAddValue
NoYesSalesTable.IntrastatAddValue_LV
IntrastatFulfillmentDate_HUFulfilment date for Intrastat reporting, used for Hungary.Date
IntrastatFulfillmentDate_HU
NoYesSalesTable.IntrastatFulfillmentDate_HU
InventLocationIdWarehouse for the order.String
SalesInventLocationId
NoYesInventLocation.InventLocationIdSalesTable.InventLocationId
InventSiteIdSite for the order.String
InventSiteId
NoYesInventSite.SiteIdSalesTable.InventSiteId
InvoiceAccountCustomer account that receives the invoice.String (20)
CustInvoiceAccount
YesYesCustTable.AccountNumSalesTable.InvoiceAccount
InvoiceAutoNumbering_LTYes/no flag for automatic invoice numbering, used for Lithuania.Enum
LtInvoiceAutoNumbering
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InvoiceAutoNumbering_LT
InvoiceType_WInvoice type: tax invoice or simplified invoice.Enum
InvoiceType_W
  • TaxInvoice 0
  • SimplifiedInvoice 1
NoYesSalesTable.InvoiceType_W
LanguageIdLanguage used for the order.String (7)
CustLanguageId
YesYesLanguageTable.LanguageIdSalesTable.LanguageId
LineDiscLine discount group that applies to the order, linked to a price group.String
CustLineDiscCode
NoYesSalesTable.LineDisc
ListcodeCode 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
ManualEntryChangepolicyPoints to a price discount change policy for manually entered values. The label is Dummy.low confidenceInt64
PriceDiscPolicyManual
NoYesPriceDiscChangePolicy.RecIdSalesTable.ManualEntryChangepolicy
MarkupGroupCharges group applied to the order.String
CustMarkupGroupId
NoYesSalesTable.MarkupGroup
MatchingAgreementPoints to the agreement header linked to the order.Int64
AgreementHeaderRecId
NoYesAgreementHeader.RecIdSalesTable.MatchingAgreement
MCROrderStoppedYes/no flag telling processing to skip the order.Enum
MCROrderStopped
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.MCROrderStopped
SysModifiedByThe user who last changed the record.String (20)
ModifiedBy
NoYesSalesTable.ModifiedBy
SysModifiedDateTimeThe date and time when the record was last changed.UtcDateTime
ModifiedDateTime
NoYesSalesTable.ModifiedDateTime
SysModifiedTransactionIdA system number for the database transaction that last changed the record.Int64
ModifiedTransactionId
NoYesSalesTable.ModifiedTransactionId
MpsExcludeSalesOrderYes/no flag excluding the order from master planning.Enum
MpsExcludeSalesOrder
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.MpsExcludeSalesOrder
MPSFullRunCTPStatusShows whether batch capable-to-promise dates are ready: ready or not ready.Enum
MPSFullRunCTPStatus
  • Ready 0
  • NotReady 1
NoYesSalesTable.MPSFullRunCTPStatus
MultiLineDiscMultiline discount group for the order, linked to a price group.String
CustMultiLineDiscCode
NoYesSalesTable.MultiLineDisc
NatureOfAssessee_INType of tax assessee, such as company or individual, used for India.Enum
NatureOfAssessee_IN
  • Company 0
  • HUF 1
  • Firm 2
  • Individual 3
  • AOP 4
  • BOI 5
  • LocalAuthority 6
  • Others 7
NoYesSalesTable.NatureOfAssessee_IN
NumberSequenceGroupNumber sequence group used for the order.String
NumberSequenceGroupId
NoYesNumberSequenceGroup.numberSequenceGroupIdSalesTable.NumberSequenceGroup
NumRegIdTrib_MXTax registration number of the country of residence, used for Mexico.String (40)
NumRegIdTrib_MX
NoYesSalesTable.NumRegIdTrib_MX
OneTimeCustomerYes/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
OverrideSalesTaxYes/no flag that overrides the sales tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.OverrideSalesTax
PackingSlipAutoNumbering_LTYes/no flag for automatic packing slip numbering, used for Lithuania.Enum
LtPackingSlipAutoNumbering
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.PackingSlipAutoNumbering_LT
PaymentTerms of payment for the order.String (100)
CustPaymTermId
NoYesPaymTerm.PaymTermIdSalesTable.Payment
PaymentSchedPayment schedule for the order.String (30)
PaymSchedId
NoYesPaymSched.NameSalesTable.PaymentSched
PaymModeMethod of payment for the customer.String
CustPaymMode
NoYesCustPaymModeTable.PaymModeSalesTable.PaymMode
PaymSpecPayment specification linked to the payment method.String
CustPaymSpec
NoYesCustPaymModeSpec.SpecificationSalesTable.PaymSpec
PdsBatchAttribAutoResYes/no flag for automatic batch reservation.Enum
PdsBatchAttribAutoRes
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.PdsBatchAttribAutoRes
PdsCustRebateGroupIdCustomer rebate group for the order.String (20)
PdsCustRebateGroupId
NoYesPdsCustRebateGroup.PdsCustRebateGroupIdSalesTable.PdsCustRebateGroupId
PdsRebateProgramTMAGroupCustomer trade management agreement (TMA) group for rebates.String
PdsRebateProgramTMAGroup
NoYesPdsRebateProgramTMATable.PdsRebateProgramTMAGroupSalesTable.PdsRebateProgramTMAGroup
PhoneTelephone number on the order.String (20)
Phone
NoYesSalesTable.Phone
PortPort used for Intrastat reporting.String
IntrastatPortId
NoYesIntrastatPort.PortIdSalesTable.Port
PostingProfileCustomer posting profile for the order.String
CustPostingProfile
NoYesCustLedger.PostingProfileSalesTable.PostingProfile
PriceGroupIdPrice group of the order, linked to the price groups.String
CustPriceGroup
NoYesSalesTable.PriceGroupId
PrintDynamicQRCode_INYes/no flag to print a dynamic QR code on the invoice, used for India.Enum
PrintDynamicQRCode_IN
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.PrintDynamicQRCode_IN
ProjectManager_FRCustomer account of the project manager, used for France.String (20)
CustAccount
NoYesCustTable.AccountNumSalesTable.ProjectManager_FR
ProjIdProject linked to the order.String (20)
ProjId
NoYesProjTable.ProjIdSalesTable.ProjId
PurchIdPurchase order linked to the sales order.String (20)
PurchId
NoYesPurchTable.PurchIdSalesTable.PurchId
PurchOrderFormNumCustomer's own requisition or purchase order number.String (20)
CustPurchaseOrder
NoYesSalesTable.PurchOrderFormNum
QuotationIdQuotation number that the order relates to.String (20)
QuotationId
NoYesSalesTable.QuotationId
ReceiptDateConfirmedConfirmed date on which the customer receives the goods.Date
SalesReceiptDateConfirmed
NoYesSalesTable.ReceiptDateConfirmed
ReceiptDateRequestedDate on which the customer asked to receive the goods.Date
SalesReceiptDateRequested
NoYesSalesTable.ReceiptDateRequested
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesSalesTable.RecId
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates.Integer
RecVersion
NoYesSalesTable.RecVersion
ReleaseStatusRelease status of the order: open, partially released or released.Enum
WHSReleaseStatus
  • Open 0
  • PartialReleased 1
  • Released 2
NoYesSalesTable.ReleaseStatus
ReportingCurrencyFixedExchRateExchange rate for the reporting currency.Real
CustExchRate
NoYesSalesTable.ReportingCurrencyFixedExchRate
ReservationReservation mode for the order: manual, automatic or explosion.Enum
ItemReservation
  • None 0
  • Automatic 1
  • Explosion 2
NoYesSalesTable.Reservation
RetailChannelTablePoints to the retail channel for the order.Int64
RetailChannelRecId
NoYesRetailChannelTable.RecIdSalesTable.RetailChannelTable
ReturnDeadlineDeadline date for a return order.Date
ReturnDeadline
NoYesSalesTable.ReturnDeadline
ReturnItemNumReturn merchandise authorisation (RMA) number for a return.String
SalesReturnItemNum
NoYesSalesTable.ReturnItemNum
ReturnReasonCodeIdReturn reason code for a return order.String
ReturnReasonCodeId
NoYesReturnReasonCode.ReasonCodeIdSalesTable.ReturnReasonCodeId
ReturnReplacementCreatedYes/no flag showing that an up-front replacement was created.Enum
ReturnReplacementCreated
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.ReturnReplacementCreated
ReturnReplacementIdSales order number of the replacement order.String (20)
ReturnReplacementId
NoYesSalesTable.SalesIdSalesTable.ReturnReplacementId
ReturnStatusStatus of a return order: created, open, cancelled or closed.Enum
ReturnStatusHeader
  • None 0
  • Created 1
  • Open 2
  • Canceled 4
  • Closed 3
NoYesSalesTable.ReturnStatus
SalesGroupCommission sales group for the order.String
CommissSalesGroup
NoYesCommissionSalesGroup.GroupIdSalesTable.SalesGroup
SalesIdSales order number that identifies the order.String (20)
SalesIdBase
YesYesSalesTable.SalesId
SalesNameName of the customer on the order.String (60)
SalesName
NoYesSalesTable.SalesName
SalesOriginIdOrder origin code showing where the order came from.String
SalesOriginId
NoYesSalesOrigin.OriginIdSalesTable.SalesOriginId
SalesPoolIdOrder pool that the order belongs to.String
SalesPoolId
NoYesSalesPool.SalesPoolIdSalesTable.SalesPoolId
SalesStatusStatus of the order: open, delivered, invoiced or cancelled.Enum
SalesStatus
  • None 0
  • Backorder 1
  • Delivered 2
  • Invoiced 3
  • Canceled 4
NoYesSalesTable.SalesStatus
SalesTypeType of order, such as sales order, returned order, subscription or customer prepayment.Enum
SalesType
  • Journal 0
  • Subscription 2
  • Sales 3
  • ReturnItem 4
  • ItemReq 6
  • Prepayment 7
NoYesSalesTable.SalesType
SalesUnitIdSales unit from sales management.String (20)
smmSalesUnitId
NoYessmmSalesUnit.SalesUnitIdSalesTable.SalesUnitId
SATIncotermCode_MXIncoterm code from the external code list, used for Mexico.String
SATIncoterm_MX
NoYesSalesTable.SATIncotermCode_MX
SATPaymMethod_MXPayment type code from the external code list, used for Mexico.String
SATPaymMethod_MX
NoYesSalesTable.SATPaymMethod_MX
SATPurpose_MXPurpose code from the external code list, used for Mexico.String
SATPurpose_MX
NoYesSalesTable.SATPurpose_MX
SATShippingReason_MXShipping reason code from the external code list, used for Mexico.String
SATShippingReason_MX
NoYesSalesTable.SATShippingReason_MX
ServiceCode_FRService code of the invoice account, used for France.String (100)
BusinessDocInvoiceAccountServiceCode_FR
NoYesSalesTable.ServiceCode_FR
ServiceCodeRefRecIdPoints to the Chorus Pro service code record, used for France.Int64
BusinessDocChorusProServiceCodeRefRecId
NoYesBusinessDocChorusProServiceCodeTable_FR.RecIdSalesTable.ServiceCodeRefRecId
SettleVoucherSettlement type: open transactions or designated transactions.Enum
SalesSettlementType
SettlementType
  • None 0
  • OpenTransact 1
  • SelectedTransact 2
NoYesSalesTable.SettleVoucher
ShipCarrierAccountCarrier account number for shipping.String (25)
ShipCarrierAccount
NoYesSalesTable.ShipCarrierAccount
ShipCarrierAccountCodeAccount code for the carrier.String (20)
ShipCarrierAccountCode
NoYesSalesTable.ShipCarrierAccountCode
ShipCarrierBlindShipmentYes/no flag for a blind shipment.Enum
ShipCarrierBlindShipment
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.ShipCarrierBlindShipment
ShipCarrierDeliveryContactName of the delivery contact for the carrier.String (60)
Name
NoYesSalesTable.ShipCarrierDeliveryContact
ShipCarrierDlvTypeCarrier service type: miscellaneous, ground, air or pickup.Enum
ShipCarrierDlvType
  • Misc 0
  • Ground 1
  • Air 2
  • PickUp 3
NoYesSalesTable.ShipCarrierDlvType
ShipCarrierIdCarrier used for shipping.String
ShipCarrierId
NoYesShipCarrierTable.CarrierIdSalesTable.ShipCarrierId
ShipCarrierNameName of the third-party carrier.String (100)
LogisticsShipCarrierName
NoYesSalesTable.ShipCarrierName
ShipCarrierPostalAddressPoints to the postal address used for the carrier.Int64
LogisticsPostalAddressRecId
NoYesLogisticsPostalAddress.RecIdSalesTable.ShipCarrierPostalAddress
ShipCarrierResidentialYes/no flag showing that the destination is residential.Enum
ShipCarrierResidentialDest
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.ShipCarrierResidential
ShippingDateConfirmedConfirmed ship date.Date
SalesShippingDateConfirmed
NoYesSalesTable.ShippingDateConfirmed
ShippingDateRequestedShip date requested by the customer.Date
SalesShippingDateRequested
YesYesSalesTable.ShippingDateRequested
smmCampaignIdCampaign linked to the order.String
smmCampaignId
NoYessmmCampaignTable.CampaignIdSalesTable.smmCampaignId
smmSalesAmountTotalTotal amount of the order.Real
smmSalesAmountTotal
NoYesSalesTable.smmSalesAmountTotal
SourceCertificate_MXYes/no flag for the source certificate, used for Mexico.Enum
SourceCertificate_MX
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.SourceCertificate_MX
SourceDocumentHeaderPoints to the source document header record.Int64
RefRecId
NoYesSourceDocumentHeader.RecIdSalesTable.SourceDocumentHeader
StatProcIdStatistics procedure code for Intrastat.String
IntrastatProcId
NoYesSalesTable.StatProcId
SystemEntryChangePolicyPoints to a price discount change policy for system-entered values. The label is Dummy.low confidenceInt64
PriceDiscPolicySystem
NoYesPriceDiscChangePolicy.RecIdSalesTable.SystemEntryChangePolicy
SystemEntrySourceShows where system-entered price and discount values came from. The label is Dummy.low confidenceEnum
PriceDiscSystemSource
  • None 0
  • CopyFromSalesOrder 1
  • CopyFromSalesQuotation 2
  • Project 3
  • SalesQuotation 4
  • CopyFromPurchaseOrder 5
  • RequestForQuote 6
  • PurchaseReq 7
  • ManualEntry 8
  • Agreement 9
  • ProductConfig 11
  • RetailPOS 12
NoYesSalesTable.SystemEntrySource
TaxGroupSales tax group for the order.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupSalesTable.TaxGroup
TaxIdPoints to the tax registration number record.Int64
TaxRegistrationRecId
NoYesTaxRegistration.RecIdSalesTable.TaxId
TaxPeriodPaymentCode_PLVAT report date code, used for Poland.String
PlTaxPeriodPaymentCode
NoYesPlTaxDueTable.TaxPeriodPaymentCodeSalesTable.TaxPeriodPaymentCode_PL
TCSGroup_INTax collected at source (TCS) group, used for India.String
TaxWithholdGroup
NoYesTaxWithholdGroupHeading.TaxWithholdGroupSalesTable.TCSGroup_IN
TDSGroup_INTax deducted at source (TDS) group for the order, used for India.String
TaxWithholdGroup
NoYesTaxWithholdGroupHeading.TaxWithholdGroupSalesTable.TDSGroup_IN
TransactionCodeIntrastat transaction code for the order.String
IntrastatTransactionCodeId
NoYesIntrastatTransactionCode.TransactionCodeSalesTable.TransactionCode
TransportIntrastat transport method.String
IntrastatTransport
NoYesIntrastatTransportMode.TransPortCodeSalesTable.Transport
TransportationDocumentPoints to the transportation details record.Int64
TransportationDocumentRecId
NoYesTransportationDocument.RecIdSalesTable.TransportationDocument
UnitedVATInvoice_LTYes/no flag for a united VAT invoice, used for Lithuania.Enum
UnitedVATInvoice_LT
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.UnitedVATInvoice_LT
URLInternet address on the order.String (255)
URL
NoYesSalesTable.URL
VATNumTax exempt number on the order.String (20)
VATNumJournal
NoYesSalesTable.VATNum
VATNumRecIdSystem record ID of the tax exempt number record.Int64
RefRecId
NoYesSalesTable.VATNumRecId
VATNumTableTypeShows which kind of table the tax exempt number comes from: none, tax registration or VAT number table.Enum
TaxExemptNumberSourceType
  • None 0
  • TaxRegistration 1
  • TaxVATNumTable 2
NoYesSalesTable.VATNumTableType
WorkerSalesResponsibleWorker who is responsible for the sale.Int64
WorkerSalesResponsible
NoYesHcmWorker.RecIdSalesTable.WorkerSalesResponsible
WorkerSalesTakerWorker who took the order.Int64
SalesTaker
NoYesHcmWorker.RecIdSalesTable.WorkerSalesTaker
DOMExceptionTypeType of exception found during DOM processing, such as no quantity available.Enum
DOMExceptionType
  • None 0
  • NoQuantityAvailable 1
  • MaximumRejections 2
  • DataModificationConflict 3
  • OrderLineSpecificException 4
  • InvalidCostValue 5
  • NoRoadRoute 6
  • BingMapsFailure 7
  • MaximumOrdersDataModificationConflict 8
  • QuantityCouldNotBeReserved 9
  • Generic 10
  • OtherLineReservationFailure 11
  • InvalidCoordinatesWhenBingMapsOnException 12
  • InvalidCoordinatesWhenBingMapsOffException 13
  • InvalidCoordinatesWhenAzureMapsOnException 14
NoYesSalesTable.DOMExceptionType
DOMIgnoreYes/no flag that appears to make DOM ignore the order.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.DOMIgnore
DOMIterationsNumber of iterations of distributed order management (DOM) processing.low confidenceInteger
DOMIterations
NoYesSalesTable.DOMIterations
DOMProcessedDOM processing status: not processed, successful or exception.Enum
DOMProcessStatus
  • None 0
  • Complete 1
  • Exception 2
NoYesSalesTable.DOMProcessed
DOMProcessedDateTimeDate and time of DOM processing.low confidenceUtcDateTimeNoYesSalesTable.DOMProcessedDateTime
PalletTaggingYes/no flag for pallet tagging (RFID).Enum
RFIDPalletTagging
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.PalletTagging
RevRecContractEndDateEnd date of the revenue recognition contract.Date
TransDate
NoYesSalesTable.RevRecContractEndDate
RevRecContractStartDateStart date of the revenue recognition contract.Date
RevRecContractStartDate
NoYesSalesTable.RevRecContractStartDate
RevRecFollowOriginalPricingMethodYes/no flag for applying the residual method in revenue recognition.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.RevRecFollowOriginalPricingMethod
RevRecLatestReverseJournalPoints to the latest reversing ledger journal.Int64
RefRecId
NoYesLedgerJournalTable.RecIdSalesTable.RevRecLatestReverseJournal
RevRecMultipleSOReallocationYes/no flag for reallocation across multiple sales orders.Enum
RevRecMultipleSOReallocation
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.RevRecMultipleSOReallocation
RevRecReallocationIdID of the revenue recognition reallocation.String (20)
RevRecReallocationId
NoYesSalesTable.RevRecReallocationId
CaseTaggingYes/no flag for case tagging (RFID) on the order.Enum
RFIDCaseTagging
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CaseTagging
DefaultDimensionPoints to the default financial dimension values for the order.Int64
LedgerDefaultDimensionValueSet
NoYesDimensionAttributeValueSet.RecIdSalesTable.DefaultDimension
ItemTaggingYes/no flag for item tagging (RFID).Enum
RFIDItemTagging
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.ItemTagging
ShipCarrierExpeditedShipmentYes/no flag for an expedited shipment.Enum
ShipCarrierExpeditedShipment
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.ShipCarrierExpeditedShipment
ShipCarrierFuelSurchargeYes/no flag for charging a fuel surcharge.Enum
ShipCarrierFuelSurcharge
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.ShipCarrierFuelSurcharge
CredManRejectedYes/no flag showing the order was rejected in credit management.Enum
CredManRejected
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CredManRejected
CredManReleasedFromCreditControlYes/no flag showing the order was released from credit management.Enum
CredManReleasedFromCreditControl
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CredManReleasedFromCreditControl
CredManIdCredit hold ID of the credit management record.String (20)
CredManId
NoYesCredManTable.CredManIdSalesTable.CredManId
CredManInCreditControlYes/no flag showing the order is in credit management.Enum
CredManUsedInCreditManagement
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CredManInCreditControl
TAMDeductionIDDeduction linked to the order.String (20)
TAMDeductionID
NoYesTAMDeduction.TAMDeductionIDSalesTable.TAMDeductionID
TAMRebateReferenceRebate reference text for the order.String (60)
TAMRebateReference
NoYesSalesTable.TAMRebateReference
SubBillCreatedFromSBYes/no flag showing the order was created by subscription billing.Enum
SubBillCreatedFromSB
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.SubBillCreatedFromSB
SubBillBillToNameBill-to name for subscription billing.String (100)
LogisticsDeliveryName
NoYesSalesTable.SubBillBillToName
SubBillBillToPostalAddressPoints to the bill-to postal address for subscription billing.Int64
RefRecId
NoYesLogisticsPostalAddress.RecIdSalesTable.SubBillBillToPostalAddress
SubBillSuppressChildItemsYes/no flag that hides child items when printing.Enum
SubBillSuppressChildItems
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.SubBillSuppressChildItems
GUPDelayPricingCalculationYes/no flag to delay the price calculation.Enum
GUPDelayPriceCalculation
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.GUPDelayPricingCalculation
GUPSkipPricingCalculationYes/no flag to skip attribute-based pricing and use standard pricing.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.GUPSkipPricingCalculation
CredManExcludeSalesOrderYes/no flag excluding the order from credit management.Enum
CredManExclude
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.CredManExcludeSalesOrder
InvoiceRegister_LTYes/no flag for automatic invoice numbering, used for Lithuania.Enum
LtInvoiceAutoNumbering
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.InvoiceRegister_LT
PackingSlipRegister_LTYes/no flag for automatic packing slip numbering, used for Lithuania.Enum
LtPackingSlipAutoNumbering
NoYes

Platform enum: values not in the metadata extract.

NoYesSalesTable.PackingSlipRegister_LT
CustomsRegime_MXCustoms regimes text, used for Mexico.String (255)
CustomsRegimes_MX
NoYesSalesTable.CustomsRegime_MX
ExpediteExpedite text for the order.String
MCRExpedite
NoYesSalesTable.Expedite

Foreign keys (72)

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 SalesTableBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk