public class ProductPlantQualityMgmt extends VdmEntity<ProductPlantQualityMgmt>
Original entity name from the Odata EDM: A_ProductPlantQualityMgmtType
Modifier and Type | Class and Description |
---|---|
static class |
ProductPlantQualityMgmt.ProductPlantQualityMgmtBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductPlantQualityMgmtSelectable |
ALL_FIELDS
Selector for all available fields of ProductPlantQualityMgmt.
|
static ProductPlantQualityMgmtField<Boolean> |
HAS_POST_TO_INSPECTION_STOCK
Use with available fluent helpers to apply the HasPostToInspectionStock field to query operations.
|
static ProductPlantQualityMgmtField<String> |
MATL_QUALITY_AUTHORIZATION_GROUP
Use with available fluent helpers to apply the MatlQualityAuthorizationGroup field to query operations.
|
static ProductPlantQualityMgmtField<BigDecimal> |
MAXIMUM_STORAGE_PERIOD
Use with available fluent helpers to apply the MaximumStoragePeriod field to query operations.
|
static ProductPlantQualityMgmtField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductPlantQualityMgmtField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductPlantQualityMgmtField<String> |
QUALITY_MGMT_CTRL_KEY
Use with available fluent helpers to apply the QualityMgmtCtrlKey field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductPlantQualityMgmt() |
ProductPlantQualityMgmt(String product,
String plant,
BigDecimal maximumStoragePeriod,
String qualityMgmtCtrlKey,
String matlQualityAuthorizationGroup,
Boolean hasPostToInspectionStock) |
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 ProductPlantQualityMgmt.ProductPlantQualityMgmtBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductPlantQualityMgmtField<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) |
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Boolean |
getHasPostToInspectionStock()
Constraints: none
|
protected Map<String,Object> |
getKey() |
String |
getMatlQualityAuthorizationGroup()
Constraints: Not nullable, Maximum length: 6
|
BigDecimal |
getMaximumStoragePeriod()
Constraints: Not nullable, Precision: 5, Scale: 0
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getQualityMgmtCtrlKey()
Constraints: Not nullable, Maximum length: 8
|
Class<ProductPlantQualityMgmt> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setHasPostToInspectionStock(Boolean hasPostToInspectionStock)
Constraints: none
|
void |
setMatlQualityAuthorizationGroup(String matlQualityAuthorizationGroup)
Constraints: Not nullable, Maximum length: 6
|
void |
setMaximumStoragePeriod(BigDecimal maximumStoragePeriod)
Constraints: Not nullable, Precision: 5, Scale: 0
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setQualityMgmtCtrlKey(String qualityMgmtCtrlKey)
Constraints: Not nullable, Maximum length: 8
|
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 ProductPlantQualityMgmtSelectable ALL_FIELDS
public static final ProductPlantQualityMgmtField<String> PRODUCT
public static final ProductPlantQualityMgmtField<String> PLANT
public static final ProductPlantQualityMgmtField<BigDecimal> MAXIMUM_STORAGE_PERIOD
public static final ProductPlantQualityMgmtField<String> QUALITY_MGMT_CTRL_KEY
public static final ProductPlantQualityMgmtField<String> MATL_QUALITY_AUTHORIZATION_GROUP
public static final ProductPlantQualityMgmtField<Boolean> HAS_POST_TO_INSPECTION_STOCK
@Nonnull public Class<ProductPlantQualityMgmt> getType()
getType
in class VdmObject<ProductPlantQualityMgmt>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- 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 setMaximumStoragePeriod(@Nullable BigDecimal maximumStoragePeriod)
Original property name from the Odata EDM: MaximumStoragePeriod
The value displayed here is for informational purposes only. The field has no functional importance; in particular, there is no functional connection between this and the following fields:Minimum Remaining Shelf LifeTotal Shelf LifeStorage Percentage
maximumStoragePeriod
- The longest amount of time allowed for storing the material.public void setQualityMgmtCtrlKey(@Nullable String qualityMgmtCtrlKey)
Original property name from the Odata EDM: QualityMgmtCtrlKey
If you activate the indicator for QM in procurement in the material master record at the client level, you must also store a control key at the plant level for quality management in procurement.Depending on the control indicators in the control key, you may have to maintain additional data.
qualityMgmtCtrlKey
- This key determines which conditions are valid for quality management in procurement.public void setMatlQualityAuthorizationGroup(@Nullable String matlQualityAuthorizationGroup)
Original property name from the Odata EDM: MatlQualityAuthorizationGroup
Relevant objects and activities in QM:Changing the material authorization group in the QM material masterIf you want to change the authorization group, you require the relevant authorization for this group.Maintaining the material specificationProcessing inspection lotsProcessing inspection results (characteristic inspection results and defects data)Processing completion of the inspection and usage decisionMaintaining the quality levelMaintaining the quality information recordsWhen you enter a material authorization group in the material master record, the system checks (on a material basis) if the user has authorization for the objects named above.If there is no authorization group entered, no authorization check is carried out.In order to pass the authorization check, the user needs material authorization, which contains the relevant authorization group as the field value.Using the material authorization group, you can control which approvals should be issued during inspection lot processing.
matlQualityAuthorizationGroup
- The material authorization group restricts user access to material-related data in QM.public void setHasPostToInspectionStock(@Nullable Boolean hasPostToInspectionStock)
Original property name from the Odata EDM: HasPostToInspectionStock
You can select this indicator, if no stock-relevant inspection type has been selected in the inspection setup, and therefore no stock-relevant inspection lots can be created.If you activate a stock-relevant inspection type, the entry in this field is deselected and can no longer be maintained. In this case, a corresponding indicator in the inspection type controls whether goods are posted to inspection stock.
hasPostToInspectionStock
- Specifies whether the product is subject to quality inspection (without inspection lot processing) and
whether a goods receipt is posted to inspection stock. The indicator is copied to purchase order items
and goods receipt items as a default value.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProductPlantQualityMgmt>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductPlantQualityMgmt>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductPlantQualityMgmt>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductPlantQualityMgmt>
@Nonnull public static <T> ProductPlantQualityMgmtField<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> ProductPlantQualityMgmtField<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<ProductPlantQualityMgmt>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<ProductPlantQualityMgmt>
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<ProductPlantQualityMgmt>
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<ProductPlantQualityMgmt>
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<ProductPlantQualityMgmt>
public static ProductPlantQualityMgmt.ProductPlantQualityMgmtBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public BigDecimal getMaximumStoragePeriod()
Original property name from the Odata EDM: MaximumStoragePeriod
The value displayed here is for informational purposes only. The field has no functional importance; in particular, there is no functional connection between this and the following fields:Minimum Remaining Shelf LifeTotal Shelf LifeStorage Percentage
@Nullable public String getQualityMgmtCtrlKey()
Original property name from the Odata EDM: QualityMgmtCtrlKey
If you activate the indicator for QM in procurement in the material master record at the client level, you must also store a control key at the plant level for quality management in procurement.Depending on the control indicators in the control key, you may have to maintain additional data.
@Nullable public String getMatlQualityAuthorizationGroup()
Original property name from the Odata EDM: MatlQualityAuthorizationGroup
Relevant objects and activities in QM:Changing the material authorization group in the QM material masterIf you want to change the authorization group, you require the relevant authorization for this group.Maintaining the material specificationProcessing inspection lotsProcessing inspection results (characteristic inspection results and defects data)Processing completion of the inspection and usage decisionMaintaining the quality levelMaintaining the quality information recordsWhen you enter a material authorization group in the material master record, the system checks (on a material basis) if the user has authorization for the objects named above.If there is no authorization group entered, no authorization check is carried out.In order to pass the authorization check, the user needs material authorization, which contains the relevant authorization group as the field value.Using the material authorization group, you can control which approvals should be issued during inspection lot processing.
@Nullable public Boolean getHasPostToInspectionStock()
Original property name from the Odata EDM: HasPostToInspectionStock
You can select this indicator, if no stock-relevant inspection type has been selected in the inspection setup, and therefore no stock-relevant inspection lots can be created.If you activate a stock-relevant inspection type, the entry in this field is deselected and can no longer be maintained. In this case, a corresponding indicator in the inspection type controls whether goods are posted to inspection stock.
public String toString()
toString
in class VdmObject<ProductPlantQualityMgmt>
public boolean equals(Object o)
equals
in class VdmObject<ProductPlantQualityMgmt>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProductPlantQualityMgmt>
public int hashCode()
hashCode
in class VdmObject<ProductPlantQualityMgmt>
Copyright © 2019 SAP SE. All rights reserved.