Table

SalesLineHistory

Archived sales order line

Holds archived sales order lines. Each row is one line of an archived order and links to the archived order header through SalesId. It also links to inventory dimensions through InventDimId. No key is defined in the metadata.

Table name
SalesLineHistory
Module
Sales and marketing
Table group
TransactionLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (260)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDistributionTemplateRecord ID of the accounting distribution template.Int64
AccountingDistributionTemplateRecId
NoNone
ActivityNumberProject activity number linked to the line.String (50)
ProjActivityNumber
NoNone
AddressRefRecIdSystem record ID of a related address record.low confidenceInt64
AddressRefRecId
NoNone
AddressRefTableIdID of the table that the address reference points to.low confidenceInteger
AddressRefTableId
NoNone
AgreementSkipAutoLinkYes/no flag that turns off automatic linking of the line to an agreement.Enum
AgreementSkipAutoLink
NoYes (enum)
NoNone
AssetId_RUFixed asset inventory number; used for Russia.String (20)
RAssetIdOpen
NoNone
AutoCreateInterCompanyOrdersYes/no flag for automatic creation of intercompany orders.Enum
NoYes (enum)
NoNone
BarCodeBar code value for the item on the line.String (80)
SalesBarCode
NoNone
BarCodeTypeBar code setup ID that defines the type of bar code.String
BarcodeSetupId
NoNone
BlockedYes/no flag showing that the line is stopped.Enum
LineStopped
NoYes (enum)
NoNone
BundleLineStatusStatus of the bundle line: open, delivered, invoiced or cancelled.Enum
BundleLineStatus (enum)
NoNone
BundleLineTypeRole of the line in a bundle: parent, nested parent or component.Enum
BundleLineType (enum)
NoNone
CaseTaggingYes/no flag for RFID tagging at case level.Enum
RFIDCaseTagging
NoYes (enum)
NoNone
CompleteYes/no flag that stops the line from being delivered in parts.Enum
LineComplete
NoYes (enum)
NoNone
ConfirmedDlvShip date held on the line.Date
SalesShippingDate
NoNone
Consignment_MXYes/no flag for a consignment shipment; used for Mexico.Enum
Consignment_MX
NoYes (enum)
NoNone
CostPriceCost price used for a returned item.Real
ReturnCostPrice
NoNone
CountryRegionName_RUName of the country or region in the address; used for Russia.String (60)
AddressCountryRegionName
NoNone
CountyOrigDestCounty of origin or destination, used for statistics.String (30)
AddressCountyOrigDest
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedByParmId_ITPayment ID that created the line; used for Italy.low confidenceString (200)
PaymId
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreditNoteInternalRef_PLInternal reference for a credit note; used for Poland.low confidenceInt64
CreditNoteInternalRef_W
NoNone
CreditNoteReasonCodeRecord ID pointing to a reason code for a credit note.Int64
ReasonTableRefRecId
NoNone
CurrencyCodeCurrency code of the customer for this line.String (3)
CustCurrencyCode
YesNone
CustAccountCustomer account that the line belongs to.String (20)
CustAccount
YesNone
CustGroupCustomer group ID.String
CustGroupId
YesNone
CustomerLineNumLine number supplied by the customer.Integer
CustLineNum
NoNone
CustomerRefCustomer's own reference for the line.String (60)
CustRefLine
NoNone
CustomsDocDate_MXDate of the customs document; used for Mexico.Date
CustomsDocDate_MX
NoNone
CustomsDocNumber_MXNumber of the customs document; used for Mexico.String (21)
CustomsDocNumber_MX
NoNone
CustomsDocumentType_MXCustoms document type code; used for Mexico.String
DocumentType_MX
NoNone
CustomsMaterialType_MXCustoms material type code; used for Mexico.String
CustomsMaterialType_MX
NoNone
CustomsName_MXName of the customs office; used for Mexico.String (60)
CustomsName_MX
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionRecord ID of the set of financial dimension values on the line.Int64
InventSiteLinkedDimensionValueSet
NoNone
DeliveryDateControlTypeMethod used to control the delivery date, such as sales lead time, ATP, CTP or Batch CTP.Enum
SalesDeliveryDateControlType (enum)
NoNone
DeliveryNameName of the delivery recipient.String (100)
LogisticsDeliveryName
NoNone
DeliveryPostalAddressRecord ID of the postal address used for delivery.Int64
LogisticsPostalAddressRecId
NoNone
DeliveryTaxGroup_BRSales tax group for delivery; used for Brazil.String
TaxGroup
NoNone
DeliveryTaxItemGroup_BRItem sales tax group for delivery; used for Brazil.String
TaxItemGroup
NoNone
DeliveryTypeShows whether the line is delivered from stock or by direct delivery.Enum
TradeLineDlvTypeId
TradeLineDlvType (enum)
NoNone
DlvModeCode of the delivery mode.String
DlvModeId
NoNone
DlvTermCode of the delivery terms.String
SalesDlvTermId
NoNone
DOMExceptionTypeType of exception found in distributed order management, such as no quantity available.Enum
DOMExceptionType (enum)
NoNone
DOMIgnoreYes/no flag to ignore the line in distributed order management.Enum
NoYes (enum)
NoNone
DOMIterationsNumber of times the line went through distributed order management.Integer
DOMIterations
NoNone
DOMProcessedDistributed order management processing status: not processed, successful or exception.Enum
DOMProcessStatus (enum)
NoNone
DOMProcessedDateTimeDate and time the line was processed by distributed order management.UtcDateTimeNoNone
DOMRecVersionVersion number of the record for distributed order management.low confidenceInteger
RecVersion
NoNone
EInvoiceAccountCodeAccount code used for electronic invoicing.String (35)
EInvoiceAccountCode
NoNone
EstablishmentRecord ID of the establishment within the legal entity.Int64
EstablishmentRefRecId
NoNone
EximPorts_INRecord ID of the export-import port; used for India.Int64
EXIMPortRecId_IN
NoNone
EximProductGroup_INRecord ID of the export-import product group; used for India.Int64
RefRecId
NoNone
ExpectedRetQtyQuantity expected to come back on a return.Real
ReturnExpectedRetQty
NoNone
ExpediteExpedite code for the line.low confidenceString
MCRExpedite
NoNone
ExternalItemIdItem number used by the customer or an external party.String (20)
SalesExternalItemId
NoNone
FinTagRecord ID of the financial tag.Int64
FinTagRecId
NoNone
GoodsForFree_ITYes/no flag for goods supplied free of charge; used for Italy.Enum
NoYes (enum)
NoNone
GUPFreeItemLineRecIdRecord ID of the free item line linked to this line.low confidenceInt64
RecId
NoNone
IdentifierCustomsDocument_MXIdentifier of the customs document; used for Mexico.String (150)
IdentifierCustomDocument_MX
NoNone
InterCompanyInventTransIdLot ID of the matching line in an intercompany order.String (20)
InventRefTransId
NoNone
InterCompanyOriginShows whether the intercompany order is the source or derived from another one.Enum
InterCompanyOrigin (enum)
NoNone
IntrastatCommodityRecord ID of the commodity code for Intrastat.Int64
IntrastatCommodityId
NoNone
IntrastatFulfillmentDate_HUIntrastat fulfilment date; used for Hungary.Date
IntrastatFulfillmentDate_HU
NoNone
InventDeliverNowQuantity to deliver now, in inventory units.Real
InventQty
NoNone
InventDimIdInventory dimension number, such as site, warehouse or variant, linked to InventDim.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventoryServiceAdjustmentOffsetDatasourceInventory Visibility data source used for the offset.String (50)
InventInventoryServiceAdjustmentOffsetDataSource
NoNone
InventoryServiceAdjustmentOffsetPhysicalMeasureInventory Visibility physical measure used for the offset.String (50)
InventInventoryServiceAdjustmentOffsetPhysicalMeasure
NoNone
InventoryServiceAutoOffsetYes/no flag for automatic offset in the inventory service.low confidenceEnum
NoYes (enum)
NoNone
InventoryServiceReservationIdID of the reservation in the inventory service.String (50)
InventInventoryServiceReservationId
NoNone
InventRefIdNumber of the document that the line refers to.String (20)
InventRefId
NoNone
InventRefTransIdLot ID of the referenced inventory transaction.String (20)
InventRefTransId
NoNone
InventRefTypeType of document referred to, such as sales order, purchase order or production.Enum
InventRefType (enum)
NoNone
InventTransIdLot ID that identifies the inventory transaction of the line.String (20)
TradeInventTransId
NoNone
InventTransIdReturnLot ID of the original transaction in a return.String (20)
TradeInventTransIdReturn
NoNone
InvoiceGTDId_RUCustoms declaration (GTD) number; used for Russia.String (30)
CustFreeInvoiceGTDId_RU
NoNone
IsFreeItemLineYes/no flag showing the line is a free item line.Enum
NoYesId
NoYes (enum)
NoNone
IsSoftReservedExternallyYes/no flag showing the line is soft reserved by an external system.Enum
NoYes (enum)
NoNone
ItemBOMIdID of the bill of materials for the item.String (20)
ItemBOMId
NoNone
ItemIdItem number sold on the line.String (20)
ItemIdSmall
NoNone
ItemReplacedYes/no flag showing that the returned item is replaced.Enum
ReturnItemReplaced
NoYes (enum)
NoNone
ItemRouteIdID of the route for the item.String (20)
ItemRouteId
NoNone
ItemTaggingYes/no flag for RFID tagging at item level.Enum
RFIDItemTagging
NoYes (enum)
NoNone
KittingSkipUpdateHelperYes/no flag to skip an update in kitting.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
LedgerDimensionRecord ID of the main account and dimensions for the line.Int64
LedgerDimensionDefaultAccount
NoNone
LineAmountNet amount of the line.Real
SalesLineAmount
NoNone
LineCreationSequenceNumberSequence number showing the order in which lines were created.Integer
SalesLineCreationSequenceNumber
NoNone
LineDeliveryTypeShows whether the line has a single delivery, multiple deliveries, or is a delivery line.Enum
LineDeliveryType (enum)
NoNone
LineDiscDiscount amount on the line.Real
SalesLineDisc
NoNone
LineHeaderHeading text for the line.String (80)
LineHeader
NoNone
LineNumNumber of the line within the order.Real
LineNum
NoNone
LinePercentDiscount as a percentage on the line.Real
SalesLinePercent
NoNone
ManualEntryChangepolicyPlaceholder value related to manually entered price and discount policy changes.low confidenceInt64
PriceDiscPolicyManual
NoNone
MatchingAgreementLineRecord ID of the agreement line matched to this line.Int64
AgreementLineRecId
NoNone
MaterialDescription_MXDescription of the material; used for Mexico.String (50)
MaterialDescription_MX
NoNone
McrMarginPercentMargin percentage on the line.Real
McrMarginPercent
NoNone
McrMarginUpdatedYes/no flag showing the margin was updated.Enum
McrMarginUpdated
NoYes (enum)
NoNone
MCROrderLine2PriceHistoryRefRecord ID that points to a price history record.low confidenceInt64
RefRecId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
MpsExcludeSalesLineYes/no flag to leave the line out of master planning.Enum
MpsExcludeSalesLine
NoYes (enum)
NoNone
MPSFullRunCTPStatusShows whether Batch CTP dates are ready or not ready.Enum
MPSFullRunCTPStatus (enum)
NoNone
MultiLnDiscMultiline discount amount.Real
SalesMultiLnDisc
NoNone
MultiLnPercentMultiline discount as a percentage.Real
SalesMultiLnPercent
NoNone
NameFree text description of the line.String (1000)
ItemFreeTxt
NoNone
OrderLineReference_NOOrder line reference; used for Norway.String (30)
OrderLineReference_NO
NoNone
OrigCountryRegionIdCountry or region of origin of the item.String
ItemOrigCountryRegionId
NoNone
OrigStateIdState of origin of the item.String
ItemOrigStateId
NoNone
OverDeliveryPctPercentage by which delivery may exceed the ordered quantity.Real
SalesOverDeliveryPct
NoNone
OverrideSalesTaxYes/no flag to override the standard sales tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoNone
PackedExtensionsContainer that stores packed extension data.low confidenceContainer
SysExtensionSerializerPackedContainer
NoNone
PackingUnitPacking unit code.String
InventPackingUnit
NoNone
PackingUnitQtyQuantity in the packing unit.Real
InventPackingUnitQty
NoNone
PalletTaggingYes/no flag for RFID tagging at pallet level.Enum
RFIDPalletTagging
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsBatchAttribAutoResYes/no flag for automatic batch reservation based on batch attributes.Enum
PdsBatchAttribAutoRes
NoYes (enum)
NoNone
PdsCWExpectedRetQtyExpected return quantity for catch weight items.Real
PdsCWExpectedRetQty
NoNone
PdsCWInventDeliverNowCatch weight quantity to deliver now.Real
PdsCWInventQty
NoNone
PdsCWQtyCatch weight quantity on the line.Real
PdsCWInventQty
NoNone
PdsCWRemainInventFinancialCatch weight quantity still to be invoiced.Real
PdsCWInventQty
NoNone
PdsCWRemainInventPhysicalCatch weight quantity still to be delivered.Real
PdsCWInventQty
NoNone
PdsExcludeFromRebateYes/no flag to leave the line out of rebates.Enum
PdsExcludeFromRebate
NoYes (enum)
NoNone
PdsItemRebateGroupIdItem rebate group code.String
PdsItemRebateGroupId
NoNone
PdsSameLotYes/no flag that requires selection from the same batch.Enum
PdsSameLot
NoYes (enum)
NoNone
PdsSameLotOverrideYes/no flag showing the user overrode the same-batch selection.Enum
PdsSameLotOverride
NoYes (enum)
NoNone
PlanningPriorityNumber showing how important the demand is in planning.Real
ReqPlanningPriority
NoNone
PortPort code used for Intrastat reporting.String
IntrastatPortId
NoNone
PostingProfile_RUCustomer posting profile; used for Russia.String
CustPostingProfile
NoNone
PrepaymentRecId_ITRecord ID of a related prepayment; used for Italy.low confidenceInt64
RefRecId
NoNone
PriceAgreementDate_RUDate of the price agreement; used for Russia.Date
PriceAgreementDate_RU
NoNone
PriceUnitNumber of units that the unit price applies to.Real
PriceUnit
NoNone
ProjCategoryIdProject category ID.String (30)
ProjCategoryId
NoNone
ProjFundingSourceRecord ID of the project funding source.Int64
ProjFundingSourceRefId
NoNone
ProjIdProject ID linked to the line.String (20)
ProjId
NoNone
ProjLinePropertyIdProject line property code.String
ProjLinePropertyId
NoNone
ProjTransIdProject transaction ID for the item.String (20)
ProjItemTransId
NoNone
PropertyNumber_MXProperty number; used for Mexico.String (20)
PropertyNumber_MX
NoNone
PSAContractLineNumBilling rule reference on the line.low confidenceString (30)
String30
NoNone
PSAProjProposalInventQtyQuantity in inventory units on a project invoice proposal.Real
Qty
NoNone
PSAProjProposalQtyQuantity on a project invoice proposal.Real
Qty
NoNone
PurchorderFormNumCustomer's requisition or purchase order number.String (20)
CustPurchaseOrder
NoNone
QtyOrderedOrdered quantity in inventory units.Real
InventQty
NoNone
QuantityErrorCorrectionMethodsContainer with data on quantity error correction; purpose not clear from the metadata.low confidenceContainerNoNone
ReceiptDateConfirmedReceipt date confirmed for the customer.Date
SalesReceiptDateConfirmed
NoNone
ReceiptDateRequestedReceipt date asked for by the customer.Date
SalesReceiptDateRequested
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefReturnInvoiceTrans_WRecord ID of the invoice line being returned.Int64
RefReturnInvoiceTrans_W
NoNone
RemainInventFinancialQuantity still to be invoiced, in inventory units.Real
InventQty
NoNone
RemainInventPhysicalQuantity still to be delivered, in inventory units.Real
InventQty
NoNone
RemainSalesFinancialQuantity still to be invoiced, in sales units.Real
SalesQty
NoNone
RemainSalesPhysicalQuantity still to be delivered, in sales units.Real
SalesQty
NoNone
RentalAttachToLineNumberLine number of the line that this rental line is attached to.Real
LineNum
NoNone
RentalCreditNoteInvoiceIdNumber of the credit note invoice for the rental.String (20)
Num
NoNone
RentalInvoiceScheduleLineRecord ID of the rental invoice schedule line.Int64
RefRecId
NoNone
RentalItemRecord ID of the rental item.Int64
RefRecId
NoNone
RentalJobSiteRecord ID of the rental job site.Int64
RefRecId
NoNone
RentalOverAllowanceRental over-allowance value.low confidenceReal
RealBase
NoNone
RentalPickupRentalLocationIdID of the rental location for pickup.String (100)NoNone
RentalShipToWhere the rental goes: address, job site or pickup fleet location.Enum
RentalShipTo (enum)
NoNone
ReservationReservation method for the line: manual, automatic or explosion.Enum
ItemReservation (enum)
NoNone
RetailBlockQtyQuantity blocked for retail.low confidenceReal
RetailBlockQty
NoNone
RetailVariantIdProduct variant number.String
RetailVariantId
NoNone
ReturnAllowReservationYes/no flag allowing reservation on a return line.Enum
ReturnAllowReservation
NoYes (enum)
NoNone
ReturnArrivalDateDate the returned goods actually arrived.Date
ReturnArrivalDate
NoNone
ReturnClosedDateDate the return was closed.Date
ReturnClosedDate
NoNone
ReturnDeadlineExpected arrival date of the return.Date
ReturnDeadline
NoNone
ReturnDispositionCodeIdDisposition code that says what to do with returned goods.String
ReturnDispositionCodeId
NoNone
ReturnStatusStatus of the return line, such as expected, received or invoiced.Enum
ReturnStatusLine (enum)
NoNone
RevRecBundleYes/no flag showing the line is a bundle for revenue recognition.Enum
RevRecBundle
NoYes (enum)
NoNone
RevRecBundleLineDiscDiscount amount on the bundle line.Real
SalesLineDisc
NoNone
RevRecBundleLinePercentDiscount percentage on the bundle line.Real
SalesLinePercent
NoNone
RevRecBundleMainParentLot ID of the main parent bundle line.String (20)
InventTransId
NoNone
RevRecBundleNetAmountNet amount of the bundle.Real
RevRecBundleNetAmount
NoNone
RevRecBundleParentLot ID of the parent bundle line.String (20)
InventTransId
NoNone
RevRecBundleQtyOrdered quantity of the bundle.Real
RevRecBundleQty
NoNone
RevRecBundleQtyOrderedOrdered quantity of the bundle line in inventory units.Real
InventQty
NoNone
RevRecBundleRatioShare that the line contributes to the bundle.Real
ContributionRatio
NoNone
RevRecBundleRemainInventPhysicalBundle quantity still to be delivered, in inventory units.Real
InventQty
NoNone
RevRecBundleRemainSalesPhysicalBundle quantity still to be delivered, in sales units.Real
SalesQty
NoNone
RevRecBundleSalesPriceUnit price of the bundle line.Real
SalesPrice
NoNone
RevRecBundleSalesStatusStatus of the bundle line: open, delivered, invoiced or cancelled.Enum
SalesStatus (enum)
NoNone
RevRecContractEndDateEnd date of the contract.Date
TransDate
NoNone
RevRecContractStartDateStart date of the contract.Date
RevRecContractStartDate
NoNone
RevRecIsBundleComponentYes/no flag showing the line is a bundle component for revenue recognition.Enum
RevRecBundleComponent
NoYes (enum)
NoNone
RevRecOccurrencesNumber of periods or occurrences for revenue recognition.Integer
RevRecPeriodNumber
NoNone
RevRecRevenueScheduleIDID of the revenue schedule.String
RevRecRevenueScheduleID
NoNone
SalesCategoryRecord ID of the sales category.Int64
SalesCategory
NoNone
SalesDeliverNowQuantity to deliver now, in sales units.Real
SalesQty
NoNone
SalesGroupSales group (commission) code.String
CommissSalesGroup
NoNone
SalesIdSales order number, linked to the archived order header in SalesTableHistory.String (20)
SalesIdBase
NoSalesTableHistory.SalesIdNone
SalesMarkupCharges added to the line.Real
SalesMarkup
NoNone
SalesPricePrice per unit on the line.Real
SalesPrice
NoNone
SalesQtyOrdered quantity in sales units.Real
SalesOrderedQty
NoNone
SalesSalesOrderCreationMethodOrigin of the order: sales order or retail statement.Enum
SalesSalesOrderCreationMethod (enum)
NoNone
SalesStatusStatus of the line: open, delivered, invoiced or cancelled.Enum
SalesStatus (enum)
NoNone
SalesTypeType of sales order, such as sales order, returned order, journal or subscription.Enum
SalesType (enum)
NoNone
SalesUnitUnit of measure used for the sale.String
SalesUnit
NoNone
Samples_MXYes/no flag for a samples shipment; used for Mexico.Enum
Samples_MX
NoYes (enum)
NoNone
SATCustomsQty_MXQuantity for customs purposes; used for Mexico.Real
SATCustomsQty_MX
NoNone
SATCustomUnitOfMeasure_MXCustoms unit of measure code; used for Mexico.String
SATCustomUnitOfMeasure_MX
NoNone
SATProductCode_MXSAT product classification code; used for Mexico.String
SATProductCode_MX
NoNone
SATTariffFraction_MXTariff fraction code; used for Mexico.String
SATTariffFraction_MX
NoNone
SATUnitCode_MXSAT unit code; used for Mexico.String
SATUnitCode_MX
NoNone
ScrapYes/no flag for scrap.low confidenceEnum
NoYes (enum)
NoNone
ServiceLineType_ITType of service line, such as a prepayment journal voucher; used for Italy.Enum
SalesServiceLineType_IT (enum)
NoNone
ServiceOrderIdService order ID linked to the line.String
SMAServiceOrderId
NoNone
ShipCarrierAccountAccount number with the carrier.String (25)
ShipCarrierAccount
NoNone
ShipCarrierAccountCodeCode for the carrier account.String (20)
ShipCarrierAccountCode
NoNone
ShipCarrierDlvTypeCarrier service type: miscellaneous, ground, air or pickup.Enum
ShipCarrierDlvType (enum)
NoNone
ShipCarrierIdID of the carrier.String
ShipCarrierId
NoNone
ShipCarrierNameName of the third-party carrier.String (100)
LogisticsShipCarrierName
NoNone
ShipCarrierPostalAddressRecord ID of the carrier's postal address.Int64
LogisticsPostalAddressRecId
NoNone
ShippingDateConfirmedShip date confirmed to the customer.Date
SalesShippingDateConfirmed
NoNone
ShippingDateRequestedShip date asked for by the customer.Date
SalesShippingDateRequested
YesNone
SkipAssignInventTransIdYes/no flag to skip assigning a lot ID; it shares its label with the skip charges field.low confidenceEnum
MarkupSkipCreateMarkup
NoYes (enum)
NoNone
SkipCreateMarkupYes/no flag to skip creating charges.Enum
MarkupSkipCreateMarkup
NoYes (enum)
NoNone
SkipDefaultingSourcingVendorYes/no flag to skip defaulting the sourcing vendor.Enum
NoYes (enum)
NoNone
SkipDeliveryScheduleUpdateYes/no flag to skip updating the delivery schedule.Enum
NoYes (enum)
NoNone
SkipIntercompanyPurchOrderAccountingDistributionYes/no flag to skip accounting distribution on the intercompany purchase order.Enum
NoYesId
NoYes (enum)
NoNone
SkipPriceDiscCalcYes/no flag to skip price and discount calculations.Enum
SalesPurchSkipPriceDiscCalc
NoYes (enum)
NoNone
SkipUpdateControls whether internal, intercompany, or both updates are skipped.Enum
InterCompanySkipUpdate (enum)
NoNone
SoftReserveBlockLevelLevel of response to soft reservation issues: ignore, warn or block.Enum
SoftReserveBlockLevel (enum)
NoNone
SourceDocumentLineRecord ID of the related source document line.Int64
SourceDocumentLineRecId
NoNone
SourcingCompanyIdCompany that supplies the goods.String
IntercompanySourcingCompanyId
NoNone
SourcingInventLocationIdWarehouse that supplies the goods.String
SalesSourcingInventLocationId
NoNone
SourcingInventSiteIdSite that supplies the goods.String
SalesSourcingInventSiteId
NoNone
SourcingOriginWhere the goods are sourced from: inventory, intercompany or external vendor.Enum
SalesSourcingOriginType
SalesSourcingOrigin (enum)
NoNone
SourcingVendAccountVendor account that supplies the goods.String (20)
IntercompanySourcingVendAccount
NoNone
StatisticValue_LTStatistical value for Intrastat; used for Lithuania.Real
LtIntrastatStatisticValue
NoNone
StatProcIdStatistics procedure code for Intrastat.String
IntrastatProcId
NoNone
StatTriangularDealYes/no flag for a triangular deal in Intrastat.Enum
IntrastatTriangularDeal
NoYes (enum)
NoNone
StockedProductYes/no flag showing the product is stocked.Enum
TradeStockedProduct
NoYes (enum)
NoNone
SubBillDetailLineRecIdRecord ID of a subscription billing detail line.low confidenceInt64NoNone
SubBillIsRevenueSplitChildYes/no flag showing the line is a revenue split child.Enum
NoYesId
NoYes (enum)
NoNone
SubBillIsSplitBillingYes/no flag showing split billing is used.Enum
NoYesId
NoYes (enum)
NoNone
SubBillIsTermSplitYes/no flag showing the line is split by term.low confidenceEnum
NoYes (enum)
NoNone
SubBillRevenueSplitYes/no flag showing the line is a revenue split parent item.Enum
SubBillRevenueSplit
NoYes (enum)
NoNone
SubBillRevenueSplitAllocationMethodMethod for allocating the revenue split, such as percentage or equal amount.Enum
SubBillRevenueSplitAllocationMethod (enum)
NoNone
SubBillRevenueSplitParentAmountAmount on the parent line of a revenue split.Real
Amount
NoNone
SubBillRevenueSplitParentLineRecIdRecord ID of the parent line in a revenue split.Int64
RefRecId
NoNone
SubBillTermScheduleLineRecIdRecord ID of a term schedule line in subscription billing.low confidenceInt64NoNone
SyncIntercompanyPurchLineYes/no flag for syncing with an intercompany purchase line.low confidenceEnum
NoYes (enum)
NoNone
SyncPurchLineYes/no flag for syncing with a purchase line.low confidenceEnum
NoYes (enum)
NoNone
SystemEntryChangePolicyPlaceholder value related to system-set price and discount policy changes.low confidenceInt64
PriceDiscPolicySystem
NoNone
SystemEntrySourcePlaceholder value naming how price and discount fields were set, for example copied or transferred.low confidenceEnum
PriceDiscSystemSource (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TAMRebateExcludeRebateManagementYes/no flag to leave the line out of rebate management.Enum
TAMRebateExcludeRebateManagement
NoYes (enum)
NoNone
TAMRebateTransIdRebate transaction number.String (20)
TAMRebateTransId
NoNone
TaxAutogeneratedYes/no flag showing the tax was generated automatically.Enum
TaxAutoGenerated
NoYes (enum)
NoNone
TaxGroupSales tax group for the line.String
TaxGroup
NoNone
TaxIDRecord ID of the tax registration number.Int64
TaxRegistrationRecId
NoNone
TaxItemGroupItem sales tax group for the line.String
TaxItemGroup
NoNone
TaxWithholdGroupWithholding tax group.String
TaxWithholdGroup
NoNone
TaxWithholdItemGroupHeading_THItem withholding tax group; used for Thailand.Int64
TaxWithholdItemGroupId_TH
NoNone
TransactionCodeTransaction code for Intrastat reporting.String
IntrastatTransactionCodeId
NoNone
TransportTransport mode code for Intrastat reporting.String
IntrastatTransport
NoNone
UnbilledRevenueCreditYes/no flag for an unbilled revenue credit.Enum
NoYesId
NoYes (enum)
NoNone
UnderDeliveryPctPercentage by which delivery may fall short of the ordered quantity.Real
SalesUnderDeliveryPct
NoNone

Indexes (2)

Relations (2)

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

  • SalesTableHistory → SalesTableHistory

    Join on SalesId = SalesTableHistory.SalesId

    Many SalesLineHistory records → exactly one SalesTableHistory record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SalesLineHistory records → zero or one InventDim record

Get this data out

No public entity reads from SalesLineHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk