Table
LedgerVoucherObjectPersisted
Stores a saved ledger voucher object in packed form. It is identified by voucher, accounting date and posting layer, and links to a persisted ledger voucher post record by table ID and record ID.
- Table name
LedgerVoucherObjectPersisted- Module
General ledger- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDateAccounting date of the voucher. | DateAccountingDate | Yes | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PackedLedgerVoucherObjectPacked binary data of the saved voucher object. | Container | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingLayerPosting layer, such as current, operations, tax or a custom layer. | EnumCurrentOperationsTax (enum) | Yes | 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 | |
RefRecIdSystem record ID in the linked persisted voucher post record. | Int64RefRecId | Yes | LedgerVoucherPostPersisted.RefRecId | None |
RefTableIdID of the table in the linked record. Used together with the record ID. | IntegerRefTableId | Yes | LedgerVoucherPostPersisted.RefTableId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VoucherVoucher number. | String (20)Voucher | Yes | None |
Indexes (1)
ReferenceVoucherAccountingDatePostingLayerIdxRefRecId,RefTableId,Voucher,AccountingDate,PostingLayerUnique, alternate key.
Relations (1)
Each relation joins LedgerVoucherObjectPersisted to another table on the fields shown.
LedgerVoucherPostPersisted→LedgerVoucherPostPersistedJoin on
RefTableId = LedgerVoucherPostPersisted.RefTableId,RefRecId = LedgerVoucherPostPersisted.RefRecIdMany LedgerVoucherObjectPersisted records → zero or one LedgerVoucherPostPersisted record
Get this data out
No public entity reads from LedgerVoucherObjectPersisted. Its data is only reachable through the application, a custom entity or a database export.
Need help with LedgerVoucherObjectPersisted in a report, an integration or a migration? Talk to Dr Dynamics.