Table
RentalDocumentStatusLog
Rental document status change log
Log of status changes on rental documents. Each entry records the contract status, quotation status and reason at the time it was created. It links to the rental document and to the responsible worker.
- Table name
RentalDocumentStatusLog- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
RentalDocumentTableCreatedDateTimeIdx- Key fields
CreatedDateTime, RentalDocumentTable, ContractStatus, QuotationStatus- Model
RentalManagement
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
RentalDocumentTablePoints to the rental document whose status changed. | Int64RefRecId | Yes | RentalDocumentTable.RecId | None |
ContractStatusContract status recorded in the entry, such as created, active, on hold or closed. | EnumRentalContractStatus (enum) | No | None | |
QuotationStatusQuotation status recorded in the entry, such as sent, confirmed, lost or expired. | EnumRentalQuotationStatus (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReasonReason for the status change, such as manual change, approval, past due or credit limit. | EnumRentalMainStatusReason (enum) | 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 | |
ResponsiblePoints to the worker responsible for the change. | Int64RentalResponsibleWorkerRecId | Yes | HcmWorker.RecId | 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 |
Indexes (3)
RentalMainTableIdxNot unique.
HcmWorkerIdxNot unique.
RentalDocumentTableCreatedDateTimeIdxReplacement keyCreatedDateTime,RentalDocumentTable,ContractStatus,QuotationStatusUnique, alternate key.
Relations (2)
Each relation joins RentalDocumentStatusLog to another table on the fields shown.
ResponsibleWorker→HcmWorkerJoin on
Responsible = HcmWorker.RecIdMany RentalDocumentStatusLog records → exactly one HcmWorker record
RentalDocumentTable→RentalDocumentTableJoin on
RentalDocumentTable = RentalDocumentTable.RecIdOne or more RentalDocumentStatusLog records → exactly one RentalDocumentTable record
Get this data out
No public entity reads from RentalDocumentStatusLog. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalDocumentStatusLog in a report, an integration or a migration? Talk to Dr Dynamics.