@io.micronaut.data.annotation.MappedEntity @org.simplemes.eframe.domain.annotation.DomainEntity @java.lang.SuppressWarnings(value: unused) @groovy.transform.ToString(includeNames: true, includePackage: false) class ProductionLog extends java.lang.Object
This class represents the result of a production action on the shop floor. Typically, this is written when the order/LSN is taken out of work so that the elapsed time can be calculated. This includes actions like complete and reverse start.
These records are designed to exist without direct references to other domain objects. This means the references use the primary key field for the object (e.g. Order, LSN, etc). Those referenced objects can be archived and these production log records can be kept in the database for a different time scale.
Type | Name and description |
---|---|
private java.lang.String |
action The action performed (Required). |
private java.util.Date |
dateCreated |
private java.util.Date |
dateTime The date/time the action took place (Default: now). |
private java.lang.Long |
elapsedTime The elapsed time in milliseconds for the action (Default: The difference from startDateTime and dateTime or 0). |
private static java.lang.Object |
fieldOrder Defines the default general field ordering for GUIs and other field listings/reports. |
private java.lang.String |
fields The custom field holder. |
private java.lang.String |
lsn The LSN processed. |
private java.lang.String |
masterRouting The master routing this production action took place on. |
private java.lang.Integer |
operationSequence The routing operation sequence where this action was performed. |
private java.lang.String |
order The Order processed. |
private java.lang.String |
product The Product for the LSN/Order. |
private BigDecimal |
qty The quantity processed during this action (Default: 0.0). |
private BigDecimal |
qtyCompleted The quantity completed by this action (Default: 0.0). |
private BigDecimal |
qtyStarted The quantity started that was removed from work on this action (Default: 0.0). |
private java.util.Date |
startDateTime The date/time the action took place (Default: dateTime). |
private java.lang.String |
userName The user who performed this action (User ID) (Required). |
private java.util.UUID |
uuid |
private java.lang.String |
workCenter The Work Center this action took place at. |
Constructor and description |
---|
ProductionLog
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
beforeValidate() Called before insert happens. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The action performed (Required).
The date/time the action took place (Default: now).
The elapsed time in milliseconds for the action (Default: The difference from startDateTime and dateTime or 0).
Defines the default general field ordering for GUIs and other field listings/reports.
The custom field holder.
The LSN processed.
The master routing this production action took place on.
The routing operation sequence where this action was performed.
The Order processed.
The Product for the LSN/Order. Determined automatically on save.
The quantity processed during this action (Default: 0.0).
The quantity completed by this action (Default: 0.0).
The quantity started that was removed from work on this action (Default: 0.0).
The date/time the action took place (Default: dateTime).
The user who performed this action (User ID) (Required).
The Work Center this action took place at.
Groovy Documentation