public class ProductStorage extends VdmEntity<ProductStorage>
Original entity name from the Odata EDM: A_ProductStorageType
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.
|
changedOriginalFields
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() |
protected boolean |
canEqual(Object other) |
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.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getEndpointUrl() |
protected String |
getEntityCollection() |
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 Original property name from the Odata EDM: ExpirationDateIn batch management, the shelf life expiration date or expiration date can be specified.
|
String |
getHazardousMaterialNumber()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: HazardousMaterialNumberThe 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.
|
protected Map<String,Object> |
getKey() |
String |
getLabelForm()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: LabelForm
|
String |
getLabelType()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: LabelType
|
BigDecimal |
getMinRemainingShelfLife()
Constraints: Not nullable, Precision: 4, Scale: 0 Original property name from the Odata EDM: MinRemainingShelfLifeThe period (day, week, month, year) depends on the entry in the Period indicator field.
|
BigDecimal |
getNmbrOfGROrGISlipsToPrintQty()
Constraints: Not nullable, Precision: 13, Scale: 3 Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQtyIn 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 Original property name from the Odata EDM: Product
|
String |
getStorageConditions()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: StorageConditions
|
String |
getTemperatureConditionInd()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: TemperatureConditionInd
|
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 Original property name from the Odata EDM: ExpirationDateIn batch management, the shelf life expiration date or expiration date can be specified.
|
void |
setHazardousMaterialNumber(String hazardousMaterialNumber)
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: HazardousMaterialNumberThe 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 Original property name from the Odata EDM: LabelForm
|
void |
setLabelType(String labelType)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: LabelType
|
void |
setMinRemainingShelfLife(BigDecimal minRemainingShelfLife)
Constraints: Not nullable, Precision: 4, Scale: 0 Original property name from the Odata EDM: MinRemainingShelfLifeThe 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 Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQtyIn 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 Original property name from the Odata EDM: Product
|
void |
setStorageConditions(String storageConditions)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: StorageConditions
|
void |
setTemperatureConditionInd(String temperatureConditionInd)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: TemperatureConditionInd
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
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 void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Alphanumeric key uniquely identifying the material.public void setStorageConditions(@Nullable String storageConditions)
Original property name from the Odata EDM: StorageConditions
storageConditions
- Indicates what storage conditions are required for the material.public void setTemperatureConditionInd(@Nullable String temperatureConditionInd)
Original property name from the Odata EDM: TemperatureConditionInd
temperatureConditionInd
- Indicates the temperature conditions in which the material should be stored.public void setHazardousMaterialNumber(@Nullable String hazardousMaterialNumber)
Original property name from the Odata EDM: 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
- Number that identifies the material as a hazardous material or as dangerous goods and assigns hazardous material data or dangerous goods data to it.public void setNmbrOfGROrGISlipsToPrintQty(@Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty)
Original property name from the Odata EDM: 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
- Specifies which quantity of the material, in the unit of entry, usually constitutes a pallet load.public void setLabelType(@Nullable String labelType)
Original property name from the Odata EDM: LabelType
labelType
- Determines the way labels are created. The label type specifies, for example, whether labels are preprinted by the supplier or created on a central printer.public void setLabelForm(@Nullable String labelForm)
Original property name from the Odata EDM: LabelForm
labelForm
- Determines the size and layout of the label. The label form specifies, for example, whether the label is an adhesive or a pin-on label.public void setMinRemainingShelfLife(@Nullable BigDecimal minRemainingShelfLife)
Original property name from the Odata EDM: MinRemainingShelfLife
The period (day, week, month, year) depends on the entry in the Period indicator field.
minRemainingShelfLife
- Minimum amount of time for which the material must keep upon goods receipt for the goods receipt to be accepted by the system.public void setExpirationDate(@Nullable String expirationDate)
Original property name from the Odata EDM: 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
- Indicator for the shelf life expiration date or expiration date.protected String getEndpointUrl()
getEndpointUrl
in class VdmEntity<ProductStorage>
protected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProductStorage>
protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductStorage>
protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductStorage>
protected void fromMap(Map<String,Object> inputValues)
fromMap
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()
Original property name from the Odata EDM: Product
@Nullable public String getStorageConditions()
Original property name from the Odata EDM: StorageConditions
@Nullable public String getTemperatureConditionInd()
Original property name from the Odata EDM: TemperatureConditionInd
@Nullable public String getHazardousMaterialNumber()
Original property name from the Odata EDM: 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.
@Nullable public BigDecimal getNmbrOfGROrGISlipsToPrintQty()
Original property name from the Odata EDM: 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.
@Nullable public String getLabelType()
Original property name from the Odata EDM: LabelType
@Nullable public String getLabelForm()
Original property name from the Odata EDM: LabelForm
@Nullable public BigDecimal getMinRemainingShelfLife()
Original property name from the Odata EDM: MinRemainingShelfLife
The period (day, week, month, year) depends on the entry in the Period indicator field.
@Nullable public String getExpirationDate()
Original property name from the Odata EDM: 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.
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<ProductStorage>
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductStorage>
public boolean equals(Object o)
equals
in class VdmObject<ProductStorage>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProductStorage>
public int hashCode()
hashCode
in class VdmObject<ProductStorage>
Copyright © 2018 SAP SE. All rights reserved.