Table
RentalItemPhysicalTrans
Fleet item physical transactions
Stores physical transactions for fleet items, identified by a physical transaction ID. Each record shows the fleet item, its physical status, and where it moved from and to. It can also link to a movement, journal, project, purchase order or sales order.
- Table name
RentalItemPhysicalTrans- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
PhysicalTransIdx- Key fields
PhysicalTransId- Model
RentalManagement
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PhysicalTransIdUnique ID of the physical transaction. | String (20)RentalItemPhysicalTransId | Yes | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FromRelationCustomer, vendor, job site or location that the item comes from. The type is in the From type field. | String (20)RentalItemRelation | No | None | |
FromRelationTypeKind of party or place in the From field: Customer, Vendor, Job site or Fleet location. | EnumRentalRelationType (enum) | No | None | |
InventJournalIdInventory journal linked to the transaction. | String (20)InventJournalId | No | InventJournalTable.JournalId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PhysicalStatusPhysical status of the fleet item in this transaction. | EnumRentalPhysicalStatus (enum) | No | None | |
ProjIdProject linked to the transaction. | String (20)ProjId | No | ProjTable.ProjId | None |
PurchIdPurchase order linked to the transaction. | String (20)PurchIdBase | No | PurchTable.PurchId | 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 | |
RentalItemFleet item that the transaction is for. | Int64RentalItemRecId | Yes | RentalItemTable.RecId | None |
RentalItemMovementFleet item movement linked to the transaction. | Int64RentalItemMovementRecId | No | RentalItemMovementTable.RecId | None |
SalesIdSales order linked to the transaction. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
StatusReasonCodeIdReason code for the status of the fleet item. | StringRentalItemStatusReasonCodeId | No | RentalItemStatusReasonCode.CodeId | 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 | |
ToRelationCustomer, vendor, job site or location that the item goes to. The type is in the To type field. | String (20)RentalItemRelation | No | None | |
ToRelationTypeKind of party or place in the To field: Customer, Vendor, Job site or Fleet location. | EnumRentalRelationType (enum) | No | None | |
TransDateDate of the transaction. | DateTransDate | No | None |
Indexes (5)
RentalItemIdxRentalItem,PhysicalStatus,TransDateNot unique.
PhysicalTransIdxReplacement keyUnique, alternate key.
ItemMovementTableIdxNot unique.
ProjTableIdxNot unique.
SalesIdIdxNot unique.
Relations (7)
Each relation joins RentalItemPhysicalTrans to another table on the fields shown.
ItemMovementTable→RentalItemMovementTableJoin on
RentalItemMovement = RentalItemMovementTable.RecIdMany RentalItemPhysicalTrans records → zero or one RentalItemMovementTable record
RentalItem→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany RentalItemPhysicalTrans records → exactly one RentalItemTable record
InventJournal→InventJournalTableJoin on
InventJournalId = InventJournalTable.JournalIdMany RentalItemPhysicalTrans records → zero or one InventJournalTable record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdZero or one RentalItemPhysicalTrans record → zero or one ProjTable record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany RentalItemPhysicalTrans records → zero or one PurchTable record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany RentalItemPhysicalTrans records → zero or one SalesTable record
StatusReason→RentalItemStatusReasonCodeJoin on
StatusReasonCodeId = RentalItemStatusReasonCode.CodeIdMany RentalItemPhysicalTrans records → zero or one RentalItemStatusReasonCode record
Get this data out
No public entity reads from RentalItemPhysicalTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalItemPhysicalTrans in a report, an integration or a migration? Talk to Dr Dynamics.