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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ParmIdParameter ID of the update set. Together with the line reference it points to the update header.String (20)
ParmId
YesSalesParmTable.ParmIdNone
TableRefIdLine reference that, with the parameter ID, points to the update header.String (20)
TradeLineRefId
YesSalesParmTable.TableRefIdNone
OrigSalesIdSales order number, pointing to a sales order.String (20)
SalesIdOrig
NoSalesTable.SalesIdNone
LineNumLine number on the order.Real
LineNum
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
AlcoholLicenseSeriesNum_RUAlcohol license series number, used for Russia.String (21)
AlcoholLicenseSeriesNum_RU
NoAlcoholLicenseTable_RU.LicenseSeriesNumNone
AssessableValue_INAssessable value of the line, used for India.Real
AmountCur
NoNone
changedManuallyYes or no flag showing whether the quantity was changed by hand.Enum
NoYes (enum)
NoNone
closedYes or no flag showing whether the line is closed.Enum
NoYes (enum)
NoNone
CompleteYes or no flag that stops the line being delivered in parts.Enum
LineComplete
NoYes (enum)
NoNone
CustAccountCustomer account, pointing to a customer.String (20)
CustAccount
NoCustTable.AccountNumNone
CustomsShippingBillNumberTable_INReference to a customs shipping bill record, used for India.low confidenceInt64
RefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliverNowQuantity to update now, in sales units.Real
SalesQty
NoNone
DeliveryNameName of the delivery address.String (100)
LogisticsDeliveryName
NoNone
DeliveryPostalAddressPoints to the delivery postal address by its system record ID.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DlvModeCode of the mode of delivery.String
CustDlvModeId
NoDlvMode.CodeNone
DlvTermCode of the delivery terms.String
SalesDlvTermId
NoDlvTerm.CodeNone
InventDimIdInventory dimension number, pointing to an inventory dimension record.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventNowQuantity to update now, in inventory units.Real
InventQty
NoNone
InventOwnerId_RUInventory owner, used for Russia.String (40)
InventOwnerId_RU
NoInventOwner_RU.InventOwnerIdNone
InventProfileType_RUKind of activity, used for Russia. Values: Unspecified, Basic, Commission agent, Principal's agent, Bailee.Enum
InventProfileType_RU (enum)
NoNone
InventTransIdLot ID that links to the inventory transaction origin.String (20)
TradeInventTransId
NoInventTransOrigin.InventTransIdNone
InvoiceAccountCustomer account used for invoicing.String (20)
CustAccount
NoCustTable.AccountNumNone
ItemIdItem number, pointing to an item.String (20)
ItemId
NoInventTable.ItemIdNone
LineAmountNet amount of the line in transaction currency.Real
AmountCur
NoNone
LineAmountExcludeTaxLine amount without tax, in transaction currency.Real
AmountCur
NoNone
MaximumRetailPrice_INMaximum retail price, used for India.Real
MaximumRetailPrice_IN
NoNone
PackedExtensionsContainer that stores packed extension data.low confidenceContainer
SysExtensionSerializerPackedContainer
NoNone
PackingUnitPacking unit, pointing to a unit of measure.String
InventPackingUnit
NoUnitOfMeasure.SymbolNone
PackingUnitQtyQuantity in the packing unit.Real
InventPackingUnitQty
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCWDeliverNowCatch weight quantity to update now.Real
PdsCWInventQty
NoNone
PdsCWPreviousDeliverNowCatch weight quantity from the previous update.Real
PdsCWInventQty
NoNone
PdsCWRemainAfterInventCatch weight remainder to deliver after the update.Real
PdsCWInventQty
NoNone
PdsCWRemainBeforeCatch weight quantity remaining before the update.Real
PdsCWRemainQty
NoNone
PostingProfile_RUCustomer posting profile, used for Russia.String
CustPostingProfile
NoCustLedger.PostingProfileNone
PreviousDeliverNowSales quantity from the previous update.Real
SalesQty
NoNone
PreviousInventNowQuantity in inventory units from the previous update.Real
InventQty
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RemainAfterRemainder to deliver after the update, in sales units.Real
SalesQty
NoNone
RemainAfterInventRemainder to deliver after the update, in inventory units.Real
InventQty
NoNone
RemainBeforeQuantity remaining before the update, in sales units.Real
SalesQty
NoNone
RemainBeforeInventQuantity remaining before the update, in inventory units.Real
InventQty
NoNone
RemainBeforeInventPhysicalOriginal remainder to deliver before the update, in inventory units.Real
TradeRemainBeforeInventPhysical
NoNone
SalesCategoryPoints to a sales category by its system record ID.Int64
SalesCategory
NoEcoResCategory.RecIdNone
SalesLineRecIdPoints to the sales order line (SalesLine) by its system record ID.Int64
SalesLineRefRecId
NoSalesLine.RecIdNone
ScrapYes or no flag for scrap.low confidenceEnum
NoYes (enum)
NoNone
ShipCarrierAccountAccount number held with the carrier.String (25)
ShipCarrierAccount
NoNone
ShipCarrierIdCarrier code, pointing to a carrier.String
ShipCarrierId
NoShipCarrierTable.CarrierIdNone
ShipCarrierPostalAddressPoints to the carrier postal address by its system record ID.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberSystem row version number of the record.Int64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WMSOrderYes or no flag for the consolidated picking method.Enum
WMSMandatoryOrder
NoYes (enum)
NoNone

Indexes (6)

Relations (19)

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

  • AlcoholLicenseTable_RU → AlcoholLicenseTable_RU

    Join on AlcoholLicenseSeriesNum_RU = AlcoholLicenseTable_RU.LicenseSeriesNum

    Many SalesParmLine records → zero or one AlcoholLicenseTable_RU record

  • CustLedger → CustLedger

    Join on PostingProfile_RU = CustLedger.PostingProfile

    Many SalesParmLine records → exactly one CustLedger record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many SalesParmLine records → zero or one LogisticsPostalAddress record

  • DlvMode → DlvMode

    Join on DlvMode = DlvMode.Code

    Many SalesParmLine records → zero or one DlvMode record

  • DlvTerm → DlvTerm

    Join on DlvTerm = DlvTerm.Code

    Many SalesParmLine records → zero or one DlvTerm record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SalesParmLine records → zero or one InventDim record

  • InventOwner_RU → InventOwner_RU

    Join on InventOwnerId_RU = InventOwner_RU.InventOwnerId

    Many SalesParmLine records → exactly one InventOwner_RU record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many SalesParmLine records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many SalesParmLine records → zero or one InventTransOrigin record

  • InvoiceCustomer → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many SalesParmLine records → zero or one CustTable record

  • OrderCustomer → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many SalesParmLine records → zero or one CustTable record

  • PackingUnit → UnitOfMeasure

    Join on PackingUnit = UnitOfMeasure.Symbol

    Many SalesParmLine records → zero or one UnitOfMeasure record

  • SalesCategory → EcoResCategory

    Join on SalesCategory = EcoResCategory.RecId

    Many SalesParmLine records → zero or one EcoResCategory record

  • SalesLine → SalesLine

    Join on SalesLineRecId = SalesLine.RecId

    Many SalesParmLine records → zero or one SalesLine record

  • salesParmSubTable → SalesParmSubTable

    Join on ParmId = SalesParmSubTable.ParmId, TableRefId = SalesParmSubTable.TableRefId, OrigSalesId = SalesParmSubTable.OrigSalesId

    Many SalesParmLine records → exactly one SalesParmSubTable record

  • SalesParmTable → SalesParmTable

    Join on ParmId = SalesParmTable.ParmId, TableRefId = SalesParmTable.TableRefId

    Many SalesParmLine records → exactly one SalesParmTable record

  • SalesTable → SalesTable

    Join on OrigSalesId = SalesTable.SalesId

    Many SalesParmLine records → exactly one SalesTable record

  • ShipCarrierPostalAddress_FK → LogisticsPostalAddress

    Join on ShipCarrierPostalAddress = LogisticsPostalAddress.RecId

    Many SalesParmLine records → zero or one LogisticsPostalAddress record

  • ShipCarrierTable → ShipCarrierTable

    Join on ShipCarrierId = ShipCarrierTable.CarrierId

    Many 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.

Email sales@drdynamics.co.uk