Table

TMSInvoiceReference

Invoice Reference

Stores reference numbers attached to freight invoices. Each row links to a freight invoice detail record and holds an internal invoice number, a reference number and a line number. The table has no defined key.

Table name
TMSInvoiceReference
Module
Transportation management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
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
InternalInvNumberInternal number of the invoice that the reference relates to.String (50)
TMSInternalInvNumber
YesNone
InvoiceReferenceNumThe reference number recorded for the invoice.String (100)
TMSInvoiceReferenceNum
NoNone
LineNumLine number that orders the reference rows.Real
LineNum
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
RefRecIdSystem record ID of the freight invoice details record this reference belongs to.Int64
RefRecId
NoTMSInvoiceTable.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • TMSInvoiceTable → TMSInvoiceTable

    Join on RefRecId = TMSInvoiceTable.RecId

    Many TMSInvoiceReference records → exactly one TMSInvoiceTable record

Get this data out

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

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

Email sales@drdynamics.co.uk