Table
AssetLeaseExecutoryCostContractHistory
Executory cost contract history
History of executory cost contracts, kept for each lease version. It repeats the expense type, date range, payment amount, frequency and offset account. It links to the lease version history.
- Table name
AssetLeaseExecutoryCostContractHistory- Module
Asset leasing- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LeaseIdx- Replacement key
LeaseIdx- Key fields
LeaseId, ExpenseType, LeaseCounter, StartDate, EndDate, OffsetLedgerDimension- Model
AssetLeasing
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LeaseIdID of the lease, linked to the lease version history together with the version number. | String (40)AssetLeaseLeaseId | Yes | AssetLeaseLeaseDetailsVersionHistory.LeaseId | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity |
ExpenseTypeType of expense, linked to the expense type setup. | String (20)AssetLeaseExpenseType | Yes | AssetLeaseExpenseTypeTable.ExpenseType | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity |
LeaseCounterVersion number of the lease for this history record. | IntegerInteger | Yes | AssetLeaseLeaseDetailsVersionHistory.LeaseCounter | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity |
StartDateDate on which the expense payment period begins. | DateAssetLeaseDate | Yes | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity | |
EndDateDate on which the expense payment period ends. | DateAssetLeaseDate | Yes | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity | |
OffsetLedgerDimensionOffset account, linked to a dimension code combination. | Int64DimensionDynamicDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity |
AnnuityTypeWhether payments fall at the start (annuity due) or end (ordinary annuity) of each period. | EnumAssetLeaseAnnuityType (enum) | No | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | AssetLeaseExecutoryCostContractHistoryBiEntity | |
FrequencyHow often payments are made, such as monthly or quarterly. | EnumAssetLeasePaymentFrequency (enum) | No | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity | |
IntervalUnit of the period: days, months or years. | EnumAssetLeaseLeaseTermInterval (enum) | No | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity | |
OffsetAccountTypeKind of account used as the offset, such as ledger, vendor or bank. | EnumLedgerJournalACType (enum) | No | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentAmountAmount of each expense payment. | RealAssetLeasePaymentAmount | No | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity | |
PeriodsNumber of periods the payment amount covers. | IntegerAssetLeasePeriods | No | AssetLeaseExecutoryCostContractHistoryDataEntityAssetLeaseExecutoryCostContractHistoryBiEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | AssetLeaseExecutoryCostContractHistoryBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | AssetLeaseExecutoryCostContractHistoryBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
LeaseIdxPrimary indexReplacement keyLeaseId,ExpenseType,LeaseCounter,StartDate,EndDate,OffsetLedgerDimensionUnique, alternate key.
AssetLeaseExpenseTypeTableIdxNot unique.
Relations (3)
Each relation joins AssetLeaseExecutoryCostContractHistory to another table on the fields shown.
LeaseIdRelation→AssetLeaseLeaseDetailsVersionHistoryJoin on
LeaseId = AssetLeaseLeaseDetailsVersionHistory.LeaseId,LeaseCounter = AssetLeaseLeaseDetailsVersionHistory.LeaseCounterExactly one AssetLeaseExecutoryCostContractHistory record → exactly one AssetLeaseLeaseDetailsVersionHistory record
AssetLeaseExpenseTypeTable→AssetLeaseExpenseTypeTableJoin on
ExpenseType = AssetLeaseExpenseTypeTable.ExpenseTypeMany AssetLeaseExecutoryCostContractHistory records → exactly one AssetLeaseExpenseTypeTable record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany AssetLeaseExecutoryCostContractHistory records → exactly one DimensionAttributeValueCombination record
Get this data out
Tables are not exposed directly. These public entities read from AssetLeaseExecutoryCostContractHistory; use one of them in Power BI, Power Platform or a data management project.
AssetLeaseExecutoryCostContractHistoryDataEntity· 12 fields from this tableAssetLeaseExecutoryCostContractHistoryBiEntity· 15 fields from this table
Need help with AssetLeaseExecutoryCostContractHistory in a report, an integration or a migration? Talk to Dr Dynamics.