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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RefRecIdSystem record ID of the record whose state changed. Used with the reference table ID.Int64
RefRecId
NoNone
RefTableIdID of the table that the reference record belongs to.Integer
RefTableId
NoNone
CreatedDate and time the log entry was created.UtcDateTime
CreatedDateTime
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
LifecycleStateRefRecIdSystem record ID of the lifecycle state. Used with the lifecycle state type.Int64
RefRecId
YesNone
LifecycleStateRefTableIdID of the table that holds the lifecycle state.Integer
RefTableId
YesNone
RemarkFree-text remark entered when the lifecycle state changed.String (300)
EntAssetLifecycleStateRemark
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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

Indexes (1)

Relations (8)

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

  • FunctionalLocation → EntAssetFunctionalLocation

    Join on RefTableId = EntAssetFunctionalLocation.TableId, RefRecId = EntAssetFunctionalLocation.RecId

    Many EntAssetLifecycleStateLog records → zero or one EntAssetFunctionalLocation record

  • ObjectTable → EntAssetObjectTable

    Join on RefTableId = EntAssetObjectTable.TableId, RefRecId = EntAssetObjectTable.RecId

    Zero or one EntAssetLifecycleStateLog record → zero or one EntAssetObjectTable record

  • RequestTable → EntAssetRequestTable

    Join on RefTableId = EntAssetRequestTable.TableId, RefRecId = EntAssetRequestTable.RecId

    Zero or one EntAssetLifecycleStateLog record → zero or one EntAssetRequestTable record

  • WorkOrderTable → EntAssetWorkOrderTable

    Join on RefTableId = EntAssetWorkOrderTable.TableId, RefRecId = EntAssetWorkOrderTable.RecId

    Zero or one EntAssetLifecycleStateLog record → zero or one EntAssetWorkOrderTable record

  • FunctionalLocationLifecycleState → EntAssetFunctionalLocationLifecycleState

    Join on LifecycleStateRefRecId = EntAssetFunctionalLocationLifecycleState.RecId, LifecycleStateRefTableId = EntAssetFunctionalLocationLifecycleState.TableId

    Zero or one EntAssetLifecycleStateLog record → zero or one EntAssetFunctionalLocationLifecycleState record

  • ObjectLifecycleState → EntAssetObjectLifecycleState

    Join on LifecycleStateRefRecId = EntAssetObjectLifecycleState.RecId, LifecycleStateRefTableId = EntAssetObjectLifecycleState.TableId

    Zero or one EntAssetLifecycleStateLog record → zero or one EntAssetObjectLifecycleState record

  • RequestLifecycleState → EntAssetRequestLifecycleState

    Join on LifecycleStateRefRecId = EntAssetRequestLifecycleState.RecId, LifecycleStateRefTableId = EntAssetRequestLifecycleState.TableId

    Zero or one EntAssetLifecycleStateLog record → zero or one EntAssetRequestLifecycleState record

  • WorkOrderLifecycleState → EntAssetWorkOrderLifecycleState

    Join on LifecycleStateRefRecId = EntAssetWorkOrderLifecycleState.RecId, LifecycleStateRefTableId = EntAssetWorkOrderLifecycleState.TableId

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

Email sales@drdynamics.co.uk