public class ProductStorage extends VdmEntity<ProductStorage>
Modifier and Type | Class and Description |
---|---|
static class |
ProductStorage.ProductStorageBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductStorageSelectable |
ALL_FIELDS
Selector for all available fields of ProductStorage.
|
static ProductStorageField<String> |
EXPIRATION_DATE
Use with available fluent helpers to apply the ExpirationDate field to query operations.
|
static ProductStorageField<String> |
HAZARDOUS_MATERIAL_NUMBER
Use with available fluent helpers to apply the HazardousMaterialNumber field to query operations.
|
static ProductStorageField<String> |
LABEL_FORM
Use with available fluent helpers to apply the LabelForm field to query operations.
|
static ProductStorageField<String> |
LABEL_TYPE
Use with available fluent helpers to apply the LabelType field to query operations.
|
static ProductStorageField<BigDecimal> |
MIN_REMAINING_SHELF_LIFE
Use with available fluent helpers to apply the MinRemainingShelfLife field to query operations.
|
static ProductStorageField<BigDecimal> |
NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY
Use with available fluent helpers to apply the NmbrOfGROrGISlipsToPrintQty field to query operations.
|
static ProductStorageField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductStorageField<String> |
STORAGE_CONDITIONS
Use with available fluent helpers to apply the StorageConditions field to query operations.
|
static ProductStorageField<String> |
TEMPERATURE_CONDITION_IND
Use with available fluent helpers to apply the TemperatureConditionInd field to query operations.
|
Constructor and Description |
---|
ProductStorage() |
ProductStorage(String product,
String storageConditions,
String temperatureConditionInd,
String hazardousMaterialNumber,
BigDecimal nmbrOfGROrGISlipsToPrintQty,
String labelType,
String labelForm,
BigDecimal minRemainingShelfLife,
String expirationDate,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductStorage.ProductStorageBuilder |
builder() |
boolean |
equals(Object o) |
static <T> ProductStorageField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getExpirationDate()
Constraints: Not nullable, Maximum length: 1 In batch management, the shelf life expiration date or expiration date can be specified.
|
String |
getHazardousMaterialNumber()
Constraints: Not nullable, Maximum length: 40 The hazardous material number indicates that the material is dangerous, making special precautions necessary for its storage and shipment.You can enter region-specific hazardous material data or dangerous goods data separately under one hazardous material number.
|
String |
getLabelForm()
Constraints: Not nullable, Maximum length: 2
|
String |
getLabelType()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getMinRemainingShelfLife()
Constraints: Not nullable, Precision: 4, Scale: 0 The period (day, week, month, year) depends on the entry in the Period indicator field.
|
BigDecimal |
getNmbrOfGROrGISlipsToPrintQty()
Constraints: Not nullable, Precision: 13, Scale: 3 In the case of a goods receipt with reference to a purchase order or production order, the system automatically calculates the number of GR/GI slips to be printed for the material document item as a quotient from the goods receipt quantity and the quantity defined here.The value determined is always rounded up to the next higher whole number.If you enter nothing in this field, the material document item is only printed on one goods receipt/issue slip.
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getStorageConditions()
Constraints: Not nullable, Maximum length: 2
|
String |
getTemperatureConditionInd()
Constraints: Not nullable, Maximum length: 2
|
Class<ProductStorage> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setExpirationDate(String expirationDate)
Constraints: Not nullable, Maximum length: 1 In batch management, the shelf life expiration date or expiration date can be specified.
|
void |
setHazardousMaterialNumber(String hazardousMaterialNumber)
Constraints: Not nullable, Maximum length: 40 The hazardous material number indicates that the material is dangerous, making special precautions necessary for its storage and shipment.You can enter region-specific hazardous material data or dangerous goods data separately under one hazardous material number.
|
void |
setLabelForm(String labelForm)
Constraints: Not nullable, Maximum length: 2
|
void |
setLabelType(String labelType)
Constraints: Not nullable, Maximum length: 2
|
void |
setMinRemainingShelfLife(BigDecimal minRemainingShelfLife)
Constraints: Not nullable, Precision: 4, Scale: 0 The period (day, week, month, year) depends on the entry in the Period indicator field.
|
void |
setNmbrOfGROrGISlipsToPrintQty(BigDecimal nmbrOfGROrGISlipsToPrintQty)
Constraints: Not nullable, Precision: 13, Scale: 3 In the case of a goods receipt with reference to a purchase order or production order, the system automatically calculates the number of GR/GI slips to be printed for the material document item as a quotient from the goods receipt quantity and the quantity defined here.The value determined is always rounded up to the next higher whole number.If you enter nothing in this field, the material document item is only printed on one goods receipt/issue slip.
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setStorageConditions(String storageConditions)
Constraints: Not nullable, Maximum length: 2
|
void |
setTemperatureConditionInd(String temperatureConditionInd)
Constraints: Not nullable, Maximum length: 2
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final ProductStorageSelectable ALL_FIELDS
public static final ProductStorageField<String> PRODUCT
public static final ProductStorageField<String> STORAGE_CONDITIONS
public static final ProductStorageField<String> TEMPERATURE_CONDITION_IND
public static final ProductStorageField<String> HAZARDOUS_MATERIAL_NUMBER
public static final ProductStorageField<BigDecimal> NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY
public static final ProductStorageField<String> LABEL_TYPE
public static final ProductStorageField<String> LABEL_FORM
public static final ProductStorageField<BigDecimal> MIN_REMAINING_SHELF_LIFE
public static final ProductStorageField<String> EXPIRATION_DATE
public ProductStorage()
public ProductStorage(@Nullable String product, @Nullable String storageConditions, @Nullable String temperatureConditionInd, @Nullable String hazardousMaterialNumber, @Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty, @Nullable String labelType, @Nullable String labelForm, @Nullable BigDecimal minRemainingShelfLife, @Nullable String expirationDate, @Nullable ErpConfigContext erpConfigContext)
public Class<ProductStorage> getType()
getType
in class VdmObject<ProductStorage>
public static <T> ProductStorageField<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 static ProductStorage.ProductStorageBuilder builder()
@Nullable public String getProduct()
@Nullable public String getStorageConditions()
@Nullable public String getTemperatureConditionInd()
@Nullable public String getHazardousMaterialNumber()
The hazardous material number indicates that the material is dangerous, making special precautions necessary for its storage and shipment.You can enter region-specific hazardous material data or dangerous goods data separately under one hazardous material number.
@Nullable public BigDecimal getNmbrOfGROrGISlipsToPrintQty()
In the case of a goods receipt with reference to a purchase order or production order, the system automatically calculates the number of GR/GI slips to be printed for the material document item as a quotient from the goods receipt quantity and the quantity defined here.The value determined is always rounded up to the next higher whole number.If you enter nothing in this field, the material document item is only printed on one goods receipt/issue slip.
@Nullable public String getLabelType()
@Nullable public String getLabelForm()
@Nullable public BigDecimal getMinRemainingShelfLife()
The period (day, week, month, year) depends on the entry in the Period indicator field.
@Nullable public String getExpirationDate()
In batch management, the shelf life expiration date or expiration date can be specified. You select the date type you want by using this indicator.
@Nullable public ErpConfigContext getErpConfigContext()
public void setProduct(@Nullable String product)
product
- public void setStorageConditions(@Nullable String storageConditions)
storageConditions
- public void setTemperatureConditionInd(@Nullable String temperatureConditionInd)
temperatureConditionInd
- public void setHazardousMaterialNumber(@Nullable String hazardousMaterialNumber)
The hazardous material number indicates that the material is dangerous, making special precautions necessary for its storage and shipment.You can enter region-specific hazardous material data or dangerous goods data separately under one hazardous material number.
hazardousMaterialNumber
- public void setNmbrOfGROrGISlipsToPrintQty(@Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty)
In the case of a goods receipt with reference to a purchase order or production order, the system automatically calculates the number of GR/GI slips to be printed for the material document item as a quotient from the goods receipt quantity and the quantity defined here.The value determined is always rounded up to the next higher whole number.If you enter nothing in this field, the material document item is only printed on one goods receipt/issue slip.
nmbrOfGROrGISlipsToPrintQty
- public void setLabelType(@Nullable String labelType)
labelType
- public void setLabelForm(@Nullable String labelForm)
labelForm
- public void setMinRemainingShelfLife(@Nullable BigDecimal minRemainingShelfLife)
The period (day, week, month, year) depends on the entry in the Period indicator field.
minRemainingShelfLife
- public void setExpirationDate(@Nullable String expirationDate)
In batch management, the shelf life expiration date or expiration date can be specified. You select the date type you want by using this indicator.
expirationDate
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductStorage>
public boolean equals(Object o)
equals
in class VdmObject<ProductStorage>
public int hashCode()
hashCode
in class VdmObject<ProductStorage>
Copyright © 2018 SAP SE. All rights reserved.