Table
SalesParmLine
Sales order line - update table
Update table for sales order lines. It holds the quantities, delivery details and posting settings for a line within one update (parameter) set. It links to the parameter header (SalesParmTable), the sales order and the order line. Country-specific fields exist for Russia and India.
- Table name
SalesParmLine- Module
Sales and marketing- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
ParmTableRefIdx- Replacement key
None- Key fields
ParmId, TableRefId, OrigSalesId, LineNum, RecId- Model
Foundation
Fields (55)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ParmIdParameter ID of the update set. Together with the line reference it points to the update header. | String (20)ParmId | Yes | SalesParmTable.ParmId | None |
TableRefIdLine reference that, with the parameter ID, points to the update header. | String (20)TradeLineRefId | Yes | SalesParmTable.TableRefId | None |
OrigSalesIdSales order number, pointing to a sales order. | String (20)SalesIdOrig | No | SalesTable.SalesId | None |
LineNumLine number on the order. | RealLineNum | 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 | |
AlcoholLicenseSeriesNum_RUAlcohol license series number, used for Russia. | String (21)AlcoholLicenseSeriesNum_RU | No | AlcoholLicenseTable_RU.LicenseSeriesNum | None |
AssessableValue_INAssessable value of the line, used for India. | RealAmountCur | No | None | |
changedManuallyYes or no flag showing whether the quantity was changed by hand. | EnumNoYes (enum) | No | None | |
closedYes or no flag showing whether the line is closed. | EnumNoYes (enum) | No | None | |
CompleteYes or no flag that stops the line being delivered in parts. | EnumLineCompleteNoYes (enum) | No | None | |
CustAccountCustomer account, pointing to a customer. | String (20)CustAccount | No | CustTable.AccountNum | None |
CustomsShippingBillNumberTable_INReference to a customs shipping bill record, used for India.low confidence | Int64RefRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliverNowQuantity to update now, in sales units. | RealSalesQty | No | None | |
DeliveryNameName of the delivery address. | String (100)LogisticsDeliveryName | No | None | |
DeliveryPostalAddressPoints to the delivery postal address by its system record ID. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
DlvModeCode of the mode of delivery. | StringCustDlvModeId | No | DlvMode.Code | None |
DlvTermCode of the delivery terms. | StringSalesDlvTermId | No | DlvTerm.Code | None |
InventDimIdInventory dimension number, pointing to an inventory dimension record. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventNowQuantity to update now, in inventory units. | RealInventQty | No | None | |
InventOwnerId_RUInventory owner, used for Russia. | String (40)InventOwnerId_RU | No | InventOwner_RU.InventOwnerId | None |
InventProfileType_RUKind of activity, used for Russia. Values: Unspecified, Basic, Commission agent, Principal's agent, Bailee. | EnumInventProfileType_RU (enum) | No | None | |
InventTransIdLot ID that links to the inventory transaction origin. | String (20)TradeInventTransId | No | InventTransOrigin.InventTransId | None |
InvoiceAccountCustomer account used for invoicing. | String (20)CustAccount | No | CustTable.AccountNum | None |
ItemIdItem number, pointing to an item. | String (20)ItemId | No | InventTable.ItemId | None |
LineAmountNet amount of the line in transaction currency. | RealAmountCur | No | None | |
LineAmountExcludeTaxLine amount without tax, in transaction currency. | RealAmountCur | No | None | |
MaximumRetailPrice_INMaximum retail price, used for India. | RealMaximumRetailPrice_IN | No | None | |
PackedExtensionsContainer that stores packed extension data.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
PackingUnitPacking unit, pointing to a unit of measure. | StringInventPackingUnit | No | UnitOfMeasure.Symbol | None |
PackingUnitQtyQuantity in the packing unit. | RealInventPackingUnitQty | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWDeliverNowCatch weight quantity to update now. | RealPdsCWInventQty | No | None | |
PdsCWPreviousDeliverNowCatch weight quantity from the previous update. | RealPdsCWInventQty | No | None | |
PdsCWRemainAfterInventCatch weight remainder to deliver after the update. | RealPdsCWInventQty | No | None | |
PdsCWRemainBeforeCatch weight quantity remaining before the update. | RealPdsCWRemainQty | No | None | |
PostingProfile_RUCustomer posting profile, used for Russia. | StringCustPostingProfile | No | CustLedger.PostingProfile | None |
PreviousDeliverNowSales quantity from the previous update. | RealSalesQty | No | None | |
PreviousInventNowQuantity in inventory units from the previous update. | RealInventQty | 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 | |
RemainAfterRemainder to deliver after the update, in sales units. | RealSalesQty | No | None | |
RemainAfterInventRemainder to deliver after the update, in inventory units. | RealInventQty | No | None | |
RemainBeforeQuantity remaining before the update, in sales units. | RealSalesQty | No | None | |
RemainBeforeInventQuantity remaining before the update, in inventory units. | RealInventQty | No | None | |
RemainBeforeInventPhysicalOriginal remainder to deliver before the update, in inventory units. | RealTradeRemainBeforeInventPhysical | No | None | |
SalesCategoryPoints to a sales category by its system record ID. | Int64SalesCategory | No | EcoResCategory.RecId | None |
SalesLineRecIdPoints to the sales order line (SalesLine) by its system record ID. | Int64SalesLineRefRecId | No | SalesLine.RecId | None |
ScrapYes or no flag for scrap.low confidence | EnumNoYes (enum) | No | None | |
ShipCarrierAccountAccount number held with the carrier. | String (25)ShipCarrierAccount | No | None | |
ShipCarrierIdCarrier code, pointing to a carrier. | StringShipCarrierId | No | ShipCarrierTable.CarrierId | None |
ShipCarrierPostalAddressPoints to the carrier postal address by its system record ID. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberSystem row version number of the record. | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WMSOrderYes or no flag for the consolidated picking method. | EnumWMSMandatoryOrderNoYes (enum) | No | None |
Indexes (6)
parmIdOrigSalesIdxParmId,OrigSalesId,InventTransIdNot unique.
ParmTableRefIdxPrimary indexParmId,TableRefId,OrigSalesId,LineNum,RecIdUnique.
ParmTableRefSalesLineRecIdxParmId,TableRefId,SalesLineRecIdNot unique.
DeliveryPostalAddressIdxNot unique.
SalesLineRecIdIdxSalesLineRecId,ParmId,TableRefIdNot unique.
InventTransIdParmIdIdxNot unique.
Relations (19)
Each relation joins SalesParmLine to another table on the fields shown.
AlcoholLicenseTable_RU→AlcoholLicenseTable_RUJoin on
AlcoholLicenseSeriesNum_RU = AlcoholLicenseTable_RU.LicenseSeriesNumMany SalesParmLine records → zero or one AlcoholLicenseTable_RU record
CustLedger→CustLedgerJoin on
PostingProfile_RU = CustLedger.PostingProfileMany SalesParmLine records → exactly one CustLedger record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany SalesParmLine records → zero or one LogisticsPostalAddress record
DlvMode→DlvModeJoin on
DlvMode = DlvMode.CodeMany SalesParmLine records → zero or one DlvMode record
DlvTerm→DlvTermJoin on
DlvTerm = DlvTerm.CodeMany SalesParmLine records → zero or one DlvTerm record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany SalesParmLine records → zero or one InventDim record
InventOwner_RU→InventOwner_RUJoin on
InventOwnerId_RU = InventOwner_RU.InventOwnerIdMany SalesParmLine records → exactly one InventOwner_RU record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany SalesParmLine records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany SalesParmLine records → zero or one InventTransOrigin record
InvoiceCustomer→CustTableJoin on
InvoiceAccount = CustTable.AccountNumMany SalesParmLine records → zero or one CustTable record
OrderCustomer→CustTableJoin on
CustAccount = CustTable.AccountNumMany SalesParmLine records → zero or one CustTable record
PackingUnit→UnitOfMeasureJoin on
PackingUnit = UnitOfMeasure.SymbolMany SalesParmLine records → zero or one UnitOfMeasure record
SalesCategory→EcoResCategoryJoin on
SalesCategory = EcoResCategory.RecIdMany SalesParmLine records → zero or one EcoResCategory record
SalesLine→SalesLineJoin on
SalesLineRecId = SalesLine.RecIdMany SalesParmLine records → zero or one SalesLine record
salesParmSubTable→SalesParmSubTableJoin on
ParmId = SalesParmSubTable.ParmId,TableRefId = SalesParmSubTable.TableRefId,OrigSalesId = SalesParmSubTable.OrigSalesIdMany SalesParmLine records → exactly one SalesParmSubTable record
SalesParmTable→SalesParmTableJoin on
ParmId = SalesParmTable.ParmId,TableRefId = SalesParmTable.TableRefIdMany SalesParmLine records → exactly one SalesParmTable record
SalesTable→SalesTableJoin on
OrigSalesId = SalesTable.SalesIdMany SalesParmLine records → exactly one SalesTable record
ShipCarrierPostalAddress_FK→LogisticsPostalAddressJoin on
ShipCarrierPostalAddress = LogisticsPostalAddress.RecIdMany SalesParmLine records → zero or one LogisticsPostalAddress record
ShipCarrierTable→ShipCarrierTableJoin on
ShipCarrierId = ShipCarrierTable.CarrierIdMany SalesParmLine records → zero or one ShipCarrierTable record
Get this data out
No public entity reads from SalesParmLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with SalesParmLine in a report, an integration or a migration? Talk to Dr Dynamics.