Table
AssetLeaseLeaseDetailsVersionHistory
Leases
Stores earlier versions of lease details. Each row is identified by a lease ID and a lease counter, which separates the versions of one lease. It links to the lease, lease book, lease group, asset, vendor, worker and location.
- Table name
AssetLeaseLeaseDetailsVersionHistory- Module
Asset leasing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
LeaseIdx- Key fields
LeaseId, LeaseCounter- Model
AssetLeasing
Fields (55)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LeaseIdID of the lease this version belongs to, pointing to a lease record. Part of the key. | String (40)AssetLeaseLeaseId | Yes | AssetLeaseLeaseDetails.LeaseId | AssetLeaseBookVersionEntity |
LeaseCounterVersion number of the lease. Part of the key. | IntegerInteger | Yes | AssetLeaseBookVersionEntity | |
AccountingFrameworkLease classification under an accounting standard, such as IFRS 16 or ASC 842 variants. | EnumAssetLeaseAccountingFramework (enum) | No | AssetLeaseBookVersionEntity | |
ActiveVersionYes/No flag showing whether this version is the active one. | EnumNoYes (enum) | No | None | |
AnnuityTypeSays whether payments fall at the start (annuity due) or at the end (ordinary annuity) of each period. | EnumAssetLeaseAnnuityType (enum) | No | AssetLeaseBookVersionEntity | |
ApprovalStatusApproval state of the lease, for example Approved or Pending submission. | EnumAssetLeaseApprovalStatus (enum) | No | None | |
AssetBookIdFixed asset book for the lease, pointing to a fixed asset book setup record. | StringAssetBookId | No | AssetBookTable.BookId | None |
AssetIdFixed asset number linked to the lease, pointing to a fixed asset record. | String (20)AssetIdOpen | No | AssetTable.AssetId | AssetLeaseBookVersionEntity |
BookTableLease book type for the lease, pointing to a lease book record by record ID. | Int64AssetLeaseBookRefRecId | No | AssetLeaseBookTable.RecId | AssetLeaseBookVersionEntity |
BorrowingRateIncremental borrowing rate used to discount lease payments, as a percentage. | RealInterestPct | Yes | AssetLeaseBookVersionEntity | |
BreakdownPaymentAmountYes/No flag that turns on a breakdown of the payment amount on the schedule lines. | EnumNoYes (enum) | No | None | |
CommencementDateDate on which the lease commences. | DateTransDate | No | AssetLeaseBookVersionEntity | |
CompoundingIntervalHow often interest is compounded: Monthly, Quarterly, Annually or Semiannually. | EnumAssetLeaseCompoundingInterval (enum) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreateFixedAssetYes/No flag showing whether a new fixed asset is to be created for the lease. | EnumCreateFixedAssetNoYes (enum) | No | None | |
CurrencyCodeCurrency of the lease transactions. | String (3)CurrencyCode | Yes | AssetLeaseBookVersionEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | AssetLeaseBookVersionEntity | |
DateEntryToPostTransition date, meaning the date a new accounting standard took effect for the lease. | DateAssetLeaseNextPaymentDate | No | AssetLeaseBookVersionEntity | |
DeferredRentCarryoverDeferred rent amount carried over for operating leases that were changed earlier, as held in this version. | RealAmount | No | AssetLeaseBookVersionEntity | |
DimensionDefaultDefault financial dimensions for the lease, held as a record ID. | Int64DimensionDefault | No | AssetLeaseBookVersionEntity | |
DismantlingCostsEstimated cost of dismantling and removing the underlying asset, applying to IFRS 16 leases. | RealAssetLeaseDismantlingCosts | No | AssetLeaseBookVersionEntity | |
ExchangeRateExchange rate to the accounting currency. | RealCurrencyExchangeRate | No | AssetLeaseBookVersionEntity | |
ExchangeRateReportingExchange rate to the reporting currency. | RealReportingCurrencyExchRate | No | AssetLeaseBookVersionEntity | |
FairValueImplicit loan amount of the lease. | RealAssetLeaseFairValue | No | None | |
FairValueOfAssetFair value of the leased asset in this version of the lease. | RealAssetLeaseFairValueOfAsset | Yes | AssetLeaseBookVersionEntity | |
FixedExchangeRateYes/No flag showing that the accounting currency rate is fixed. | EnumFixedExchRateNoYes (enum) | No | AssetLeaseBookVersionEntity | |
FixedExchangeRateReportingYes/No flag showing that the reporting currency rate is fixed. | EnumFixedExchRateNoYes (enum) | No | AssetLeaseBookVersionEntity | |
IndexRateIndex rate, as a percentage, at the lease commencement. | RealAssetLeaseIndexRate | No | AssetLeaseBookVersionEntity | |
IndexTypeIndex rate type that the lease payments depend on. | String (20)AssetLeaseIndexRateTypeName | No | AssetLeaseBookVersionEntity | |
InitialDirectCostInitial direct costs of the lease. | RealQty | No | AssetLeaseBookVersionEntity | |
LeaseDescriptionShort description that identifies the lease. | String (60)Description | No | AssetLeaseBookVersionEntity | |
LeaseGroupLease group the lease belongs to, pointing to a lease group record. | StringAssetLeaseGroup | No | AssetLeaseGroupTable.LeaseGroup | AssetLeaseBookVersionEntity |
LeaseIncentivesIncentive amount linked to the lease, which affects the right-of-use asset. | RealAssetLeaseIncentives | No | AssetLeaseBookVersionEntity | |
LeaseStartDateDate the leased asset is made available to the lessee. | DateAssetLeaseLeaseStartDate | No | None | |
LeaseStatusStatus of the lease: Not yet acquired, Open, Closed or Terminated. | EnumAssetLeaseLeaseStatus (enum) | No | AssetLeaseBookVersionEntity | |
LeaseTypeClassification of the lease: Automatic, Finance or Operating. | EnumAssetLeaseType (enum) | Yes | AssetLeaseBookVersionEntity | |
LeaseVersionLease ID text for the version, with the same format as the lease ID. | String (40)AssetLeaseLeaseId | No | None | |
LeasingConventionLeasing convention used, either None or Full month. | EnumAssetLeaseLeasingConvention (enum) | No | None | |
LegalEntityCompany (legal entity) that owns the lease. | StringSelectableDataArea | Yes | None | |
LogisticsLocationLocation record linked to the lease, held as a record ID. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | AssetLeaseBookVersionEntity |
NotAdjustmentYes/No flag. The label is empty, so the purpose is only suggested by the name: the version is not an adjustment.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
OverrideLeaseTypeYes/No flag showing that the lease classification was overridden by hand. | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentIntervalHow often payments are made: Annually, Quarterly, Monthly or Semiannually. | EnumAssetLeasePaymentInterval (enum) | No | None | |
PeriodsRemainingNumber of payment periods still left on the lease. | IntegerAssetLeasePeriodsRemaining | No | None | |
PostingLayerPosting layer the lease book uses, such as Current, Operations or Tax. | EnumCurrentOperationsTax (enum) | No | AssetLeaseBookVersionEntity | |
PrepaymentsLease prepayment amount paid before commencement. | RealAssetLeaseLeasePrepaid | No | AssetLeaseBookVersionEntity | |
PresentValuePresent value of the lease payments. | RealAssetLeasePresentValue | 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 | |
RevaluationDateDate of the revaluation. | DateTransDate | Yes | AssetLeaseBookVersionEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendAccountVendor account of the lessor, pointing to a vendor record. | String (20)VendAccount | No | VendTable.AccountNum | AssetLeaseBookVersionEntity |
WorkerResponsibleWorker responsible for the lease, pointing to a worker record. | Int64HcmResponsibleRecId | No | HcmWorker.RecId | None |
Indexes (2)
LeaseIdxReplacement keyUnique, alternate key.
BookTableIdxNot unique.
Relations (9)
Each relation joins AssetLeaseLeaseDetailsVersionHistory to another table on the fields shown.
AssetLeaseLeaseDetails→AssetLeaseLeaseDetailsJoin on
LeaseId = AssetLeaseLeaseDetails.LeaseIdOne or more AssetLeaseLeaseDetailsVersionHistory records → exactly one AssetLeaseLeaseDetails record
LogisticsLocation_FK→LogisticsLocationJoin on
LogisticsLocation = LogisticsLocation.RecIdMany AssetLeaseLeaseDetailsVersionHistory records → zero or one LogisticsLocation record
AssetLeaseBookTable→AssetLeaseBookTableJoin on
BookTable = AssetLeaseBookTable.RecIdZero or one AssetLeaseLeaseDetailsVersionHistory record → zero or one AssetLeaseBookTable record
WorkerResponsible_FK→HcmWorkerJoin on
WorkerResponsible = HcmWorker.RecIdMany AssetLeaseLeaseDetailsVersionHistory records → zero or one HcmWorker record
VendTable→VendTableJoin on
VendAccount = VendTable.AccountNumMany AssetLeaseLeaseDetailsVersionHistory records → exactly one VendTable record
AssetLeaseGroupTable→AssetLeaseGroupTableJoin on
LeaseGroup = AssetLeaseGroupTable.LeaseGroupMany AssetLeaseLeaseDetailsVersionHistory records → zero or one AssetLeaseGroupTable record
AssetTable→AssetTableJoin on
AssetId = AssetTable.AssetIdMany AssetLeaseLeaseDetailsVersionHistory records → exactly one AssetTable record
AssetBookTable→AssetBookTableJoin on
AssetBookId = AssetBookTable.BookIdMany AssetLeaseLeaseDetailsVersionHistory records → zero or one AssetBookTable record
AssetBook→AssetBookJoin on
AssetId = AssetBook.AssetId,AssetBookId = AssetBook.BookIdMany AssetLeaseLeaseDetailsVersionHistory records → zero or one AssetBook record
Get this data out
Tables are not exposed directly. These public entities read from AssetLeaseLeaseDetailsVersionHistory; use one of them in Power BI, Power Platform or a data management project.
AssetLeaseBookVersionEntity· 32 fields from this table
Need help with AssetLeaseLeaseDetailsVersionHistory in a report, an integration or a migration? Talk to Dr Dynamics.