Table
TMSLedgerJourRef
Ledger Journal Reference
Links ledger journals to transportation records. The key combines a reference table ID, a journal number and a record ID. The record link points to freight bill details, and the journal number points to the ledger journal.
- Table name
TMSLedgerJourRef- Module
Transportation management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
JourInvoiceLineRecIdx- Replacement key
JourInvoiceLineRecIdx- Key fields
RefTableId, RefJournalNum, RefRecId- Model
Foundation
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefTableIdID of the table that the referenced record belongs to. | IntegerRefTableId | No | None | |
RefJournalNumNumber of the ledger journal that is referenced. | String (20)TMSRefJournalNum | Yes | LedgerJournalTable.JournalNum | None |
RefRecIdSystem record ID of the referenced transportation record, such as a freight bill detail. | Int64RefRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
JourInvoiceLineRecIdxPrimary indexReplacement keyRefTableId,RefJournalNum,RefRecIdUnique, alternate key.
RefTableIdRefRecIdIdxNot unique.
Relations (3)
Each relation joins TMSLedgerJourRef to another table on the fields shown.
LedgerJournalTable→LedgerJournalTableJoin on
RefJournalNum = LedgerJournalTable.JournalNumMany TMSLedgerJourRef records → exactly one LedgerJournalTable record
TMSFreightBillDetail→TMSFreightBillDetailJoin on
RefTableId = TMSFreightBillDetail.TableId,RefRecId = TMSFreightBillDetail.RecIdMany TMSLedgerJourRef records → zero or one TMSFreightBillDetail record
TMSInvoiceLine→TMSInvoiceLineJoin on
RefTableId = TMSInvoiceLine.TableId,RefRecId = TMSInvoiceLine.RecIdMany TMSLedgerJourRef records → zero or one TMSInvoiceLine record
Get this data out
No public entity reads from TMSLedgerJourRef. Its data is only reachable through the application, a custom entity or a database export.
Need help with TMSLedgerJourRef in a report, an integration or a migration? Talk to Dr Dynamics.