Table
RentalFleetInventoryAccountHistory
Fleet and inventory account history
Records changes of a fleet item from one fleet type to another. Each record also holds the inventory account before and after the change. It links to the fleet item, the inventory transaction origin and the ledger dimension combinations.
- Table name
RentalFleetInventoryAccountHistory- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
RentalItemDateIdx- Key fields
RentalItem, createdDateTime- Model
RentalManagement
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalItemThe fleet item that changed. It points to the fleet items table by system record ID. | Int64RentalItemRecId | Yes | RentalItemTable.RecId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DaysInAssetFleetHow many days the item stayed in the previous fleet. It is filled only when that fleet counts as an asset. | IntegerRentalDaysInAssetFleet | No | None | |
FleetTypeFromThe fleet type the item had before the change. | EnumRentalFleetType (enum) | No | None | |
FleetTypeToThe fleet type the item has after the change. | EnumRentalFleetType (enum) | No | None | |
InventTransOriginLink to the inventory transaction origin record that this history entry relates to. | Int64InventTransOriginId | No | InventTransOrigin.RecId | None |
LedgerDimensionInvAccFromThe inventory account before the change, held as a ledger dimension combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
LedgerDimensionInvAccToThe inventory account after the change, held as a ledger dimension combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
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 | |
TransDateDate of the change. | DateTransDate | No | None |
Indexes (1)
RentalItemDateIdxReplacement keyUnique, alternate key.
Relations (4)
Each relation joins RentalFleetInventoryAccountHistory to another table on the fields shown.
RentalItemTable→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany RentalFleetInventoryAccountHistory records → exactly one RentalItemTable record
InventoryAccountFrom→DimensionAttributeValueCombinationJoin on
LedgerDimensionInvAccFrom = DimensionAttributeValueCombination.RecIdMany RentalFleetInventoryAccountHistory records → zero or one DimensionAttributeValueCombination record
InventoryAccountTo→DimensionAttributeValueCombinationJoin on
LedgerDimensionInvAccTo = DimensionAttributeValueCombination.RecIdMany RentalFleetInventoryAccountHistory records → zero or one DimensionAttributeValueCombination record
InventTrans→InventTransOriginJoin on
InventTransOrigin = InventTransOrigin.RecIdMany RentalFleetInventoryAccountHistory records → zero or one InventTransOrigin record
Get this data out
No public entity reads from RentalFleetInventoryAccountHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalFleetInventoryAccountHistory in a report, an integration or a migration? Talk to Dr Dynamics.