Data entity

AssetLeaseExecutoryCostScheduleHistoryDataEntity

Read-only history of executory cost schedules for earlier lease versions. Each line has a date, an expense type and an offset account type. It also shows whether the invoice journal was created and posted, with the journal batch number. Dimension combinations and financial tags are included. The key is the lease ID, the version history line and the schedule line date.

Entity name
AssetLeaseExecutoryCostScheduleHistoryDataEntity
Public entity name
LeaseExpenseCostScheduleHistory
OData collection
LeaseExpenseCostSchedulesHistory
Category
Not set
Module
Asset lease
Read-only
Yes
Data management enabled
Yes
Configuration key
None
Keys
LeaseId, LineLeaseCounter, ScheduleLineDate
Staging table
AssetLeaseExecutoryCostScheduleHistoryDataStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/LeaseExpenseCostSchedulesHistory
Dataverse virtual table
mserp_assetleaseexecutorycostschedulehistorydataentity. 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

  • AssetLeaseExecutoryCostScheduleHistory · root
  • AssetLeaseExecutoryCostScheduleLineHistory · InnerJoin to AssetLeaseExecutoryCostScheduleHistory
  • OffsetLedgerDimensionDAVC (table DimensionCombinationEntity) · OuterJoin to AssetLeaseExecutoryCostScheduleLineHistory · read-only
  • FinTag · OuterJoin to AssetLeaseExecutoryCostScheduleLineHistory · read-only

Fields (12)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LeaseIdIdentifier of the lease. It points to the lease version history together with the version counter.String (40)
AssetLeaseLeaseId
YesYesAssetLeaseExecutoryCostScheduleHistory.LeaseId
LeaseCounterVersion number of the lease. It points to the lease version history together with the lease ID.Integer
Integer
NoYesAssetLeaseLeaseDetailsVersionHistory.LeaseCounterAssetLeaseExecutoryCostScheduleHistory.LeaseCounter
ExpenseTypeType of expense on the line. It points to the expense type record.String (20)
AssetLeaseExpenseType
YesYesAssetLeaseExpenseTypeTable.ExpenseTypeAssetLeaseExecutoryCostScheduleLineHistory.ExpenseType
ScheduleLineDateApproximate expense date of the line.Date
AssetLeasePaymentScheduleDate
YesYesAssetLeaseExecutoryCostScheduleLineHistory.ScheduleLineDate
OffsetAccountTypeKind of offset account, such as ledger, customer, vendor or bank.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoYesAssetLeaseExecutoryCostScheduleLineHistory.OffsetAccountType
JournalCreatedYes or No flag showing whether a journal has been created for this payment.Enum
AssetLeaseInvoiceJournalCreated
NoYes

Platform enum: values not in the metadata extract.

NoYesAssetLeaseExecutoryCostScheduleLineHistory.JournalCreated
JournalNumNumber of the journal created for this line.String (20)
LedgerJournalId
NoYesAssetLeaseExecutoryCostScheduleLineHistory.JournalNum
LineLeaseCounterVersion number of the lease that the line belongs to.Integer
Integer
YesYesAssetLeaseExecutoryCostScheduleLineHistory.LeaseCounter
OffsetLedgerDimensionOffset account for the line. It points to a dimension code combination.Int64
DimensionDynamicDefaultAccount
YesNo (private)DimensionAttributeValueCombination.RecIdAssetLeaseExecutoryCostScheduleLineHistory.OffsetLedgerDimension
JournalPostedYes or No flag showing whether the journal for this line is posted.Enum
AssetLeaseInvoiceJournalPosted
NoYes

Platform enum: values not in the metadata extract.

NoYesAssetLeaseExecutoryCostScheduleLineHistory.JournalPosted
OffsetLedgerDimensionDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
FinTagDisplayValueLong text showing the tag values together in a readable form.String (-1)
FinTagDisplayValue
YesYesFinTag.DisplayValue

Foreign keys (3)

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.

  • LeaseCounter → AssetLeaseLeaseDetailsVersionHistory.LeaseCounter (key of AssetLeaseLeaseDetailsVersionHistory)

    Join on all of: LeaseCounter = AssetLeaseLeaseDetailsVersionHistory.LeaseCounter, LeaseId = AssetLeaseLeaseDetailsVersionHistory.LeaseId

    Zero or one AssetLeaseExecutoryCostScheduleHistory record → zero or one AssetLeaseLeaseDetailsVersionHistory record

    AssetLeaseLeaseDetailsVersionHistory details: see AssetLeaseBookVersionEntity

  • ExpenseType → AssetLeaseExpenseTypeTable.ExpenseType (key of AssetLeaseExpenseTypeTable)

    Many AssetLeaseExecutoryCostScheduleLineHistory records → zero or one AssetLeaseExpenseTypeTable record

    AssetLeaseExpenseTypeTable details: see AssetLeaseExpenseTypeDataEntity, AssetLeaseExpenseScheduleEntity

  • OffsetLedgerDimension → DimensionAttributeValueCombination.RecId (key of DimensionAttributeValueCombination)

    Many AssetLeaseExecutoryCostScheduleLineHistory records → exactly one DimensionAttributeValueCombination record

    DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity

Need help with AssetLeaseExecutoryCostScheduleHistoryDataEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk