public class ChangeRecordReferenceBOM extends VdmEntity<ChangeRecordReferenceBOM>
Original entity name from the Odata EDM: A_ChangeRecordReferenceBOMType
Modifier and Type | Class and Description |
---|---|
static class |
ChangeRecordReferenceBOM.ChangeRecordReferenceBOMBuilder |
Modifier and Type | Field and Description |
---|---|
static ChangeRecordReferenceBOMSelectable |
ALL_FIELDS
Selector for all available fields of ChangeRecordReferenceBOM.
|
static ChangeRecordReferenceBOMField<String> |
BILL_OF_MATERIAL_VARIANT
Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations.
|
static ChangeRecordReferenceBOMField<String> |
BILL_OF_MATERIAL_VARIANT_USAGE
Use with available fluent helpers to apply the BillOfMaterialVariantUsage field to query operations.
|
static ChangeRecordReferenceBOMField<String> |
CHANGE_RECORD
Use with available fluent helpers to apply the ChangeRecord field to query operations.
|
static ChangeRecordReferenceBOMField<String> |
CHANGE_RECORD_ITEM_RELEVANCE
Use with available fluent helpers to apply the ChangeRecordItemRelevance field to query operations.
|
static ChangeRecordReferenceBOMField<String> |
CHANGE_RECORD_REFERENCE_TYPE
Use with available fluent helpers to apply the ChangeRecordReferenceType field to query operations.
|
static ChangeRecordReferenceBOMField<UUID> |
CHANGE_RECORD_REFERENCE_UUID
Use with available fluent helpers to apply the ChangeRecordReferenceUUID field to query operations.
|
static ChangeRecordReferenceBOMField<UUID> |
CHANGE_RECORD_UUID
Use with available fluent helpers to apply the ChangeRecordUUID field to query operations.
|
static ChangeRecordReferenceBOMField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static ChangeRecordReferenceBOMField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static ChangeRecordReferenceBOMField<BigDecimal> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static ChangeRecordReferenceBOMField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static ChangeRecordReferenceBOMField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static ChangeRecordReferenceBOMField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ChangeRecordReferenceBOM() |
ChangeRecordReferenceBOM(UUID changeRecordReferenceUUID,
String changeRecord,
UUID changeRecordUUID,
String changeRecordReferenceType,
String createdByUser,
ZonedDateTime creationDateTime,
String lastChangedByUser,
BigDecimal lastChangeDateTime,
String material,
String plant,
String billOfMaterialVariantUsage,
String billOfMaterialVariant,
String changeRecordItemRelevance) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static ChangeRecordReferenceBOM.ChangeRecordReferenceBOMBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ChangeRecordReferenceBOMField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBillOfMaterialVariant()
Constraints: Not nullable, Maximum length: 2
|
String |
getBillOfMaterialVariantUsage()
Constraints: Not nullable, Maximum length: 1
|
String |
getChangeRecord()
Constraints: Not nullable, Maximum length: 20
|
String |
getChangeRecordItemRelevance()
Constraints: Not nullable, Maximum length: 3
|
String |
getChangeRecordReferenceType()
Constraints: Not nullable, Maximum length: 3
|
UUID |
getChangeRecordReferenceUUID()
(Key Field) Constraints: Not nullable
|
UUID |
getChangeRecordUUID()
Constraints: none
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 22, Scale: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
Class<ChangeRecordReferenceBOM> |
getType() |
int |
hashCode() |
void |
setBillOfMaterialVariant(String billOfMaterialVariant)
Constraints: Not nullable, Maximum length: 2
|
void |
setBillOfMaterialVariantUsage(String billOfMaterialVariantUsage)
Constraints: Not nullable, Maximum length: 1
|
void |
setChangeRecord(String changeRecord)
Constraints: Not nullable, Maximum length: 20
|
void |
setChangeRecordItemRelevance(String changeRecordItemRelevance)
Constraints: Not nullable, Maximum length: 3
|
void |
setChangeRecordReferenceType(String changeRecordReferenceType)
Constraints: Not nullable, Maximum length: 3
|
void |
setChangeRecordReferenceUUID(UUID changeRecordReferenceUUID)
(Key Field) Constraints: Not nullable
|
void |
setChangeRecordUUID(UUID changeRecordUUID)
Constraints: none
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setLastChangeDateTime(BigDecimal lastChangeDateTime)
Constraints: Not nullable, Precision: 22, Scale: 7
|
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
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ChangeRecordReferenceBOMSelectable ALL_FIELDS
public static final ChangeRecordReferenceBOMField<UUID> CHANGE_RECORD_REFERENCE_UUID
public static final ChangeRecordReferenceBOMField<String> CHANGE_RECORD
public static final ChangeRecordReferenceBOMField<UUID> CHANGE_RECORD_UUID
public static final ChangeRecordReferenceBOMField<String> CHANGE_RECORD_REFERENCE_TYPE
public static final ChangeRecordReferenceBOMField<String> CREATED_BY_USER
public static final ChangeRecordReferenceBOMField<ZonedDateTime> CREATION_DATE_TIME
public static final ChangeRecordReferenceBOMField<String> LAST_CHANGED_BY_USER
public static final ChangeRecordReferenceBOMField<BigDecimal> LAST_CHANGE_DATE_TIME
public static final ChangeRecordReferenceBOMField<String> MATERIAL
public static final ChangeRecordReferenceBOMField<String> PLANT
public static final ChangeRecordReferenceBOMField<String> BILL_OF_MATERIAL_VARIANT_USAGE
public static final ChangeRecordReferenceBOMField<String> BILL_OF_MATERIAL_VARIANT
public static final ChangeRecordReferenceBOMField<String> CHANGE_RECORD_ITEM_RELEVANCE
public ChangeRecordReferenceBOM()
public ChangeRecordReferenceBOM(@Nullable UUID changeRecordReferenceUUID, @Nullable String changeRecord, @Nullable UUID changeRecordUUID, @Nullable String changeRecordReferenceType, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable BigDecimal lastChangeDateTime, @Nullable String material, @Nullable String plant, @Nullable String billOfMaterialVariantUsage, @Nullable String billOfMaterialVariant, @Nullable String changeRecordItemRelevance)
@Nonnull public Class<ChangeRecordReferenceBOM> getType()
getType
in class VdmObject<ChangeRecordReferenceBOM>
public void setChangeRecordReferenceUUID(@Nullable UUID changeRecordReferenceUUID)
Original property name from the Odata EDM: ChangeRecordReferenceUUID
changeRecordReferenceUUID
- NodeIDpublic void setChangeRecord(@Nullable String changeRecord)
Original property name from the Odata EDM: ChangeRecord
changeRecord
- Issue IDpublic void setChangeRecordUUID(@Nullable UUID changeRecordUUID)
Original property name from the Odata EDM: ChangeRecordUUID
changeRecordUUID
- NodeIDpublic void setChangeRecordReferenceType(@Nullable String changeRecordReferenceType)
Original property name from the Odata EDM: ChangeRecordReferenceType
changeRecordReferenceType
- Represents a business object in Issue and Activity Management.public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created Bypublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
To standardize local times in a UTC time stamp and thus make them comparable with other times, these local times
need to be converted using your time zone and the ABAP command convert.Even if the system is able to determine
the time zone from Customizing or master data, you shoul save the time zone redundantly here.The internal
structure of the UTC time stamp is subdivided into a date part and a time part in packed number format
creationDateTime
- The UTC time stamp is the date and time relative to UTC (Universal Coordinated Time).public void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Changed Bypublic void setLastChangeDateTime(@Nullable BigDecimal lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- public void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Alphanumeric key uniquely identifying the material.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setBillOfMaterialVariantUsage(@Nullable String billOfMaterialVariantUsage)
Original property name from the Odata EDM: 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
- This key defines the area (such as engineering/design or production) where a BOM can be used.public void setBillOfMaterialVariant(@Nullable String billOfMaterialVariant)
Original property name from the Odata EDM: 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
- Identifies one BOM in a BOM group.public void setChangeRecordItemRelevance(@Nullable String changeRecordItemRelevance)
Original property name from the Odata EDM: ChangeRecordItemRelevance
ChangeCreateReference
changeRecordItemRelevance
- Indicates why a specific reference object is included in the change record.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<ChangeRecordReferenceBOM>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ChangeRecordReferenceBOM>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ChangeRecordReferenceBOM>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ChangeRecordReferenceBOM>
@Nonnull public static <T> ChangeRecordReferenceBOMField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ChangeRecordReferenceBOMField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<ChangeRecordReferenceBOM>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<ChangeRecordReferenceBOM>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ChangeRecordReferenceBOM>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ChangeRecordReferenceBOM>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<ChangeRecordReferenceBOM>
public static ChangeRecordReferenceBOM.ChangeRecordReferenceBOMBuilder builder()
@Nullable public UUID getChangeRecordReferenceUUID()
Original property name from the Odata EDM: ChangeRecordReferenceUUID
@Nullable public String getChangeRecord()
Original property name from the Odata EDM: ChangeRecord
@Nullable public UUID getChangeRecordUUID()
Original property name from the Odata EDM: ChangeRecordUUID
@Nullable public String getChangeRecordReferenceType()
Original property name from the Odata EDM: ChangeRecordReferenceType
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
To standardize local times in a UTC time stamp and thus make them comparable with other times, these local times
need to be converted using your time zone and the ABAP command convert.Even if the system is able to determine
the time zone from Customizing or master data, you shoul save the time zone redundantly here.The internal
structure of the UTC time stamp is subdivided into a date part and a time part in packed number format
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public BigDecimal getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getBillOfMaterialVariantUsage()
Original property name from the Odata EDM: 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.
@Nullable public String getBillOfMaterialVariant()
Original property name from the Odata EDM: 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.
@Nullable public String getChangeRecordItemRelevance()
Original property name from the Odata EDM: ChangeRecordItemRelevance
ChangeCreateReference
public String toString()
toString
in class VdmObject<ChangeRecordReferenceBOM>
public boolean equals(Object o)
equals
in class VdmObject<ChangeRecordReferenceBOM>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ChangeRecordReferenceBOM>
public int hashCode()
hashCode
in class VdmObject<ChangeRecordReferenceBOM>
Copyright © 2018 SAP SE. All rights reserved.