@io.micronaut.data.annotation.MappedEntity @org.simplemes.eframe.domain.annotation.DomainEntity @com.fasterxml.jackson.annotation.JsonFilter(value: searchableFilter) @java.lang.SuppressWarnings(value: unused) @groovy.transform.ToString(includeNames: true, includePackage: false) @groovy.transform.EqualsAndHashCode(includes: [product]) class Product extends java.lang.Object implements RoutingTrait
Defines the a product (part) built or used within the system. A product is a part or object that is produced on your shop floor or purchased from external sources. This is sometimes known as a part number or model number. This product defines the optional Bill of Material and Routing needed to produce the product.
Type | Name and description |
---|---|
private java.util.Date |
dateCreated |
private java.util.Date |
dateUpdated |
private java.lang.String |
description |
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 BigDecimal |
lotSize The lot size (size of child LSN if LSNs are used). |
private LSNSequence |
lsnSequence The LSN sequence to use. |
private org.simplemes.mes.demand.LSNTrackingOption |
lsnTrackingOption Defines if LSNs are used with the product. |
private MasterRouting |
masterRouting Defines a shared master routing to be used to produce this product. |
private java.util.List<ProductOperation> |
operations The operations used only by this product. |
private java.lang.String |
product The Product as known to the users. |
private static java.lang.Object |
searchable This domain is a top-level searchable element. |
private java.lang.String |
title The product's title (short description). |
private java.util.UUID |
uuid |
private java.lang.Integer |
version |
Constructor and description |
---|
Product
() |
Type Params | Return Type | Name and description |
---|---|---|
|
RoutingTrait |
determineEffectiveRouting() Determines the effective routing to use for this product. |
|
void |
setOperations(java.util.List<OperationTrait> operations) Sets the operations. |
|
java.lang.String |
toStringLocalized(java.util.Locale locale) Build a human-readable version of this object, localized. |
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() |
Defines the default general field ordering for GUIs and other field listings/reports.
The custom field holder.
The lot size (size of child LSN if LSNs are used).
The LSN sequence to use. If not specified, then LSNs will not be created for the order on creation. If not defined, then the default LSN Sequence will be used.
Defines if LSNs are used with the product. Affects how orders can use LSNs.
Defines a shared master routing to be used to produce this product. This is ignored if the Product-level `operations` are defined.
The operations used only by this product. No other products will use this list of operations.
The Product as known to the users. Primary Key Field.
Maximum length is defined by FieldSizes#MAX_PRODUCT_LENGTH#MAX_PRODUCT_LENGTH.This domain is a top-level searchable element.
The product's title (short description).
Maximum length is defined by FieldSizes#MAX_TITLE_LENGTH#MAX_TITLE_LENGTH.Determines the effective routing to use for this product.
Sets the operations.
operations
- The operations.Build a human-readable version of this object, localized. Simply uses toShortString().
locale
- The locale to display the enum display text.Groovy Documentation