Data entity
LedgerVoucherTypeAccountRestrictionEntity
Lists the account restrictions set for each voucher type, as used for China. Each row links a voucher type to a restriction type, an account type and a ledger dimension combination. It also carries voucher type details such as priority, print layout group and number sequence code.
- Entity name
LedgerVoucherTypeAccountRestrictionEntity- Public entity name
VoucherTypeAccountRestriction- OData collection
VoucherTypeAccountRestrictions- Category
Not set- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasic- Keys
VoucherType, RestrictionType, LedgerDimensionDisplayValue, AccountType- Staging table
LedgerVoucherTypeAccountRestrictionStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VoucherTypeAccountRestrictions- Dataverse virtual table
mserp_ledgervouchertypeaccountrestrictionentity. 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-onlyLedgerAccountRestriction_CN· OuterJoin toLedgerVoucherType_CNLedgerDimensionDAVC(tableDimensionCombinationEntity) · OuterJoin toLedgerAccountRestriction_CN· read-onlyNumberSequenceTable· InnerJoin toLedgerVoucherType_CN· read-only
Fields (19)
| 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 | Yes | 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 |
AccountTypeType of account that the restriction applies to, such as ledger, customer or vendor. | Enum
| No | Yes | LedgerAccountRestriction_CN.AccountType | |
LedgerDimensionLink to the main account combination that the restriction uses. | Int64DimensionDynamicDefaultAccount | Yes | No (private) | DimensionAttributeValueCombination.RecId | LedgerAccountRestriction_CN.LedgerDimension |
LedgerDimensionDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
RestrictionTypeRule that says which accounts a voucher must or must not include, for debits, credits or both. | Enum
| No | Yes | LedgerAccountRestriction_CN.RestrictionType |
Foreign keys (7)
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, LedgerVoucherTypeAccountRestrictionV2Entity, LedgerVoucherTypeEntity
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
LedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerAccountRestriction_CN records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with LedgerVoucherTypeAccountRestrictionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.