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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BookTableLease book type the setup applies to, pointing to the lease book record.Int64
AssetLeaseBookRefRecId
YesAssetLeaseBookTable.RecIdAssetLeasePostingAccountsEntity
PostingTypesKind of posting the account is for, such as lease asset, lease liability, interest expense or depreciation expense.Enum
AssetLeasePostingTypes (enum)
NoAssetLeasePostingAccountsEntityAssetLeasePostingAccountsEntity
AccountCodeChooses whether the setup applies to a single lease, a lease group or all leases.Enum
AssetLeasePostingAccountCode (enum)
NoAssetLeasePostingAccountsEntity
RelationLease or lease group number that the setup applies to, when the account code selects one.String (40)
AssetLeaseRelation
NoAssetLeaseGroupTable.LeaseGroupAssetLeaseLeaseDetails.LeaseIDAssetLeasePostingAccountsEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoAssetLeasePostingAccountsEntity
LedgerDimensionFinanceMain account used for finance leases, pointing to a dimension code combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdAssetLeasePostingAccountsEntity
LedgerDimensionOperatingMain account used for operating leases, pointing to a dimension code combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdAssetLeasePostingAccountsEntity
LineNumLine number used to order records. The metadata gives no further detail.low confidenceInteger
Integer
YesAssetLeasePostingAccountsEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (5)

Each relation joins AssetLeasePostingAccounts to another table on the fields shown.

  • AssetLeaseGroup → AssetLeaseGroupTable

    Join on Relation = AssetLeaseGroupTable.LeaseGroup, AccountCode = 1

    Many AssetLeasePostingAccounts records → zero or one AssetLeaseGroupTable record

  • AssetLeaseLeaseDetails → AssetLeaseLeaseDetails

    Join on Relation = AssetLeaseLeaseDetails.LeaseID, AccountCode = null

    Many AssetLeasePostingAccounts records → zero or one AssetLeaseLeaseDetails record

  • FinanceLedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimensionFinance = DimensionAttributeValueCombination.RecId

    Many AssetLeasePostingAccounts records → exactly one DimensionAttributeValueCombination record

  • OperatingLedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimensionOperating = DimensionAttributeValueCombination.RecId

    Many AssetLeasePostingAccounts records → exactly one DimensionAttributeValueCombination record

  • AssetLeaseBookTable → AssetLeaseBookTable

    Join on BookTable = AssetLeaseBookTable.RecId

    Many 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.

Need help with AssetLeasePostingAccounts in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk