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 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 |
subIdGUID that identifies this connection record. | GuidSalesParmSubId | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
JournalRefRecIdRecord ID of the linked journal record. The table it belongs to is given by the reference table ID. | Int64SalesJournalLinkRefRecId | No | None | |
journalRefTableIdID of the table that the linked journal record belongs to. | IntegerSalesJournalLinkRefTableId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
SalesNameName on the sales order. | String (60)SalesName | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ParmTableRefIdxPrimary indexReplacement keyParmId,TableRefId,OrigSalesId,subIdUnique, alternate key.
Relations (3)
Each relation joins SalesParmSubTable to another table on the fields shown.
Common→CommonJoin on
journalRefTableId = Common.TableId,JournalRefRecId = Common.RecIdCardinality not set in the metadata.
SalesParmTable→SalesParmTableJoin on
ParmId = SalesParmTable.ParmId,TableRefId = SalesParmTable.TableRefIdMany SalesParmSubTable records → exactly one SalesParmTable record
SalesTable→SalesTableJoin on
OrigSalesId = SalesTable.SalesIdMany 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.