public class BillOfMaterial extends VdmEntity<BillOfMaterial>
Modifier and Type | Class and Description |
---|---|
static class |
BillOfMaterial.BillOfMaterialBuilder |
Modifier and Type | Field and Description |
---|---|
static BillOfMaterialSelectable |
ALL_FIELDS
Selector for all available fields of BillOfMaterial.
|
static BillOfMaterialField<String> |
BILL_OF_MATERIAL
Use with available fluent helpers to apply the BillOfMaterial field to query operations.
|
static BillOfMaterialField<String> |
BILL_OF_MATERIAL_AUTHSN_GRP
Use with available fluent helpers to apply the BillOfMaterialAuthsnGrp field to query operations.
|
static BillOfMaterialField<String> |
BILL_OF_MATERIAL_CATEGORY
Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations.
|
static BillOfMaterialField<UUID> |
BILL_OF_MATERIAL_HEADER_UUID
Use with available fluent helpers to apply the BillOfMaterialHeaderUUID field to query operations.
|
static BillOfMaterialField<String> |
BILL_OF_MATERIAL_STATUS
Use with available fluent helpers to apply the BillOfMaterialStatus field to query operations.
|
static BillOfMaterialField<String> |
BILL_OF_MATERIAL_VARIANT
Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations.
|
static BillOfMaterialField<String> |
BILL_OF_MATERIAL_VARIANT_USAGE
Use with available fluent helpers to apply the BillOfMaterialVariantUsage field to query operations.
|
static BillOfMaterialField<String> |
BILL_OF_MATERIAL_VERSION
Use with available fluent helpers to apply the BillOfMaterialVersion field to query operations.
|
static BillOfMaterialField<String> |
BOM_ALTERNATIVE_TEXT
Use with available fluent helpers to apply the BOMAlternativeText field to query operations.
|
static BillOfMaterialField<String> |
BOM_GROUP
Use with available fluent helpers to apply the BOMGroup field to query operations.
|
static BillOfMaterialField<String> |
BOM_HEADER_BASE_UNIT
Use with available fluent helpers to apply the BOMHeaderBaseUnit field to query operations.
|
static BillOfMaterialField<String> |
BOM_HEADER_INTERNAL_CHANGE_COUNT
Use with available fluent helpers to apply the BOMHeaderInternalChangeCount field to query operations.
|
static BillOfMaterialField<BigDecimal> |
BOM_HEADER_QUANTITY_IN_BASE_UNIT
Use with available fluent helpers to apply the BOMHeaderQuantityInBaseUnit field to query operations.
|
static BillOfMaterialField<String> |
BOM_HEADER_TEXT
Use with available fluent helpers to apply the BOMHeaderText field to query operations.
|
static BillOfMaterialField<String> |
BOM_IS_TO_BE_DELETED
Use with available fluent helpers to apply the BOMIsToBeDeleted field to query operations.
|
static BillOfMaterialField<String> |
BOM_TECHNICAL_TYPE
Use with available fluent helpers to apply the BOMTechnicalType field to query operations.
|
static BillOfMaterialField<String> |
BOM_USAGE_PRIORITY
Use with available fluent helpers to apply the BOMUsagePriority field to query operations.
|
static BillOfMaterialField<String> |
BOM_VERSION_STATUS
Use with available fluent helpers to apply the BOMVersionStatus field to query operations.
|
static BillOfMaterialField<String> |
CHG_TO_ENGINEERING_CHG_DOCUMENT
Use with available fluent helpers to apply the ChgToEngineeringChgDocument field to query operations.
|
static BillOfMaterialField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static BillOfMaterialField<Boolean> |
DOCUMENT_IS_CREATED_BY_CAD
Use with available fluent helpers to apply the DocumentIsCreatedByCAD field to query operations.
|
static BillOfMaterialField<String> |
ENGINEERING_CHANGE_DOCUMENT
Use with available fluent helpers to apply the EngineeringChangeDocument field to query operations.
|
static BillOfMaterialField<Calendar> |
HEADER_VALIDITY_END_DATE
Use with available fluent helpers to apply the HeaderValidityEndDate field to query operations.
|
static BillOfMaterialField<Calendar> |
HEADER_VALIDITY_START_DATE
Use with available fluent helpers to apply the HeaderValidityStartDate field to query operations.
|
static BillOfMaterialField<Boolean> |
IS_ALE
Use with available fluent helpers to apply the IsALE field to query operations.
|
static BillOfMaterialField<Boolean> |
IS_CONFIGURED_MATERIAL
Use with available fluent helpers to apply the IsConfiguredMaterial field to query operations.
|
static BillOfMaterialField<Boolean> |
IS_LATEST_BOM_VERSION
Use with available fluent helpers to apply the IsLatestBOMVersion field to query operations.
|
static BillOfMaterialField<Boolean> |
IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.
|
static BillOfMaterialField<Boolean> |
IS_MULTIPLE_BOM_ALT
Use with available fluent helpers to apply the IsMultipleBOMAlt field to query operations.
|
static BillOfMaterialField<Boolean> |
IS_VERSION_BILL_OF_MATERIAL
Use with available fluent helpers to apply the IsVersionBillOfMaterial field to query operations.
|
static BillOfMaterialField<String> |
LABORATORY_OR_DESIGN_OFFICE
Use with available fluent helpers to apply the LaboratoryOrDesignOffice field to query operations.
|
static BillOfMaterialField<Calendar> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static BillOfMaterialField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static BillOfMaterialField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static BillOfMaterialField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static BillOfMaterialField<Calendar> |
RECORD_CREATION_DATE
Use with available fluent helpers to apply the RecordCreationDate field to query operations.
|
static BillOfMaterialLink<BillOfMaterialItem> |
TO_BILL_OF_MATERIAL_ITEM
Use with available fluent helpers to apply the to_BillOfMaterialItem navigation property to query operations.
|
Constructor and Description |
---|
BillOfMaterial() |
BillOfMaterial(UUID billOfMaterialHeaderUUID,
String material,
String plant,
String billOfMaterialVariantUsage,
String billOfMaterialCategory,
String billOfMaterial,
String billOfMaterialVariant,
Boolean isMultipleBOMAlt,
String bOMHeaderInternalChangeCount,
String bOMUsagePriority,
String billOfMaterialAuthsnGrp,
String billOfMaterialVersion,
String bOMVersionStatus,
Boolean isVersionBillOfMaterial,
Boolean isLatestBOMVersion,
Boolean isConfiguredMaterial,
String bOMTechnicalType,
String bOMGroup,
String bOMHeaderText,
String bOMAlternativeText,
String billOfMaterialStatus,
Calendar headerValidityStartDate,
Calendar headerValidityEndDate,
String engineeringChangeDocument,
String chgToEngineeringChgDocument,
Boolean isMarkedForDeletion,
Boolean isALE,
String bOMHeaderBaseUnit,
BigDecimal bOMHeaderQuantityInBaseUnit,
Calendar recordCreationDate,
Calendar lastChangeDate,
String createdByUser,
String lastChangedByUser,
String bOMIsToBeDeleted,
Boolean documentIsCreatedByCAD,
String laboratoryOrDesignOffice,
ErpConfigContext erpConfigContext,
List<BillOfMaterialItem> toBillOfMaterialItem) |
Modifier and Type | Method and Description |
---|---|
void |
addBillOfMaterialItem(BillOfMaterialItem... entity)
Adds elements to the list of associated BillOfMaterialItem entities.
|
static BillOfMaterial.BillOfMaterialBuilder |
builder() |
boolean |
equals(Object o) |
List<BillOfMaterialItem> |
fetchBillOfMaterialItem()
Fetches the BillOfMaterialItem entities (one to many) associated with this entity.
|
static <T> BillOfMaterialField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getBillOfMaterial()
Constraints: Not nullable, Maximum length: 8
|
String |
getBillOfMaterialAuthsnGrp()
Constraints: Not nullable, Maximum length: 4
|
String |
getBillOfMaterialCategory()
Constraints: Not nullable, Maximum length: 1
|
UUID |
getBillOfMaterialHeaderUUID()
(Key Field) Constraints: Not nullable
|
List<BillOfMaterialItem> |
getBillOfMaterialItemOrFetch()
Retrieval of associated BillOfMaterialItem entities (one to many).
|
com.google.common.base.Optional<List<BillOfMaterialItem>> |
getBillOfMaterialItemOrNull()
Retrieval of associated BillOfMaterialItem entities (one to many).
|
String |
getBillOfMaterialStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getBillOfMaterialVariant()
Constraints: Not nullable, Maximum length: 2
|
String |
getBillOfMaterialVariantUsage()
Constraints: Not nullable, Maximum length: 1
|
String |
getBillOfMaterialVersion()
Constraints: Not nullable, Maximum length: 4
|
String |
getBOMAlternativeText()
Constraints: Not nullable, Maximum length: 40
|
String |
getBOMGroup()
Constraints: Not nullable, Maximum length: 18
|
String |
getBOMHeaderBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getBOMHeaderInternalChangeCount()
Constraints: Not nullable, Maximum length: 8
|
BigDecimal |
getBOMHeaderQuantityInBaseUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getBOMHeaderText()
Constraints: Not nullable, Maximum length: 40
|
String |
getBOMIsToBeDeleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getBOMTechnicalType()
Constraints: Not nullable, Maximum length: 1
|
String |
getBOMUsagePriority()
Constraints: Not nullable, Maximum length: 2
|
String |
getBOMVersionStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getChgToEngineeringChgDocument()
Constraints: Not nullable, Maximum length: 12
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
Boolean |
getDocumentIsCreatedByCAD()
Constraints: none
|
String |
getEngineeringChangeDocument()
Constraints: Not nullable, Maximum length: 12
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Calendar |
getHeaderValidityEndDate()
Constraints: Not nullable, Precision: 0
|
Calendar |
getHeaderValidityStartDate()
Constraints: Not nullable, Precision: 0
|
Boolean |
getIsALE()
Constraints: none
|
Boolean |
getIsConfiguredMaterial()
Constraints: none
|
Boolean |
getIsLatestBOMVersion()
Constraints: none
|
Boolean |
getIsMarkedForDeletion()
Constraints: none
|
Boolean |
getIsMultipleBOMAlt()
Constraints: none
|
Boolean |
getIsVersionBillOfMaterial()
Constraints: none
|
String |
getLaboratoryOrDesignOffice()
Constraints: Not nullable, Maximum length: 3
|
Calendar |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
Calendar |
getRecordCreationDate()
Constraints: Not nullable, Precision: 0
|
Class<BillOfMaterial> |
getType() |
int |
hashCode() |
void |
setBillOfMaterial(String billOfMaterial)
Constraints: Not nullable, Maximum length: 8
|
void |
setBillOfMaterialAuthsnGrp(String billOfMaterialAuthsnGrp)
Constraints: Not nullable, Maximum length: 4
|
void |
setBillOfMaterialCategory(String billOfMaterialCategory)
Constraints: Not nullable, Maximum length: 1
|
void |
setBillOfMaterialHeaderUUID(UUID billOfMaterialHeaderUUID)
(Key Field) Constraints: Not nullable
|
void |
setBillOfMaterialItem(List<BillOfMaterialItem> value)
Overwrites the list of associated BillOfMaterialItem entities for the loaded navigation property to_BillOfMaterialItem.
|
void |
setBillOfMaterialStatus(String billOfMaterialStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setBillOfMaterialVariant(String billOfMaterialVariant)
Constraints: Not nullable, Maximum length: 2
|
void |
setBillOfMaterialVariantUsage(String billOfMaterialVariantUsage)
Constraints: Not nullable, Maximum length: 1
|
void |
setBillOfMaterialVersion(String billOfMaterialVersion)
Constraints: Not nullable, Maximum length: 4
|
void |
setBOMAlternativeText(String bOMAlternativeText)
Constraints: Not nullable, Maximum length: 40
|
void |
setBOMGroup(String bOMGroup)
Constraints: Not nullable, Maximum length: 18
|
void |
setBOMHeaderBaseUnit(String bOMHeaderBaseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setBOMHeaderInternalChangeCount(String bOMHeaderInternalChangeCount)
Constraints: Not nullable, Maximum length: 8
|
void |
setBOMHeaderQuantityInBaseUnit(BigDecimal bOMHeaderQuantityInBaseUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setBOMHeaderText(String bOMHeaderText)
Constraints: Not nullable, Maximum length: 40
|
void |
setBOMIsToBeDeleted(String bOMIsToBeDeleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setBOMTechnicalType(String bOMTechnicalType)
Constraints: Not nullable, Maximum length: 1
|
void |
setBOMUsagePriority(String bOMUsagePriority)
Constraints: Not nullable, Maximum length: 2
|
void |
setBOMVersionStatus(String bOMVersionStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setChgToEngineeringChgDocument(String chgToEngineeringChgDocument)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setDocumentIsCreatedByCAD(Boolean documentIsCreatedByCAD)
Constraints: none
|
void |
setEngineeringChangeDocument(String engineeringChangeDocument)
Constraints: Not nullable, Maximum length: 12
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setHeaderValidityEndDate(Calendar headerValidityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setHeaderValidityStartDate(Calendar headerValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setIsALE(Boolean isALE)
Constraints: none
|
void |
setIsConfiguredMaterial(Boolean isConfiguredMaterial)
Constraints: none
|
void |
setIsLatestBOMVersion(Boolean isLatestBOMVersion)
Constraints: none
|
void |
setIsMarkedForDeletion(Boolean isMarkedForDeletion)
Constraints: none
|
void |
setIsMultipleBOMAlt(Boolean isMultipleBOMAlt)
Constraints: none
|
void |
setIsVersionBillOfMaterial(Boolean isVersionBillOfMaterial)
Constraints: none
|
void |
setLaboratoryOrDesignOffice(String laboratoryOrDesignOffice)
Constraints: Not nullable, Maximum length: 3
|
void |
setLastChangeDate(Calendar lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setRecordCreationDate(Calendar recordCreationDate)
Constraints: Not nullable, Precision: 0
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final BillOfMaterialSelectable ALL_FIELDS
public static final BillOfMaterialField<UUID> BILL_OF_MATERIAL_HEADER_UUID
public static final BillOfMaterialField<String> MATERIAL
public static final BillOfMaterialField<String> PLANT
public static final BillOfMaterialField<String> BILL_OF_MATERIAL_VARIANT_USAGE
public static final BillOfMaterialField<String> BILL_OF_MATERIAL_CATEGORY
public static final BillOfMaterialField<String> BILL_OF_MATERIAL
public static final BillOfMaterialField<String> BILL_OF_MATERIAL_VARIANT
public static final BillOfMaterialField<Boolean> IS_MULTIPLE_BOM_ALT
public static final BillOfMaterialField<String> BOM_HEADER_INTERNAL_CHANGE_COUNT
public static final BillOfMaterialField<String> BOM_USAGE_PRIORITY
public static final BillOfMaterialField<String> BILL_OF_MATERIAL_AUTHSN_GRP
public static final BillOfMaterialField<String> BILL_OF_MATERIAL_VERSION
public static final BillOfMaterialField<String> BOM_VERSION_STATUS
public static final BillOfMaterialField<Boolean> IS_VERSION_BILL_OF_MATERIAL
public static final BillOfMaterialField<Boolean> IS_LATEST_BOM_VERSION
public static final BillOfMaterialField<Boolean> IS_CONFIGURED_MATERIAL
public static final BillOfMaterialField<String> BOM_TECHNICAL_TYPE
public static final BillOfMaterialField<String> BOM_GROUP
public static final BillOfMaterialField<String> BOM_HEADER_TEXT
public static final BillOfMaterialField<String> BOM_ALTERNATIVE_TEXT
public static final BillOfMaterialField<String> BILL_OF_MATERIAL_STATUS
public static final BillOfMaterialField<Calendar> HEADER_VALIDITY_START_DATE
public static final BillOfMaterialField<Calendar> HEADER_VALIDITY_END_DATE
public static final BillOfMaterialField<String> ENGINEERING_CHANGE_DOCUMENT
public static final BillOfMaterialField<String> CHG_TO_ENGINEERING_CHG_DOCUMENT
public static final BillOfMaterialField<Boolean> IS_MARKED_FOR_DELETION
public static final BillOfMaterialField<Boolean> IS_ALE
public static final BillOfMaterialField<String> BOM_HEADER_BASE_UNIT
public static final BillOfMaterialField<BigDecimal> BOM_HEADER_QUANTITY_IN_BASE_UNIT
public static final BillOfMaterialField<Calendar> RECORD_CREATION_DATE
public static final BillOfMaterialField<Calendar> LAST_CHANGE_DATE
public static final BillOfMaterialField<String> CREATED_BY_USER
public static final BillOfMaterialField<String> LAST_CHANGED_BY_USER
public static final BillOfMaterialField<String> BOM_IS_TO_BE_DELETED
public static final BillOfMaterialField<Boolean> DOCUMENT_IS_CREATED_BY_CAD
public static final BillOfMaterialField<String> LABORATORY_OR_DESIGN_OFFICE
public static final BillOfMaterialLink<BillOfMaterialItem> TO_BILL_OF_MATERIAL_ITEM
@Generated(value="lombok") public BillOfMaterial()
@ConstructorProperties(value={"billOfMaterialHeaderUUID","material","plant","billOfMaterialVariantUsage","billOfMaterialCategory","billOfMaterial","billOfMaterialVariant","isMultipleBOMAlt","bOMHeaderInternalChangeCount","bOMUsagePriority","billOfMaterialAuthsnGrp","billOfMaterialVersion","bOMVersionStatus","isVersionBillOfMaterial","isLatestBOMVersion","isConfiguredMaterial","bOMTechnicalType","bOMGroup","bOMHeaderText","bOMAlternativeText","billOfMaterialStatus","headerValidityStartDate","headerValidityEndDate","engineeringChangeDocument","chgToEngineeringChgDocument","isMarkedForDeletion","isALE","bOMHeaderBaseUnit","bOMHeaderQuantityInBaseUnit","recordCreationDate","lastChangeDate","createdByUser","lastChangedByUser","bOMIsToBeDeleted","documentIsCreatedByCAD","laboratoryOrDesignOffice","erpConfigContext","toBillOfMaterialItem"}) @Generated(value="lombok") public BillOfMaterial(@Nullable UUID billOfMaterialHeaderUUID, @Nullable String material, @Nullable String plant, @Nullable String billOfMaterialVariantUsage, @Nullable String billOfMaterialCategory, @Nullable String billOfMaterial, @Nullable String billOfMaterialVariant, @Nullable Boolean isMultipleBOMAlt, @Nullable String bOMHeaderInternalChangeCount, @Nullable String bOMUsagePriority, @Nullable String billOfMaterialAuthsnGrp, @Nullable String billOfMaterialVersion, @Nullable String bOMVersionStatus, @Nullable Boolean isVersionBillOfMaterial, @Nullable Boolean isLatestBOMVersion, @Nullable Boolean isConfiguredMaterial, @Nullable String bOMTechnicalType, @Nullable String bOMGroup, @Nullable String bOMHeaderText, @Nullable String bOMAlternativeText, @Nullable String billOfMaterialStatus, @Nullable Calendar headerValidityStartDate, @Nullable Calendar headerValidityEndDate, @Nullable String engineeringChangeDocument, @Nullable String chgToEngineeringChgDocument, @Nullable Boolean isMarkedForDeletion, @Nullable Boolean isALE, @Nullable String bOMHeaderBaseUnit, @Nullable BigDecimal bOMHeaderQuantityInBaseUnit, @Nullable Calendar recordCreationDate, @Nullable Calendar lastChangeDate, @Nullable String createdByUser, @Nullable String lastChangedByUser, @Nullable String bOMIsToBeDeleted, @Nullable Boolean documentIsCreatedByCAD, @Nullable String laboratoryOrDesignOffice, @Nullable ErpConfigContext erpConfigContext, List<BillOfMaterialItem> toBillOfMaterialItem)
public Class<BillOfMaterial> getType()
getType
in class VdmObject<BillOfMaterial>
public static <T> BillOfMaterialField<T> field(String fieldName, Class<T> fieldType)
fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.public List<BillOfMaterialItem> fetchBillOfMaterialItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public List<BillOfMaterialItem> getBillOfMaterialItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_BillOfMaterialItem of a queried BillOfMaterial is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public com.google.common.base.Optional<List<BillOfMaterialItem>> getBillOfMaterialItemOrNull()
If the navigation property to_BillOfMaterialItem for an entity BillOfMaterial has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setBillOfMaterialItem(@NonNull List<BillOfMaterialItem> value)
If the navigation property to_BillOfMaterialItem of a queried BillOfMaterial is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of BillOfMaterialItem entities.public void addBillOfMaterialItem(BillOfMaterialItem... entity)
If the navigation property to_BillOfMaterialItem of a queried BillOfMaterial is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of BillOfMaterialItem entities.@Generated(value="lombok") public static BillOfMaterial.BillOfMaterialBuilder builder()
@Nullable @Generated(value="lombok") public UUID getBillOfMaterialHeaderUUID()
@Nullable @Generated(value="lombok") public String getMaterial()
@Nullable @Generated(value="lombok") public String getPlant()
@Nullable @Generated(value="lombok") public String getBillOfMaterialVariantUsage()
By setting various indicators, you can define the maximum configuration of the item status and define whether an item must be or cannot be processed in a particular area (such as production). A material is used in the areas production and costing in a company. For each area, you maintain a separate BOM with different items: Production BOM: This BOM contains items that are relevant to production. These items are copied to the planned order. Dependent requirements are generated for them, and they are copied to the production order. Costing BOM: This BOM contains items that are relevant to determining the material costs of a product. When you calculate production costs using a quantity structure, the system automatically determines the BOM and all the BOM items that are relevant to costing, in order to calculate manufacturing costs.
@Nullable @Generated(value="lombok") public String getBillOfMaterialCategory()
Material BOM - linked to a material Equipment BOM - linked to an equipment Order BOM - linked to material, sales order and sales order item.
@Nullable @Generated(value="lombok") public String getBillOfMaterial()
The system assigns this number internally. These numbers are irrelevant to the user. You access the BOM by entering the object (for example, material or equipment) to which the BOM belongs. The system stores the following information under this number: all alternatives in a multiple BOM all variants in a variant BOM BOMs that are allocated to more than one plant
@Nullable @Generated(value="lombok") public String getBillOfMaterialVariant()
One product or assembly can be described by a number of (alternative) BOMs that represent, for example, different manufacturing processes for different lot sizes. These alternative BOMs are grouped together as one multiple BOM. Alternatives are maintained separately for each BOM usage.
@Nullable @Generated(value="lombok") public Boolean getIsMultipleBOMAlt()
You define for which multiple BOM (material/plant/usage) and from which date the specific alternative is to be selected in the IMG for Production (BOMs). To do this, choose BOMs -> Alternative Determination -> Define alternative determination for multiple BOMs step.
@Nullable @Generated(value="lombok") public String getBOMHeaderInternalChangeCount()
@Nullable @Generated(value="lombok") public String getBOMUsagePriority()
When a BOM is exploded, priority is given to the alternative that has the greatest available significance according to the order of priority defined for the selection ID. If no valid BOM is found for any of the usages defined in the order of priority, there is no BOM explosion. You maintain selection ID 05, to be used for alternative determination in sales and distribution. BOM usage 'sales' (4) has the highest priority, followed by 'production' (2). The settings for this example are as follows: Selection Selection BOM ID priority usage 05 1 4 05 2 2 When you define the application for sales and distribution (application SLDB) in step 'Define applications', allocate selection ID 05 to application SLDB.
@Nullable @Generated(value="lombok") public String getBillOfMaterialAuthsnGrp()
In addition to the authorization group, the following values are checked for BOM transactions: - Transaction type - BOM usage - BOM category Assuming that the values in these other fields fulfil requirements, the authorization group controls checking as follows: If there is no entry, the authorization group of the user is not checked: any user can access the BOM. Otherwise, only those users whose user profile contains the authorization group entered can access the BOM. You can only enter authorization groups which fall within the range stored in your user profile.
@Nullable @Generated(value="lombok") public String getBillOfMaterialVersion()
@Nullable @Generated(value="lombok") public String getBOMVersionStatus()
@Nullable @Generated(value="lombok") public Boolean getIsVersionBillOfMaterial()
@Nullable @Generated(value="lombok") public Boolean getIsLatestBOMVersion()
@Nullable @Generated(value="lombok") public Boolean getIsConfiguredMaterial()
Configurable assemblies: are used in sales variant processing contain selectable parts, which are used alongside non-variable parts in the variant to be produced
@Nullable @Generated(value="lombok") public String getBOMTechnicalType()
You can extend a simple BOM to form one of the following: multiple BOM variant BOM The system allocates technical types: according to the number of alternative BOMs When you create the first alternative for a BOM, the technical type is not yet defined. If you extend the BOM by creating an alternative, the system automatically assigns the technical type multiple BOM. according to the transaction If you create a BOM using the Create variant of... function, the system assigns the technical type variant BOM. After this, you can no longer create alternatives for the BOM. Multiple BOM - M One product can be produced according to different manufacturing processes from different components and component quantities: one product has more than one alternative BOM. ---------- | ------ | --------|--|ALT1| | ---- | | ------ | |MAT1|--| | | ---- | | ------ | --------|--|ALT2| | | ------ | ---------- Variant BOM - V A number of similar products are described via one BOM. Each product has one alternative BOM. ---- ---------- |MAT1|--.........|.. | ---- | | ------ | |--------| |ALT1| | ---- | | ------ | |MAT2|--.........|.. | ---- ----------
@Nullable @Generated(value="lombok") public String getBOMGroup()
If you assign a "meaningful" number to a BOM group, this gives you an additional way of accessing the BOM. The system stores the following under a BOM group: all the alternatives in a multiple BOM all the BOMs entered for a variant BOM The following special characters are supported: - / _
@Nullable @Generated(value="lombok") public String getBOMHeaderText()
It contains information, which applies to all the alternatives in a BOM applies to all the variants in a variant BOM If you want to maintain a long text, choose the symbol to the right of the field. The system displays different symbols according to the situation:
@Nullable @Generated(value="lombok") public String getBOMAlternativeText()
This information only applies to this individual alternative and variant. If you want to maintain a long text, choose the symbol to the right of the field. The system displays a different symbol for each situation:
@Nullable @Generated(value="lombok") public String getBillOfMaterialStatus()
This indicator controls subsequent processing of the BOM in various other organizational areas (for example, engineering, costing, MRP). 1 - BOM active This BOM can, for example, be exploded in MRP and released for planned orders. 2 - BOM not active This BOM cannot be processed as described above. In the modification table for BOM management, you can define a default status for creating BOMs.
@Nullable @Generated(value="lombok") public Calendar getHeaderValidityStartDate()
@Nullable @Generated(value="lombok") public Calendar getHeaderValidityEndDate()
@Nullable @Generated(value="lombok") public String getEngineeringChangeDocument()
If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal: The system determines the validity conditions The conditions that the change is effective under can be defined in the change master record as follows: Changes with a date validity (valid-from date) Changes with parameter effectivity (for example: serial no. effectivity) Log of the changes made Documentation of the changes Assignment of a revision level to a change state of a material or document Release of changes for the different areas in the company
@Nullable @Generated(value="lombok") public String getChgToEngineeringChgDocument()
If the object has been changed using a change number, the system determines this change number automatically. Three change numbers (N1, N2 and N3) define the validity periods of the item: N1 N2 N3 I-----------I----------------------I----------------> 1.1.96 6.1.96 12.2.96 If you change the item within the validity period of change number N1, the system enters N2 in Change number to. If you change the item within the validity period of change number N2, the system enters N3 in Change number to.
@Nullable @Generated(value="lombok") public Boolean getIsMarkedForDeletion()
This indicator is relevant to changes that have been made with reference to a change number with a validity that has been specified using a new validity type.
@Nullable @Generated(value="lombok") public Boolean getIsALE()
@Nullable @Generated(value="lombok") public String getBOMHeaderBaseUnit()
The system takes this unit from the material master. The unit cannot be changed, because stock of the material is managed using this unit.
@Nullable @Generated(value="lombok") public BigDecimal getBOMHeaderQuantityInBaseUnit()
Using this customizing function, you can define a value which is set as a default when you create a bill of material.
@Nullable @Generated(value="lombok") public Calendar getRecordCreationDate()
@Nullable @Generated(value="lombok") public Calendar getLastChangeDate()
@Nullable @Generated(value="lombok") public String getCreatedByUser()
@Nullable @Generated(value="lombok") public String getLastChangedByUser()
@Nullable @Generated(value="lombok") public String getBOMIsToBeDeleted()
@Nullable @Generated(value="lombok") public Boolean getDocumentIsCreatedByCAD()
This indicator is only for information.However you can use it as search criteria for a document search. You can restrict the document search as follows: Entry Description X find documents with a CAD indicator find documents without a CAD indicator * find documents with or without a CAD indicator This indicator is set using the CAD interface.
@Nullable @Generated(value="lombok") public String getLaboratoryOrDesignOffice()
You define the keys in Customizing (for the Material Master).
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setBillOfMaterialHeaderUUID(@Nullable UUID billOfMaterialHeaderUUID)
billOfMaterialHeaderUUID
- @Generated(value="lombok") public void setMaterial(@Nullable String material)
material
- @Generated(value="lombok") public void setPlant(@Nullable String plant)
plant
- @Generated(value="lombok") public void setBillOfMaterialVariantUsage(@Nullable String billOfMaterialVariantUsage)
By setting various indicators, you can define the maximum configuration of the item status and define whether an item must be or cannot be processed in a particular area (such as production). A material is used in the areas production and costing in a company. For each area, you maintain a separate BOM with different items: Production BOM: This BOM contains items that are relevant to production. These items are copied to the planned order. Dependent requirements are generated for them, and they are copied to the production order. Costing BOM: This BOM contains items that are relevant to determining the material costs of a product. When you calculate production costs using a quantity structure, the system automatically determines the BOM and all the BOM items that are relevant to costing, in order to calculate manufacturing costs.
billOfMaterialVariantUsage
- @Generated(value="lombok") public void setBillOfMaterialCategory(@Nullable String billOfMaterialCategory)
Material BOM - linked to a material Equipment BOM - linked to an equipment Order BOM - linked to material, sales order and sales order item.
billOfMaterialCategory
- @Generated(value="lombok") public void setBillOfMaterial(@Nullable String billOfMaterial)
The system assigns this number internally. These numbers are irrelevant to the user. You access the BOM by entering the object (for example, material or equipment) to which the BOM belongs. The system stores the following information under this number: all alternatives in a multiple BOM all variants in a variant BOM BOMs that are allocated to more than one plant
billOfMaterial
- @Generated(value="lombok") public void setBillOfMaterialVariant(@Nullable String billOfMaterialVariant)
One product or assembly can be described by a number of (alternative) BOMs that represent, for example, different manufacturing processes for different lot sizes. These alternative BOMs are grouped together as one multiple BOM. Alternatives are maintained separately for each BOM usage.
billOfMaterialVariant
- @Generated(value="lombok") public void setIsMultipleBOMAlt(@Nullable Boolean isMultipleBOMAlt)
You define for which multiple BOM (material/plant/usage) and from which date the specific alternative is to be selected in the IMG for Production (BOMs). To do this, choose BOMs -> Alternative Determination -> Define alternative determination for multiple BOMs step.
isMultipleBOMAlt
- @Generated(value="lombok") public void setBOMHeaderInternalChangeCount(@Nullable String bOMHeaderInternalChangeCount)
bOMHeaderInternalChangeCount
- @Generated(value="lombok") public void setBOMUsagePriority(@Nullable String bOMUsagePriority)
When a BOM is exploded, priority is given to the alternative that has the greatest available significance according to the order of priority defined for the selection ID. If no valid BOM is found for any of the usages defined in the order of priority, there is no BOM explosion. You maintain selection ID 05, to be used for alternative determination in sales and distribution. BOM usage 'sales' (4) has the highest priority, followed by 'production' (2). The settings for this example are as follows: Selection Selection BOM ID priority usage 05 1 4 05 2 2 When you define the application for sales and distribution (application SLDB) in step 'Define applications', allocate selection ID 05 to application SLDB.
bOMUsagePriority
- @Generated(value="lombok") public void setBillOfMaterialAuthsnGrp(@Nullable String billOfMaterialAuthsnGrp)
In addition to the authorization group, the following values are checked for BOM transactions: - Transaction type - BOM usage - BOM category Assuming that the values in these other fields fulfil requirements, the authorization group controls checking as follows: If there is no entry, the authorization group of the user is not checked: any user can access the BOM. Otherwise, only those users whose user profile contains the authorization group entered can access the BOM. You can only enter authorization groups which fall within the range stored in your user profile.
billOfMaterialAuthsnGrp
- @Generated(value="lombok") public void setBillOfMaterialVersion(@Nullable String billOfMaterialVersion)
billOfMaterialVersion
- @Generated(value="lombok") public void setBOMVersionStatus(@Nullable String bOMVersionStatus)
bOMVersionStatus
- @Generated(value="lombok") public void setIsVersionBillOfMaterial(@Nullable Boolean isVersionBillOfMaterial)
isVersionBillOfMaterial
- @Generated(value="lombok") public void setIsLatestBOMVersion(@Nullable Boolean isLatestBOMVersion)
isLatestBOMVersion
- @Generated(value="lombok") public void setIsConfiguredMaterial(@Nullable Boolean isConfiguredMaterial)
Configurable assemblies: are used in sales variant processing contain selectable parts, which are used alongside non-variable parts in the variant to be produced
isConfiguredMaterial
- @Generated(value="lombok") public void setBOMTechnicalType(@Nullable String bOMTechnicalType)
You can extend a simple BOM to form one of the following: multiple BOM variant BOM The system allocates technical types: according to the number of alternative BOMs When you create the first alternative for a BOM, the technical type is not yet defined. If you extend the BOM by creating an alternative, the system automatically assigns the technical type multiple BOM. according to the transaction If you create a BOM using the Create variant of... function, the system assigns the technical type variant BOM. After this, you can no longer create alternatives for the BOM. Multiple BOM - M One product can be produced according to different manufacturing processes from different components and component quantities: one product has more than one alternative BOM. ---------- | ------ | --------|--|ALT1| | ---- | | ------ | |MAT1|--| | | ---- | | ------ | --------|--|ALT2| | | ------ | ---------- Variant BOM - V A number of similar products are described via one BOM. Each product has one alternative BOM. ---- ---------- |MAT1|--.........|.. | ---- | | ------ | |--------| |ALT1| | ---- | | ------ | |MAT2|--.........|.. | ---- ----------
bOMTechnicalType
- @Generated(value="lombok") public void setBOMGroup(@Nullable String bOMGroup)
If you assign a "meaningful" number to a BOM group, this gives you an additional way of accessing the BOM. The system stores the following under a BOM group: all the alternatives in a multiple BOM all the BOMs entered for a variant BOM The following special characters are supported: - / _
bOMGroup
- @Generated(value="lombok") public void setBOMHeaderText(@Nullable String bOMHeaderText)
It contains information, which applies to all the alternatives in a BOM applies to all the variants in a variant BOM If you want to maintain a long text, choose the symbol to the right of the field. The system displays different symbols according to the situation:
bOMHeaderText
- @Generated(value="lombok") public void setBOMAlternativeText(@Nullable String bOMAlternativeText)
This information only applies to this individual alternative and variant. If you want to maintain a long text, choose the symbol to the right of the field. The system displays a different symbol for each situation:
bOMAlternativeText
- @Generated(value="lombok") public void setBillOfMaterialStatus(@Nullable String billOfMaterialStatus)
This indicator controls subsequent processing of the BOM in various other organizational areas (for example, engineering, costing, MRP). 1 - BOM active This BOM can, for example, be exploded in MRP and released for planned orders. 2 - BOM not active This BOM cannot be processed as described above. In the modification table for BOM management, you can define a default status for creating BOMs.
billOfMaterialStatus
- @Generated(value="lombok") public void setHeaderValidityStartDate(@Nullable Calendar headerValidityStartDate)
headerValidityStartDate
- @Generated(value="lombok") public void setHeaderValidityEndDate(@Nullable Calendar headerValidityEndDate)
headerValidityEndDate
- @Generated(value="lombok") public void setEngineeringChangeDocument(@Nullable String engineeringChangeDocument)
If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal: The system determines the validity conditions The conditions that the change is effective under can be defined in the change master record as follows: Changes with a date validity (valid-from date) Changes with parameter effectivity (for example: serial no. effectivity) Log of the changes made Documentation of the changes Assignment of a revision level to a change state of a material or document Release of changes for the different areas in the company
engineeringChangeDocument
- @Generated(value="lombok") public void setChgToEngineeringChgDocument(@Nullable String chgToEngineeringChgDocument)
If the object has been changed using a change number, the system determines this change number automatically. Three change numbers (N1, N2 and N3) define the validity periods of the item: N1 N2 N3 I-----------I----------------------I----------------> 1.1.96 6.1.96 12.2.96 If you change the item within the validity period of change number N1, the system enters N2 in Change number to. If you change the item within the validity period of change number N2, the system enters N3 in Change number to.
chgToEngineeringChgDocument
- @Generated(value="lombok") public void setIsMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
This indicator is relevant to changes that have been made with reference to a change number with a validity that has been specified using a new validity type.
isMarkedForDeletion
- @Generated(value="lombok") public void setIsALE(@Nullable Boolean isALE)
isALE
- @Generated(value="lombok") public void setBOMHeaderBaseUnit(@Nullable String bOMHeaderBaseUnit)
The system takes this unit from the material master. The unit cannot be changed, because stock of the material is managed using this unit.
bOMHeaderBaseUnit
- @Generated(value="lombok") public void setBOMHeaderQuantityInBaseUnit(@Nullable BigDecimal bOMHeaderQuantityInBaseUnit)
Using this customizing function, you can define a value which is set as a default when you create a bill of material.
bOMHeaderQuantityInBaseUnit
- @Generated(value="lombok") public void setRecordCreationDate(@Nullable Calendar recordCreationDate)
recordCreationDate
- @Generated(value="lombok") public void setLastChangeDate(@Nullable Calendar lastChangeDate)
lastChangeDate
- @Generated(value="lombok") public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- @Generated(value="lombok") public void setLastChangedByUser(@Nullable String lastChangedByUser)
lastChangedByUser
- @Generated(value="lombok") public void setBOMIsToBeDeleted(@Nullable String bOMIsToBeDeleted)
bOMIsToBeDeleted
- @Generated(value="lombok") public void setDocumentIsCreatedByCAD(@Nullable Boolean documentIsCreatedByCAD)
This indicator is only for information.However you can use it as search criteria for a document search. You can restrict the document search as follows: Entry Description X find documents with a CAD indicator find documents without a CAD indicator * find documents with or without a CAD indicator This indicator is set using the CAD interface.
documentIsCreatedByCAD
- @Generated(value="lombok") public void setLaboratoryOrDesignOffice(@Nullable String laboratoryOrDesignOffice)
You define the keys in Customizing (for the Material Master).
laboratoryOrDesignOffice
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<BillOfMaterial>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<BillOfMaterial>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<BillOfMaterial>
Copyright © 2017 SAP SE. All rights reserved.