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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDistributionTemplateRecord ID of the accounting distribution template. | Int64AccountingDistributionTemplateRecId | No | None | |
ActivityNumberProject activity number linked to the line. | String (50)ProjActivityNumber | No | None | |
AddressRefRecIdSystem record ID of a related address record.low confidence | Int64AddressRefRecId | No | None | |
AddressRefTableIdID of the table that the address reference points to.low confidence | IntegerAddressRefTableId | No | None | |
AgreementSkipAutoLinkYes/no flag that turns off automatic linking of the line to an agreement. | EnumAgreementSkipAutoLinkNoYes (enum) | No | None | |
AssetId_RUFixed asset inventory number; used for Russia. | String (20)RAssetIdOpen | No | None | |
AutoCreateInterCompanyOrdersYes/no flag for automatic creation of intercompany orders. | EnumNoYes (enum) | No | None | |
BarCodeBar code value for the item on the line. | String (80)SalesBarCode | No | None | |
BarCodeTypeBar code setup ID that defines the type of bar code. | StringBarcodeSetupId | No | None | |
BlockedYes/no flag showing that the line is stopped. | EnumLineStoppedNoYes (enum) | No | None | |
BundleLineStatusStatus of the bundle line: open, delivered, invoiced or cancelled. | EnumBundleLineStatus (enum) | No | None | |
BundleLineTypeRole of the line in a bundle: parent, nested parent or component. | EnumBundleLineType (enum) | No | None | |
CaseTaggingYes/no flag for RFID tagging at case level. | EnumRFIDCaseTaggingNoYes (enum) | No | None | |
CompleteYes/no flag that stops the line from being delivered in parts. | EnumLineCompleteNoYes (enum) | No | None | |
ConfirmedDlvShip date held on the line. | DateSalesShippingDate | No | None | |
Consignment_MXYes/no flag for a consignment shipment; used for Mexico. | EnumConsignment_MXNoYes (enum) | No | None | |
CostPriceCost price used for a returned item. | RealReturnCostPrice | No | None | |
CountryRegionName_RUName of the country or region in the address; used for Russia. | String (60)AddressCountryRegionName | No | None | |
CountyOrigDestCounty of origin or destination, used for statistics. | String (30)AddressCountyOrigDest | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedByParmId_ITPayment ID that created the line; used for Italy.low confidence | String (200)PaymId | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreditNoteInternalRef_PLInternal reference for a credit note; used for Poland.low confidence | Int64CreditNoteInternalRef_W | No | None | |
CreditNoteReasonCodeRecord ID pointing to a reason code for a credit note. | Int64ReasonTableRefRecId | No | None | |
CurrencyCodeCurrency code of the customer for this line. | String (3)CustCurrencyCode | Yes | None | |
CustAccountCustomer account that the line belongs to. | String (20)CustAccount | Yes | None | |
CustGroupCustomer group ID. | StringCustGroupId | Yes | None | |
CustomerLineNumLine number supplied by the customer. | IntegerCustLineNum | No | None | |
CustomerRefCustomer's own reference for the line. | String (60)CustRefLine | No | None | |
CustomsDocDate_MXDate of the customs document; used for Mexico. | DateCustomsDocDate_MX | No | None | |
CustomsDocNumber_MXNumber of the customs document; used for Mexico. | String (21)CustomsDocNumber_MX | No | None | |
CustomsDocumentType_MXCustoms document type code; used for Mexico. | StringDocumentType_MX | No | None | |
CustomsMaterialType_MXCustoms material type code; used for Mexico. | StringCustomsMaterialType_MX | No | None | |
CustomsName_MXName of the customs office; used for Mexico. | String (60)CustomsName_MX | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionRecord ID of the set of financial dimension values on the line. | Int64InventSiteLinkedDimensionValueSet | No | None | |
DeliveryDateControlTypeMethod used to control the delivery date, such as sales lead time, ATP, CTP or Batch 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 | |
DeliveryTaxGroup_BRSales tax group for delivery; used for Brazil. | StringTaxGroup | No | None | |
DeliveryTaxItemGroup_BRItem sales tax group for delivery; used for Brazil. | StringTaxItemGroup | No | None | |
DeliveryTypeShows whether the line is delivered from stock or by direct delivery. | EnumTradeLineDlvTypeIdTradeLineDlvType (enum) | No | None | |
DlvModeCode of the delivery mode. | StringDlvModeId | No | None | |
DlvTermCode of the delivery terms. | StringSalesDlvTermId | No | None | |
DOMExceptionTypeType of exception found in distributed order management, such as no quantity available. | EnumDOMExceptionType (enum) | No | None | |
DOMIgnoreYes/no flag to ignore the line in distributed order management. | EnumNoYes (enum) | No | None | |
DOMIterationsNumber of times the line went through distributed order management. | IntegerDOMIterations | No | None | |
DOMProcessedDistributed order management processing status: not processed, successful or exception. | EnumDOMProcessStatus (enum) | No | None | |
DOMProcessedDateTimeDate and time the line was processed by distributed order management. | UtcDateTime | No | None | |
DOMRecVersionVersion number of the record for distributed order management.low confidence | IntegerRecVersion | No | None | |
EInvoiceAccountCodeAccount code used for electronic invoicing. | String (35)EInvoiceAccountCode | No | None | |
EstablishmentRecord ID of the establishment within the legal entity. | Int64EstablishmentRefRecId | No | None | |
EximPorts_INRecord ID of the export-import port; used for India. | Int64EXIMPortRecId_IN | No | None | |
EximProductGroup_INRecord ID of the export-import product group; used for India. | Int64RefRecId | No | None | |
ExpectedRetQtyQuantity expected to come back on a return. | RealReturnExpectedRetQty | No | None | |
ExpediteExpedite code for the line.low confidence | StringMCRExpedite | No | None | |
ExternalItemIdItem number used by the customer or an external party. | String (20)SalesExternalItemId | No | None | |
FinTagRecord ID of the financial tag. | Int64FinTagRecId | No | None | |
GoodsForFree_ITYes/no flag for goods supplied free of charge; used for Italy. | EnumNoYes (enum) | No | None | |
GUPFreeItemLineRecIdRecord ID of the free item line linked to this line.low confidence | Int64RecId | No | None | |
IdentifierCustomsDocument_MXIdentifier of the customs document; used for Mexico. | String (150)IdentifierCustomDocument_MX | No | None | |
InterCompanyInventTransIdLot ID of the matching line in an intercompany order. | String (20)InventRefTransId | No | None | |
InterCompanyOriginShows whether the intercompany order is the source or derived from another one. | EnumInterCompanyOrigin (enum) | No | None | |
IntrastatCommodityRecord ID of the commodity code for Intrastat. | Int64IntrastatCommodityId | No | None | |
IntrastatFulfillmentDate_HUIntrastat fulfilment date; used for Hungary. | DateIntrastatFulfillmentDate_HU | No | None | |
InventDeliverNowQuantity to deliver now, in inventory units. | RealInventQty | No | None | |
InventDimIdInventory dimension number, such as site, warehouse or variant, linked to InventDim. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventoryServiceAdjustmentOffsetDatasourceInventory Visibility data source used for the offset. | String (50)InventInventoryServiceAdjustmentOffsetDataSource | No | None | |
InventoryServiceAdjustmentOffsetPhysicalMeasureInventory Visibility physical measure used for the offset. | String (50)InventInventoryServiceAdjustmentOffsetPhysicalMeasure | No | None | |
InventoryServiceAutoOffsetYes/no flag for automatic offset in the inventory service.low confidence | EnumNoYes (enum) | No | None | |
InventoryServiceReservationIdID of the reservation in the inventory service. | String (50)InventInventoryServiceReservationId | No | None | |
InventRefIdNumber of the document that the line refers to. | String (20)InventRefId | No | None | |
InventRefTransIdLot ID of the referenced inventory transaction. | String (20)InventRefTransId | No | None | |
InventRefTypeType of document referred to, such as sales order, purchase order or production. | EnumInventRefType (enum) | No | None | |
InventTransIdLot ID that identifies the inventory transaction of the line. | String (20)TradeInventTransId | No | None | |
InventTransIdReturnLot ID of the original transaction in a return. | String (20)TradeInventTransIdReturn | No | None | |
InvoiceGTDId_RUCustoms declaration (GTD) number; used for Russia. | String (30)CustFreeInvoiceGTDId_RU | No | None | |
IsFreeItemLineYes/no flag showing the line is a free item line. | EnumNoYesIdNoYes (enum) | No | None | |
IsSoftReservedExternallyYes/no flag showing the line is soft reserved by an external system. | EnumNoYes (enum) | No | None | |
ItemBOMIdID of the bill of materials for the item. | String (20)ItemBOMId | No | None | |
ItemIdItem number sold on the line. | String (20)ItemIdSmall | No | None | |
ItemReplacedYes/no flag showing that the returned item is replaced. | EnumReturnItemReplacedNoYes (enum) | No | None | |
ItemRouteIdID of the route for the item. | String (20)ItemRouteId | No | None | |
ItemTaggingYes/no flag for RFID tagging at item level. | EnumRFIDItemTaggingNoYes (enum) | No | None | |
KittingSkipUpdateHelperYes/no flag to skip an update in kitting.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
LedgerDimensionRecord ID of the main account and dimensions for the line. | Int64LedgerDimensionDefaultAccount | No | None | |
LineAmountNet amount of the line. | RealSalesLineAmount | No | None | |
LineCreationSequenceNumberSequence number showing the order in which lines were created. | IntegerSalesLineCreationSequenceNumber | No | None | |
LineDeliveryTypeShows whether the line has a single delivery, multiple deliveries, or is a delivery line. | EnumLineDeliveryType (enum) | No | None | |
LineDiscDiscount amount on the line. | RealSalesLineDisc | No | None | |
LineHeaderHeading text for the line. | String (80)LineHeader | No | None | |
LineNumNumber of the line within the order. | RealLineNum | No | None | |
LinePercentDiscount as a percentage on the line. | RealSalesLinePercent | No | None | |
ManualEntryChangepolicyPlaceholder value related to manually entered price and discount policy changes.low confidence | Int64PriceDiscPolicyManual | No | None | |
MatchingAgreementLineRecord ID of the agreement line matched to this line. | Int64AgreementLineRecId | No | None | |
MaterialDescription_MXDescription of the material; used for Mexico. | String (50)MaterialDescription_MX | No | None | |
McrMarginPercentMargin percentage on the line. | RealMcrMarginPercent | No | None | |
McrMarginUpdatedYes/no flag showing the margin was updated. | EnumMcrMarginUpdatedNoYes (enum) | No | None | |
MCROrderLine2PriceHistoryRefRecord ID that points to a price history record.low confidence | Int64RefRecId | 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 | |
MpsExcludeSalesLineYes/no flag to leave the line out of master planning. | EnumMpsExcludeSalesLineNoYes (enum) | No | None | |
MPSFullRunCTPStatusShows whether Batch CTP dates are ready or not ready. | EnumMPSFullRunCTPStatus (enum) | No | None | |
MultiLnDiscMultiline discount amount. | RealSalesMultiLnDisc | No | None | |
MultiLnPercentMultiline discount as a percentage. | RealSalesMultiLnPercent | No | None | |
NameFree text description of the line. | String (1000)ItemFreeTxt | No | None | |
OrderLineReference_NOOrder line reference; used for Norway. | String (30)OrderLineReference_NO | No | None | |
OrigCountryRegionIdCountry or region of origin of the item. | StringItemOrigCountryRegionId | No | None | |
OrigStateIdState of origin of the item. | StringItemOrigStateId | No | None | |
OverDeliveryPctPercentage by which delivery may exceed the ordered quantity. | RealSalesOverDeliveryPct | No | None | |
OverrideSalesTaxYes/no flag to override the standard sales tax determination. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | None | |
PackedExtensionsContainer that stores packed extension data.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
PackingUnitPacking unit code. | StringInventPackingUnit | No | None | |
PackingUnitQtyQuantity in the packing unit. | RealInventPackingUnitQty | No | None | |
PalletTaggingYes/no flag for RFID tagging at pallet level. | 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 | |
PdsBatchAttribAutoResYes/no flag for automatic batch reservation based on batch attributes. | EnumPdsBatchAttribAutoResNoYes (enum) | No | None | |
PdsCWExpectedRetQtyExpected return quantity for catch weight items. | RealPdsCWExpectedRetQty | No | None | |
PdsCWInventDeliverNowCatch weight quantity to deliver now. | RealPdsCWInventQty | No | None | |
PdsCWQtyCatch weight quantity on the line. | RealPdsCWInventQty | No | None | |
PdsCWRemainInventFinancialCatch weight quantity still to be invoiced. | RealPdsCWInventQty | No | None | |
PdsCWRemainInventPhysicalCatch weight quantity still to be delivered. | RealPdsCWInventQty | No | None | |
PdsExcludeFromRebateYes/no flag to leave the line out of rebates. | EnumPdsExcludeFromRebateNoYes (enum) | No | None | |
PdsItemRebateGroupIdItem rebate group code. | StringPdsItemRebateGroupId | No | None | |
PdsSameLotYes/no flag that requires selection from the same batch. | EnumPdsSameLotNoYes (enum) | No | None | |
PdsSameLotOverrideYes/no flag showing the user overrode the same-batch selection. | EnumPdsSameLotOverrideNoYes (enum) | No | None | |
PlanningPriorityNumber showing how important the demand is in planning. | RealReqPlanningPriority | No | None | |
PortPort code used for Intrastat reporting. | StringIntrastatPortId | No | None | |
PostingProfile_RUCustomer posting profile; used for Russia. | StringCustPostingProfile | No | None | |
PrepaymentRecId_ITRecord ID of a related prepayment; used for Italy.low confidence | Int64RefRecId | No | None | |
PriceAgreementDate_RUDate of the price agreement; used for Russia. | DatePriceAgreementDate_RU | No | None | |
PriceUnitNumber of units that the unit price applies to. | RealPriceUnit | No | None | |
ProjCategoryIdProject category ID. | String (30)ProjCategoryId | No | None | |
ProjFundingSourceRecord ID of the project funding source. | Int64ProjFundingSourceRefId | No | None | |
ProjIdProject ID linked to the line. | String (20)ProjId | No | None | |
ProjLinePropertyIdProject line property code. | StringProjLinePropertyId | No | None | |
ProjTransIdProject transaction ID for the item. | String (20)ProjItemTransId | No | None | |
PropertyNumber_MXProperty number; used for Mexico. | String (20)PropertyNumber_MX | No | None | |
PSAContractLineNumBilling rule reference on the line.low confidence | String (30)String30 | No | None | |
PSAProjProposalInventQtyQuantity in inventory units on a project invoice proposal. | RealQty | No | None | |
PSAProjProposalQtyQuantity on a project invoice proposal. | RealQty | No | None | |
PurchorderFormNumCustomer's requisition or purchase order number. | String (20)CustPurchaseOrder | No | None | |
QtyOrderedOrdered quantity in inventory units. | RealInventQty | No | None | |
QuantityErrorCorrectionMethodsContainer with data on quantity error correction; purpose not clear from the metadata.low confidence | Container | No | None | |
ReceiptDateConfirmedReceipt date confirmed for the customer. | DateSalesReceiptDateConfirmed | No | None | |
ReceiptDateRequestedReceipt date asked for by the customer. | 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 | |
RefReturnInvoiceTrans_WRecord ID of the invoice line being returned. | Int64RefReturnInvoiceTrans_W | No | None | |
RemainInventFinancialQuantity still to be invoiced, in inventory units. | RealInventQty | No | None | |
RemainInventPhysicalQuantity still to be delivered, in inventory units. | RealInventQty | No | None | |
RemainSalesFinancialQuantity still to be invoiced, in sales units. | RealSalesQty | No | None | |
RemainSalesPhysicalQuantity still to be delivered, in sales units. | RealSalesQty | No | None | |
RentalAttachToLineNumberLine number of the line that this rental line is attached to. | RealLineNum | No | None | |
RentalCreditNoteInvoiceIdNumber of the credit note invoice for the rental. | String (20)Num | No | None | |
RentalInvoiceScheduleLineRecord ID of the rental invoice schedule line. | Int64RefRecId | No | None | |
RentalItemRecord ID of the rental item. | Int64RefRecId | No | None | |
RentalJobSiteRecord ID of the rental job site. | Int64RefRecId | No | None | |
RentalOverAllowanceRental over-allowance value.low confidence | RealRealBase | No | None | |
RentalPickupRentalLocationIdID of the rental location for pickup. | String (100) | No | None | |
RentalShipToWhere the rental goes: address, job site or pickup fleet location. | EnumRentalShipTo (enum) | No | None | |
ReservationReservation method for the line: manual, automatic or explosion. | EnumItemReservation (enum) | No | None | |
RetailBlockQtyQuantity blocked for retail.low confidence | RealRetailBlockQty | No | None | |
RetailVariantIdProduct variant number. | StringRetailVariantId | No | None | |
ReturnAllowReservationYes/no flag allowing reservation on a return line. | EnumReturnAllowReservationNoYes (enum) | No | None | |
ReturnArrivalDateDate the returned goods actually arrived. | DateReturnArrivalDate | No | None | |
ReturnClosedDateDate the return was closed. | DateReturnClosedDate | No | None | |
ReturnDeadlineExpected arrival date of the return. | DateReturnDeadline | No | None | |
ReturnDispositionCodeIdDisposition code that says what to do with returned goods. | StringReturnDispositionCodeId | No | None | |
ReturnStatusStatus of the return line, such as expected, received or invoiced. | EnumReturnStatusLine (enum) | No | None | |
RevRecBundleYes/no flag showing the line is a bundle for revenue recognition. | EnumRevRecBundleNoYes (enum) | No | None | |
RevRecBundleLineDiscDiscount amount on the bundle line. | RealSalesLineDisc | No | None | |
RevRecBundleLinePercentDiscount percentage on the bundle line. | RealSalesLinePercent | No | None | |
RevRecBundleMainParentLot ID of the main parent bundle line. | String (20)InventTransId | No | None | |
RevRecBundleNetAmountNet amount of the bundle. | RealRevRecBundleNetAmount | No | None | |
RevRecBundleParentLot ID of the parent bundle line. | String (20)InventTransId | No | None | |
RevRecBundleQtyOrdered quantity of the bundle. | RealRevRecBundleQty | No | None | |
RevRecBundleQtyOrderedOrdered quantity of the bundle line in inventory units. | RealInventQty | No | None | |
RevRecBundleRatioShare that the line contributes to the bundle. | RealContributionRatio | No | None | |
RevRecBundleRemainInventPhysicalBundle quantity still to be delivered, in inventory units. | RealInventQty | No | None | |
RevRecBundleRemainSalesPhysicalBundle quantity still to be delivered, in sales units. | RealSalesQty | No | None | |
RevRecBundleSalesPriceUnit price of the bundle line. | RealSalesPrice | No | None | |
RevRecBundleSalesStatusStatus of the bundle line: open, delivered, invoiced or cancelled. | EnumSalesStatus (enum) | No | None | |
RevRecContractEndDateEnd date of the contract. | DateTransDate | No | None | |
RevRecContractStartDateStart date of the contract. | DateRevRecContractStartDate | No | None | |
RevRecIsBundleComponentYes/no flag showing the line is a bundle component for revenue recognition. | EnumRevRecBundleComponentNoYes (enum) | No | None | |
RevRecOccurrencesNumber of periods or occurrences for revenue recognition. | IntegerRevRecPeriodNumber | No | None | |
RevRecRevenueScheduleIDID of the revenue schedule. | StringRevRecRevenueScheduleID | No | None | |
SalesCategoryRecord ID of the sales category. | Int64SalesCategory | No | None | |
SalesDeliverNowQuantity to deliver now, in sales units. | RealSalesQty | No | None | |
SalesGroupSales group (commission) code. | StringCommissSalesGroup | No | None | |
SalesIdSales order number, linked to the archived order header in SalesTableHistory. | String (20)SalesIdBase | No | SalesTableHistory.SalesId | None |
SalesMarkupCharges added to the line. | RealSalesMarkup | No | None | |
SalesPricePrice per unit on the line. | RealSalesPrice | No | None | |
SalesQtyOrdered quantity in sales units. | RealSalesOrderedQty | No | None | |
SalesSalesOrderCreationMethodOrigin of the order: sales order or retail statement. | EnumSalesSalesOrderCreationMethod (enum) | No | None | |
SalesStatusStatus of the line: open, 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 | |
SalesUnitUnit of measure used for the sale. | StringSalesUnit | No | None | |
Samples_MXYes/no flag for a samples shipment; used for Mexico. | EnumSamples_MXNoYes (enum) | No | None | |
SATCustomsQty_MXQuantity for customs purposes; used for Mexico. | RealSATCustomsQty_MX | No | None | |
SATCustomUnitOfMeasure_MXCustoms unit of measure code; used for Mexico. | StringSATCustomUnitOfMeasure_MX | No | None | |
SATProductCode_MXSAT product classification code; used for Mexico. | StringSATProductCode_MX | No | None | |
SATTariffFraction_MXTariff fraction code; used for Mexico. | StringSATTariffFraction_MX | No | None | |
SATUnitCode_MXSAT unit code; used for Mexico. | StringSATUnitCode_MX | No | None | |
ScrapYes/no flag for scrap.low confidence | EnumNoYes (enum) | No | None | |
ServiceLineType_ITType of service line, such as a prepayment journal voucher; used for Italy. | EnumSalesServiceLineType_IT (enum) | No | None | |
ServiceOrderIdService order ID linked to the line. | StringSMAServiceOrderId | No | None | |
ShipCarrierAccountAccount number with the carrier. | String (25)ShipCarrierAccount | No | None | |
ShipCarrierAccountCodeCode for the carrier account. | String (20)ShipCarrierAccountCode | No | None | |
ShipCarrierDlvTypeCarrier service type: miscellaneous, ground, air or pickup. | EnumShipCarrierDlvType (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 | |
ShippingDateConfirmedShip date confirmed to the customer. | DateSalesShippingDateConfirmed | No | None | |
ShippingDateRequestedShip date asked for by the customer. | DateSalesShippingDateRequested | Yes | None | |
SkipAssignInventTransIdYes/no flag to skip assigning a lot ID; it shares its label with the skip charges field.low confidence | EnumMarkupSkipCreateMarkupNoYes (enum) | No | None | |
SkipCreateMarkupYes/no flag to skip creating charges. | EnumMarkupSkipCreateMarkupNoYes (enum) | No | None | |
SkipDefaultingSourcingVendorYes/no flag to skip defaulting the sourcing vendor. | EnumNoYes (enum) | No | None | |
SkipDeliveryScheduleUpdateYes/no flag to skip updating the delivery schedule. | EnumNoYes (enum) | No | None | |
SkipIntercompanyPurchOrderAccountingDistributionYes/no flag to skip accounting distribution on the intercompany purchase order. | EnumNoYesIdNoYes (enum) | No | None | |
SkipPriceDiscCalcYes/no flag to skip price and discount calculations. | EnumSalesPurchSkipPriceDiscCalcNoYes (enum) | No | None | |
SkipUpdateControls whether internal, intercompany, or both updates are skipped. | EnumInterCompanySkipUpdate (enum) | No | None | |
SoftReserveBlockLevelLevel of response to soft reservation issues: ignore, warn or block. | EnumSoftReserveBlockLevel (enum) | No | None | |
SourceDocumentLineRecord ID of the related source document line. | Int64SourceDocumentLineRecId | No | None | |
SourcingCompanyIdCompany that supplies the goods. | StringIntercompanySourcingCompanyId | No | None | |
SourcingInventLocationIdWarehouse that supplies the goods. | StringSalesSourcingInventLocationId | No | None | |
SourcingInventSiteIdSite that supplies the goods. | StringSalesSourcingInventSiteId | No | None | |
SourcingOriginWhere the goods are sourced from: inventory, intercompany or external vendor. | EnumSalesSourcingOriginTypeSalesSourcingOrigin (enum) | No | None | |
SourcingVendAccountVendor account that supplies the goods. | String (20)IntercompanySourcingVendAccount | No | None | |
StatisticValue_LTStatistical value for Intrastat; used for Lithuania. | RealLtIntrastatStatisticValue | No | None | |
StatProcIdStatistics procedure code for Intrastat. | StringIntrastatProcId | No | None | |
StatTriangularDealYes/no flag for a triangular deal in Intrastat. | EnumIntrastatTriangularDealNoYes (enum) | No | None | |
StockedProductYes/no flag showing the product is stocked. | EnumTradeStockedProductNoYes (enum) | No | None | |
SubBillDetailLineRecIdRecord ID of a subscription billing detail line.low confidence | Int64 | No | None | |
SubBillIsRevenueSplitChildYes/no flag showing the line is a revenue split child. | EnumNoYesIdNoYes (enum) | No | None | |
SubBillIsSplitBillingYes/no flag showing split billing is used. | EnumNoYesIdNoYes (enum) | No | None | |
SubBillIsTermSplitYes/no flag showing the line is split by term.low confidence | EnumNoYes (enum) | No | None | |
SubBillRevenueSplitYes/no flag showing the line is a revenue split parent item. | EnumSubBillRevenueSplitNoYes (enum) | No | None | |
SubBillRevenueSplitAllocationMethodMethod for allocating the revenue split, such as percentage or equal amount. | EnumSubBillRevenueSplitAllocationMethod (enum) | No | None | |
SubBillRevenueSplitParentAmountAmount on the parent line of a revenue split. | RealAmount | No | None | |
SubBillRevenueSplitParentLineRecIdRecord ID of the parent line in a revenue split. | Int64RefRecId | No | None | |
SubBillTermScheduleLineRecIdRecord ID of a term schedule line in subscription billing.low confidence | Int64 | No | None | |
SyncIntercompanyPurchLineYes/no flag for syncing with an intercompany purchase line.low confidence | EnumNoYes (enum) | No | None | |
SyncPurchLineYes/no flag for syncing with a purchase line.low confidence | EnumNoYes (enum) | No | None | |
SystemEntryChangePolicyPlaceholder value related to system-set price and discount policy changes.low confidence | Int64PriceDiscPolicySystem | No | None | |
SystemEntrySourcePlaceholder value naming how price and discount fields were set, for example copied or transferred.low confidence | EnumPriceDiscSystemSource (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TAMRebateExcludeRebateManagementYes/no flag to leave the line out of rebate management. | EnumTAMRebateExcludeRebateManagementNoYes (enum) | No | None | |
TAMRebateTransIdRebate transaction number. | String (20)TAMRebateTransId | No | None | |
TaxAutogeneratedYes/no flag showing the tax was generated automatically. | EnumTaxAutoGeneratedNoYes (enum) | No | None | |
TaxGroupSales tax group for the line. | StringTaxGroup | No | None | |
TaxIDRecord ID of the tax registration number. | Int64TaxRegistrationRecId | No | None | |
TaxItemGroupItem sales tax group for the line. | StringTaxItemGroup | No | None | |
TaxWithholdGroupWithholding tax group. | StringTaxWithholdGroup | No | None | |
TaxWithholdItemGroupHeading_THItem withholding tax group; used for Thailand. | Int64TaxWithholdItemGroupId_TH | No | None | |
TransactionCodeTransaction code for Intrastat reporting. | StringIntrastatTransactionCodeId | No | None | |
TransportTransport mode code for Intrastat reporting. | StringIntrastatTransport | No | None | |
UnbilledRevenueCreditYes/no flag for an unbilled revenue credit. | EnumNoYesIdNoYes (enum) | No | None | |
UnderDeliveryPctPercentage by which delivery may fall short of the ordered quantity. | RealSalesUnderDeliveryPct | No | None |
Indexes (2)
Relations (2)
Each relation joins SalesLineHistory to another table on the fields shown.
SalesTableHistory→SalesTableHistoryJoin on
SalesId = SalesTableHistory.SalesIdMany SalesLineHistory records → exactly one SalesTableHistory record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany 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.