Table
AssetLeasePostingAccounts
Lease posting accounts
Holds the ledger accounts used for lease posting setup. Each record applies to a lease book type, a posting type and an account code. The account code selects a specific lease, a lease group or all leases. It stores a main account for finance leases and one for operating leases.
- Table name
AssetLeasePostingAccounts- Module
Asset leasing- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LineNumIdx- Replacement key
BookPostingTypeAccountIdx- Key fields
BookTable, PostingTypes, AccountCode, Relation- Model
AssetLeasing
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BookTableLease book type the setup applies to, pointing to the lease book record. | Int64AssetLeaseBookRefRecId | Yes | AssetLeaseBookTable.RecId | AssetLeasePostingAccountsEntity |
PostingTypesKind of posting the account is for, such as lease asset, lease liability, interest expense or depreciation expense. | EnumAssetLeasePostingTypes (enum) | No | AssetLeasePostingAccountsEntityAssetLeasePostingAccountsEntity | |
AccountCodeChooses whether the setup applies to a single lease, a lease group or all leases. | EnumAssetLeasePostingAccountCode (enum) | No | AssetLeasePostingAccountsEntity | |
RelationLease or lease group number that the setup applies to, when the account code selects one. | String (40)AssetLeaseRelation | No | AssetLeaseGroupTable.LeaseGroupAssetLeaseLeaseDetails.LeaseID | AssetLeasePostingAccountsEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | AssetLeasePostingAccountsEntity | |
LedgerDimensionFinanceMain account used for finance leases, pointing to a dimension code combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | AssetLeasePostingAccountsEntity |
LedgerDimensionOperatingMain account used for operating leases, pointing to a dimension code combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | AssetLeasePostingAccountsEntity |
LineNumLine number used to order records. The metadata gives no further detail.low confidence | IntegerInteger | Yes | AssetLeasePostingAccountsEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
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 (2)
BookPostingTypeAccountIdxReplacement keyBookTable,PostingTypes,AccountCode,RelationUnique, alternate key.
LineNumIdxPrimary indexUnique, alternate key.
Relations (5)
Each relation joins AssetLeasePostingAccounts to another table on the fields shown.
AssetLeaseGroup→AssetLeaseGroupTableJoin on
Relation = AssetLeaseGroupTable.LeaseGroup,AccountCode = 1Many AssetLeasePostingAccounts records → zero or one AssetLeaseGroupTable record
AssetLeaseLeaseDetails→AssetLeaseLeaseDetailsJoin on
Relation = AssetLeaseLeaseDetails.LeaseID,AccountCode = nullMany AssetLeasePostingAccounts records → zero or one AssetLeaseLeaseDetails record
FinanceLedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimensionFinance = DimensionAttributeValueCombination.RecIdMany AssetLeasePostingAccounts records → exactly one DimensionAttributeValueCombination record
OperatingLedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimensionOperating = DimensionAttributeValueCombination.RecIdMany AssetLeasePostingAccounts records → exactly one DimensionAttributeValueCombination record
AssetLeaseBookTable→AssetLeaseBookTableJoin on
BookTable = AssetLeaseBookTable.RecIdMany AssetLeasePostingAccounts records → exactly one AssetLeaseBookTable record
Get this data out
Tables are not exposed directly. These public entities read from AssetLeasePostingAccounts; use one of them in Power BI, Power Platform or a data management project.
AssetLeasePostingAccountsEntity· 9 fields from this table
Need help with AssetLeasePostingAccounts in a report, an integration or a migration? Talk to Dr Dynamics.