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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesIdSales order number that identifies the order. | String (20)SalesIdBase | Yes | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 32 more | |
AccountingDistributionTemplatePoints to the accounting distribution template for the order. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | SalesTableBiEntitySalesTableCDREntity |
AddressRefRecIdSystem record ID of the record that the address reference points to. | Int64AddressRefRecId | No | SalesTableBiEntitySalesTableCDREntity | |
AddressRefTableIdID of the table that the address reference points to. | IntegerAddressRefTableId | No | SalesTableBiEntitySalesTableCDREntity | |
ASOHOrderClassOrder class for the order. | StringASOHOrderClass | No | ASOHOrderClassTable.OrderClass | SalesTableBiEntitySalesTableCDREntity |
AutoSummaryModuleTypeShows whether the summary update parameters relate to customers or to sales orders. | EnumModuleCustSales (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
BankAccount_LVPrimary bank account of the company, used for Latvia. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | SalesTableBiEntitySalesTableCDREntity |
BankCentralBankPurposeCodeCentral bank purpose code for the payment, taken from the payment purpose codes. | StringBankCentralBankPurposeCode | No | BankCentralBankPurpose.Code | SalesTableBiEntitySalesTableCDREntity |
BankCentralBankPurposeTextFree text that explains the central bank purpose. | String (210)BankCentralBankPurposeText | No | SalesTableBiEntitySalesTableCDREntity | |
BankDocumentTypeType of bank document linked to the order, such as letter of credit or letter of guarantee. | EnumBankDocumentFacilityNatureBankDocumentType (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CaseTaggingYes/no flag for case tagging (RFID) on the order. | EnumRFIDCaseTaggingNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CashDiscCash discount code applied to the order. | StringCustCashDiscCode | No | CashDisc.CashDiscCode | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more |
CashDiscBaseDateBase date used for the payment terms. | DateCashDiscBaseDate | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
CashDiscBaseDaysNumber of base days used for the payment terms. | IntegerCashDiscBaseDays | No | SalesTableBiEntitySalesTableCDREntity | |
CashDiscPercentDiscount percentage on the order. | RealDiscPct | No | SalesTableBiEntitySalesTableCDREntity | |
CertificateNumber_MXCertificate number of the document, used for Mexico. | String (40)CertificateNumber_MX | No | SalesTableBiEntitySalesTableCDREntity | |
CFDITemporaryExport_MXYes/no flag for temporary export, used for Mexico. | EnumCFDITemporaryExport_MXNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CommissionGroupCommission customer group assigned to the order. | StringCommissCustomerGroup | No | CommissionCustomerGroup.GroupId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
CommissionType_ITCommission settlement on invoice or on payment, used for Italy. | EnumCommissionType_IT (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
ConsTarget_JPYes/no flag showing whether the customer is a consolidation target, used for Japan. | EnumCustConsTarget_JPNoYes (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
ContactPersonIdContact person for the order, linked to the contacts. | String (20)ContactPersonId | No | ContactPerson.ContactPersonId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 16 more |
CountyOrigDestCounty of origin or destination, linked to the counties list. | String (30)AddressCountyOrigDest | No | SalesTableBiEntitySalesTableCDREntity | |
CovStatusStatus number used for the cash flow forecast.low confidence | IntegerCovStatus | No | SalesTableBiEntitySalesTableCDREntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | SalesTableBiEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | SalesTableBiEntity | |
CreditCardApprovalAmountAmount approved for the credit card payment (in accounting currency). | RealAmountMST | No | SalesTableBiEntitySalesTableCDREntity | |
CreditCardAuthorizationAuthorisation code returned for the credit card payment. | String (36)CreditCardAuthorization | No | SalesTableBiEntitySalesTableCDREntity | |
CreditCardAuthorizationErrorYes/no flag showing that a capture error occurred for the credit card. | EnumNoYesIdNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CreditCardCustRefIdPoints to the customer credit card record used on the order. | Int64RefRecId | No | CreditCardCust.RecId | SalesTableBiEntitySalesTableCDREntity |
CreditNoteReasonCodePoints to a reason reference record for the credit note. | Int64ReasonTableRefRecId | No | ReasonTableRef.RecId | SalesTableBiEntitySalesTableCDREntity |
CredManExcludeSalesOrderYes/no flag excluding the order from credit management. | EnumCredManExcludeNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CredManIdCredit hold ID of the credit management record. | String (20)CredManId | No | CredManTable.CredManId | SalesTableBiEntitySalesTableCDREntity |
CredManInCreditControlYes/no flag showing the order is in credit management. | EnumCredManUsedInCreditManagementNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CredManRejectedYes/no flag showing the order was rejected in credit management. | EnumCredManRejectedNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CredManReleasedFromCreditControlYes/no flag showing the order was released from credit management. | EnumCredManReleasedFromCreditControlNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CurBankAccount_LVCompany bank account used for an additional currency, used for Latvia. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | SalesTableBiEntitySalesTableCDREntity |
CurrencyCodeCurrency of the order. | String (3)CustCurrencyCode | Yes | Currency.CurrencyCode | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 13 more |
CustAccountCustomer account that the order is for. | String (20)CustAccount | Yes | CustTable.AccountNum | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 11 more |
CustBankAccount_LVCustomer bank account on the order, used for Latvia. | StringCustBankAccountId | No | CustBankAccount.AccountID | SalesTableBiEntitySalesTableCDREntity |
CustGroupCustomer group of the customer. | StringCustGroupId | Yes | CustGroup.CustGroup | SalesTableBiEntitySalesTableCDREntity |
CustInvoiceIdInvoice number linked to the order. | String (20)CustInvoiceId | No | SalesTableBiEntitySalesTableCDREntity | |
CustomerRefReference text supplied by the customer. | String (60)CustRef | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 16 more | |
CustomsExportOrder_INYes/no flag marking the order as an export order, used for India. | EnumNoYesIdNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
CustomsRegime_MXCustoms regimes text, used for Mexico. | String (255)CustomsRegimes_MX | No | SalesTableBiEntitySalesTableCDREntity | |
CustomsShippingBill_INYes/no flag for a shipping bill, used for India. | EnumNoYesIdNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | SalesTableBiEntitySalesTableCDREntity | |
DeadlineDeadline date for the order. | DateSalesDeadline | No | SalesTableBiEntitySalesTableCDREntity | |
DefaultDimensionPoints to the default financial dimension values for the order. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
DeliveryDateShip date for the order. | DateSalesShippingDate | No | SalesTableBiEntitySalesTableCDREntity | |
DeliveryDateControlTypeMethod used to control delivery dates, such as sales lead time or ATP. | EnumSalesDeliveryDateControlType (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
DeliveryNameName of the delivery recipient. | String (100)LogisticsDeliveryName | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
DeliveryPostalAddressPoints to the postal address used for delivery. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | SalesTableBiEntitySalesTableCDREntity |
DirectDebitMandatePoints to the customer direct debit mandate for the order. | Int64CustDirectDebitMandateRecId | No | CustDirectDebitMandate.RecId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
DiscPercentTotal discount percentage held on the order header. | RealSalesEndDiscPct | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
DlvModeMode of delivery for the order. | StringCustDlvModeId | No | DlvMode.Code | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 13 more |
DlvReasonReason for delivery for the order. | StringDlvReasonId | No | DlvReason.Code | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
DlvTermTerms of delivery for the order. | StringCustDlvTermId | No | DlvTerm.Code | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 13 more |
DocumentStatusStatus of the latest document produced for the order, such as confirmation, packing slip or invoice. | EnumDocumentStatus (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
DOMExceptionTypeType of exception found during DOM processing, such as no quantity available. | EnumDOMExceptionType (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
DOMIgnoreYes/no flag that appears to make DOM ignore the order.low confidence | EnumNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
DOMIterationsNumber of iterations of distributed order management (DOM) processing.low confidence | IntegerDOMIterations | No | SalesTableBiEntitySalesTableCDREntity | |
DOMProcessedDOM processing status: not processed, successful or exception. | EnumDOMProcessStatus (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
DOMProcessedDateTimeDate and time of DOM processing.low confidence | UtcDateTime | No | SalesTableBiEntitySalesTableCDREntity | |
EInvoiceAccountCodeDimension account code used in electronic invoices. | String (35)EInvoiceAccountCode | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
EInvoiceCFDIConfirmNumber_MXConfirmation number for the electronic invoice (CFDI), used for Mexico. | String (5)EInvoiceCFDIConfirmNumber_MX | No | SalesTableBiEntitySalesTableCDREntity | |
EInvoiceLineSpecYes/no flag for line-specific electronic invoicing. | EnumEInvoiceLineSpecificNoYes (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
ElectronicInvoiceFrameworkType_FRPoints to the electronic invoice framework, used for France. | Int64RefRecId | No | BusinessDocumentElectronicInvoiceFrameworkTable.RecId | SalesTableBiEntitySalesTableCDREntity |
EmailEmail address on the order. | String (80)Email | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more | |
EndDiscTotal discount group applied to the order, linked to a price group. | StringCustEndDiscCode | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more | |
EnterpriseNumberEnterprise number of the customer for tax purposes. | String (50)TaxEnterpriseNumber | No | SalesTableBiEntitySalesTableCDREntity | |
EstimateEstimated gross amount of the order. | RealSalesEstimateGross | No | SalesTableBiEntitySalesTableCDREntity | |
EXIMPorts_INPoints to the export-import (EXIM) port, used for India. | Int64EXIMPortRecId_IN | No | EximPorts_IN.RecId | SalesTableBiEntitySalesTableCDREntity |
ExpediteExpedite text for the order. | StringMCRExpedite | No | SalesOrderHeaderV4EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 2 more | |
ExportReasonText giving the reason for export. | String (30)SalesExportReason | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
FinTagPoints to the financial tag for the order. | Int64FinTagRecId | No | FinTag.RecId | SalesTableBiEntitySalesTableCDREntity |
FiscalAddress_MXCountry or region of the fiscal address, used for Mexico. | StringLogisticsAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | SalesTableBiEntitySalesTableCDREntity |
FiscalDocType_PLChooses whether an invoice or a fiscal document is printed, used for Poland. | EnumPlFiscalDocType (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
FixedDueDateFixed due date for payment. | DateSalesFixedDueDate | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
FixedExchRateFixed exchange rate set for the order. | RealSalesFixedExchRate | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more | |
ForeignTrade_MXYes/no flag for a foreign trade operation, used for Mexico. | EnumForeignTrade_MXNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
FreightSlipTypeType of call tag for freight, such as none or UPS. | EnumCustFreightSlipTypeFreightSlipType (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
FreightZoneUPS zone for freight. | StringCustFreightZoneId | No | SalesTableBiEntitySalesTableCDREntity | |
FundingSourcePoints to the project funding source. | Int64ProjFundingSourceRefId | No | ProjFundingSource.RecId | SalesTableBiEntitySalesTableCDREntity |
GiroTypeType of payment slip attached to the customer invoice, such as FIK or Blue slip. | EnumPaymentStubInvoiceIdPaymentStub (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
GUPDelayPricingCalculationYes/no flag to delay the price calculation. | EnumGUPDelayPriceCalculationNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
GUPSkipPricingCalculationYes/no flag to skip attribute-based pricing and use standard pricing. | EnumNoYesIdNoYes (enum) | No | SalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 2 more | |
InclTaxYes/no flag showing whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
IntentLetterId_ITInternal number of the customer intent letter, used for Italy. | StringIntentLetterInternalId_IT | No | CustIntentLetter_IT.InternalLetterId | SalesTableBiEntitySalesTableCDREntity |
InterCompanyAllowIndirectCreationYes/no flag allowing indirect creation of the intercompany order. | EnumInterCompanyAllowIndirectCreationNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyAllowIndirectCreationOrigOriginal value of the allow indirect creation flag for intercompany orders.low confidence | EnumInterCompanyAllowIndirectCreationNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyAutoCreateOrdersYes/no flag for automatic creation of intercompany orders. | EnumInterCompanyAutoCreateOrdersNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyCompanyIdCompany of the linked intercompany purchase order. | StringInterCompanyCompanyId | No | PurchTable.dataAreaId | SalesTableBiEntitySalesTableCDREntity |
InterCompanyDirectDeliveryYes/no flag for direct delivery in an intercompany order. | EnumInterCompanyDirectDeliveryNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyDirectDeliveryOrigOriginal value of the direct delivery flag for intercompany orders.low confidence | EnumInterCompanyDirectDeliveryNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyOrderYes/no flag showing that the order is an intercompany order. | EnumInterCompanyCustomerNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyOriginShows whether the intercompany order is the source or derived from another order. | EnumInterCompanyOrigin (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyOriginalCustAccountCustomer account on the original intercompany order. | String (20)InterCompanyOriginalCustAccount | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyOriginalSalesIdSales order number of the original intercompany order. | String (20)InterCompanyOriginalSalesId | No | SalesTableBiEntitySalesTableCDREntity | |
InterCompanyPurchIdPurchase order number of the linked intercompany purchase order. | String (20)InterCompanyPurchId | No | PurchTable.PurchId | SalesTableBiEntitySalesTableCDREntity |
IntrastatAddValue_LVAdditional value for Intrastat reporting, used for Latvia. | RealLvIntrastatAddValue | No | SalesTableBiEntitySalesTableCDREntity | |
IntrastatFulfillmentDate_HUFulfilment date for Intrastat reporting, used for Hungary. | DateIntrastatFulfillmentDate_HU | No | SalesTableBiEntitySalesTableCDREntity | |
InventLocationIdWarehouse for the order. | StringSalesInventLocationId | No | InventLocation.InventLocationId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more |
InventSiteIdSite for the order. | StringInventSiteId | No | InventSite.SiteId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more |
InvoiceAccountCustomer account that receives the invoice. | String (20)CustInvoiceAccount | Yes | CustTable.AccountNum | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 11 more |
InvoiceAutoNumbering_LTYes/no flag for automatic invoice numbering, used for Lithuania. | EnumLtInvoiceAutoNumberingNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InvoiceRegister_LTYes/no flag for automatic invoice numbering, used for Lithuania. | EnumLtInvoiceAutoNumberingNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
InvoiceType_WInvoice type: tax invoice or simplified invoice. | EnumInvoiceType_W (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
IsIntegrationShows how the order was created: no integration, Dataverse integration, Dynamics 365 Sales or a data entity. | EnumTradeIntegrationType (enum) | No | None | |
ItemTaggingYes/no flag for item tagging (RFID). | EnumRFIDItemTaggingNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
LanguageIdLanguage used for the order. | String (7)CustLanguageId | Yes | LanguageTable.LanguageId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more |
LineDiscLine discount group that applies to the order, linked to a price group. | StringCustLineDiscCode | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more | |
ListcodeCode that classifies the order for trade lists, such as EU trade or triangular trade. | EnumListcodeIdListcode (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
ManualEntryChangepolicyPoints to a price discount change policy for manually entered values. The label is Dummy.low confidence | Int64PriceDiscPolicyManual | No | PriceDiscChangePolicy.RecId | SalesTableBiEntitySalesTableCDREntity |
MarkupGroupCharges group applied to the order. | StringCustMarkupGroupId | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
MatchingAgreementPoints to the agreement header linked to the order. | Int64AgreementHeaderRecId | No | AgreementHeader.RecId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
MCROrderStoppedYes/no flag telling processing to skip the order. | EnumMCROrderStoppedNoYes (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | SalesTableBiEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | SalesTableBiEntitySalesTableCDREntity | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | SalesTableBiEntity | |
MpsExcludeSalesOrderYes/no flag excluding the order from master planning. | EnumMpsExcludeSalesOrderNoYes (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesTableBiEntityand 1 more | |
MPSFullRunCTPStatusShows whether batch capable-to-promise dates are ready: ready or not ready. | EnumMPSFullRunCTPStatus (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 2 more | |
MpsUpdateExcludeSalesOrderYes/no flag for excluding the order from master planning, used for updates.low confidence | EnumMpsExcludeSalesOrderNoYes (enum) | No | None | |
MultiLineDiscMultiline discount group for the order, linked to a price group. | StringCustMultiLineDiscCode | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more | |
NatureOfAssessee_INType of tax assessee, such as company or individual, used for India. | EnumNatureOfAssessee_IN (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
NumberSequenceGroupNumber sequence group used for the order. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
NumRegIdTrib_MXTax registration number of the country of residence, used for Mexico. | String (40)NumRegIdTrib_MX | No | SalesTableBiEntitySalesTableCDREntity | |
OneTimeCustomerYes/no flag showing that the order is for a one-time customer. | EnumOneTimeCustomerNoYes (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
OverrideSalesTaxYes/no flag that overrides the sales tax determination. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 2 more | |
PackedExtensionsContainer that holds extension data in packed form.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
PackingSlipAutoNumbering_LTYes/no flag for automatic packing slip numbering, used for Lithuania. | EnumLtPackingSlipAutoNumberingNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
PackingSlipRegister_LTYes/no flag for automatic packing slip numbering, used for Lithuania. | EnumLtPackingSlipAutoNumberingNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
PalletTaggingYes/no flag for pallet tagging (RFID). | EnumRFIDPalletTaggingNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentTerms of payment for the order. | String (100)CustPaymTermId | No | PaymTerm.PaymTermId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 13 more |
PaymentSchedPayment schedule for the order. | String (30)PaymSchedId | No | PaymSched.Name | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
PaymModeMethod of payment for the customer. | StringCustPaymMode | No | CustPaymModeTable.PaymMode | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
PaymSpecPayment specification linked to the payment method. | StringCustPaymSpec | No | CustPaymModeSpec.Specification | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
PdsBatchAttribAutoResYes/no flag for automatic batch reservation. | EnumPdsBatchAttribAutoResNoYes (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
PdsCustRebateGroupIdCustomer rebate group for the order. | String (20)PdsCustRebateGroupId | No | PdsCustRebateGroup.PdsCustRebateGroupId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
PdsRebateProgramTMAGroupCustomer trade management agreement (TMA) group for rebates. | StringPdsRebateProgramTMAGroup | No | PdsRebateProgramTMATable.PdsRebateProgramTMAGroup | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
PhoneTelephone number on the order. | String (20)Phone | No | SalesTableBiEntitySalesTableCDREntity | |
PortPort used for Intrastat reporting. | StringIntrastatPortId | No | IntrastatPort.PortId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
PostingProfileCustomer posting profile for the order. | StringCustPostingProfile | No | CustLedger.PostingProfile | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
PriceGroupIdPrice group of the order, linked to the price groups. | StringCustPriceGroup | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
PrintDynamicQRCode_INYes/no flag to print a dynamic QR code on the invoice, used for India. | EnumPrintDynamicQRCode_INNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
ProjectManager_FRCustomer account of the project manager, used for France. | String (20)CustAccount | No | CustTable.AccountNum | SalesTableBiEntitySalesTableCDREntity |
ProjIdProject linked to the order. | String (20)ProjId | No | ProjTable.ProjId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 6 more |
PurchIdPurchase order linked to the sales order. | String (20)PurchId | No | PurchTable.PurchId | SalesTableBiEntitySalesTableCDREntity |
PurchOrderFormNumCustomer's own requisition or purchase order number. | String (20)CustPurchaseOrder | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more | |
QuotationIdQuotation number that the order relates to. | String (20)QuotationId | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
ReceiptDateConfirmedConfirmed date on which the customer receives the goods. | DateSalesReceiptDateConfirmed | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
ReceiptDateRequestedDate on which the customer asked to receive the goods. | DateSalesReceiptDateRequested | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | SalesTableBiEntitySalesTableCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | SalesTableBiEntity | |
ReleaseStatusRelease status of the order: open, partially released or released. | EnumWHSReleaseStatus (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
RentalDocumentTableSystem record ID of a related rental document.low confidence | Int64RefRecId | No | None | |
RentalInvoiceScheduleTableSystem record ID of a related rental invoice schedule.low confidence | Int64RefRecId | No | None | |
RentalItemSystem record ID of a related rental item.low confidence | Int64RefRecId | No | None | |
RentalJobSiteSystem record ID of a related rental job site.low confidence | Int64RefRecId | No | None | |
RentalLoadSystem record ID of a related rental load.low confidence | Int64RefRecId | No | None | |
RentalNoticeToOwnerSystem record ID of a related notice to owner.low confidence | Int64RefRecId | No | None | |
RentalPickupRentalLocationIdRental location for pickup. No label is given.low confidence | String (100) | No | None | |
RentalShipToWhere rental goods go: none, address, job site or pickup fleet location. | EnumRentalShipTo (enum) | No | None | |
ReportingCurrencyFixedExchRateExchange rate for the reporting currency. | RealCustExchRate | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
ReservationReservation mode for the order: manual, automatic or explosion. | EnumItemReservation (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
RetailChannelTablePoints to the retail channel for the order. | Int64RetailChannelRecId | No | RetailChannelTable.RecId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesTableBiEntityand 1 more |
ReturnDeadlineDeadline date for a return order. | DateReturnDeadline | No | ReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 2 more | |
ReturnItemNumReturn merchandise authorisation (RMA) number for a return. | StringSalesReturnItemNum | No | ReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 5 more | |
ReturnReasonCodeIdReturn reason code for a return order. | StringReturnReasonCodeId | No | ReturnReasonCode.ReasonCodeId | ReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 2 more |
ReturnReplacementCreatedYes/no flag showing that an up-front replacement was created. | EnumReturnReplacementCreatedNoYes (enum) | No | ReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 1 more | |
ReturnReplacementIdSales order number of the replacement order. | String (20)ReturnReplacementId | No | SalesTable.SalesId | ReturnOrderHeaderV2EntityReturnOrderHeaderEntitySalesTableBiEntityand 1 more |
ReturnStatusStatus of a return order: created, open, cancelled or closed. | EnumReturnStatusHeader (enum) | No | ReturnOrderHeaderV2EntitySalesTableBiEntitySalesTableCDREntityand 1 more | |
RevRecContractEndDateEnd date of the revenue recognition contract. | DateTransDate | No | SalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more | |
RevRecContractStartDateStart date of the revenue recognition contract. | DateRevRecContractStartDate | No | SalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more | |
RevRecFollowOriginalPricingMethodYes/no flag for applying the residual method in revenue recognition. | EnumNoYesIdNoYes (enum) | No | SalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more | |
RevRecLatestReverseJournalPoints to the latest reversing ledger journal. | Int64RefRecId | No | LedgerJournalTable.RecId | SalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more |
RevRecMultipleSOReallocationYes/no flag for reallocation across multiple sales orders. | EnumRevRecMultipleSOReallocationNoYes (enum) | No | SalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more | |
RevRecReallocationIdID of the revenue recognition reallocation. | String (20)RevRecReallocationId | No | SalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more | |
SalesGroupCommission sales group for the order. | StringCommissSalesGroup | No | CommissionSalesGroup.GroupId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
SalesNameName of the customer on the order. | String (60)SalesName | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more | |
SalesOrderIntegrationCreationTypeShows how the order was created by integration: unknown or Win Quote. | EnumSalesOrderIntegrationCreationType (enum) | No | None | |
SalesOriginIdOrder origin code showing where the order came from. | StringSalesOriginId | No | SalesOrigin.OriginId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 12 more |
SalesPoolIdOrder pool that the order belongs to. | StringSalesPoolId | No | SalesPool.SalesPoolId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
SalesStatusStatus of the order: open, delivered, invoiced or cancelled. | EnumSalesStatus (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntityReturnOrderHeaderV2Entityand 10 more | |
SalesTypeType of order, such as sales order, returned order, subscription or customer prepayment. | EnumSalesType (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
SalesUnitIdSales unit from sales management. | String (20)smmSalesUnitId | No | smmSalesUnit.SalesUnitId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
SATIncotermCode_MXIncoterm code from the external code list, used for Mexico. | StringSATIncoterm_MX | No | SalesTableBiEntitySalesTableCDREntity | |
SATPaymMethod_MXPayment type code from the external code list, used for Mexico. | StringSATPaymMethod_MX | No | SalesTableBiEntitySalesTableCDREntity | |
SATPurpose_MXPurpose code from the external code list, used for Mexico. | StringSATPurpose_MX | No | SalesTableBiEntitySalesTableCDREntity | |
SATShippingReason_MXShipping reason code from the external code list, used for Mexico. | StringSATShippingReason_MX | No | SalesTableBiEntitySalesTableCDREntity | |
ServiceCode_FRService code of the invoice account, used for France. | String (100)BusinessDocInvoiceAccountServiceCode_FR | No | SalesTableBiEntitySalesTableCDREntity | |
ServiceCodeRefRecIdPoints to the Chorus Pro service code record, used for France. | Int64BusinessDocChorusProServiceCodeRefRecId | No | BusinessDocChorusProServiceCodeTable_FR.RecId | SalesTableBiEntitySalesTableCDREntity |
SettleVoucherSettlement type: open transactions or designated transactions. | EnumSalesSettlementTypeSettlementType (enum) | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
ShipCarrierAccountCarrier account number for shipping. | String (25)ShipCarrierAccount | No | SalesTableBiEntitySalesTableCDREntity | |
ShipCarrierAccountCodeAccount code for the carrier. | String (20)ShipCarrierAccountCode | No | SalesTableBiEntitySalesTableCDREntity | |
ShipCarrierBlindShipmentYes/no flag for a blind shipment. | EnumShipCarrierBlindShipmentNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
ShipCarrierDeliveryContactName of the delivery contact for the carrier. | String (60)Name | No | SalesTableBiEntitySalesTableCDREntity | |
ShipCarrierDlvTypeCarrier service type: miscellaneous, ground, air or pickup. | EnumShipCarrierDlvType (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
ShipCarrierExpeditedShipmentYes/no flag for an expedited shipment. | EnumShipCarrierExpeditedShipmentNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
ShipCarrierFuelSurchargeYes/no flag for charging a fuel surcharge. | EnumShipCarrierFuelSurchargeNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
ShipCarrierIdCarrier used for shipping. | StringShipCarrierId | No | ShipCarrierTable.CarrierId | SalesTableBiEntitySalesTableCDREntity |
ShipCarrierNameName of the third-party carrier. | String (100)LogisticsShipCarrierName | No | SalesTableBiEntitySalesTableCDREntity | |
ShipCarrierPostalAddressPoints to the postal address used for the carrier. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | SalesTableBiEntitySalesTableCDREntity |
ShipCarrierResidentialYes/no flag showing that the destination is residential. | EnumShipCarrierResidentialDestNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
ShippingDateConfirmedConfirmed ship date. | DateSalesShippingDateConfirmed | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 16 more | |
ShippingDateRequestedShip date requested by the customer. | DateSalesShippingDateRequested | Yes | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
SkipCreateMarkupYes/no flag that skips creating charges on the order. | EnumMarkupSkipCreateMarkupNoYes (enum) | No | None | |
SkipLineUpdateYes/no flag with no label. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
SkipUpdateShows which intercompany updates are skipped: none, internal, intercompany or both. | EnumInterCompanySkipUpdate (enum) | No | None | |
smmCampaignIdCampaign linked to the order. | StringsmmCampaignId | No | smmCampaignTable.CampaignId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
smmSalesAmountTotalTotal amount of the order. | RealsmmSalesAmountTotal | No | SalesTableBiEntitySalesTableCDREntity | |
SourceCertificate_MXYes/no flag for the source certificate, used for Mexico. | EnumSourceCertificate_MXNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
SourceDocumentHeaderPoints to the source document header record. | Int64RefRecId | No | SourceDocumentHeader.RecId | SalesTableBiEntitySalesTableCDREntity |
StatProcIdStatistics procedure code for Intrastat. | StringIntrastatProcId | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
SubBillBillToNameBill-to name for subscription billing. | String (100)LogisticsDeliveryName | No | SalesTableBiEntitySalesTableCDREntity | |
SubBillBillToPostalAddressPoints to the bill-to postal address for subscription billing. | Int64RefRecId | No | LogisticsPostalAddress.RecId | SalesTableBiEntitySalesTableCDREntity |
SubBillCreatedFromSBYes/no flag showing the order was created by subscription billing. | EnumSubBillCreatedFromSBNoYes (enum) | No | SalesOrderHeaderV3EntitySalesOrderHeaderV2EntitySalesTableBiEntityand 1 more | |
SubBillSuppressChildItemsYes/no flag that hides child items when printing. | EnumSubBillSuppressChildItemsNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberRow version number maintained by the system.low confidence | Int64SysRowVersionNumber | No | None | |
SystemEntryChangePolicyPoints to a price discount change policy for system-entered values. The label is Dummy.low confidence | Int64PriceDiscPolicySystem | No | PriceDiscChangePolicy.RecId | SalesTableBiEntitySalesTableCDREntity |
SystemEntrySourceShows where system-entered price and discount values came from. The label is Dummy.low confidence | EnumPriceDiscSystemSource (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TAMDeductionIDDeduction linked to the order. | String (20)TAMDeductionID | No | TAMDeduction.TAMDeductionID | SalesTableBiEntitySalesTableCDREntity |
TAMRebateReferenceRebate reference text for the order. | String (60)TAMRebateReference | No | SalesTableBiEntitySalesTableCDREntity | |
TaxGroupSales tax group for the order. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
TaxIdPoints to the tax registration number record. | Int64TaxRegistrationRecId | No | TaxRegistration.RecId | SalesTableBiEntitySalesTableCDREntity |
TaxPeriodPaymentCode_PLVAT report date code, used for Poland. | StringPlTaxPeriodPaymentCode | No | PlTaxDueTable.TaxPeriodPaymentCode | SalesTableBiEntitySalesTableCDREntity |
TCSGroup_INTax collected at source (TCS) group, used for India. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | SalesTableBiEntitySalesTableCDREntity |
TDSGroup_INTax deducted at source (TDS) group for the order, used for India. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | SalesTableBiEntitySalesTableCDREntity |
TouchedYes/no flag that marks the order as updated.low confidence | EnumTradeTouchedNoYes (enum) | No | None | |
TransactionCodeIntrastat transaction code for the order. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
TransportIntrastat transport method. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more |
TransportationDocumentPoints to the transportation details record. | Int64TransportationDocumentRecId | No | TransportationDocument.RecId | SalesTableBiEntitySalesTableCDREntity |
UnitedVATInvoice_LTYes/no flag for a united VAT invoice, used for Lithuania. | EnumUnitedVATInvoice_LTNoYes (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
URLInternet address on the order. | String (255)URL | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more | |
VATNumTax exempt number on the order. | String (20)VATNumJournal | No | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 5 more | |
VATNumRecIdSystem record ID of the tax exempt number record. | Int64RefRecId | No | SalesTableBiEntitySalesTableCDREntity | |
VATNumTableTypeShows which kind of table the tax exempt number comes from: none, tax registration or VAT number table. | EnumTaxExemptNumberSourceType (enum) | No | SalesTableBiEntitySalesTableCDREntity | |
WorkerSalesResponsibleWorker who is responsible for the sale. | Int64WorkerSalesResponsible | No | HcmWorker.RecId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more |
WorkerSalesTakerWorker who took the order. | Int64SalesTaker | No | HcmWorker.RecId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entityand 7 more |
Indexes (19)
SalesIdxPrimary indexReplacement keyUnique, alternate key.
CustIdxCustAccount,SalesId,PurchOrderFormNumUnique.
ProjIdIdxNot unique.
StatusCustAccIdxNot unique.
InvoiceAccStatusIdxNot unique.
ReturnNumIdxNot unique.
SalesTypeIdxNot unique.
AgreementHeaderIdxNot unique.
CustCreatedDateIdxNot unique.
SourceDocumentIdxSourceDocumentHeader,dataAreaIdNot unique.
ConsTarget_JPIdxNot unique.
CreatedByDocumentIdxDocumentStatus,SalesType,CreatedByNot unique.
ProjFundingSourceIdxNot unique.
DeliveryPostalAddressIdxNot unique.
CreditNoteReasonCodeIdxNot unique.
LongTermRetentionIdxCreatedDateTime,SalesStatus,INTERCOMPANYORDER,INTERCOMPANYDIRECTDELIVERY,DataAreaId,PartitionNot unique.
IntentLetterId_ITIdxNot unique.
ElectronicInvoiceFrameworkTypeIdxElectronicInvoiceFrameworkType_FRNot unique.
CredManIdxNot unique.
Relations (91)
Each relation joins SalesTable to another table on the fields shown.
Agreement→AgreementHeaderJoin on
MatchingAgreement = AgreementHeader.RecIdMany SalesTable records → zero or one AgreementHeader record
BankAccount_LV→BankAccountTableJoin on
BankAccount_LV = BankAccountTable.AccountIDZero or one SalesTable record → zero or one BankAccountTable record
BankCentralBankPurpose→BankCentralBankPurposeJoin on
BankCentralBankPurposeCode = BankCentralBankPurpose.CodeMany SalesTable records → zero or one BankCentralBankPurpose record
CashDisc→CashDiscJoin on
CashDisc = CashDisc.CashDiscCodeMany SalesTable records → zero or one CashDisc record
CommissionCustomerGroup→CommissionCustomerGroupJoin on
CommissionGroup = CommissionCustomerGroup.GroupIdMany SalesTable records → zero or one CommissionCustomerGroup record
CommissionSalesGroup→CommissionSalesGroupJoin on
SalesGroup = CommissionSalesGroup.GroupIdMany SalesTable records → zero or one CommissionSalesGroup record
Common→CommonJoin on
AddressRefRecId = Common.RecId,AddressRefTableId = Common.TableIdCardinality not set in the metadata.
ContactPerson→ContactPersonJoin on
ContactPersonId = ContactPerson.ContactPersonIdMany SalesTable records → zero or one ContactPerson record
CountyOrigDest→LogisticsAddressCountyJoin on
CountyOrigDest = LogisticsAddressCounty.CountyIdMany SalesTable records → zero or one LogisticsAddressCounty record
CreditCard→CreditCardCustJoin on
CreditCardCustRefId = CreditCardCust.RecIdMany SalesTable records → zero or one CreditCardCust record
CurBankAccount_LV→BankAccountTableJoin on
CurBankAccount_LV = BankAccountTable.AccountIDZero or one SalesTable record → zero or one BankAccountTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany SalesTable records → exactly one Currency record
CustBankAccount_LV→CustBankAccountJoin on
InvoiceAccount = CustBankAccount.CustAccount,CustBankAccount_LV = CustBankAccount.AccountIDZero or one SalesTable record → zero or one CustBankAccount record
CustDirectDebitMandate→CustDirectDebitMandateJoin on
DirectDebitMandate = CustDirectDebitMandate.RecIdMany SalesTable records → zero or one CustDirectDebitMandate record
CustGroup→CustGroupJoin on
CustGroup = CustGroup.CustGroupMany SalesTable records → exactly one CustGroup record
CustLedger→CustLedgerJoin on
PostingProfile = CustLedger.PostingProfileMany SalesTable records → zero or one CustLedger record
CustLineDiscountGroup→PriceDiscGroupJoin on
LineDisc = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::LineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::CustMany SalesTable records → zero or one PriceDiscGroup record
CustMarkupGroup→MarkupGroupJoin on
MarkupGroup = MarkupGroup.GroupId,MarkupGroup.Module = MarkupModuleType::CustMany SalesTable records → zero or one MarkupGroup record
CustMultiLineDiscountGroup→PriceDiscGroupJoin on
MultiLineDisc = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::CustMany SalesTable records → zero or one PriceDiscGroup record
CustPaymModeSpec→CustPaymModeSpecJoin on
PaymMode = CustPaymModeSpec.PaymMode,PaymSpec = CustPaymModeSpec.SpecificationMany SalesTable records → zero or one CustPaymModeSpec record
CustPaymModeTable→CustPaymModeTableJoin on
PaymMode = CustPaymModeTable.PaymModeMany SalesTable records → zero or one CustPaymModeTable record
CustPriceGroup→PriceDiscGroupJoin on
PriceGroupId = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::CustMany SalesTable records → zero or one PriceDiscGroup record
CustTotalDiscountGroup→PriceDiscGroupJoin on
EndDisc = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::EndDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::CustMany SalesTable records → zero or one PriceDiscGroup record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany SalesTable records → zero or one DimensionAttributeValueSet record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany SalesTable records → zero or one LogisticsPostalAddress record
DlvMode→DlvModeJoin on
DlvMode = DlvMode.CodeMany SalesTable records → zero or one DlvMode record
DlvReason→DlvReasonJoin on
DlvReason = DlvReason.CodeMany SalesTable records → zero or one DlvReason record
DlvTerm→DlvTermJoin on
DlvTerm = DlvTerm.CodeMany SalesTable records → zero or one DlvTerm record
InterCompany→DataAreaJoin on
InterCompanyCompanyId = DataArea.id,DataArea.isVirtual = nullMany SalesTable records → zero or one DataArea record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany SalesTable records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany SalesTable records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany SalesTable records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany SalesTable records → zero or one IntrastatTransportMode record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany SalesTable records → zero or one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany SalesTable records → zero or one InventSite record
InvoiceCustomer→CustTableJoin on
InvoiceAccount = CustTable.AccountNumMany SalesTable records → exactly one CustTable record
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1Many SalesTable records → exactly one LanguageTable record
MarkupGroup→MarkupGroupJoin on
MarkupGroup.Module = MarkupModuleType::Cust,MarkupGroup = MarkupGroup.GroupIdMany SalesTable records → zero or one MarkupGroup record
MCRHoldCodeTrans→MCRHoldCodeTransJoin on
SalesId = MCRHoldCodeTrans.InventRefIdMany SalesTable records → exactly one MCRHoldCodeTrans record
MCRInstallmentPlanSalesTable→MCRInstallmentPlanSalesTableJoin on
SalesId = MCRInstallmentPlanSalesTable.SalesIdMany SalesTable records → exactly one MCRInstallmentPlanSalesTable record
NumberSequenceGroup→NumberSequenceGroupJoin on
NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupIdMany SalesTable records → zero or one NumberSequenceGroup record
OrderCustomer→CustTableJoin on
CustAccount = CustTable.AccountNumMany SalesTable records → exactly one CustTable record
PaymSched→PaymSchedJoin on
PaymentSched = PaymSched.NameMany SalesTable records → zero or one PaymSched record
PaymTerm→PaymTermJoin on
Payment = PaymTerm.PaymTermIdMany SalesTable records → zero or one PaymTerm record
PdsCustRebateGroup→PdsCustRebateGroupJoin on
PdsCustRebateGroupId = PdsCustRebateGroup.PdsCustRebateGroupIdMany SalesTable records → zero or one PdsCustRebateGroup record
PdsRebateProgramTMATable→PdsRebateProgramTMATableJoin on
PdsRebateProgramTMAGroup = PdsRebateProgramTMATable.PdsRebateProgramTMAGroupMany SalesTable records → zero or one PdsRebateProgramTMATable record
PlTaxDueTable→PlTaxDueTableJoin on
TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCodeMany SalesTable records → zero or one PlTaxDueTable record
PriceDiscChangePolicyRecId1→PriceDiscChangePolicyJoin on
SystemEntryChangePolicy = PriceDiscChangePolicy.RecIdMany SalesTable records → zero or one PriceDiscChangePolicy record
PriceDiscChangePolicyRecId2→PriceDiscChangePolicyJoin on
ManualEntryChangepolicy = PriceDiscChangePolicy.RecIdMany SalesTable records → zero or one PriceDiscChangePolicy record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany SalesTable records → zero or one ProjTable record
PurchTable→PurchTableJoin on
InterCompanyOrder = null,PurchId = PurchTable.PurchIdMany SalesTable records → zero or one PurchTable record
PurchTableInterCompany→PurchTableJoin on
InterCompanyOrder = NoYes::Yes,InterCompanyCompanyId = PurchTable.dataAreaId,InterCompanyPurchId = PurchTable.PurchIdMany SalesTable records → zero or one PurchTable record
ReasonTableRef→ReasonTableRefJoin on
CreditNoteReasonCode = ReasonTableRef.RecIdMany SalesTable records → zero or one ReasonTableRef record
ReturnReasonCode→ReturnReasonCodeJoin on
ReturnReasonCodeId = ReturnReasonCode.ReasonCodeIdMany SalesTable records → zero or one ReturnReasonCode record
SalesOrigin→SalesOriginJoin on
SalesOriginId = SalesOrigin.OriginIdMany SalesTable records → zero or one SalesOrigin record
SalesPool→SalesPoolJoin on
SalesPoolId = SalesPool.SalesPoolIdMany SalesTable records → zero or one SalesPool record
SalesTable→SalesTableJoin on
ReturnReplacementId = SalesTable.SalesIdMany SalesTable records → zero or one SalesTable record
ShipCarrierPostalAddress_FK→LogisticsPostalAddressJoin on
ShipCarrierPostalAddress = LogisticsPostalAddress.RecIdMany SalesTable records → zero or one LogisticsPostalAddress record
ShipCarrierTable→ShipCarrierTableJoin on
ShipCarrierId = ShipCarrierTable.CarrierIdMany SalesTable records → zero or one ShipCarrierTable record
smmCampaignTable→smmCampaignTableJoin on
smmCampaignId = smmCampaignTable.CampaignIdMany SalesTable records → zero or one smmCampaignTable record
smmSalesUnit→smmSalesUnitJoin on
SalesUnitId = smmSalesUnit.SalesUnitIdMany SalesTable records → zero or one smmSalesUnit record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany SalesTable records → zero or one SourceDocumentHeader record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany SalesTable records → zero or one TaxGroupHeading record
TaxServiceTariff→TaxServiceTariffJoin on
RecId = TaxServiceTariff.ParentRecId,TableId = TaxServiceTariff.ParentTableIdZero or one SalesTable record → zero or one TaxServiceTariff record
TaxWithholdGroupHeadingTCS_IN→TaxWithholdGroupHeadingJoin on
TCSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroupMany SalesTable records → zero or one TaxWithholdGroupHeading record
TaxWithholdGroupHeadingTDS_IN→TaxWithholdGroupHeadingJoin on
TDSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroupMany SalesTable records → zero or one TaxWithholdGroupHeading record
TransportationDocument→TransportationDocumentJoin on
TransportationDocument = TransportationDocument.RecIdZero or one SalesTable record → zero or one TransportationDocument record
WorkerSalesResponsible_FK→HcmWorkerJoin on
WorkerSalesResponsible = HcmWorker.RecIdMany SalesTable records → zero or one HcmWorker record
WorkerSalesTaker_FK→HcmWorkerJoin on
WorkerSalesTaker = HcmWorker.RecIdMany SalesTable records → zero or one HcmWorker record
LogisticsPostalAddressBaseEntity→LogisticsPostalAddressBaseEntityJoin on
DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecIdMany SalesTable records → zero or one LogisticsPostalAddressBaseEntity record
RetailChannel→RetailChannelTableJoin on
RetailChannelTable = RetailChannelTable.RecIdMany SalesTable records → zero or one RetailChannelTable record
SATPaymMethod_MX→EInvoiceExtCodeTable_MXJoin on
SATPaymMethod_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 4Exactly one SalesTable record → exactly one EInvoiceExtCodeTable_MX record
SATPurpose_MX→EInvoiceExtCodeTable_MXJoin on
SATPurpose_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 3Exactly one SalesTable record → exactly one EInvoiceExtCodeTable_MX record
SATIncotermCode_MX→EInvoiceExtCodeTable_MXJoin on
SATIncotermCode_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 5Exactly one SalesTable record → exactly one EInvoiceExtCodeTable_MX record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
FiscalAddress_MX = LogisticsAddressCountryRegion.CountryRegionIdMany SalesTable records → zero or one LogisticsAddressCountryRegion record
SATShippingReason_MX→EInvoiceExtCodeTable_MXJoin on
SATShippingReason_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 8Exactly one SalesTable record → exactly one EInvoiceExtCodeTable_MX record
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany SalesTable records → zero or one AccountingDistributionTemplate record
ProjFundingSource→ProjFundingSourceJoin on
FundingSource = ProjFundingSource.RecIdCardinality not set in the metadata.
ASOHOrderClass→ASOHOrderClassTableJoin on
ASOHOrderClass = ASOHOrderClassTable.OrderClassMany SalesTable records → zero or one ASOHOrderClassTable record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany SalesTable records → zero or one FinTag record
RetailChannelTable→RetailChannelTableJoin on
RetailChannelTable = RetailChannelTable.RecIdMany SalesTable records → zero or one RetailChannelTable record
CustIntentLetter_IT→CustIntentLetter_ITJoin on
IntentLetterId_IT = CustIntentLetter_IT.InternalLetterIdMany SalesTable records → zero or one CustIntentLetter_IT record
TaxRegistration→TaxRegistrationJoin on
TaxId = TaxRegistration.RecIdMany SalesTable records → zero or one TaxRegistration record
EximPorts_IN→EximPorts_INJoin on
EXIMPorts_IN = EximPorts_IN.RecIdMany SalesTable records → zero or one EximPorts_IN record
ElectronicInvoiceFrameworkType→BusinessDocumentElectronicInvoiceFrameworkTableJoin on
ElectronicInvoiceFrameworkType_FR = BusinessDocumentElectronicInvoiceFrameworkTable.RecIdMany SalesTable records → zero or one BusinessDocumentElectronicInvoiceFrameworkTable record
ProjectManager→CustTableJoin on
ProjectManager_FR = CustTable.AccountNumMany SalesTable records → zero or one CustTable record
BusinessDocChorusProServiceCodeTable_FR→BusinessDocChorusProServiceCodeTable_FRJoin on
ServiceCodeRefRecId = BusinessDocChorusProServiceCodeTable_FR.RecIdCardinality not set in the metadata.
CredManTable→CredManTableJoin on
dataAreaId = CredManTable.Company,CredManId = CredManTable.CredManIdMany SalesTable records → zero or one CredManTable record
TAMDeduction→TAMDeductionJoin on
TAMDeductionID = TAMDeduction.TAMDeductionIDMany SalesTable records → zero or one TAMDeduction record
RevRecLatestReverseJournal→LedgerJournalTableJoin on
RevRecLatestReverseJournal = LedgerJournalTable.RecIdZero or one SalesTable record → zero or one LedgerJournalTable record
SubBillAddress_FK→LogisticsPostalAddressJoin on
SubBillBillToPostalAddress = LogisticsPostalAddress.RecIdMany 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.
SalesOrderHeaderV4Entity· 79 fields from this tableSalesOrderHeaderV3Entity· 86 fields from this tableReturnOrderHeaderV2Entity· 20 fields from this tableSalesOrderHeaderV2Entity· 85 fields from this tableReturnOrderHeaderEntity· 18 fields from this tableSalesOrderHeaderD365SalesEntity· 38 fields from this tableSalesOrderHeaderEntity· 71 fields from this tableSalesOrderHeaderV2ExistAddrReadOnlyEntity· 74 fields from this tableSalesOrderHeaderV3ExistAddrReadOnlyEntity· 74 fields from this tableSalesTableBiEntity· 222 fields from this tableSalesTableCDREntity· 218 fields from this tableDualWriteSalesOrderActivitiesV2Entity· 1 field from this tableRetailInfocodeLineV2Entity· 1 field from this tableReturnOrderLineV2Entity· 4 fields from this tableSalesOrderHeaderDocumentAttachmentV2Entity· 1 field from this tableSalesOrderLineCDSV2Entity· 2 fields from this tableDualWriteSalesOrderActivitiesEntity· 1 field from this tableMCRSalesOrderCustomerPaymentEntity· 3 fields from this tableRetailBuyersPushLineQuantityEntity· 1 field from this tableRetailCrossDockLineQuantityEntity· 1 field from this tableRetailInfocodeLineEntity· 1 field from this tableReturnOrderHeaderCDSEntity· 18 fields from this tableReturnOrderHeaderDocumentAttachmentEntity· 1 field from this tableReturnOrderLineCDSEntity· 2 fields from this tableReturnOrderLineEntity· 4 fields from this tableSalesOrderHeaderCDSEntity· 37 fields from this tableSalesOrderHeaderDocumentAttachmentEntity· 1 field from this tableSalesOrderLineCDSEntity· 2 fields from this tableSalesOrderLineD365SalesEntity· 1 field from this tableSalesInvoiceHeaderV4Entity· 7 fields from this tableSalesInvoiceLineV4Entity· 1 field from this tableSalesInvoiceLineV3Entity· 1 field from this tableSalesExternallyMaintainedCustomerSalesInvoiceLineV2Entity· 1 field from this tableSalesInvoiceHeaderV2Entity· 7 fields from this tableSalesInvoiceLineV2Entity· 1 field from this tableBundleSalesInvoiceBundleParentLineEntity· 1 field from this tableBundleSalesInvoiceLineEntity· 1 field from this tableReturnInvoiceHeaderCDSEntity· 7 fields from this tableReturnInvoiceLineCDSEntity· 1 field from this tableSalesExternallyMaintainedCustomerSalesInvoiceHeaderEntity· 6 fields from this tableSalesExternallyMaintainedCustomerSalesInvoiceLineEntity· 1 field from this tableSalesInvoiceHeaderEntity· 7 fields from this tableSalesInvoiceJournalHeaderEntity· 7 fields from this tableSalesInvoiceLineEntity· 1 field from this tableSalesRebateEntity· 0 fields from this tableScpHistoricalSalesDemandEntity· 0 fields from this table
Need help with SalesTable in a report, an integration or a migration? Talk to Dr Dynamics.