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· rootAssetLeaseExecutoryCostScheduleLineHistory· InnerJoin toAssetLeaseExecutoryCostScheduleHistoryOffsetLedgerDimensionDAVC(tableDimensionCombinationEntity) · OuterJoin toAssetLeaseExecutoryCostScheduleLineHistory· read-onlyFinTag· OuterJoin toAssetLeaseExecutoryCostScheduleLineHistory· read-only
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LeaseIdIdentifier of the lease. It points to the lease version history together with the version counter. | String (40)AssetLeaseLeaseId | Yes | Yes | AssetLeaseExecutoryCostScheduleHistory.LeaseId | |
LeaseCounterVersion number of the lease. It points to the lease version history together with the lease ID. | IntegerInteger | No | Yes | AssetLeaseLeaseDetailsVersionHistory.LeaseCounter | AssetLeaseExecutoryCostScheduleHistory.LeaseCounter |
ExpenseTypeType of expense on the line. It points to the expense type record. | String (20)AssetLeaseExpenseType | Yes | Yes | AssetLeaseExpenseTypeTable.ExpenseType | AssetLeaseExecutoryCostScheduleLineHistory.ExpenseType |
ScheduleLineDateApproximate expense date of the line. | DateAssetLeasePaymentScheduleDate | Yes | Yes | AssetLeaseExecutoryCostScheduleLineHistory.ScheduleLineDate | |
OffsetAccountTypeKind of offset account, such as ledger, customer, vendor or bank. | Enum
| No | Yes | AssetLeaseExecutoryCostScheduleLineHistory.OffsetAccountType | |
JournalCreatedYes or No flag showing whether a journal has been created for this payment. | EnumAssetLeaseInvoiceJournalCreated
| No | Yes | AssetLeaseExecutoryCostScheduleLineHistory.JournalCreated | |
JournalNumNumber of the journal created for this line. | String (20)LedgerJournalId | No | Yes | AssetLeaseExecutoryCostScheduleLineHistory.JournalNum | |
LineLeaseCounterVersion number of the lease that the line belongs to. | IntegerInteger | Yes | Yes | AssetLeaseExecutoryCostScheduleLineHistory.LeaseCounter | |
OffsetLedgerDimensionOffset account for the line. It points to a dimension code combination. | Int64DimensionDynamicDefaultAccount | Yes | No (private) | DimensionAttributeValueCombination.RecId | AssetLeaseExecutoryCostScheduleLineHistory.OffsetLedgerDimension |
JournalPostedYes or No flag showing whether the journal for this line is posted. | EnumAssetLeaseInvoiceJournalPosted
| No | Yes | AssetLeaseExecutoryCostScheduleLineHistory.JournalPosted | |
OffsetLedgerDimensionDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
FinTagDisplayValueLong text showing the tag values together in a readable form. | String (-1)FinTagDisplayValue | Yes | Yes | FinTag.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.LeaseIdZero 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.