Table

SalesParmSubTable

Sales order header - updating table

Connects a sales order update header (SalesParmTable) to the journal records it relates to. It is identified by parameter ID, line reference, original sales order and a GUID. It links to the sales order.

Table name
SalesParmSubTable
Module
Sales and marketing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
ParmTableRefIdx
Replacement key
ParmTableRefIdx
Key fields
ParmId, TableRefId, OrigSalesId, subId
Model
Foundation

Fields (14)

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
subIdGUID that identifies this connection record.Guid
SalesParmSubId
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
JournalRefRecIdRecord ID of the linked journal record. The table it belongs to is given by the reference table ID.Int64
SalesJournalLinkRefRecId
NoNone
journalRefTableIdID of the table that the linked journal record belongs to.Integer
SalesJournalLinkRefTableId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SalesNameName on the sales order.String (60)
SalesName
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • Common → Common

    Join on journalRefTableId = Common.TableId, JournalRefRecId = Common.RecId

    Cardinality not set in the metadata.

  • SalesParmTable → SalesParmTable

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

    Many SalesParmSubTable records → exactly one SalesParmTable record

  • SalesTable → SalesTable

    Join on OrigSalesId = SalesTable.SalesId

    Many SalesParmSubTable records → zero or one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk