public class PlannedIndepRqmt extends VdmEntity<PlannedIndepRqmt>
Original entity name from the Odata EDM: PlannedIndepRqmtType
Modifier and Type | Class and Description |
---|---|
static class |
PlannedIndepRqmt.PlannedIndepRqmtBuilder |
Modifier and Type | Field and Description |
---|---|
static PlannedIndepRqmtSelectable |
ALL_FIELDS
Selector for all available fields of PlannedIndepRqmt.
|
static PlannedIndepRqmtField<String> |
MRP_AREA
Use with available fluent helpers to apply the MRPArea field to query operations.
|
static PlannedIndepRqmtField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static PlannedIndepRqmtField<String> |
PLND_INDEP_RQMT_INTERNAL_ID
Use with available fluent helpers to apply the PlndIndepRqmtInternalID field to query operations.
|
static PlannedIndepRqmtField<String> |
PLND_INDEP_RQMT_IS_ACTIVE
Use with available fluent helpers to apply the PlndIndepRqmtIsActive field to query operations.
|
static PlannedIndepRqmtField<ZonedDateTime> |
PLND_INDEP_RQMT_LAST_CHGD_DATE_TIME
Use with available fluent helpers to apply the PlndIndepRqmtLastChgdDateTime field to query operations.
|
static PlannedIndepRqmtField<String> |
PLND_INDEP_RQMT_TYPE
Use with available fluent helpers to apply the PlndIndepRqmtType field to query operations.
|
static PlannedIndepRqmtField<String> |
PLND_INDEP_RQMT_VERSION
Use with available fluent helpers to apply the PlndIndepRqmtVersion field to query operations.
|
static PlannedIndepRqmtField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static PlannedIndepRqmtField<String> |
REQUIREMENT_PLAN
Use with available fluent helpers to apply the RequirementPlan field to query operations.
|
static PlannedIndepRqmtField<Boolean> |
REQUIREMENT_PLAN_IS_EXTERNAL
Use with available fluent helpers to apply the RequirementPlanIsExternal field to query operations.
|
static PlannedIndepRqmtField<String> |
REQUIREMENT_SEGMENT
Use with available fluent helpers to apply the RequirementSegment field to query operations.
|
static PlannedIndepRqmtLink<PlannedIndepRqmtItem> |
TO_PLND_INDEP_RQMT_ITEM
Use with available fluent helpers to apply the to_PlndIndepRqmtItem navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PlannedIndepRqmt() |
PlannedIndepRqmt(String product,
String plant,
String mRPArea,
String plndIndepRqmtType,
String plndIndepRqmtVersion,
String requirementPlan,
String requirementSegment,
Boolean requirementPlanIsExternal,
String plndIndepRqmtInternalID,
String plndIndepRqmtIsActive,
ZonedDateTime plndIndepRqmtLastChgdDateTime,
ErpConfigContext erpConfigContext,
List<PlannedIndepRqmtItem> toPlndIndepRqmtItem) |
Modifier and Type | Method and Description |
---|---|
void |
addPlndIndepRqmtItem(PlannedIndepRqmtItem... entity)
Adds elements to the list of associated PlannedIndepRqmtItem entities.
|
static PlannedIndepRqmt.PlannedIndepRqmtBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<PlannedIndepRqmtItem> |
fetchPlndIndepRqmtItem()
Fetches the PlannedIndepRqmtItem entities (one to many) associated with this entity.
|
static <T> PlannedIndepRqmtField<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).
|
protected Map<String,Object> |
getKey() |
String |
getMRPArea()
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: MRPArea
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
String |
getPlndIndepRqmtInternalID()
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: PlndIndepRqmtInternalID
|
String |
getPlndIndepRqmtIsActive()
Constraints: Not nullable, Maximum length: 1 Original property name from the Odata EDM: PlndIndepRqmtIsActive
|
Optional<List<PlannedIndepRqmtItem>> |
getPlndIndepRqmtItemIfPresent()
Retrieval of associated PlannedIndepRqmtItem entities (one to many).
|
List<PlannedIndepRqmtItem> |
getPlndIndepRqmtItemOrFetch()
Retrieval of associated PlannedIndepRqmtItem entities (one to many).
|
ZonedDateTime |
getPlndIndepRqmtLastChgdDateTime()
Constraints: Not nullable, Precision: 7 Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTimeIn order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone.
|
String |
getPlndIndepRqmtType()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: PlndIndepRqmtType
|
String |
getPlndIndepRqmtVersion()
(Key Field) Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: PlndIndepRqmtVersionThe 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.
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Product
|
String |
getRequirementPlan()
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: RequirementPlanThe requirements plan number is used as a criterion for selection.
|
Boolean |
getRequirementPlanIsExternal()
Constraints: noneOriginal property name from the Odata EDM: RequirementPlanIsExternal
|
String |
getRequirementSegment()
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: RequirementSegmentCustomer 1 accepts quality 1 and 2 while customer 2 accepts only quality 1.
|
Class<PlannedIndepRqmt> |
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 |
setMRPArea(String mRPArea)
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: MRPArea
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
void |
setPlndIndepRqmtInternalID(String plndIndepRqmtInternalID)
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: PlndIndepRqmtInternalID
|
void |
setPlndIndepRqmtIsActive(String plndIndepRqmtIsActive)
Constraints: Not nullable, Maximum length: 1 Original property name from the Odata EDM: PlndIndepRqmtIsActive
|
void |
setPlndIndepRqmtItem(List<PlannedIndepRqmtItem> value)
Overwrites the list of associated PlannedIndepRqmtItem entities for the loaded navigation property to_PlndIndepRqmtItem.
|
void |
setPlndIndepRqmtLastChgdDateTime(ZonedDateTime plndIndepRqmtLastChgdDateTime)
Constraints: Not nullable, Precision: 7 Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTimeIn order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone.
|
void |
setPlndIndepRqmtType(String plndIndepRqmtType)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: PlndIndepRqmtType
|
void |
setPlndIndepRqmtVersion(String plndIndepRqmtVersion)
(Key Field) Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: PlndIndepRqmtVersionThe 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.
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Product
|
void |
setRequirementPlan(String requirementPlan)
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: RequirementPlanThe requirements plan number is used as a criterion for selection.
|
void |
setRequirementPlanIsExternal(Boolean requirementPlanIsExternal)
Constraints: noneOriginal property name from the Odata EDM: RequirementPlanIsExternal
|
void |
setRequirementSegment(String requirementSegment)
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: RequirementSegmentCustomer 1 accepts quality 1 and 2 while customer 2 accepts only quality 1.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final PlannedIndepRqmtSelectable ALL_FIELDS
public static final PlannedIndepRqmtField<String> PRODUCT
public static final PlannedIndepRqmtField<String> PLANT
public static final PlannedIndepRqmtField<String> MRP_AREA
public static final PlannedIndepRqmtField<String> PLND_INDEP_RQMT_TYPE
public static final PlannedIndepRqmtField<String> PLND_INDEP_RQMT_VERSION
public static final PlannedIndepRqmtField<String> REQUIREMENT_PLAN
public static final PlannedIndepRqmtField<String> REQUIREMENT_SEGMENT
public static final PlannedIndepRqmtField<Boolean> REQUIREMENT_PLAN_IS_EXTERNAL
public static final PlannedIndepRqmtField<String> PLND_INDEP_RQMT_INTERNAL_ID
public static final PlannedIndepRqmtField<String> PLND_INDEP_RQMT_IS_ACTIVE
public static final PlannedIndepRqmtField<ZonedDateTime> PLND_INDEP_RQMT_LAST_CHGD_DATE_TIME
public static final PlannedIndepRqmtLink<PlannedIndepRqmtItem> TO_PLND_INDEP_RQMT_ITEM
public PlannedIndepRqmt()
public PlannedIndepRqmt(@Nullable String product, @Nullable String plant, @Nullable String mRPArea, @Nullable String plndIndepRqmtType, @Nullable String plndIndepRqmtVersion, @Nullable String requirementPlan, @Nullable String requirementSegment, @Nullable Boolean requirementPlanIsExternal, @Nullable String plndIndepRqmtInternalID, @Nullable String plndIndepRqmtIsActive, @Nullable ZonedDateTime plndIndepRqmtLastChgdDateTime, @Nullable ErpConfigContext erpConfigContext, List<PlannedIndepRqmtItem> toPlndIndepRqmtItem)
public Class<PlannedIndepRqmt> getType()
getType
in class VdmObject<PlannedIndepRqmt>
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 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 setPlndIndepRqmtType(@Nullable String plndIndepRqmtType)
Original property name from the Odata EDM: PlndIndepRqmtType
plndIndepRqmtType
- The requirements type determines the planning strategy to be used for a particular requirement.public void setPlndIndepRqmtVersion(@Nullable String plndIndepRqmtVersion)
Original property name from the Odata EDM: PlndIndepRqmtVersion
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.
plndIndepRqmtVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.public void setRequirementPlan(@Nullable String requirementPlan)
Original property name from the Odata EDM: RequirementPlan
The requirements plan number is used as a criterion for selection.
requirementPlan
- Key which can be given to create and to identify one or more planned independent requirements.public void setRequirementSegment(@Nullable String requirementSegment)
Original property name from the Odata EDM: RequirementSegment
Customer 1 accepts quality 1 and 2 while customer 2 accepts only quality 1. This results in 2 different requirement segments which can be assigned to different stock segments.
requirementSegment
- Indicates additional information about the type of requirement. You can freely define which requirement segments are satisfied by which stock segments using segmentation strategies in the transaction Segmentation Strategy Maintenance .public void setRequirementPlanIsExternal(@Nullable Boolean requirementPlanIsExternal)
Original property name from the Odata EDM: RequirementPlanIsExternal
requirementPlanIsExternal
- Indicates that the Requirement Plan is externalpublic void setPlndIndepRqmtInternalID(@Nullable String plndIndepRqmtInternalID)
Original property name from the Odata EDM: PlndIndepRqmtInternalID
plndIndepRqmtInternalID
- Independent Requirements Pointerpublic void setPlndIndepRqmtIsActive(@Nullable String plndIndepRqmtIsActive)
Original property name from the Odata EDM: PlndIndepRqmtIsActive
plndIndepRqmtIsActive
- This selection determines whether the version is active, that is, relevant to MRP.public void setPlndIndepRqmtLastChgdDateTime(@Nullable ZonedDateTime plndIndepRqmtLastChgdDateTime)
Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTime
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
plndIndepRqmtLastChgdDateTime
- The UTC timestamp displays date and time according to UTC (Universal Coordinated Time).protected String getEndpointUrl()
getEndpointUrl
in class VdmEntity<PlannedIndepRqmt>
protected String getEntityCollection()
getEntityCollection
in class VdmEntity<PlannedIndepRqmt>
protected Map<String,Object> getKey()
getKey
in class VdmObject<PlannedIndepRqmt>
protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PlannedIndepRqmt>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PlannedIndepRqmt>
public static <T> PlannedIndepRqmtField<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.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PlannedIndepRqmt>
public List<PlannedIndepRqmtItem> fetchPlndIndepRqmtItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public List<PlannedIndepRqmtItem> getPlndIndepRqmtItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PlndIndepRqmtItem of a queried PlannedIndepRqmt is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public Optional<List<PlannedIndepRqmtItem>> getPlndIndepRqmtItemIfPresent()
If the navigation property for an entity PlannedIndepRqmt has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPlndIndepRqmtItem(@NonNull List<PlannedIndepRqmtItem> value)
If the navigation property to_PlndIndepRqmtItem of a queried PlannedIndepRqmt is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of PlannedIndepRqmtItem entities.public void addPlndIndepRqmtItem(PlannedIndepRqmtItem... entity)
If the navigation property to_PlndIndepRqmtItem of a queried PlannedIndepRqmt is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of PlannedIndepRqmtItem entities.public static PlannedIndepRqmt.PlannedIndepRqmtBuilder 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 String getMRPArea()
Original property name from the Odata EDM: MRPArea
@Nullable public String getPlndIndepRqmtType()
Original property name from the Odata EDM: PlndIndepRqmtType
@Nullable public String getPlndIndepRqmtVersion()
Original property name from the Odata EDM: PlndIndepRqmtVersion
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 String getRequirementPlan()
Original property name from the Odata EDM: RequirementPlan
The requirements plan number is used as a criterion for selection.
@Nullable public String getRequirementSegment()
Original property name from the Odata EDM: RequirementSegment
Customer 1 accepts quality 1 and 2 while customer 2 accepts only quality 1. This results in 2 different requirement segments which can be assigned to different stock segments.
@Nullable public Boolean getRequirementPlanIsExternal()
Original property name from the Odata EDM: RequirementPlanIsExternal
@Nullable public String getPlndIndepRqmtInternalID()
Original property name from the Odata EDM: PlndIndepRqmtInternalID
@Nullable public String getPlndIndepRqmtIsActive()
Original property name from the Odata EDM: PlndIndepRqmtIsActive
@Nullable public ZonedDateTime getPlndIndepRqmtLastChgdDateTime()
Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTime
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<PlannedIndepRqmt>
erpConfigContext
- public String toString()
toString
in class VdmObject<PlannedIndepRqmt>
public boolean equals(Object o)
equals
in class VdmObject<PlannedIndepRqmt>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PlannedIndepRqmt>
public int hashCode()
hashCode
in class VdmObject<PlannedIndepRqmt>
Copyright © 2018 SAP SE. All rights reserved.