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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CashDiscCash discount amount; currency not stated in the metadata. | RealAmount | 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 | |
EndDiscAmount for the end discount; currency not stated in the metadata. | RealAmount | No | None | |
InvoiceRoundOffInvoice round-off amount; currency not stated in the metadata. | RealAmount | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ParmIdParameter ID that groups the cached rows. | String (20)ParmId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchBalancePurchase balance amount; currency not stated in the metadata. | RealAmount | 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 | |
ScopeScope of the cached totals. The only value listed is split distribution. | EnumVendorInvoiceTotalsCacheScope (enum) | No | None | |
SourceDocumentHeaderPoints to the source document header record that the totals belong to. | Int64SourceDocumentHeaderRecId | No | SourceDocumentHeader.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PrimaryScope,SourceDocumentHeader,ParmIdUnique.
Relations (1)
Each relation joins VendorInvoiceTotalsCacheTable to another table on the fields shown.
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany 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.