Data entity
LedgerVoucherTypeEntity
Holds voucher types used for China. Each voucher type has a name, description, number and priority. It can link to responsible workers, a print layout group and a number sequence code. The key is the voucher type.
- Entity name
LedgerVoucherTypeEntity- Public entity name
VoucherType- OData collection
VoucherTypes- Category
Not set- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasic- Keys
VoucherType- Staging table
LedgerVoucherTypeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VoucherTypes- Dataverse virtual table
mserp_ledgervouchertypeentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
LedgerVoucherType_CN· rootDefaultApprover(tableHcmWorker) · OuterJoin toLedgerVoucherType_CN· read-onlyDefaultedPreparedBy(tableHcmWorker) · OuterJoin toLedgerVoucherType_CN· read-onlyLedgerPrintLayoutGroup_CN· OuterJoin toLedgerVoucherType_CN· read-onlyNumberSequenceTable· InnerJoin toLedgerVoucherType_CN· read-only
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DefaultApproverRecIdPoints to the worker who approves vouchers of this type by default. | Int64HcmApprover | No | No (private) | HcmWorker.RecId | LedgerVoucherType_CN.DefaultApprover |
JournalNameName of the journal used by default, pointing to the journal name table. | StringLedgerJournalNameId | No | Yes | LedgerJournalName.JournalName | LedgerVoucherType_CN.DefaultJournal |
DefaultPreparedByWorkerRecIdPoints to the worker who prepares vouchers of this type by default. | Int64HcmWorkerRecId | No | No (private) | HcmWorker.RecId | LedgerVoucherType_CN.DefaultPreparedByWorker |
IsDefaultTypeYes/No flag showing whether this is the default voucher type. | EnumNoYesId
| No | Yes | LedgerVoucherType_CN.DefaultType | |
DescriptionShort description of the voucher type. | String (60)Description | No | Yes | LedgerVoucherType_CN.Description | |
VoucherTypeID of the voucher type. It is the key of the table. | StringLedgerVoucherTypeId_CN | Yes | Yes | LedgerVoucherType_CN.Id | |
LedgerPrintLayoutGroupRecIdPoints to the print layout group used for this voucher type. | Int64RefRecId | No | No (private) | LedgerPrintLayoutGroup_CN.RecId | LedgerVoucherType_CN.LedgerPrintLayoutGroup |
VoucherTypeNumberNumber of the voucher type, up to 20 characters. | String (20)LedgerVoucherTypeNumber_CN | Yes | Yes | LedgerVoucherType_CN.Num | |
NumberSequenceTableRecIdPoints to the number sequence code used for this voucher type. | Int64RefRecId | Yes | No (private) | NumberSequenceTable.RecId | LedgerVoucherType_CN.NumberSequenceTable |
PriorityPriority number of the voucher type. | IntegerVoucherTypePriority_CN | No | Yes | LedgerVoucherType_CN.Priority | |
DefaultApprovedByNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
DefaultedPreparedByNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
LedgerPrintLayoutGroupUnique ID of the print layout group. | StringLedgerPrintLayoutGroupId_CN | No | Yes | LedgerPrintLayoutGroup_CN.Id | |
NumberSequenceCodeCode that identifies the number sequence. | StringNumberSequenceCode | Yes | Yes | NumberSequenceTable.NumberSequence | |
NumberSequenceScopeScope that the sequence belongs to. | Int64RefRecId | No | No (private) | NumberSequenceScope.RecId | NumberSequenceTable.NumberSequenceScope |
Foreign keys (6)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
DefaultApproverRecId→HcmWorker.RecId(key of HcmWorker)Many LedgerVoucherType_CN records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
JournalName→LedgerJournalName.JournalName(key of LedgerJournalName)Many LedgerVoucherType_CN records → zero or one LedgerJournalName record
LedgerJournalName details: see LedgerJournalNameEntity
DefaultPreparedByWorkerRecId→HcmWorker.RecId(key of HcmWorker)Many LedgerVoucherType_CN records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
LedgerPrintLayoutGroupRecId→LedgerPrintLayoutGroup_CN.RecId(key of LedgerPrintLayoutGroup_CN)Many LedgerVoucherType_CN records → zero or one LedgerPrintLayoutGroup_CN record
LedgerPrintLayoutGroup_CN details: see LedgerPrintLayoutEntity, LedgerVoucherTypeAccountRestrictionEntity, LedgerVoucherTypeAccountRestrictionV2Entity
NumberSequenceTableRecId→NumberSequenceTable.RecId(key of NumberSequenceTable)Many LedgerVoucherType_CN records → exactly one NumberSequenceTable record
NumberSequenceTable details: see NumberSequenceTableEntity, NumberSequenceTableV2Entity, MCRReqPlanContinuityEntity
NumberSequenceScope→NumberSequenceScope.RecId(key of NumberSequenceScope)Many NumberSequenceTable records → zero or one NumberSequenceScope record
NumberSequenceScope details: see MCRReqPlanContinuityEntity, WHSNumberSequenceExtReferenceEntity, LedgerAccrualSchemesEntity
Need help with LedgerVoucherTypeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.