Table
AssetLeaseLedgerToLeaseRelation
Ledger to lease relation
Links a ledger journal to a lease. Each row is keyed by the journal batch number and records the lease ID, the lease version, the type of lease journal and the payment schedule line it relates to. It also notes whether the entry was reversed.
- Table name
AssetLeaseLedgerToLeaseRelation- Module
Asset leasing- Table group
Reference- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
JournalIdx- Replacement key
JournalIdx- Key fields
JournalNum- Model
AssetLeasing
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
JournalNumJournal batch number, pointing to a ledger journal record. This is the key. | String (20)LedgerJournalId | Yes | LedgerJournalTable.JournalNum | AssetLeaseLedgerToLeaseRelationBiEntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | AssetLeaseLedgerToLeaseRelationBiEntityAssetLeaseAssetTransactionEntity | |
JournalTypeType of the ledger journal, such as Daily, Periodic or Post fixed assets. | EnumLedgerJournalType (enum) | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
LeaseIdID of the lease linked to the journal, pointing to a lease record. | String (40)AssetLeaseLeaseId | Yes | AssetLeaseLeaseDetails.LeaseId | AssetLeaseLedgerToLeaseRelationBiEntity |
LeaseJournalTypeKind of lease journal, such as Initial recognition, Invoice, Liability or Termination. | EnumAssetLeaseJournalType (enum) | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
LeaseVersionVersion number of the lease that the journal relates to. | IntegerInteger | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentLineRecIdRecord ID of the payment schedule line that the journal relates to. | Int64FatherRecId | No | AssetLeasePaymentScheduleLine.RecId | AssetLeaseLedgerToLeaseRelationBiEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
ReversedYes/No flag showing whether the journal entry was reversed. | EnumAssetLeaseReverseNoYes (enum) | No | AssetLeaseLedgerToLeaseRelationBiEntity | |
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 | |
TxtShort text note on the journal entry. | String (60)Name | No | AssetLeaseLedgerToLeaseRelationBiEntity |
Indexes (2)
JournalIdxPrimary indexReplacement keyUnique, alternate key.
LeaseIdxNot unique.
Relations (3)
Each relation joins AssetLeaseLedgerToLeaseRelation to another table on the fields shown.
AssetLeasePaymentScheduleLine→AssetLeasePaymentScheduleLineJoin on
PaymentLineRecId = AssetLeasePaymentScheduleLine.RecIdMany AssetLeaseLedgerToLeaseRelation records → zero or one AssetLeasePaymentScheduleLine record
LedgerJournalTable→LedgerJournalTableJoin on
JournalNum = LedgerJournalTable.JournalNumZero or one AssetLeaseLedgerToLeaseRelation record → exactly one LedgerJournalTable record
AssetLeaseLeaseDetails→AssetLeaseLeaseDetailsJoin on
LeaseId = AssetLeaseLeaseDetails.LeaseIdMany AssetLeaseLedgerToLeaseRelation records → zero or one AssetLeaseLeaseDetails record
Get this data out
Tables are not exposed directly. These public entities read from AssetLeaseLedgerToLeaseRelation; use one of them in Power BI, Power Platform or a data management project.
AssetLeaseLedgerToLeaseRelationBiEntity· 16 fields from this tableAssetLeaseAssetTransactionEntity· 1 field from this table
Need help with AssetLeaseLedgerToLeaseRelation in a report, an integration or a migration? Talk to Dr Dynamics.