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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalItemThe fleet item that changed. It points to the fleet items table by system record ID.Int64
RentalItemRecId
YesRentalItemTable.RecIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DaysInAssetFleetHow many days the item stayed in the previous fleet. It is filled only when that fleet counts as an asset.Integer
RentalDaysInAssetFleet
NoNone
FleetTypeFromThe fleet type the item had before the change.Enum
RentalFleetType (enum)
NoNone
FleetTypeToThe fleet type the item has after the change.Enum
RentalFleetType (enum)
NoNone
InventTransOriginLink to the inventory transaction origin record that this history entry relates to.Int64
InventTransOriginId
NoInventTransOrigin.RecIdNone
LedgerDimensionInvAccFromThe inventory account before the change, held as a ledger dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
LedgerDimensionInvAccToThe inventory account after the change, held as a ledger dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the change.Date
TransDate
NoNone

Indexes (1)

Relations (4)

Each relation joins RentalFleetInventoryAccountHistory to another table on the fields shown.

  • RentalItemTable → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Many RentalFleetInventoryAccountHistory records → exactly one RentalItemTable record

  • InventoryAccountFrom → DimensionAttributeValueCombination

    Join on LedgerDimensionInvAccFrom = DimensionAttributeValueCombination.RecId

    Many RentalFleetInventoryAccountHistory records → zero or one DimensionAttributeValueCombination record

  • InventoryAccountTo → DimensionAttributeValueCombination

    Join on LedgerDimensionInvAccTo = DimensionAttributeValueCombination.RecId

    Many RentalFleetInventoryAccountHistory records → zero or one DimensionAttributeValueCombination record

  • InventTrans → InventTransOrigin

    Join on InventTransOrigin = InventTransOrigin.RecId

    Many 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.

Email sales@drdynamics.co.uk