Table

VendorInvoiceTotalsCacheTable

Cache of invoice totals for a source document, grouped by a parameter ID. It holds balance, round-off and discount amounts. The only scope value listed is split distribution.

Table name
VendorInvoiceTotalsCacheTable
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CashDiscCash discount amount; currency not stated in the metadata.Real
Amount
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
EndDiscAmount for the end discount; currency not stated in the metadata.Real
Amount
NoNone
InvoiceRoundOffInvoice round-off amount; currency not stated in the metadata.Real
Amount
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ParmIdParameter ID that groups the cached rows.String (20)
ParmId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchBalancePurchase balance amount; currency not stated in the metadata.Real
Amount
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
ScopeScope of the cached totals. The only value listed is split distribution.Enum
VendorInvoiceTotalsCacheScope (enum)
NoNone
SourceDocumentHeaderPoints to the source document header record that the totals belong to.Int64
SourceDocumentHeaderRecId
NoSourceDocumentHeader.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many VendorInvoiceTotalsCacheTable records → zero or one SourceDocumentHeader record

Get this data out

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

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

Email sales@drdynamics.co.uk