Table
EntAssetLifecycleStateLog
Lifecycle state logs
Log of lifecycle state changes. Each record holds a reference to the changed record, the lifecycle state it moved to, a remark and a creation time. The references use a record ID plus a table ID, so they can point to different kinds of record, such as functional locations, assets, requests or work orders.
- Table name
EntAssetLifecycleStateLog- Module
Asset management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
EntAsset- Primary index
None- Replacement key
RefLifecycleStateIdx- Key fields
RefRecId, RefTableId, Created, CreatedBy, LifecycleStateRefRecId, LifecycleStateRefTableId, Remark, CreatedDateTime- Model
EnterpriseAssetManagementAppSuite
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefRecIdSystem record ID of the record whose state changed. Used with the reference table ID. | Int64RefRecId | No | None | |
RefTableIdID of the table that the reference record belongs to. | IntegerRefTableId | No | None | |
CreatedDate and time the log entry was created. | UtcDateTimeCreatedDateTime | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
LifecycleStateRefRecIdSystem record ID of the lifecycle state. Used with the lifecycle state type. | Int64RefRecId | Yes | None | |
LifecycleStateRefTableIdID of the table that holds the lifecycle state. | IntegerRefTableId | Yes | None | |
RemarkFree-text remark entered when the lifecycle state changed. | String (300)EntAssetLifecycleStateRemark | 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 | |
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 |
Indexes (1)
RefLifecycleStateIdxReplacement keyRefRecId,RefTableId,Created,CreatedBy,LifecycleStateRefRecId,LifecycleStateRefTableId,Remark,CreatedDateTimeUnique, alternate key.
Relations (8)
Each relation joins EntAssetLifecycleStateLog to another table on the fields shown.
FunctionalLocation→EntAssetFunctionalLocationJoin on
RefTableId = EntAssetFunctionalLocation.TableId,RefRecId = EntAssetFunctionalLocation.RecIdMany EntAssetLifecycleStateLog records → zero or one EntAssetFunctionalLocation record
ObjectTable→EntAssetObjectTableJoin on
RefTableId = EntAssetObjectTable.TableId,RefRecId = EntAssetObjectTable.RecIdZero or one EntAssetLifecycleStateLog record → zero or one EntAssetObjectTable record
RequestTable→EntAssetRequestTableJoin on
RefTableId = EntAssetRequestTable.TableId,RefRecId = EntAssetRequestTable.RecIdZero or one EntAssetLifecycleStateLog record → zero or one EntAssetRequestTable record
WorkOrderTable→EntAssetWorkOrderTableJoin on
RefTableId = EntAssetWorkOrderTable.TableId,RefRecId = EntAssetWorkOrderTable.RecIdZero or one EntAssetLifecycleStateLog record → zero or one EntAssetWorkOrderTable record
FunctionalLocationLifecycleState→EntAssetFunctionalLocationLifecycleStateJoin on
LifecycleStateRefRecId = EntAssetFunctionalLocationLifecycleState.RecId,LifecycleStateRefTableId = EntAssetFunctionalLocationLifecycleState.TableIdZero or one EntAssetLifecycleStateLog record → zero or one EntAssetFunctionalLocationLifecycleState record
ObjectLifecycleState→EntAssetObjectLifecycleStateJoin on
LifecycleStateRefRecId = EntAssetObjectLifecycleState.RecId,LifecycleStateRefTableId = EntAssetObjectLifecycleState.TableIdZero or one EntAssetLifecycleStateLog record → zero or one EntAssetObjectLifecycleState record
RequestLifecycleState→EntAssetRequestLifecycleStateJoin on
LifecycleStateRefRecId = EntAssetRequestLifecycleState.RecId,LifecycleStateRefTableId = EntAssetRequestLifecycleState.TableIdZero or one EntAssetLifecycleStateLog record → zero or one EntAssetRequestLifecycleState record
WorkOrderLifecycleState→EntAssetWorkOrderLifecycleStateJoin on
LifecycleStateRefRecId = EntAssetWorkOrderLifecycleState.RecId,LifecycleStateRefTableId = EntAssetWorkOrderLifecycleState.TableIdZero or one EntAssetLifecycleStateLog record → zero or one EntAssetWorkOrderLifecycleState record
Get this data out
No public entity reads from EntAssetLifecycleStateLog. Its data is only reachable through the application, a custom entity or a database export.
Need help with EntAssetLifecycleStateLog in a report, an integration or a migration? Talk to Dr Dynamics.