public class MaintainYearsPeriod extends VdmEntity<MaintainYearsPeriod>
Original entity name from the Odata EDM: MaintainYearsPeriod
Modifier and Type | Class and Description |
---|---|
static class |
MaintainYearsPeriod.MaintainYearsPeriodBuilder |
Modifier and Type | Field and Description |
---|---|
static MaintainYearsPeriodSelectable |
ALL_FIELDS
Selector for all available fields of MaintainYearsPeriod.
|
static MaintainYearsPeriodField<String> |
FORECAST_DEMAND_VERSION
Use with available fluent helpers to apply the ForecastDemandVersion field to query operations.
|
static MaintainYearsPeriodField<LocalDateTime> |
FORECAST_PERIOD_START_DATE
Use with available fluent helpers to apply the ForecastPeriodStartDate field to query operations.
|
static MaintainYearsPeriodField<String> |
FORECAST_PERIOD_TYPE
Use with available fluent helpers to apply the ForecastPeriodType field to query operations.
|
static MaintainYearsPeriodField<BigDecimal> |
FORECAST_QUANTITY
Use with available fluent helpers to apply the ForecastQuantity field to query operations.
|
static MaintainYearsPeriodField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static MaintainYearsPeriodField<String> |
MRP_AREA
Use with available fluent helpers to apply the MRPArea field to query operations.
|
static MaintainYearsPeriodField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static MaintainYearsPeriodField<String> |
PRODUCT_BASE_UNIT
Use with available fluent helpers to apply the ProductBaseUnit field to query operations.
|
static MaintainYearsPeriodField<String> |
REQUIREMENTS_TYPE
Use with available fluent helpers to apply the RequirementsType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
MaintainYearsPeriod() |
MaintainYearsPeriod(String material,
String plant,
String mRPArea,
String requirementsType,
String forecastDemandVersion,
LocalDateTime forecastPeriodStartDate,
String forecastPeriodType,
String productBaseUnit,
BigDecimal forecastQuantity,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static MaintainYearsPeriod.MaintainYearsPeriodBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> MaintainYearsPeriodField<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 |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getForecastDemandVersion()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
LocalDateTime |
getForecastPeriodStartDate()
(Key Field) Constraints: Not nullable, Precision: 7
|
String |
getForecastPeriodType()
Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getForecastQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
protected Map<String,Object> |
getKey() |
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getMRPArea()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProductBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getRequirementsType()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Class<MaintainYearsPeriod> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setForecastDemandVersion(String forecastDemandVersion)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setForecastPeriodStartDate(LocalDateTime forecastPeriodStartDate)
(Key Field) Constraints: Not nullable, Precision: 7
|
void |
setForecastPeriodType(String forecastPeriodType)
Constraints: Not nullable, Maximum length: 1
|
void |
setForecastQuantity(BigDecimal forecastQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setMRPArea(String mRPArea)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setProductBaseUnit(String productBaseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setRequirementsType(String requirementsType)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final MaintainYearsPeriodSelectable ALL_FIELDS
public static final MaintainYearsPeriodField<String> MATERIAL
public static final MaintainYearsPeriodField<String> PLANT
public static final MaintainYearsPeriodField<String> MRP_AREA
public static final MaintainYearsPeriodField<String> REQUIREMENTS_TYPE
public static final MaintainYearsPeriodField<String> FORECAST_DEMAND_VERSION
public static final MaintainYearsPeriodField<LocalDateTime> FORECAST_PERIOD_START_DATE
public static final MaintainYearsPeriodField<String> FORECAST_PERIOD_TYPE
public static final MaintainYearsPeriodField<String> PRODUCT_BASE_UNIT
public static final MaintainYearsPeriodField<BigDecimal> FORECAST_QUANTITY
public MaintainYearsPeriod()
public MaintainYearsPeriod(@Nullable String material, @Nullable String plant, @Nullable String mRPArea, @Nullable String requirementsType, @Nullable String forecastDemandVersion, @Nullable LocalDateTime forecastPeriodStartDate, @Nullable String forecastPeriodType, @Nullable String productBaseUnit, @Nullable BigDecimal forecastQuantity, @Nullable ErpConfigContext erpConfigContext)
@Nonnull public Class<MaintainYearsPeriod> getType()
getType
in class VdmObject<MaintainYearsPeriod>
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 setMRPArea(@Nullable String mRPArea)
Original property name from the Odata EDM: MRPArea
mRPArea
- Number of the MRP area for which material requirements planning should be carried out separately.public void setRequirementsType(@Nullable String requirementsType)
Original property name from the Odata EDM: RequirementsType
requirementsType
- The requirements type determines the planning strategy to be used for a particular requirement.public void setForecastDemandVersion(@Nullable String forecastDemandVersion)
Original property name from the Odata EDM: ForecastDemandVersion
The version number is used for organizational purposes for the creation and further use of the demand program.Versions can be set to active and inactive. Only active versions are included in the planning run.Using the version compare function, you can compare various versions of a demand program with each other.With the version number various planned independent requirements can be indicated according to their origin. For example, whether the demand program results from SOP or from the material forecast.You can also create versions for long-term planning.
forecastDemandVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.public void setForecastPeriodStartDate(@Nullable LocalDateTime forecastPeriodStartDate)
Original property name from the Odata EDM: ForecastPeriodStartDate
forecastPeriodStartDate
- Period Start Datepublic void setForecastPeriodType(@Nullable String forecastPeriodType)
Original property name from the Odata EDM: ForecastPeriodType
forecastPeriodType
- Indicator specifying the periods in which the material's consumption values and forecast values are managed.public void setProductBaseUnit(@Nullable String productBaseUnit)
Original property name from the Odata EDM: ProductBaseUnit
You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified.
productBaseUnit
- Unit of measure in which stocks of the material are managed. The system converts all the quantities you enter in other units of measure (alternative units of measure) to the base unit of measure.public void setForecastQuantity(@Nullable BigDecimal forecastQuantity)
Original property name from the Odata EDM: ForecastQuantity
forecastQuantity
- Planned Quantityprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<MaintainYearsPeriod>
protected Map<String,Object> getKey()
getKey
in class VdmObject<MaintainYearsPeriod>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<MaintainYearsPeriod>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<MaintainYearsPeriod>
@Nonnull public static <T> MaintainYearsPeriodField<T> field(@Nonnull String fieldName, @Nonnull 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.@Nonnull public static <T,DomainT> MaintainYearsPeriodField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.public static MaintainYearsPeriod.MaintainYearsPeriodBuilder builder()
@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 getMRPArea()
Original property name from the Odata EDM: MRPArea
@Nullable public String getRequirementsType()
Original property name from the Odata EDM: RequirementsType
@Nullable public String getForecastDemandVersion()
Original property name from the Odata EDM: ForecastDemandVersion
The version number is used for organizational purposes for the creation and further use of the demand program.Versions can be set to active and inactive. Only active versions are included in the planning run.Using the version compare function, you can compare various versions of a demand program with each other.With the version number various planned independent requirements can be indicated according to their origin. For example, whether the demand program results from SOP or from the material forecast.You can also create versions for long-term planning.
@Nullable public LocalDateTime getForecastPeriodStartDate()
Original property name from the Odata EDM: ForecastPeriodStartDate
@Nullable public String getForecastPeriodType()
Original property name from the Odata EDM: ForecastPeriodType
@Nullable public String getProductBaseUnit()
Original property name from the Odata EDM: ProductBaseUnit
You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified.
@Nullable public BigDecimal getForecastQuantity()
Original property name from the Odata EDM: ForecastQuantity
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<MaintainYearsPeriod>
erpConfigContext
- public String toString()
toString
in class VdmObject<MaintainYearsPeriod>
public boolean equals(Object o)
equals
in class VdmObject<MaintainYearsPeriod>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<MaintainYearsPeriod>
public int hashCode()
hashCode
in class VdmObject<MaintainYearsPeriod>
Copyright © 2018 SAP SE. All rights reserved.