@org.simplemes.eframe.domain.annotation.DomainEntity @io.micronaut.data.annotation.MappedEntity @java.lang.SuppressWarnings(value: unused) @groovy.transform.ToString(includeNames: true, includePackage: false, excludes: [order, lsn]) @groovy.transform.EqualsAndHashCode(includes: [uuid]) class OrderAssembledComponent extends java.lang.Object
Defines a single component assembled into an order (and optionally an LSN). This includes a 'location' mechanism to track where the component was loaded from on the work center setup. This location can be a bin, shelf or automated feeder location.
This object records the long-term component history, so there are no real primary keys for the record.
This element informally belongs to the MES Core Order domain. Since the Order is in another module, the normal child relationship can't be used. Instead, the AssemblyAddition adds this as a custom child to the core domain.
| Type | Name and description |
|---|---|
private org.simplemes.eframe.custom.domain.FlexType |
assemblyDataThe flexible data type used to define the assembly data for this component. |
private java.lang.Integer |
bomSequenceThe sequence from the BOM component requirement (e.g. from ProductComponent). |
private org.simplemes.mes.product.domain.Product |
componentThis is the product for the component. |
private java.util.Date |
dateCreated |
private java.util.Date |
dateUpdated |
private static java.lang.Object |
fieldOrderInternal definitions. |
private java.lang.String |
fieldsHolder for custom fields. |
private static java.lang.Object |
keysThe primary key(s) for this child element. |
private java.lang.String |
locationThe location name. |
private org.simplemes.mes.demand.domain.LSN |
lsnThis is the Lot/Serial (LSN) within the order that this component was assembled onto. |
private org.simplemes.mes.demand.domain.Order |
orderThis is the order this component was assembled onto. |
private BigDecimal |
qtyThe number of pieces assembled (Optional). |
private java.lang.String |
removedByUserNameThe user who removed this component. |
private java.util.Date |
removedDateThe date/time the user removed this component. |
private java.lang.Integer |
sequenceA unique sequence for this record. |
private org.simplemes.mes.assy.demand.AssembledComponentStateEnum |
stateThe current state of this component (can be removed). |
private java.lang.String |
userNameThe user who assembled this component. |
private java.util.UUID |
uuid |
private org.simplemes.mes.floor.domain.WorkCenter |
workCenterThe work center the component was assembled in (Optional) |
| Constructor and description |
|---|
OrderAssembledComponent
() |
| 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 flexible data type used to define the assembly data for this component. The actual data is stored in a field 'assemblyDataValues' in JSON format.
The sequence from the BOM component requirement (e.g. from ProductComponent). A value of 0 means a non-BOM component was assembled. Non-BOM means the component is not in the orders BOM component list.
This is the product for the component. (Required)
Internal definitions.
Holder for custom fields.
The primary key(s) for this child element.
The location name. This is the location the component was loaded from during assembly. (Default: '@')
This is the Lot/Serial (LSN) within the order that this component was assembled onto. (Optional)
This is the order this component was assembled onto.
The number of pieces assembled (Optional).
The user who removed this component. (User ID).
The date/time the user removed this component.
A unique sequence for this record. This is assigned automatically.
The current state of this component (can be removed). (Default: ASSEMBLED)
The user who assembled this component. (User ID).
The work center the component was assembled in (Optional)
Groovy Documentation