public class MaintainYearsPeriodByKeyFluentHelper extends FluentHelperByKey<MaintainYearsPeriodByKeyFluentHelper,MaintainYearsPeriod,MaintainYearsPeriodSelectable>
MaintainYearsPeriod
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself.Constructor and Description |
---|
MaintainYearsPeriodByKeyFluentHelper(String material,
String plant,
String mRPArea,
String requirementsType,
String forecastDemandVersion,
LocalDateTime forecastPeriodStartDate)
Creates a fluent helper object that will fetch a single
MaintainYearsPeriod entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<MaintainYearsPeriod> |
getEntityClass() |
protected Map<String,Object> |
getKey()
Getter for a map containing the OData name of key properties, each mapped to the value to search by.
|
execute, getQueryBuilder, select, toQuery, withErrorHandler, withHttpHeader
execute, getThis, getVersionIdentifier
public MaintainYearsPeriodByKeyFluentHelper(String material, String plant, String mRPArea, String requirementsType, String forecastDemandVersion, LocalDateTime forecastPeriodStartDate)
MaintainYearsPeriod
entity with the provided key field values. To perform execution, call the execute
method on the fluent helper object.mRPArea
- Number of the MRP area for which material requirements planning should be carried out separately.Constraints: Not nullable, Maximum length: 10
material
- Alphanumeric key uniquely identifying the material.Constraints: Not nullable, Maximum length: 40
forecastDemandVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.Constraints: Not nullable, Maximum length: 2
plant
- Key uniquely identifying a plant.Constraints: Not nullable, Maximum length: 4
requirementsType
- The requirements type determines the planning strategy to be used for a particular requirement.Constraints: Not nullable, Maximum length: 4
forecastPeriodStartDate
- Period Start DateConstraints: Not nullable, Precision: 7
protected Class<MaintainYearsPeriod> getEntityClass()
getEntityClass
in class FluentHelperBasic<MaintainYearsPeriodByKeyFluentHelper,MaintainYearsPeriod,MaintainYearsPeriod>
protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<MaintainYearsPeriodByKeyFluentHelper,MaintainYearsPeriod,MaintainYearsPeriodSelectable>
Copyright © 2018 SAP SE. All rights reserved.