@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 |
assemblyData The flexible data type used to define the assembly data for this component. |
private java.lang.Integer |
bomSequence The sequence from the BOM component requirement (e.g. from ProductComponent). |
private org.simplemes.mes.product.domain.Product |
component This is the product for the component. |
private java.util.Date |
dateCreated |
private java.util.Date |
dateUpdated |
private static java.lang.Object |
fieldOrder Internal definitions. |
private java.lang.String |
fields Holder for custom fields. |
private static java.lang.Object |
keys The primary key(s) for this child element. |
private java.lang.String |
location The location name. |
private org.simplemes.mes.demand.domain.LSN |
lsn This is the Lot/Serial (LSN) within the order that this component was assembled onto. |
private org.simplemes.mes.demand.domain.Order |
order This is the order this component was assembled onto. |
private BigDecimal |
qty The number of pieces assembled (Optional). |
private java.lang.String |
removedByUserName The user who removed this component. |
private java.util.Date |
removedDate The date/time the user removed this component. |
private java.lang.Integer |
sequence A unique sequence for this record. |
private org.simplemes.mes.assy.demand.AssembledComponentStateEnum |
state The current state of this component (can be removed). |
private java.lang.String |
userName The user who assembled this component. |
private java.util.UUID |
uuid |
private org.simplemes.mes.floor.domain.WorkCenter |
workCenter The 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