Table
SalesTableHistory
Archived sales order header
Archived copy of a sales order header, keyed by sales order number (SalesId). It holds the same kind of header data as a live sales order: customer, delivery, payment, tax, intercompany and country-specific details. It links to the French Chorus Pro service code table. Many fields are specific to one country or feature.
- Table name
SalesTableHistory- Module
Sales and marketing- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
SalesIdx- Replacement key
SalesIdx- Key fields
SalesId- Model
Foundation
Fields (238)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesIdSales order number that identifies the archived order. | String (20)SalesIdBase | Yes | None | |
AccountingDistributionTemplateRecord ID of the accounting distribution template. | Int64AccountingDistributionTemplateRecId | No | None | |
AddressRefRecIdRecord ID of the record that holds the address reference. It is used together with the reference table ID. | Int64AddressRefRecId | No | None | |
AddressRefTableIdID of the table that the address reference points to. | IntegerAddressRefTableId | No | None | |
ArchiveServiceJobIdGUID of the service job that archived the order. | GuidArchiveServiceJobId | No | None | |
ASOHOrderClassOrder class code.low confidence | StringASOHOrderClass | No | None | |
AutoSummaryModuleTypeSets whether summary update parameters apply at customer level or sales order level. | EnumModuleCustSales (enum) | No | None | |
BankAccount_LVPrimary bank account of the company, used for Latvia. | StringCompanyBankAccountId | No | None | |
BankCentralBankPurposeCodeCentral bank purpose code for the order. | StringBankCentralBankPurposeCode | No | None | |
BankCentralBankPurposeTextFree-text purpose that goes with the central bank purpose code. | String (210)BankCentralBankPurposeText | No | None | |
BankDocumentTypeType of bank document tied to the order, such as letter of credit, import collection or letter of guarantee. | EnumBankDocumentFacilityNatureBankDocumentType (enum) | No | None | |
CaseTaggingYes/No flag for RFID tagging of cases. | EnumRFIDCaseTaggingNoYes (enum) | No | None | |
CashDiscCode of the cash discount offered on the order. | StringCustCashDiscCode | No | None | |
CashDiscBaseDateBase date used with the payment terms. | DateCashDiscBaseDate | No | None | |
CashDiscBaseDaysNumber of base days used with the payment terms. | IntegerCashDiscBaseDays | No | None | |
CashDiscPercentDiscount percentage that applies to the order. | RealDiscPct | No | None | |
CertificateNumber_MXCertificate number of the document, used for Mexico. | String (40)CertificateNumber_MX | No | None | |
CFDITemporaryExport_MXYes/No flag for a temporary export, used for Mexico. | EnumCFDITemporaryExport_MXNoYes (enum) | No | None | |
CommissionGroupCommission group assigned to the order. | StringCommissCustomerGroup | No | None | |
CommissionType_ITWhen commission is settled, on invoice or on payment, used for Italy. | EnumCommissionType_IT (enum) | No | None | |
ConsTarget_JPYes/No flag showing whether the order is a target of consolidation, used for Japan. | EnumCustConsTarget_JPNoYes (enum) | No | None | |
ContactPersonIdID of the contact person for the order. | String (20)ContactPersonId | No | None | |
CountyOrigDestCounty of origin or destination for the goods. | String (30)AddressCountyOrigDest | No | None | |
CovStatusStatus number used for cash flow forecasts.low confidence | IntegerCovStatus | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CreditCardApprovalAmountAmount approved on the credit card, in the accounting currency. | RealAmountMST | No | None | |
CreditCardAuthorizationAuthorisation code returned for the credit card payment. | String (36)CreditCardAuthorization | No | None | |
CreditCardAuthorizationErrorYes/No flag showing whether a capture error occurred for the card payment. | EnumNoYesIdNoYes (enum) | No | None | |
CreditCardCustRefIdRecord ID of the customer card reference used for payment. | Int64RefRecId | No | None | |
CreditNoteReasonCodeRecord ID of the reason code given for a credit note. | Int64ReasonTableRefRecId | No | None | |
CredManExcludeSalesOrderYes/No flag to exclude the order from credit management. | EnumCredManExcludeNoYes (enum) | No | None | |
CredManIdID of the credit hold. | String (20)CredManId | No | None | |
CredManInCreditControlYes/No flag showing the order is in credit management. | EnumCredManUsedInCreditManagementNoYes (enum) | No | None | |
CredManRejectedYes/No flag showing the order was rejected in credit management. | EnumCredManRejectedNoYes (enum) | No | None | |
CredManReleasedFromCreditControlYes/No flag showing the order was released from credit management. | EnumCredManReleasedFromCreditControlNoYes (enum) | No | None | |
CurBankAccount_LVCompany bank code used for an additional currency, used for Latvia. | StringCompanyBankAccountId | No | None | |
CurrencyCodeCurrency code of the order. | String (3)CustCurrencyCode | Yes | None | |
CustAccountCustomer account that the order belongs to. | String (20)CustAccount | Yes | None | |
CustBankAccount_LVCustomer bank account, used for Latvia. | StringCustBankAccountId | No | None | |
CustGroupCustomer group of the customer. | StringCustGroupId | Yes | None | |
CustInvoiceIdInvoice number linked to the order. | String (20)CustInvoiceId | No | None | |
CustomerRefReference text supplied by the customer. | String (60)CustRef | No | None | |
CustomsExportOrder_INYes/No flag marking the order as an export order, used for India. | EnumNoYesIdNoYes (enum) | No | None | |
CustomsRegime_MXCustoms regimes text, used for Mexico. | String (255)CustomsRegimes_MX | No | None | |
CustomsShippingBill_INYes/No flag for a shipping bill, used for India. | EnumNoYesIdNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeadlineDeadline date for the order. | DateSalesDeadline | No | None | |
DefaultDimensionRecord ID of the default financial dimension set for the order. | Int64LedgerDefaultDimensionValueSet | No | None | |
DeliveryDateShip date of the order. | DateSalesShippingDate | No | None | |
DeliveryDateControlTypeMethod used to control the delivery date, such as sales lead time, ATP or CTP. | EnumSalesDeliveryDateControlType (enum) | No | None | |
DeliveryNameName of the delivery recipient. | String (100)LogisticsDeliveryName | No | None | |
DeliveryPostalAddressRecord ID of the postal address used for delivery. | Int64LogisticsPostalAddressRecId | No | None | |
DirectDebitMandateRecord ID of the direct debit mandate for the order. | Int64CustDirectDebitMandateRecId | No | None | |
DiscPercentTotal discount percentage for the whole order header. | RealSalesEndDiscPct | No | None | |
DlvModeMode of delivery code. | StringCustDlvModeId | No | None | |
DlvReasonCode for the reason for delivery. | StringDlvReasonId | No | None | |
DlvTermDelivery terms code. | StringCustDlvTermId | No | None | |
DocumentStatusLatest document type produced for the order, such as confirmation, packing slip or invoice. | EnumDocumentStatus (enum) | No | None | |
DOMExceptionTypeType of exception found during distributed order management processing. | EnumDOMExceptionType (enum) | No | None | |
DOMIgnoreYes/No flag; likely tells distributed order management to ignore the order.low confidence | EnumNoYes (enum) | No | None | |
DOMIterationsNumber of iterations of distributed order management processing. | IntegerDOMIterations | No | None | |
DOMProcessedDistributed order management status: not processed, successful or exception. | EnumDOMProcessStatus (enum) | No | None | |
DOMProcessedDateTimeDate and time of distributed order management processing. | UtcDateTime | No | None | |
EInvoiceAccountCodeAccount code used for electronic invoicing dimensions. | String (35)EInvoiceAccountCode | No | None | |
EInvoiceCFDIConfirmNumber_MXConfirmation number for an electronic invoice (CFDI), used for Mexico. | String (5)EInvoiceCFDIConfirmNumber_MX | No | None | |
EInvoiceLineSpecYes/No flag for line-specific electronic invoicing. | EnumEInvoiceLineSpecificNoYes (enum) | No | None | |
ElectronicInvoiceFrameworkType_FRRecord ID of the electronic invoice framework type, used for France. | Int64RefRecId | No | None | |
EmailEmail address for the order. | String (80)Email | No | None | |
EndDiscTotal discount group code. | StringCustEndDiscCode | No | None | |
EnterpriseNumberEnterprise number of the customer for tax purposes. | String (50)TaxEnterpriseNumber | No | None | |
EstimateEstimated gross amount of the order; currency not stated in the metadata. | RealSalesEstimateGross | No | None | |
EXIMPorts_INRecord ID of the export-import port, used for India. | Int64EXIMPortRecId_IN | No | None | |
ExpediteExpedite code for the order. | StringMCRExpedite | No | None | |
ExportReasonText giving the reason for export. | String (30)SalesExportReason | No | None | |
FinTagRecord ID of the financial tag. | Int64FinTagRecId | No | None | |
FiscalAddress_MXCountry or region code of the fiscal address, used for Mexico. | StringLogisticsAddressCountryRegionId | No | None | |
FiscalDocType_PLWhether an invoice or a fiscal document is printed, used for Poland. | EnumPlFiscalDocType (enum) | No | None | |
FixedDueDateFixed due date for payment. | DateSalesFixedDueDate | No | None | |
FixedExchRateFixed exchange rate set on the order. | RealSalesFixedExchRate | No | None | |
ForeignTrade_MXYes/No flag marking a foreign trade operation, used for Mexico. | EnumForeignTrade_MXNoYes (enum) | No | None | |
FreightSlipTypeCall tag type for freight, with values None or UPS. | EnumCustFreightSlipTypeFreightSlipType (enum) | No | None | |
FreightZoneUPS freight zone code. | StringCustFreightZoneId | No | None | |
FundingSourceRecord ID of the project funding source. | Int64ProjFundingSourceRefId | No | None | |
GiroTypeType of payment attachment on the customer invoice, such as FIK, BBS or a coloured slip. | EnumPaymentStubInvoiceIdPaymentStub (enum) | No | None | |
GUPDelayPricingCalculationYes/No flag to delay the price calculation. | EnumGUPDelayPriceCalculationNoYes (enum) | No | None | |
GUPSkipPricingCalculationYes/No flag to skip attribute-based pricing and use standard pricing. | EnumNoYesIdNoYes (enum) | No | None | |
InclTaxYes/No flag showing whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | None | |
IntentLetterId_ITInternal intent letter number, used for Italy. | StringIntentLetterInternalId_IT | No | None | |
InterCompanyAllowIndirectCreationYes/No flag allowing indirect creation of the intercompany order. | EnumInterCompanyAllowIndirectCreationNoYes (enum) | No | None | |
InterCompanyAllowIndirectCreationOrigOriginal value of the allow indirect creation setting for intercompany orders. | EnumInterCompanyAllowIndirectCreationNoYes (enum) | No | None | |
InterCompanyAutoCreateOrdersYes/No flag for creating intercompany orders automatically. | EnumInterCompanyAutoCreateOrdersNoYes (enum) | No | None | |
InterCompanyCompanyIdCompany ID of the intercompany partner. | StringInterCompanyCompanyId | No | None | |
InterCompanyDirectDeliveryYes/No flag for direct delivery on an intercompany order. | EnumInterCompanyDirectDeliveryNoYes (enum) | No | None | |
InterCompanyDirectDeliveryOrigOriginal value of the direct delivery setting for intercompany orders. | EnumInterCompanyDirectDeliveryNoYes (enum) | No | None | |
InterCompanyOrderYes/No flag showing whether this is an intercompany order. | EnumInterCompanyCustomerNoYes (enum) | No | None | |
InterCompanyOriginShows whether the intercompany order is the source or was derived. | EnumInterCompanyOrigin (enum) | No | None | |
InterCompanyOriginalCustAccountCustomer account on the original intercompany order. | String (20)InterCompanyOriginalCustAccount | No | None | |
InterCompanyOriginalSalesIdSales order number of the original intercompany order. | String (20)InterCompanyOriginalSalesId | No | None | |
InterCompanyPurchIdPurchase order number linked through intercompany. | String (20)InterCompanyPurchId | No | None | |
IntrastatAddValue_LVAdditional value for Intrastat reporting, used for Latvia. | RealLvIntrastatAddValue | No | None | |
IntrastatFulfillmentDate_HUFulfilment date for Intrastat reporting, used for Hungary. | DateIntrastatFulfillmentDate_HU | No | None | |
InventLocationIdWarehouse for the order. | StringSalesInventLocationId | No | None | |
InventSiteIdSite for the order. | StringInventSiteId | No | None | |
InvoiceAccountCustomer account that receives the invoice. | String (20)CustInvoiceAccount | Yes | None | |
InvoiceAutoNumbering_LTYes/No flag for automatic invoice numbering, used for Lithuania. | EnumLtInvoiceAutoNumberingNoYes (enum) | No | None | |
InvoiceRegister_LTYes/No flag for automatic invoice numbering, used for Lithuania. | EnumLtInvoiceAutoNumberingNoYes (enum) | No | None | |
InvoiceType_WInvoice type: tax invoice or simplified invoice. | EnumInvoiceType_W (enum) | No | None | |
ItemTaggingYes/No flag for RFID tagging of items. | EnumRFIDItemTaggingNoYes (enum) | No | None | |
LanguageIdLanguage code used for the order. | String (7)CustLanguageId | Yes | None | |
LineDiscLine discount group applied to the order lines. | StringCustLineDiscCode | No | None | |
ListcodeList code for EU trade reporting, such as EU trade or triangular trade. | EnumListcodeIdListcode (enum) | No | None | |
ManualEntryChangepolicyPlaceholder value linked to the price and discount policy for manual entries.low confidence | Int64PriceDiscPolicyManual | No | None | |
MarkupGroupCharges group code for the order. | StringCustMarkupGroupId | No | None | |
MatchingAgreementRecord ID of the agreement header linked to the order. | Int64AgreementHeaderRecId | No | None | |
MCROrderStoppedYes/No flag telling the system not to process the order. | EnumMCROrderStoppedNoYes (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
MpsExcludeSalesOrderYes/No flag to exclude the order from master planning. | EnumMpsExcludeSalesOrderNoYes (enum) | No | None | |
MPSFullRunCTPStatusBatch CTP status: ready or not ready. | EnumMPSFullRunCTPStatus (enum) | No | None | |
MultiLineDiscMultiline discount group code. | StringCustMultiLineDiscCode | No | None | |
NatureOfAssessee_INType of taxpayer, such as company, firm or individual, used for India. | EnumNatureOfAssessee_IN (enum) | No | None | |
NumberSequenceGroupNumber sequence group used for the order. | StringNumberSequenceGroupId | No | None | |
NumRegIdTrib_MXTax registration number of the country of residence, used for Mexico. | String (40)NumRegIdTrib_MX | No | None | |
OneTimeCustomerYes/No flag showing whether the customer is a one-time customer. | EnumOneTimeCustomerNoYes (enum) | No | None | |
OverrideSalesTaxYes/No flag to override the sales tax determination on the order. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | None | |
PackedExtensionsPacked container that stores extension data for the record.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
PackingSlipAutoNumbering_LTYes/No flag for automatic packing slip numbering, used for Lithuania. | EnumLtPackingSlipAutoNumberingNoYes (enum) | No | None | |
PackingSlipRegister_LTYes/No flag for automatic packing slip numbering, used for Lithuania. | EnumLtPackingSlipAutoNumberingNoYes (enum) | No | None | |
PalletTaggingYes/No flag for RFID tagging of pallets. | EnumRFIDPalletTaggingNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentPayment terms code. | String (100)CustPaymTermId | No | None | |
PaymentSchedPayment schedule code. | String (30)PaymSchedId | No | None | |
PaymModeMethod of payment code. | StringCustPaymMode | No | None | |
PaymSpecPayment specification code. | StringCustPaymSpec | No | None | |
PdsBatchAttribAutoResYes/No flag for automatic batch reservation based on batch attributes. | EnumPdsBatchAttribAutoResNoYes (enum) | No | None | |
PdsCustRebateGroupIdCustomer rebate group ID. | String (20)PdsCustRebateGroupId | No | None | |
PdsRebateProgramTMAGroupCustomer trade management agreement group for rebate programmes. | StringPdsRebateProgramTMAGroup | No | None | |
PhoneTelephone number for the order. | String (20)Phone | No | None | |
PortPort code for Intrastat reporting. | StringIntrastatPortId | No | None | |
PostingProfileCustomer posting profile code. | StringCustPostingProfile | No | None | |
PriceGroupIdCustomer price group code. | StringCustPriceGroup | No | None | |
PrintDynamicQRCode_INYes/No flag to print a dynamic QR code on the invoice, used for India. | EnumPrintDynamicQRCode_INNoYes (enum) | No | None | |
ProjectManager_FRAccount of the project manager, used for France. | String (20)CustAccount | No | None | |
ProjIdProject ID linked to the order. | String (20)ProjId | No | None | |
PurchIdPurchase order number linked to the order. | String (20)PurchId | No | None | |
PurchOrderFormNumCustomer requisition or purchase order number. | String (20)CustPurchaseOrder | No | None | |
QuotationIdQuotation number that the order came from. | String (20)QuotationId | No | None | |
ReceiptDateConfirmedConfirmed date for receipt of the goods. | DateSalesReceiptDateConfirmed | No | None | |
ReceiptDateRequestedRequested date for receipt of the goods. | DateSalesReceiptDateRequested | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReleaseStatusWarehouse release status of the order: open, partially released or released. | EnumWHSReleaseStatus (enum) | No | None | |
RentalDocumentTableRecord ID of a rental document reference.low confidence | Int64RefRecId | No | None | |
RentalInvoiceScheduleTableRecord ID of a rental invoice schedule reference.low confidence | Int64RefRecId | No | None | |
RentalItemRecord ID of a rental item reference.low confidence | Int64RefRecId | No | None | |
RentalJobSiteRecord ID of a rental job site reference.low confidence | Int64RefRecId | No | None | |
RentalLoadRecord ID of a rental load reference.low confidence | Int64RefRecId | No | None | |
RentalNoticeToOwnerRecord ID of a rental notice to owner reference.low confidence | Int64RefRecId | No | None | |
RentalPickupRentalLocationIdID of the rental pickup location. | String (100) | No | None | |
RentalShipToRental ship-to type: none, address, job site or pickup fleet location. | EnumRentalShipTo (enum) | No | None | |
ReportingCurrencyFixedExchRateExchange rate used for the reporting currency. | RealCustExchRate | No | None | |
ReservationReservation mode of the order: manual, automatic or explosion. | EnumItemReservation (enum) | No | None | |
RetailChannelTableRecord ID of the retail channel for the order. | Int64RetailChannelRecId | No | None | |
ReturnDeadlineDeadline date for a return. | DateReturnDeadline | No | None | |
ReturnItemNumReturn merchandise authorisation (RMA) number. | StringSalesReturnItemNum | No | None | |
ReturnReasonCodeIdCode for the reason for the return. | StringReturnReasonCodeId | No | None | |
ReturnReplacementCreatedYes/No flag showing whether an up-front replacement was created. | EnumReturnReplacementCreatedNoYes (enum) | No | None | |
ReturnReplacementIdSales order number of the replacement for a return. | String (20)ReturnReplacementId | No | None | |
ReturnStatusStatus of the return: none, created, open, cancelled or closed. | EnumReturnStatusHeader (enum) | No | None | |
RevRecContractEndDateEnd date of the revenue contract. | DateTransDate | No | None | |
RevRecContractStartDateStart date of the revenue contract. | DateRevRecContractStartDate | No | None | |
RevRecFollowOriginalPricingMethodYes/No flag to apply the residual method for revenue recognition. | EnumNoYesIdNoYes (enum) | No | None | |
RevRecLatestReverseJournalRecord ID of the latest reversal journal for revenue recognition. | Int64RefRecId | No | None | |
RevRecMultipleSOReallocationYes/No flag for reallocation across multiple sales orders in revenue recognition. | EnumRevRecMultipleSOReallocationNoYes (enum) | No | None | |
RevRecReallocationIdID of the revenue reallocation. | String (20)RevRecReallocationId | No | None | |
SalesGroupSales group code, used for commission. | StringCommissSalesGroup | No | None | |
SalesNameName of the customer on the order. | String (60)SalesName | No | None | |
SalesOriginIdCode showing where the sales order originated. | StringSalesOriginId | No | None | |
SalesPoolIdSales pool code. | StringSalesPoolId | No | None | |
SalesStatusOrder status: none, open order, delivered, invoiced or cancelled. | EnumSalesStatus (enum) | No | None | |
SalesTypeType of sales order, such as sales order, returned order, journal or subscription. | EnumSalesType (enum) | No | None | |
SalesUnitIdID of the sales unit. | String (20)smmSalesUnitId | No | None | |
SATIncotermCode_MXIncoterm code from the tax authority classification, used for Mexico. | StringSATIncoterm_MX | No | None | |
SATPaymMethod_MXPayment type code from the tax authority classification, used for Mexico. | StringSATPaymMethod_MX | No | None | |
SATPurpose_MXPurpose code from the tax authority classification, used for Mexico. | StringSATPurpose_MX | No | None | |
SATShippingReason_MXShipping reason code from the tax authority classification, used for Mexico. | StringSATShippingReason_MX | No | None | |
ServiceCode_FRService code of the invoice account, used for France. | String (100)BusinessDocInvoiceAccountServiceCode_FR | No | None | |
ServiceCodeRefRecIdPoints to a Chorus Pro service code record. | Int64BusinessDocChorusProServiceCodeRefRecId | No | BusinessDocChorusProServiceCodeTable_FR.RecId | None |
SettleVoucherSettlement type: none, open transactions or designated transactions. | EnumSalesSettlementTypeSettlementType (enum) | No | None | |
ShipCarrierAccountCustomer's account number with the carrier. | String (25)ShipCarrierAccount | No | None | |
ShipCarrierAccountCodeAccount code used with the carrier. | String (20)ShipCarrierAccountCode | No | None | |
ShipCarrierBlindShipmentYes/No flag for a blind shipment. | EnumShipCarrierBlindShipmentNoYes (enum) | No | None | |
ShipCarrierDeliveryContactName of the delivery contact for the carrier. | String (60)Name | No | None | |
ShipCarrierDlvTypeCarrier service type: miscellaneous, ground, air or pickup. | EnumShipCarrierDlvType (enum) | No | None | |
ShipCarrierExpeditedShipmentYes/No flag for an expedited shipment. | EnumShipCarrierExpeditedShipmentNoYes (enum) | No | None | |
ShipCarrierFuelSurchargeYes/No flag for charging a fuel surcharge. | EnumShipCarrierFuelSurchargeNoYes (enum) | No | None | |
ShipCarrierIdID of the carrier. | StringShipCarrierId | No | None | |
ShipCarrierNameName of the third-party carrier. | String (100)LogisticsShipCarrierName | No | None | |
ShipCarrierPostalAddressRecord ID of the carrier's postal address. | Int64LogisticsPostalAddressRecId | No | None | |
ShipCarrierResidentialYes/No flag for a residential delivery destination. | EnumShipCarrierResidentialDestNoYes (enum) | No | None | |
ShippingDateConfirmedConfirmed ship date. | DateSalesShippingDateConfirmed | No | None | |
ShippingDateRequestedRequested ship date. | DateSalesShippingDateRequested | Yes | None | |
SkipCreateMarkupYes/No flag to skip creating charges. | EnumMarkupSkipCreateMarkupNoYes (enum) | No | None | |
SkipLineUpdateYes/No flag; its purpose is not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
SkipUpdateControls whether intercompany updates are skipped: no, internal, intercompany or both. | EnumInterCompanySkipUpdate (enum) | No | None | |
smmCampaignIdID of the campaign linked to the order. | StringsmmCampaignId | No | None | |
smmSalesAmountTotalTotal amount of the order; currency not stated in the metadata. | RealsmmSalesAmountTotal | No | None | |
SourceCertificate_MXYes/No flag for a source certificate, used for Mexico. | EnumSourceCertificate_MXNoYes (enum) | No | None | |
SourceDocumentHeaderRecord ID of the source document header. | Int64RefRecId | No | None | |
StatProcIdStatistics procedure code for Intrastat. | StringIntrastatProcId | No | None | |
SubBillBillToNameBill-to name for subscription billing. | String (100)LogisticsDeliveryName | No | None | |
SubBillBillToPostalAddressRecord ID of the bill-to postal address for subscription billing. | Int64RefRecId | No | None | |
SubBillCreatedFromSBYes/No flag showing the order was created by subscription billing. | EnumSubBillCreatedFromSBNoYes (enum) | No | None | |
SubBillSuppressChildItemsYes/No flag to hide child items when printing. | EnumSubBillSuppressChildItemsNoYes (enum) | No | None | |
SystemEntryChangePolicyPlaceholder value linked to the price and discount policy for system entries.low confidence | Int64PriceDiscPolicySystem | No | None | |
SystemEntrySourcePlaceholder value showing the source of system-entered price and discount data.low confidence | EnumPriceDiscSystemSource (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TAMDeductionIDDeduction ID.low confidence | String (20)TAMDeductionID | No | None | |
TAMRebateReferenceRebate reference text.low confidence | String (60)TAMRebateReference | No | None | |
TaxGroupSales tax group of the order. | StringTaxGroup | No | None | |
TaxIdRecord ID of the tax registration number. | Int64TaxRegistrationRecId | No | None | |
TaxPeriodPaymentCode_PLVAT report date code, used for Poland. | StringPlTaxPeriodPaymentCode | No | None | |
TCSGroup_INWithholding tax group for tax collected at source, used for India. | StringTaxWithholdGroup | No | None | |
TDSGroup_INWithholding tax group for tax deducted at source, used for India. | StringTaxWithholdGroup | No | None | |
TouchedYes/No flag showing whether the order was updated.low confidence | EnumTradeTouchedNoYes (enum) | No | None | |
TransactionCodeTransaction code for Intrastat reporting. | StringIntrastatTransactionCodeId | No | None | |
TransportTransport mode code for Intrastat reporting. | StringIntrastatTransport | No | None | |
TransportationDocumentRecord ID of the transportation details. | Int64TransportationDocumentRecId | No | None | |
UnitedVATInvoice_LTYes/No flag for a united VAT invoice, used for Lithuania. | EnumUnitedVATInvoice_LTNoYes (enum) | No | None | |
URLInternet address for the order. | String (255)URL | No | None | |
VATNumTax exempt number of the customer. | String (20)VATNumJournal | No | None | |
VATNumRecIdRecord ID of the tax exempt number. | Int64RefRecId | No | None | |
VATNumTableTypeShows where the tax exempt number comes from: none, tax registration or VAT number table. | EnumTaxExemptNumberSourceType (enum) | No | None | |
WorkerSalesResponsibleRecord ID of the worker responsible for the sale. | Int64WorkerSalesResponsible | No | None | |
WorkerSalesTakerRecord ID of the worker who took the order. | Int64SalesTaker | No | None |
Indexes (1)
SalesIdxPrimary indexReplacement keyUnique, alternate key.
Relations (1)
Each relation joins SalesTableHistory to another table on the fields shown.
BusinessDocChorusProServiceCodeTable_FR→BusinessDocChorusProServiceCodeTable_FRJoin on
ServiceCodeRefRecId = BusinessDocChorusProServiceCodeTable_FR.RecIdCardinality not set in the metadata.
Get this data out
No public entity reads from SalesTableHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with SalesTableHistory in a report, an integration or a migration? Talk to Dr Dynamics.