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 descriptionType / EDT / enumMandatoryReferencesIn public entities
LeaseIdID of the lease this version belongs to, pointing to a lease record. Part of the key.String (40)
AssetLeaseLeaseId
YesAssetLeaseLeaseDetails.LeaseIdAssetLeaseBookVersionEntity
LeaseCounterVersion number of the lease. Part of the key.Integer
Integer
YesAssetLeaseBookVersionEntity
AccountingFrameworkLease classification under an accounting standard, such as IFRS 16 or ASC 842 variants.Enum
AssetLeaseAccountingFramework (enum)
NoAssetLeaseBookVersionEntity
ActiveVersionYes/No flag showing whether this version is the active one.Enum
NoYes (enum)
NoNone
AnnuityTypeSays whether payments fall at the start (annuity due) or at the end (ordinary annuity) of each period.Enum
AssetLeaseAnnuityType (enum)
NoAssetLeaseBookVersionEntity
ApprovalStatusApproval state of the lease, for example Approved or Pending submission.Enum
AssetLeaseApprovalStatus (enum)
NoNone
AssetBookIdFixed asset book for the lease, pointing to a fixed asset book setup record.String
AssetBookId
NoAssetBookTable.BookIdNone
AssetIdFixed asset number linked to the lease, pointing to a fixed asset record.String (20)
AssetIdOpen
NoAssetTable.AssetIdAssetLeaseBookVersionEntity
BookTableLease book type for the lease, pointing to a lease book record by record ID.Int64
AssetLeaseBookRefRecId
NoAssetLeaseBookTable.RecIdAssetLeaseBookVersionEntity
BorrowingRateIncremental borrowing rate used to discount lease payments, as a percentage.Real
InterestPct
YesAssetLeaseBookVersionEntity
BreakdownPaymentAmountYes/No flag that turns on a breakdown of the payment amount on the schedule lines.Enum
NoYes (enum)
NoNone
CommencementDateDate on which the lease commences.Date
TransDate
NoAssetLeaseBookVersionEntity
CompoundingIntervalHow often interest is compounded: Monthly, Quarterly, Annually or Semiannually.Enum
AssetLeaseCompoundingInterval (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreateFixedAssetYes/No flag showing whether a new fixed asset is to be created for the lease.Enum
CreateFixedAsset
NoYes (enum)
NoNone
CurrencyCodeCurrency of the lease transactions.String (3)
CurrencyCode
YesAssetLeaseBookVersionEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoAssetLeaseBookVersionEntity
DateEntryToPostTransition date, meaning the date a new accounting standard took effect for the lease.Date
AssetLeaseNextPaymentDate
NoAssetLeaseBookVersionEntity
DeferredRentCarryoverDeferred rent amount carried over for operating leases that were changed earlier, as held in this version.Real
Amount
NoAssetLeaseBookVersionEntity
DimensionDefaultDefault financial dimensions for the lease, held as a record ID.Int64
DimensionDefault
NoAssetLeaseBookVersionEntity
DismantlingCostsEstimated cost of dismantling and removing the underlying asset, applying to IFRS 16 leases.Real
AssetLeaseDismantlingCosts
NoAssetLeaseBookVersionEntity
ExchangeRateExchange rate to the accounting currency.Real
CurrencyExchangeRate
NoAssetLeaseBookVersionEntity
ExchangeRateReportingExchange rate to the reporting currency.Real
ReportingCurrencyExchRate
NoAssetLeaseBookVersionEntity
FairValueImplicit loan amount of the lease.Real
AssetLeaseFairValue
NoNone
FairValueOfAssetFair value of the leased asset in this version of the lease.Real
AssetLeaseFairValueOfAsset
YesAssetLeaseBookVersionEntity
FixedExchangeRateYes/No flag showing that the accounting currency rate is fixed.Enum
FixedExchRate
NoYes (enum)
NoAssetLeaseBookVersionEntity
FixedExchangeRateReportingYes/No flag showing that the reporting currency rate is fixed.Enum
FixedExchRate
NoYes (enum)
NoAssetLeaseBookVersionEntity
IndexRateIndex rate, as a percentage, at the lease commencement.Real
AssetLeaseIndexRate
NoAssetLeaseBookVersionEntity
IndexTypeIndex rate type that the lease payments depend on.String (20)
AssetLeaseIndexRateTypeName
NoAssetLeaseBookVersionEntity
InitialDirectCostInitial direct costs of the lease.Real
Qty
NoAssetLeaseBookVersionEntity
LeaseDescriptionShort description that identifies the lease.String (60)
Description
NoAssetLeaseBookVersionEntity
LeaseGroupLease group the lease belongs to, pointing to a lease group record.String
AssetLeaseGroup
NoAssetLeaseGroupTable.LeaseGroupAssetLeaseBookVersionEntity
LeaseIncentivesIncentive amount linked to the lease, which affects the right-of-use asset.Real
AssetLeaseIncentives
NoAssetLeaseBookVersionEntity
LeaseStartDateDate the leased asset is made available to the lessee.Date
AssetLeaseLeaseStartDate
NoNone
LeaseStatusStatus of the lease: Not yet acquired, Open, Closed or Terminated.Enum
AssetLeaseLeaseStatus (enum)
NoAssetLeaseBookVersionEntity
LeaseTypeClassification of the lease: Automatic, Finance or Operating.Enum
AssetLeaseType (enum)
YesAssetLeaseBookVersionEntity
LeaseVersionLease ID text for the version, with the same format as the lease ID.String (40)
AssetLeaseLeaseId
NoNone
LeasingConventionLeasing convention used, either None or Full month.Enum
AssetLeaseLeasingConvention (enum)
NoNone
LegalEntityCompany (legal entity) that owns the lease.String
SelectableDataArea
YesNone
LogisticsLocationLocation record linked to the lease, held as a record ID.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdAssetLeaseBookVersionEntity
NotAdjustmentYes/No flag. The label is empty, so the purpose is only suggested by the name: the version is not an adjustment.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
OverrideLeaseTypeYes/No flag showing that the lease classification was overridden by hand.Enum
NoYesId
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentIntervalHow often payments are made: Annually, Quarterly, Monthly or Semiannually.Enum
AssetLeasePaymentInterval (enum)
NoNone
PeriodsRemainingNumber of payment periods still left on the lease.Integer
AssetLeasePeriodsRemaining
NoNone
PostingLayerPosting layer the lease book uses, such as Current, Operations or Tax.Enum
CurrentOperationsTax (enum)
NoAssetLeaseBookVersionEntity
PrepaymentsLease prepayment amount paid before commencement.Real
AssetLeaseLeasePrepaid
NoAssetLeaseBookVersionEntity
PresentValuePresent value of the lease payments.Real
AssetLeasePresentValue
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
RevaluationDateDate of the revaluation.Date
TransDate
YesAssetLeaseBookVersionEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendAccountVendor account of the lessor, pointing to a vendor record.String (20)
VendAccount
NoVendTable.AccountNumAssetLeaseBookVersionEntity
WorkerResponsibleWorker responsible for the lease, pointing to a worker record.Int64
HcmResponsibleRecId
NoHcmWorker.RecIdNone

Indexes (2)

Relations (9)

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

  • AssetLeaseLeaseDetails → AssetLeaseLeaseDetails

    Join on LeaseId = AssetLeaseLeaseDetails.LeaseId

    One or more AssetLeaseLeaseDetailsVersionHistory records → exactly one AssetLeaseLeaseDetails record

  • LogisticsLocation_FK → LogisticsLocation

    Join on LogisticsLocation = LogisticsLocation.RecId

    Many AssetLeaseLeaseDetailsVersionHistory records → zero or one LogisticsLocation record

  • AssetLeaseBookTable → AssetLeaseBookTable

    Join on BookTable = AssetLeaseBookTable.RecId

    Zero or one AssetLeaseLeaseDetailsVersionHistory record → zero or one AssetLeaseBookTable record

  • WorkerResponsible_FK → HcmWorker

    Join on WorkerResponsible = HcmWorker.RecId

    Many AssetLeaseLeaseDetailsVersionHistory records → zero or one HcmWorker record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many AssetLeaseLeaseDetailsVersionHistory records → exactly one VendTable record

  • AssetLeaseGroupTable → AssetLeaseGroupTable

    Join on LeaseGroup = AssetLeaseGroupTable.LeaseGroup

    Many AssetLeaseLeaseDetailsVersionHistory records → zero or one AssetLeaseGroupTable record

  • AssetTable → AssetTable

    Join on AssetId = AssetTable.AssetId

    Many AssetLeaseLeaseDetailsVersionHistory records → exactly one AssetTable record

  • AssetBookTable → AssetBookTable

    Join on AssetBookId = AssetBookTable.BookId

    Many AssetLeaseLeaseDetailsVersionHistory records → zero or one AssetBookTable record

  • AssetBook → AssetBook

    Join on AssetId = AssetBook.AssetId, AssetBookId = AssetBook.BookId

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

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

Email sales@drdynamics.co.uk