Table

SalesTable

Sales orders

Holds one row per sales order header, keyed by the sales order number (SalesId). It stores the customer, invoice account, currency, delivery, payment, discount, tax and status details that apply to the whole order. It also carries intercompany, credit management, return, rental, subscription billing and country-specific fields. Order lines are held elsewhere.

Table name
SalesTable
Module
Sales and marketing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
SalesIdx
Replacement key
SalesIdx
Key fields
SalesId
Model
Foundation

Fields (242)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesIdSales order number that identifies the order.String (20)
SalesIdBase
YesSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 32 more
AccountingDistributionTemplatePoints to the accounting distribution template for the order.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdSalesTableBiEntitySalesTableCDREntity
AddressRefRecIdSystem record ID of the record that the address reference points to.Int64
AddressRefRecId
NoSalesTableBiEntitySalesTableCDREntity
AddressRefTableIdID of the table that the address reference points to.Integer
AddressRefTableId
NoSalesTableBiEntitySalesTableCDREntity
ASOHOrderClassOrder class for the order.String
ASOHOrderClass
NoASOHOrderClassTable.OrderClassSalesTableBiEntitySalesTableCDREntity
AutoSummaryModuleTypeShows whether the summary update parameters relate to customers or to sales orders.Enum
ModuleCustSales (enum)
NoSalesTableBiEntitySalesTableCDREntity
BankAccount_LVPrimary bank account of the company, used for Latvia.String
CompanyBankAccountId
NoBankAccountTable.AccountIDSalesTableBiEntitySalesTableCDREntity
BankCentralBankPurposeCodeCentral bank purpose code for the payment, taken from the payment purpose codes.String
BankCentralBankPurposeCode
NoBankCentralBankPurpose.CodeSalesTableBiEntitySalesTableCDREntity
BankCentralBankPurposeTextFree text that explains the central bank purpose.String (210)
BankCentralBankPurposeText
NoSalesTableBiEntitySalesTableCDREntity
BankDocumentTypeType of bank document linked to the order, such as letter of credit or letter of guarantee.Enum
BankDocumentFacilityNature
BankDocumentType (enum)
NoSalesTableBiEntitySalesTableCDREntity
CaseTaggingYes/no flag for case tagging (RFID) on the order.Enum
RFIDCaseTagging
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
CashDiscCash discount code applied to the order.String
CustCashDiscCode
NoCashDisc.CashDiscCodeSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
CashDiscBaseDateBase date used for the payment terms.Date
CashDiscBaseDate
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
CashDiscBaseDaysNumber of base days used for the payment terms.Integer
CashDiscBaseDays
NoSalesTableBiEntitySalesTableCDREntity
CashDiscPercentDiscount percentage on the order.Real
DiscPct
NoSalesTableBiEntitySalesTableCDREntity
CertificateNumber_MXCertificate number of the document, used for Mexico.String (40)
CertificateNumber_MX
NoSalesTableBiEntitySalesTableCDREntity
CFDITemporaryExport_MXYes/no flag for temporary export, used for Mexico.Enum
CFDITemporaryExport_MX
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
CommissionGroupCommission customer group assigned to the order.String
CommissCustomerGroup
NoCommissionCustomerGroup.GroupIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
CommissionType_ITCommission settlement on invoice or on payment, used for Italy.Enum
CommissionType_IT (enum)
NoSalesTableBiEntitySalesTableCDREntity
ConsTarget_JPYes/no flag showing whether the customer is a consolidation target, used for Japan.Enum
CustConsTarget_JP
NoYes (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
ContactPersonIdContact person for the order, linked to the contacts.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 16 more
CountyOrigDestCounty of origin or destination, linked to the counties list.String (30)
AddressCountyOrigDest
NoSalesTableBiEntitySalesTableCDREntity
CovStatusStatus number used for the cash flow forecast.low confidenceInteger
CovStatus
NoSalesTableBiEntitySalesTableCDREntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoSalesTableBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoSalesTableBiEntity
CreditCardApprovalAmountAmount approved for the credit card payment (in accounting currency).Real
AmountMST
NoSalesTableBiEntitySalesTableCDREntity
CreditCardAuthorizationAuthorisation code returned for the credit card payment.String (36)
CreditCardAuthorization
NoSalesTableBiEntitySalesTableCDREntity
CreditCardAuthorizationErrorYes/no flag showing that a capture error occurred for the credit card.Enum
NoYesId
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
CreditCardCustRefIdPoints to the customer credit card record used on the order.Int64
RefRecId
NoCreditCardCust.RecIdSalesTableBiEntitySalesTableCDREntity
CreditNoteReasonCodePoints to a reason reference record for the credit note.Int64
ReasonTableRefRecId
NoReasonTableRef.RecIdSalesTableBiEntitySalesTableCDREntity
CredManExcludeSalesOrderYes/no flag excluding the order from credit management.Enum
CredManExclude
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
CredManIdCredit hold ID of the credit management record.String (20)
CredManId
NoCredManTable.CredManIdSalesTableBiEntitySalesTableCDREntity
CredManInCreditControlYes/no flag showing the order is in credit management.Enum
CredManUsedInCreditManagement
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
CredManRejectedYes/no flag showing the order was rejected in credit management.Enum
CredManRejected
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
CredManReleasedFromCreditControlYes/no flag showing the order was released from credit management.Enum
CredManReleasedFromCreditControl
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
CurBankAccount_LVCompany bank account used for an additional currency, used for Latvia.String
CompanyBankAccountId
NoBankAccountTable.AccountIDSalesTableBiEntitySalesTableCDREntity
CurrencyCodeCurrency of the order.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 13 more
CustAccountCustomer account that the order is for.String (20)
CustAccount
YesCustTable.AccountNumSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 11 more
CustBankAccount_LVCustomer bank account on the order, used for Latvia.String
CustBankAccountId
NoCustBankAccount.AccountIDSalesTableBiEntitySalesTableCDREntity
CustGroupCustomer group of the customer.String
CustGroupId
YesCustGroup.CustGroupSalesTableBiEntitySalesTableCDREntity
CustInvoiceIdInvoice number linked to the order.String (20)
CustInvoiceId
NoSalesTableBiEntitySalesTableCDREntity
CustomerRefReference text supplied by the customer.String (60)
CustRef
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 16 more
CustomsExportOrder_INYes/no flag marking the order as an export order, used for India.Enum
NoYesId
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
CustomsRegime_MXCustoms regimes text, used for Mexico.String (255)
CustomsRegimes_MX
NoSalesTableBiEntitySalesTableCDREntity
CustomsShippingBill_INYes/no flag for a shipping bill, used for India.Enum
NoYesId
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoSalesTableBiEntitySalesTableCDREntity
DeadlineDeadline date for the order.Date
SalesDeadline
NoSalesTableBiEntitySalesTableCDREntity
DefaultDimensionPoints to the default financial dimension values for the order.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
DeliveryDateShip date for the order.Date
SalesShippingDate
NoSalesTableBiEntitySalesTableCDREntity
DeliveryDateControlTypeMethod used to control delivery dates, such as sales lead time or ATP.Enum
SalesDeliveryDateControlType (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
DeliveryNameName of the delivery recipient.String (100)
LogisticsDeliveryName
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
DeliveryPostalAddressPoints to the postal address used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdSalesTableBiEntitySalesTableCDREntity
DirectDebitMandatePoints to the customer direct debit mandate for the order.Int64
CustDirectDebitMandateRecId
NoCustDirectDebitMandate.RecIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
DiscPercentTotal discount percentage held on the order header.Real
SalesEndDiscPct
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
DlvModeMode of delivery for the order.String
CustDlvModeId
NoDlvMode.CodeSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 13 more
DlvReasonReason for delivery for the order.String
DlvReasonId
NoDlvReason.CodeSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
DlvTermTerms of delivery for the order.String
CustDlvTermId
NoDlvTerm.CodeSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 13 more
DocumentStatusStatus of the latest document produced for the order, such as confirmation, packing slip or invoice.Enum
DocumentStatus (enum)
NoSalesTableBiEntitySalesTableCDREntity
DOMExceptionTypeType of exception found during DOM processing, such as no quantity available.Enum
DOMExceptionType (enum)
NoSalesTableBiEntitySalesTableCDREntity
DOMIgnoreYes/no flag that appears to make DOM ignore the order.low confidenceEnum
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
DOMIterationsNumber of iterations of distributed order management (DOM) processing.low confidenceInteger
DOMIterations
NoSalesTableBiEntitySalesTableCDREntity
DOMProcessedDOM processing status: not processed, successful or exception.Enum
DOMProcessStatus (enum)
NoSalesTableBiEntitySalesTableCDREntity
DOMProcessedDateTimeDate and time of DOM processing.low confidenceUtcDateTimeNoSalesTableBiEntitySalesTableCDREntity
EInvoiceAccountCodeDimension account code used in electronic invoices.String (35)
EInvoiceAccountCode
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
EInvoiceCFDIConfirmNumber_MXConfirmation number for the electronic invoice (CFDI), used for Mexico.String (5)
EInvoiceCFDIConfirmNumber_MX
NoSalesTableBiEntitySalesTableCDREntity
EInvoiceLineSpecYes/no flag for line-specific electronic invoicing.Enum
EInvoiceLineSpecific
NoYes (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
ElectronicInvoiceFrameworkType_FRPoints to the electronic invoice framework, used for France.Int64
RefRecId
NoBusinessDocumentElectronicInvoiceFrameworkTable.RecIdSalesTableBiEntitySalesTableCDREntity
EmailEmail address on the order.String (80)
Email
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more
EndDiscTotal discount group applied to the order, linked to a price group.String
CustEndDiscCode
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more
EnterpriseNumberEnterprise number of the customer for tax purposes.String (50)
TaxEnterpriseNumber
NoSalesTableBiEntitySalesTableCDREntity
EstimateEstimated gross amount of the order.Real
SalesEstimateGross
NoSalesTableBiEntitySalesTableCDREntity
EXIMPorts_INPoints to the export-import (EXIM) port, used for India.Int64
EXIMPortRecId_IN
NoEximPorts_IN.RecIdSalesTableBiEntitySalesTableCDREntity
ExpediteExpedite text for the order.String
MCRExpedite
NoSalesOrderHeaderV4EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 2 more
ExportReasonText giving the reason for export.String (30)
SalesExportReason
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
FinTagPoints to the financial tag for the order.Int64
FinTagRecId
NoFinTag.RecIdSalesTableBiEntitySalesTableCDREntity
FiscalAddress_MXCountry or region of the fiscal address, used for Mexico.String
LogisticsAddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdSalesTableBiEntitySalesTableCDREntity
FiscalDocType_PLChooses whether an invoice or a fiscal document is printed, used for Poland.Enum
PlFiscalDocType (enum)
NoSalesTableBiEntitySalesTableCDREntity
FixedDueDateFixed due date for payment.Date
SalesFixedDueDate
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
FixedExchRateFixed exchange rate set for the order.Real
SalesFixedExchRate
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more
ForeignTrade_MXYes/no flag for a foreign trade operation, used for Mexico.Enum
ForeignTrade_MX
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
FreightSlipTypeType of call tag for freight, such as none or UPS.Enum
CustFreightSlipType
FreightSlipType (enum)
NoSalesTableBiEntitySalesTableCDREntity
FreightZoneUPS zone for freight.String
CustFreightZoneId
NoSalesTableBiEntitySalesTableCDREntity
FundingSourcePoints to the project funding source.Int64
ProjFundingSourceRefId
NoProjFundingSource.RecIdSalesTableBiEntitySalesTableCDREntity
GiroTypeType of payment slip attached to the customer invoice, such as FIK or Blue slip.Enum
PaymentStubInvoiceId
PaymentStub (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
GUPDelayPricingCalculationYes/no flag to delay the price calculation.Enum
GUPDelayPriceCalculation
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
GUPSkipPricingCalculationYes/no flag to skip attribute-based pricing and use standard pricing.Enum
NoYesId
NoYes (enum)
NoSalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 2 more
InclTaxYes/no flag showing whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
IntentLetterId_ITInternal number of the customer intent letter, used for Italy.String
IntentLetterInternalId_IT
NoCustIntentLetter_IT.InternalLetterIdSalesTableBiEntitySalesTableCDREntity
InterCompanyAllowIndirectCreationYes/no flag allowing indirect creation of the intercompany order.Enum
InterCompanyAllowIndirectCreation
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyAllowIndirectCreationOrigOriginal value of the allow indirect creation flag for intercompany orders.low confidenceEnum
InterCompanyAllowIndirectCreation
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyAutoCreateOrdersYes/no flag for automatic creation of intercompany orders.Enum
InterCompanyAutoCreateOrders
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyCompanyIdCompany of the linked intercompany purchase order.String
InterCompanyCompanyId
NoPurchTable.dataAreaIdSalesTableBiEntitySalesTableCDREntity
InterCompanyDirectDeliveryYes/no flag for direct delivery in an intercompany order.Enum
InterCompanyDirectDelivery
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyDirectDeliveryOrigOriginal value of the direct delivery flag for intercompany orders.low confidenceEnum
InterCompanyDirectDelivery
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyOrderYes/no flag showing that the order is an intercompany order.Enum
InterCompanyCustomer
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyOriginShows whether the intercompany order is the source or derived from another order.Enum
InterCompanyOrigin (enum)
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyOriginalCustAccountCustomer account on the original intercompany order.String (20)
InterCompanyOriginalCustAccount
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyOriginalSalesIdSales order number of the original intercompany order.String (20)
InterCompanyOriginalSalesId
NoSalesTableBiEntitySalesTableCDREntity
InterCompanyPurchIdPurchase order number of the linked intercompany purchase order.String (20)
InterCompanyPurchId
NoPurchTable.PurchIdSalesTableBiEntitySalesTableCDREntity
IntrastatAddValue_LVAdditional value for Intrastat reporting, used for Latvia.Real
LvIntrastatAddValue
NoSalesTableBiEntitySalesTableCDREntity
IntrastatFulfillmentDate_HUFulfilment date for Intrastat reporting, used for Hungary.Date
IntrastatFulfillmentDate_HU
NoSalesTableBiEntitySalesTableCDREntity
InventLocationIdWarehouse for the order.String
SalesInventLocationId
NoInventLocation.InventLocationIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more
InventSiteIdSite for the order.String
InventSiteId
NoInventSite.SiteIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more
InvoiceAccountCustomer account that receives the invoice.String (20)
CustInvoiceAccount
YesCustTable.AccountNumSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 11 more
InvoiceAutoNumbering_LTYes/no flag for automatic invoice numbering, used for Lithuania.Enum
LtInvoiceAutoNumbering
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
InvoiceRegister_LTYes/no flag for automatic invoice numbering, used for Lithuania.Enum
LtInvoiceAutoNumbering
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
InvoiceType_WInvoice type: tax invoice or simplified invoice.Enum
InvoiceType_W (enum)
NoSalesTableBiEntitySalesTableCDREntity
IsIntegrationShows how the order was created: no integration, Dataverse integration, Dynamics 365 Sales or a data entity.Enum
TradeIntegrationType (enum)
NoNone
ItemTaggingYes/no flag for item tagging (RFID).Enum
RFIDItemTagging
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
LanguageIdLanguage used for the order.String (7)
CustLanguageId
YesLanguageTable.LanguageIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more
LineDiscLine discount group that applies to the order, linked to a price group.String
CustLineDiscCode
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more
ListcodeCode that classifies the order for trade lists, such as EU trade or triangular trade.Enum
ListcodeId
Listcode (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
ManualEntryChangepolicyPoints to a price discount change policy for manually entered values. The label is Dummy.low confidenceInt64
PriceDiscPolicyManual
NoPriceDiscChangePolicy.RecIdSalesTableBiEntitySalesTableCDREntity
MarkupGroupCharges group applied to the order.String
CustMarkupGroupId
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
MatchingAgreementPoints to the agreement header linked to the order.Int64
AgreementHeaderRecId
NoAgreementHeader.RecIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
MCROrderStoppedYes/no flag telling processing to skip the order.Enum
MCROrderStopped
NoYes (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoSalesTableBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoSalesTableBiEntitySalesTableCDREntity
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoSalesTableBiEntity
MpsExcludeSalesOrderYes/no flag excluding the order from master planning.Enum
MpsExcludeSalesOrder
NoYes (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesTableBiEntityand 1 more
MPSFullRunCTPStatusShows whether batch capable-to-promise dates are ready: ready or not ready.Enum
MPSFullRunCTPStatus (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 2 more
MpsUpdateExcludeSalesOrderYes/no flag for excluding the order from master planning, used for updates.low confidenceEnum
MpsExcludeSalesOrder
NoYes (enum)
NoNone
MultiLineDiscMultiline discount group for the order, linked to a price group.String
CustMultiLineDiscCode
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more
NatureOfAssessee_INType of tax assessee, such as company or individual, used for India.Enum
NatureOfAssessee_IN (enum)
NoSalesTableBiEntitySalesTableCDREntity
NumberSequenceGroupNumber sequence group used for the order.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
NumRegIdTrib_MXTax registration number of the country of residence, used for Mexico.String (40)
NumRegIdTrib_MX
NoSalesTableBiEntitySalesTableCDREntity
OneTimeCustomerYes/no flag showing that the order is for a one-time customer.Enum
OneTimeCustomer
NoYes (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
OverrideSalesTaxYes/no flag that overrides the sales tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 2 more
PackedExtensionsContainer that holds extension data in packed form.low confidenceContainer
SysExtensionSerializerPackedContainer
NoNone
PackingSlipAutoNumbering_LTYes/no flag for automatic packing slip numbering, used for Lithuania.Enum
LtPackingSlipAutoNumbering
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
PackingSlipRegister_LTYes/no flag for automatic packing slip numbering, used for Lithuania.Enum
LtPackingSlipAutoNumbering
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
PalletTaggingYes/no flag for pallet tagging (RFID).Enum
RFIDPalletTagging
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentTerms of payment for the order.String (100)
CustPaymTermId
NoPaymTerm.PaymTermIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 13 more
PaymentSchedPayment schedule for the order.String (30)
PaymSchedId
NoPaymSched.NameSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
PaymModeMethod of payment for the customer.String
CustPaymMode
NoCustPaymModeTable.PaymModeSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
PaymSpecPayment specification linked to the payment method.String
CustPaymSpec
NoCustPaymModeSpec.SpecificationSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
PdsBatchAttribAutoResYes/no flag for automatic batch reservation.Enum
PdsBatchAttribAutoRes
NoYes (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
PdsCustRebateGroupIdCustomer rebate group for the order.String (20)
PdsCustRebateGroupId
NoPdsCustRebateGroup.PdsCustRebateGroupIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
PdsRebateProgramTMAGroupCustomer trade management agreement (TMA) group for rebates.String
PdsRebateProgramTMAGroup
NoPdsRebateProgramTMATable.PdsRebateProgramTMAGroupSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
PhoneTelephone number on the order.String (20)
Phone
NoSalesTableBiEntitySalesTableCDREntity
PortPort used for Intrastat reporting.String
IntrastatPortId
NoIntrastatPort.PortIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
PostingProfileCustomer posting profile for the order.String
CustPostingProfile
NoCustLedger.PostingProfileSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
PriceGroupIdPrice group of the order, linked to the price groups.String
CustPriceGroup
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
PrintDynamicQRCode_INYes/no flag to print a dynamic QR code on the invoice, used for India.Enum
PrintDynamicQRCode_IN
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
ProjectManager_FRCustomer account of the project manager, used for France.String (20)
CustAccount
NoCustTable.AccountNumSalesTableBiEntitySalesTableCDREntity
ProjIdProject linked to the order.String (20)
ProjId
NoProjTable.ProjIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more
PurchIdPurchase order linked to the sales order.String (20)
PurchId
NoPurchTable.PurchIdSalesTableBiEntitySalesTableCDREntity
PurchOrderFormNumCustomer's own requisition or purchase order number.String (20)
CustPurchaseOrder
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more
QuotationIdQuotation number that the order relates to.String (20)
QuotationId
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
ReceiptDateConfirmedConfirmed date on which the customer receives the goods.Date
SalesReceiptDateConfirmed
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
ReceiptDateRequestedDate on which the customer asked to receive the goods.Date
SalesReceiptDateRequested
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoSalesTableBiEntitySalesTableCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoSalesTableBiEntity
ReleaseStatusRelease status of the order: open, partially released or released.Enum
WHSReleaseStatus (enum)
NoSalesTableBiEntitySalesTableCDREntity
RentalDocumentTableSystem record ID of a related rental document.low confidenceInt64
RefRecId
NoNone
RentalInvoiceScheduleTableSystem record ID of a related rental invoice schedule.low confidenceInt64
RefRecId
NoNone
RentalItemSystem record ID of a related rental item.low confidenceInt64
RefRecId
NoNone
RentalJobSiteSystem record ID of a related rental job site.low confidenceInt64
RefRecId
NoNone
RentalLoadSystem record ID of a related rental load.low confidenceInt64
RefRecId
NoNone
RentalNoticeToOwnerSystem record ID of a related notice to owner.low confidenceInt64
RefRecId
NoNone
RentalPickupRentalLocationIdRental location for pickup. No label is given.low confidenceString (100)NoNone
RentalShipToWhere rental goods go: none, address, job site or pickup fleet location.Enum
RentalShipTo (enum)
NoNone
ReportingCurrencyFixedExchRateExchange rate for the reporting currency.Real
CustExchRate
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
ReservationReservation mode for the order: manual, automatic or explosion.Enum
ItemReservation (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
RetailChannelTablePoints to the retail channel for the order.Int64
RetailChannelRecId
NoRetailChannelTable.RecIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesTableBiEntityand 1 more
ReturnDeadlineDeadline date for a return order.Date
ReturnDeadline
NoReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 2 more
ReturnItemNumReturn merchandise authorisation (RMA) number for a return.String
SalesReturnItemNum
NoReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 5 more
ReturnReasonCodeIdReturn reason code for a return order.String
ReturnReasonCodeId
NoReturnReasonCode.ReasonCodeIdReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 2 more
ReturnReplacementCreatedYes/no flag showing that an up-front replacement was created.Enum
ReturnReplacementCreated
NoYes (enum)
NoReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 1 more
ReturnReplacementIdSales order number of the replacement order.String (20)
ReturnReplacementId
NoSalesTable.SalesIdReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 1 more
ReturnStatusStatus of a return order: created, open, cancelled or closed.Enum
ReturnStatusHeader (enum)
NoReturnOrderHeaderV2EntitySalesTableBiEntitySalesTableCDREntityand 1 more
RevRecContractEndDateEnd date of the revenue recognition contract.Date
TransDate
NoSalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more
RevRecContractStartDateStart date of the revenue recognition contract.Date
RevRecContractStartDate
NoSalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more
RevRecFollowOriginalPricingMethodYes/no flag for applying the residual method in revenue recognition.Enum
NoYesId
NoYes (enum)
NoSalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more
RevRecLatestReverseJournalPoints to the latest reversing ledger journal.Int64
RefRecId
NoLedgerJournalTable.RecIdSalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more
RevRecMultipleSOReallocationYes/no flag for reallocation across multiple sales orders.Enum
RevRecMultipleSOReallocation
NoYes (enum)
NoSalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more
RevRecReallocationIdID of the revenue recognition reallocation.String (20)
RevRecReallocationId
NoSalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more
SalesGroupCommission sales group for the order.String
CommissSalesGroup
NoCommissionSalesGroup.GroupIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
SalesNameName of the customer on the order.String (60)
SalesName
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more
SalesOrderIntegrationCreationTypeShows how the order was created by integration: unknown or Win Quote.Enum
SalesOrderIntegrationCreationType (enum)
NoNone
SalesOriginIdOrder origin code showing where the order came from.String
SalesOriginId
NoSalesOrigin.OriginIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 12 more
SalesPoolIdOrder pool that the order belongs to.String
SalesPoolId
NoSalesPool.SalesPoolIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
SalesStatusStatus of the order: open, delivered, invoiced or cancelled.Enum
SalesStatus (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more
SalesTypeType of order, such as sales order, returned order, subscription or customer prepayment.Enum
SalesType (enum)
NoSalesTableBiEntitySalesTableCDREntity
SalesUnitIdSales unit from sales management.String (20)
smmSalesUnitId
NosmmSalesUnit.SalesUnitIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
SATIncotermCode_MXIncoterm code from the external code list, used for Mexico.String
SATIncoterm_MX
NoSalesTableBiEntitySalesTableCDREntity
SATPaymMethod_MXPayment type code from the external code list, used for Mexico.String
SATPaymMethod_MX
NoSalesTableBiEntitySalesTableCDREntity
SATPurpose_MXPurpose code from the external code list, used for Mexico.String
SATPurpose_MX
NoSalesTableBiEntitySalesTableCDREntity
SATShippingReason_MXShipping reason code from the external code list, used for Mexico.String
SATShippingReason_MX
NoSalesTableBiEntitySalesTableCDREntity
ServiceCode_FRService code of the invoice account, used for France.String (100)
BusinessDocInvoiceAccountServiceCode_FR
NoSalesTableBiEntitySalesTableCDREntity
ServiceCodeRefRecIdPoints to the Chorus Pro service code record, used for France.Int64
BusinessDocChorusProServiceCodeRefRecId
NoBusinessDocChorusProServiceCodeTable_FR.RecIdSalesTableBiEntitySalesTableCDREntity
SettleVoucherSettlement type: open transactions or designated transactions.Enum
SalesSettlementType
SettlementType (enum)
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
ShipCarrierAccountCarrier account number for shipping.String (25)
ShipCarrierAccount
NoSalesTableBiEntitySalesTableCDREntity
ShipCarrierAccountCodeAccount code for the carrier.String (20)
ShipCarrierAccountCode
NoSalesTableBiEntitySalesTableCDREntity
ShipCarrierBlindShipmentYes/no flag for a blind shipment.Enum
ShipCarrierBlindShipment
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
ShipCarrierDeliveryContactName of the delivery contact for the carrier.String (60)
Name
NoSalesTableBiEntitySalesTableCDREntity
ShipCarrierDlvTypeCarrier service type: miscellaneous, ground, air or pickup.Enum
ShipCarrierDlvType (enum)
NoSalesTableBiEntitySalesTableCDREntity
ShipCarrierExpeditedShipmentYes/no flag for an expedited shipment.Enum
ShipCarrierExpeditedShipment
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
ShipCarrierFuelSurchargeYes/no flag for charging a fuel surcharge.Enum
ShipCarrierFuelSurcharge
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
ShipCarrierIdCarrier used for shipping.String
ShipCarrierId
NoShipCarrierTable.CarrierIdSalesTableBiEntitySalesTableCDREntity
ShipCarrierNameName of the third-party carrier.String (100)
LogisticsShipCarrierName
NoSalesTableBiEntitySalesTableCDREntity
ShipCarrierPostalAddressPoints to the postal address used for the carrier.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdSalesTableBiEntitySalesTableCDREntity
ShipCarrierResidentialYes/no flag showing that the destination is residential.Enum
ShipCarrierResidentialDest
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
ShippingDateConfirmedConfirmed ship date.Date
SalesShippingDateConfirmed
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 16 more
ShippingDateRequestedShip date requested by the customer.Date
SalesShippingDateRequested
YesSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
SkipCreateMarkupYes/no flag that skips creating charges on the order.Enum
MarkupSkipCreateMarkup
NoYes (enum)
NoNone
SkipLineUpdateYes/no flag with no label. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
SkipUpdateShows which intercompany updates are skipped: none, internal, intercompany or both.Enum
InterCompanySkipUpdate (enum)
NoNone
smmCampaignIdCampaign linked to the order.String
smmCampaignId
NosmmCampaignTable.CampaignIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
smmSalesAmountTotalTotal amount of the order.Real
smmSalesAmountTotal
NoSalesTableBiEntitySalesTableCDREntity
SourceCertificate_MXYes/no flag for the source certificate, used for Mexico.Enum
SourceCertificate_MX
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
SourceDocumentHeaderPoints to the source document header record.Int64
RefRecId
NoSourceDocumentHeader.RecIdSalesTableBiEntitySalesTableCDREntity
StatProcIdStatistics procedure code for Intrastat.String
IntrastatProcId
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
SubBillBillToNameBill-to name for subscription billing.String (100)
LogisticsDeliveryName
NoSalesTableBiEntitySalesTableCDREntity
SubBillBillToPostalAddressPoints to the bill-to postal address for subscription billing.Int64
RefRecId
NoLogisticsPostalAddress.RecIdSalesTableBiEntitySalesTableCDREntity
SubBillCreatedFromSBYes/no flag showing the order was created by subscription billing.Enum
SubBillCreatedFromSB
NoYes (enum)
NoSalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more
SubBillSuppressChildItemsYes/no flag that hides child items when printing.Enum
SubBillSuppressChildItems
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberRow version number maintained by the system.low confidenceInt64
SysRowVersionNumber
NoNone
SystemEntryChangePolicyPoints to a price discount change policy for system-entered values. The label is Dummy.low confidenceInt64
PriceDiscPolicySystem
NoPriceDiscChangePolicy.RecIdSalesTableBiEntitySalesTableCDREntity
SystemEntrySourceShows where system-entered price and discount values came from. The label is Dummy.low confidenceEnum
PriceDiscSystemSource (enum)
NoSalesTableBiEntitySalesTableCDREntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TAMDeductionIDDeduction linked to the order.String (20)
TAMDeductionID
NoTAMDeduction.TAMDeductionIDSalesTableBiEntitySalesTableCDREntity
TAMRebateReferenceRebate reference text for the order.String (60)
TAMRebateReference
NoSalesTableBiEntitySalesTableCDREntity
TaxGroupSales tax group for the order.String
TaxGroup
NoTaxGroupHeading.TaxGroupSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
TaxIdPoints to the tax registration number record.Int64
TaxRegistrationRecId
NoTaxRegistration.RecIdSalesTableBiEntitySalesTableCDREntity
TaxPeriodPaymentCode_PLVAT report date code, used for Poland.String
PlTaxPeriodPaymentCode
NoPlTaxDueTable.TaxPeriodPaymentCodeSalesTableBiEntitySalesTableCDREntity
TCSGroup_INTax collected at source (TCS) group, used for India.String
TaxWithholdGroup
NoTaxWithholdGroupHeading.TaxWithholdGroupSalesTableBiEntitySalesTableCDREntity
TDSGroup_INTax deducted at source (TDS) group for the order, used for India.String
TaxWithholdGroup
NoTaxWithholdGroupHeading.TaxWithholdGroupSalesTableBiEntitySalesTableCDREntity
TouchedYes/no flag that marks the order as updated.low confidenceEnum
TradeTouched
NoYes (enum)
NoNone
TransactionCodeIntrastat transaction code for the order.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodeSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
TransportIntrastat transport method.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodeSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
TransportationDocumentPoints to the transportation details record.Int64
TransportationDocumentRecId
NoTransportationDocument.RecIdSalesTableBiEntitySalesTableCDREntity
UnitedVATInvoice_LTYes/no flag for a united VAT invoice, used for Lithuania.Enum
UnitedVATInvoice_LT
NoYes (enum)
NoSalesTableBiEntitySalesTableCDREntity
URLInternet address on the order.String (255)
URL
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
VATNumTax exempt number on the order.String (20)
VATNumJournal
NoSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more
VATNumRecIdSystem record ID of the tax exempt number record.Int64
RefRecId
NoSalesTableBiEntitySalesTableCDREntity
VATNumTableTypeShows which kind of table the tax exempt number comes from: none, tax registration or VAT number table.Enum
TaxExemptNumberSourceType (enum)
NoSalesTableBiEntitySalesTableCDREntity
WorkerSalesResponsibleWorker who is responsible for the sale.Int64
WorkerSalesResponsible
NoHcmWorker.RecIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more
WorkerSalesTakerWorker who took the order.Int64
SalesTaker
NoHcmWorker.RecIdSalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more

Indexes (19)

Relations (91)

Each relation joins SalesTable to another table on the fields shown.

  • Agreement → AgreementHeader

    Join on MatchingAgreement = AgreementHeader.RecId

    Many SalesTable records → zero or one AgreementHeader record

  • BankAccount_LV → BankAccountTable

    Join on BankAccount_LV = BankAccountTable.AccountID

    Zero or one SalesTable record → zero or one BankAccountTable record

  • BankCentralBankPurpose → BankCentralBankPurpose

    Join on BankCentralBankPurposeCode = BankCentralBankPurpose.Code

    Many SalesTable records → zero or one BankCentralBankPurpose record

  • CashDisc → CashDisc

    Join on CashDisc = CashDisc.CashDiscCode

    Many SalesTable records → zero or one CashDisc record

  • CommissionCustomerGroup → CommissionCustomerGroup

    Join on CommissionGroup = CommissionCustomerGroup.GroupId

    Many SalesTable records → zero or one CommissionCustomerGroup record

  • CommissionSalesGroup → CommissionSalesGroup

    Join on SalesGroup = CommissionSalesGroup.GroupId

    Many SalesTable records → zero or one CommissionSalesGroup record

  • Common → Common

    Join on AddressRefRecId = Common.RecId, AddressRefTableId = Common.TableId

    Cardinality not set in the metadata.

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many SalesTable records → zero or one ContactPerson record

  • CountyOrigDest → LogisticsAddressCounty

    Join on CountyOrigDest = LogisticsAddressCounty.CountyId

    Many SalesTable records → zero or one LogisticsAddressCounty record

  • CreditCard → CreditCardCust

    Join on CreditCardCustRefId = CreditCardCust.RecId

    Many SalesTable records → zero or one CreditCardCust record

  • CurBankAccount_LV → BankAccountTable

    Join on CurBankAccount_LV = BankAccountTable.AccountID

    Zero or one SalesTable record → zero or one BankAccountTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many SalesTable records → exactly one Currency record

  • CustBankAccount_LV → CustBankAccount

    Join on InvoiceAccount = CustBankAccount.CustAccount, CustBankAccount_LV = CustBankAccount.AccountID

    Zero or one SalesTable record → zero or one CustBankAccount record

  • CustDirectDebitMandate → CustDirectDebitMandate

    Join on DirectDebitMandate = CustDirectDebitMandate.RecId

    Many SalesTable records → zero or one CustDirectDebitMandate record

  • CustGroup → CustGroup

    Join on CustGroup = CustGroup.CustGroup

    Many SalesTable records → exactly one CustGroup record

  • CustLedger → CustLedger

    Join on PostingProfile = CustLedger.PostingProfile

    Many SalesTable records → zero or one CustLedger record

  • CustLineDiscountGroup → PriceDiscGroup

    Join on LineDisc = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::LineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust

    Many SalesTable records → zero or one PriceDiscGroup record

  • CustMarkupGroup → MarkupGroup

    Join on MarkupGroup = MarkupGroup.GroupId, MarkupGroup.Module = MarkupModuleType::Cust

    Many SalesTable records → zero or one MarkupGroup record

  • CustMultiLineDiscountGroup → PriceDiscGroup

    Join on MultiLineDisc = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust

    Many SalesTable records → zero or one PriceDiscGroup record

  • CustPaymModeSpec → CustPaymModeSpec

    Join on PaymMode = CustPaymModeSpec.PaymMode, PaymSpec = CustPaymModeSpec.Specification

    Many SalesTable records → zero or one CustPaymModeSpec record

  • CustPaymModeTable → CustPaymModeTable

    Join on PaymMode = CustPaymModeTable.PaymMode

    Many SalesTable records → zero or one CustPaymModeTable record

  • CustPriceGroup → PriceDiscGroup

    Join on PriceGroupId = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust

    Many SalesTable records → zero or one PriceDiscGroup record

  • CustTotalDiscountGroup → PriceDiscGroup

    Join on EndDisc = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::EndDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust

    Many SalesTable records → zero or one PriceDiscGroup record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many SalesTable records → zero or one DimensionAttributeValueSet record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many SalesTable records → zero or one LogisticsPostalAddress record

  • DlvMode → DlvMode

    Join on DlvMode = DlvMode.Code

    Many SalesTable records → zero or one DlvMode record

  • DlvReason → DlvReason

    Join on DlvReason = DlvReason.Code

    Many SalesTable records → zero or one DlvReason record

  • DlvTerm → DlvTerm

    Join on DlvTerm = DlvTerm.Code

    Many SalesTable records → zero or one DlvTerm record

  • InterCompany → DataArea

    Join on InterCompanyCompanyId = DataArea.id, DataArea.isVirtual = null

    Many SalesTable records → zero or one DataArea record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many SalesTable records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many SalesTable records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many SalesTable records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many SalesTable records → zero or one IntrastatTransportMode record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many SalesTable records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many SalesTable records → zero or one InventSite record

  • InvoiceCustomer → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many SalesTable records → exactly one CustTable record

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many SalesTable records → exactly one LanguageTable record

  • MarkupGroup → MarkupGroup

    Join on MarkupGroup.Module = MarkupModuleType::Cust, MarkupGroup = MarkupGroup.GroupId

    Many SalesTable records → zero or one MarkupGroup record

  • MCRHoldCodeTrans → MCRHoldCodeTrans

    Join on SalesId = MCRHoldCodeTrans.InventRefId

    Many SalesTable records → exactly one MCRHoldCodeTrans record

  • MCRInstallmentPlanSalesTable → MCRInstallmentPlanSalesTable

    Join on SalesId = MCRInstallmentPlanSalesTable.SalesId

    Many SalesTable records → exactly one MCRInstallmentPlanSalesTable record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupId

    Many SalesTable records → zero or one NumberSequenceGroup record

  • OrderCustomer → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many SalesTable records → exactly one CustTable record

  • PaymSched → PaymSched

    Join on PaymentSched = PaymSched.Name

    Many SalesTable records → zero or one PaymSched record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many SalesTable records → zero or one PaymTerm record

  • PdsCustRebateGroup → PdsCustRebateGroup

    Join on PdsCustRebateGroupId = PdsCustRebateGroup.PdsCustRebateGroupId

    Many SalesTable records → zero or one PdsCustRebateGroup record

  • PdsRebateProgramTMATable → PdsRebateProgramTMATable

    Join on PdsRebateProgramTMAGroup = PdsRebateProgramTMATable.PdsRebateProgramTMAGroup

    Many SalesTable records → zero or one PdsRebateProgramTMATable record

  • PlTaxDueTable → PlTaxDueTable

    Join on TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCode

    Many SalesTable records → zero or one PlTaxDueTable record

  • PriceDiscChangePolicyRecId1 → PriceDiscChangePolicy

    Join on SystemEntryChangePolicy = PriceDiscChangePolicy.RecId

    Many SalesTable records → zero or one PriceDiscChangePolicy record

  • PriceDiscChangePolicyRecId2 → PriceDiscChangePolicy

    Join on ManualEntryChangepolicy = PriceDiscChangePolicy.RecId

    Many SalesTable records → zero or one PriceDiscChangePolicy record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many SalesTable records → zero or one ProjTable record

  • PurchTable → PurchTable

    Join on InterCompanyOrder = null, PurchId = PurchTable.PurchId

    Many SalesTable records → zero or one PurchTable record

  • PurchTableInterCompany → PurchTable

    Join on InterCompanyOrder = NoYes::Yes, InterCompanyCompanyId = PurchTable.dataAreaId, InterCompanyPurchId = PurchTable.PurchId

    Many SalesTable records → zero or one PurchTable record

  • ReasonTableRef → ReasonTableRef

    Join on CreditNoteReasonCode = ReasonTableRef.RecId

    Many SalesTable records → zero or one ReasonTableRef record

  • ReturnReasonCode → ReturnReasonCode

    Join on ReturnReasonCodeId = ReturnReasonCode.ReasonCodeId

    Many SalesTable records → zero or one ReturnReasonCode record

  • SalesOrigin → SalesOrigin

    Join on SalesOriginId = SalesOrigin.OriginId

    Many SalesTable records → zero or one SalesOrigin record

  • SalesPool → SalesPool

    Join on SalesPoolId = SalesPool.SalesPoolId

    Many SalesTable records → zero or one SalesPool record

  • SalesTable → SalesTable

    Join on ReturnReplacementId = SalesTable.SalesId

    Many SalesTable records → zero or one SalesTable record

  • ShipCarrierPostalAddress_FK → LogisticsPostalAddress

    Join on ShipCarrierPostalAddress = LogisticsPostalAddress.RecId

    Many SalesTable records → zero or one LogisticsPostalAddress record

  • ShipCarrierTable → ShipCarrierTable

    Join on ShipCarrierId = ShipCarrierTable.CarrierId

    Many SalesTable records → zero or one ShipCarrierTable record

  • smmCampaignTable → smmCampaignTable

    Join on smmCampaignId = smmCampaignTable.CampaignId

    Many SalesTable records → zero or one smmCampaignTable record

  • smmSalesUnit → smmSalesUnit

    Join on SalesUnitId = smmSalesUnit.SalesUnitId

    Many SalesTable records → zero or one smmSalesUnit record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many SalesTable records → zero or one SourceDocumentHeader record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many SalesTable records → zero or one TaxGroupHeading record

  • TaxServiceTariff → TaxServiceTariff

    Join on RecId = TaxServiceTariff.ParentRecId, TableId = TaxServiceTariff.ParentTableId

    Zero or one SalesTable record → zero or one TaxServiceTariff record

  • TaxWithholdGroupHeadingTCS_IN → TaxWithholdGroupHeading

    Join on TCSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroup

    Many SalesTable records → zero or one TaxWithholdGroupHeading record

  • TaxWithholdGroupHeadingTDS_IN → TaxWithholdGroupHeading

    Join on TDSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroup

    Many SalesTable records → zero or one TaxWithholdGroupHeading record

  • TransportationDocument → TransportationDocument

    Join on TransportationDocument = TransportationDocument.RecId

    Zero or one SalesTable record → zero or one TransportationDocument record

  • WorkerSalesResponsible_FK → HcmWorker

    Join on WorkerSalesResponsible = HcmWorker.RecId

    Many SalesTable records → zero or one HcmWorker record

  • WorkerSalesTaker_FK → HcmWorker

    Join on WorkerSalesTaker = HcmWorker.RecId

    Many SalesTable records → zero or one HcmWorker record

  • LogisticsPostalAddressBaseEntity → LogisticsPostalAddressBaseEntity

    Join on DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecId

    Many SalesTable records → zero or one LogisticsPostalAddressBaseEntity record

  • RetailChannel → RetailChannelTable

    Join on RetailChannelTable = RetailChannelTable.RecId

    Many SalesTable records → zero or one RetailChannelTable record

  • SATPaymMethod_MX → EInvoiceExtCodeTable_MX

    Join on SATPaymMethod_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 4

    Exactly one SalesTable record → exactly one EInvoiceExtCodeTable_MX record

  • SATPurpose_MX → EInvoiceExtCodeTable_MX

    Join on SATPurpose_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 3

    Exactly one SalesTable record → exactly one EInvoiceExtCodeTable_MX record

  • SATIncotermCode_MX → EInvoiceExtCodeTable_MX

    Join on SATIncotermCode_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 5

    Exactly one SalesTable record → exactly one EInvoiceExtCodeTable_MX record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on FiscalAddress_MX = LogisticsAddressCountryRegion.CountryRegionId

    Many SalesTable records → zero or one LogisticsAddressCountryRegion record

  • SATShippingReason_MX → EInvoiceExtCodeTable_MX

    Join on SATShippingReason_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 8

    Exactly one SalesTable record → exactly one EInvoiceExtCodeTable_MX record

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many SalesTable records → zero or one AccountingDistributionTemplate record

  • ProjFundingSource → ProjFundingSource

    Join on FundingSource = ProjFundingSource.RecId

    Cardinality not set in the metadata.

  • ASOHOrderClass → ASOHOrderClassTable

    Join on ASOHOrderClass = ASOHOrderClassTable.OrderClass

    Many SalesTable records → zero or one ASOHOrderClassTable record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many SalesTable records → zero or one FinTag record

  • RetailChannelTable → RetailChannelTable

    Join on RetailChannelTable = RetailChannelTable.RecId

    Many SalesTable records → zero or one RetailChannelTable record

  • CustIntentLetter_IT → CustIntentLetter_IT

    Join on IntentLetterId_IT = CustIntentLetter_IT.InternalLetterId

    Many SalesTable records → zero or one CustIntentLetter_IT record

  • TaxRegistration → TaxRegistration

    Join on TaxId = TaxRegistration.RecId

    Many SalesTable records → zero or one TaxRegistration record

  • EximPorts_IN → EximPorts_IN

    Join on EXIMPorts_IN = EximPorts_IN.RecId

    Many SalesTable records → zero or one EximPorts_IN record

  • ElectronicInvoiceFrameworkType → BusinessDocumentElectronicInvoiceFrameworkTable

    Join on ElectronicInvoiceFrameworkType_FR = BusinessDocumentElectronicInvoiceFrameworkTable.RecId

    Many SalesTable records → zero or one BusinessDocumentElectronicInvoiceFrameworkTable record

  • ProjectManager → CustTable

    Join on ProjectManager_FR = CustTable.AccountNum

    Many SalesTable records → zero or one CustTable record

  • BusinessDocChorusProServiceCodeTable_FR → BusinessDocChorusProServiceCodeTable_FR

    Join on ServiceCodeRefRecId = BusinessDocChorusProServiceCodeTable_FR.RecId

    Cardinality not set in the metadata.

  • CredManTable → CredManTable

    Join on dataAreaId = CredManTable.Company, CredManId = CredManTable.CredManId

    Many SalesTable records → zero or one CredManTable record

  • TAMDeduction → TAMDeduction

    Join on TAMDeductionID = TAMDeduction.TAMDeductionID

    Many SalesTable records → zero or one TAMDeduction record

  • RevRecLatestReverseJournal → LedgerJournalTable

    Join on RevRecLatestReverseJournal = LedgerJournalTable.RecId

    Zero or one SalesTable record → zero or one LedgerJournalTable record

  • SubBillAddress_FK → LogisticsPostalAddress

    Join on SubBillBillToPostalAddress = LogisticsPostalAddress.RecId

    Many SalesTable records → zero or one LogisticsPostalAddress record

Get this data out

Tables are not exposed directly. These public entities read from SalesTable; use one of them in Power BI, Power Platform or a data management project.

Need help with SalesTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk