public class PlannedIndepRqmtItem extends VdmEntity<PlannedIndepRqmtItem>
Original entity name from the Odata EDM: PlannedIndepRqmtItemType
Modifier and Type | Class and Description |
---|---|
static class |
PlannedIndepRqmtItem.PlannedIndepRqmtItemBuilder |
Modifier and Type | Field and Description |
---|---|
static PlannedIndepRqmtItemSelectable |
ALL_FIELDS
Selector for all available fields of PlannedIndepRqmtItem.
|
static PlannedIndepRqmtItemField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static PlannedIndepRqmtItemField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static PlannedIndepRqmtItemField<String> |
MRP_AREA
Use with available fluent helpers to apply the MRPArea field to query operations.
|
static PlannedIndepRqmtItemField<String> |
PERIOD_TYPE
Use with available fluent helpers to apply the PeriodType field to query operations.
|
static PlannedIndepRqmtItemField<BigDecimal> |
PLANNED_QUANTITY
Use with available fluent helpers to apply the PlannedQuantity field to query operations.
|
static PlannedIndepRqmtItemField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static PlannedIndepRqmtItemField<String> |
PLND_INDEP_RQMT_INTERNAL_ID
Use with available fluent helpers to apply the PlndIndepRqmtInternalID field to query operations.
|
static PlannedIndepRqmtItemField<ZonedDateTime> |
PLND_INDEP_RQMT_LAST_CHGD_DATE_TIME
Use with available fluent helpers to apply the PlndIndepRqmtLastChgdDateTime field to query operations.
|
static PlannedIndepRqmtItemField<String> |
PLND_INDEP_RQMT_PERIOD
Use with available fluent helpers to apply the PlndIndepRqmtPeriod field to query operations.
|
static PlannedIndepRqmtItemField<LocalDateTime> |
PLND_INDEP_RQMT_PERIOD_START_DATE
Use with available fluent helpers to apply the PlndIndepRqmtPeriodStartDate field to query operations.
|
static PlannedIndepRqmtItemField<String> |
PLND_INDEP_RQMT_TYPE
Use with available fluent helpers to apply the PlndIndepRqmtType field to query operations.
|
static PlannedIndepRqmtItemField<String> |
PLND_INDEP_RQMT_VERSION
Use with available fluent helpers to apply the PlndIndepRqmtVersion field to query operations.
|
static PlannedIndepRqmtItemField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static PlannedIndepRqmtItemField<String> |
REQUIREMENT_PLAN
Use with available fluent helpers to apply the RequirementPlan field to query operations.
|
static PlannedIndepRqmtItemField<String> |
REQUIREMENT_SEGMENT
Use with available fluent helpers to apply the RequirementSegment field to query operations.
|
static PlannedIndepRqmtItemLink<PlannedIndepRqmt> |
TO_PLND_INDEP_RQMT
Use with available fluent helpers to apply the to_PlndIndepRqmt navigation property to query operations.
|
static PlannedIndepRqmtItemField<BigDecimal> |
WITHDRAWAL_QUANTITY
Use with available fluent helpers to apply the WithdrawalQuantity field to query operations.
|
static PlannedIndepRqmtItemField<LocalDateTime> |
WORKING_DAY_DATE
Use with available fluent helpers to apply the WorkingDayDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PlannedIndepRqmtItem() |
PlannedIndepRqmtItem(String product,
String plant,
String mRPArea,
String plndIndepRqmtType,
String plndIndepRqmtVersion,
String requirementPlan,
String requirementSegment,
String plndIndepRqmtPeriod,
String periodType,
LocalDateTime plndIndepRqmtPeriodStartDate,
String plndIndepRqmtInternalID,
LocalDateTime workingDayDate,
BigDecimal plannedQuantity,
BigDecimal withdrawalQuantity,
String lastChangedByUser,
LocalDateTime lastChangeDate,
ZonedDateTime plndIndepRqmtLastChgdDateTime,
ErpConfigContext erpConfigContext,
PlannedIndepRqmt toPlndIndepRqmt) |
Modifier and Type | Method and Description |
---|---|
static PlannedIndepRqmtItem.PlannedIndepRqmtItemBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
PlannedIndepRqmt |
fetchPlndIndepRqmt()
Fetches the PlannedIndepRqmt entity (one to one) associated with this entity.
|
static <T> PlannedIndepRqmtItemField<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.
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMRPArea()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPeriodType()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getPlannedQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Optional<PlannedIndepRqmt> |
getPlndIndepRqmtIfPresent()
Retrieval of associated PlannedIndepRqmt entity (one to one).
|
String |
getPlndIndepRqmtInternalID()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getPlndIndepRqmtLastChgdDateTime()
Constraints: Not nullable, Precision: 7
|
PlannedIndepRqmt |
getPlndIndepRqmtOrFetch()
Retrieval of associated PlannedIndepRqmt entity (one to one).
|
String |
getPlndIndepRqmtPeriod()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
LocalDateTime |
getPlndIndepRqmtPeriodStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getPlndIndepRqmtType()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getPlndIndepRqmtVersion()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getRequirementPlan()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getRequirementSegment()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
Class<PlannedIndepRqmtItem> |
getType() |
BigDecimal |
getWithdrawalQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
LocalDateTime |
getWorkingDayDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMRPArea(String mRPArea)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPeriodType(String periodType)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setPlannedQuantity(BigDecimal plannedQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPlndIndepRqmt(PlannedIndepRqmt value)
Overwrites the associated PlannedIndepRqmt entity for the loaded navigation property to_PlndIndepRqmt.
|
void |
setPlndIndepRqmtInternalID(String plndIndepRqmtInternalID)
Constraints: Not nullable, Maximum length: 12
|
void |
setPlndIndepRqmtLastChgdDateTime(ZonedDateTime plndIndepRqmtLastChgdDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setPlndIndepRqmtPeriod(String plndIndepRqmtPeriod)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setPlndIndepRqmtPeriodStartDate(LocalDateTime plndIndepRqmtPeriodStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setPlndIndepRqmtType(String plndIndepRqmtType)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPlndIndepRqmtVersion(String plndIndepRqmtVersion)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setRequirementPlan(String requirementPlan)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setRequirementSegment(String requirementSegment)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setWithdrawalQuantity(BigDecimal withdrawalQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setWorkingDayDate(LocalDateTime workingDayDate)
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final PlannedIndepRqmtItemSelectable ALL_FIELDS
public static final PlannedIndepRqmtItemField<String> PRODUCT
public static final PlannedIndepRqmtItemField<String> PLANT
public static final PlannedIndepRqmtItemField<String> MRP_AREA
public static final PlannedIndepRqmtItemField<String> PLND_INDEP_RQMT_TYPE
public static final PlannedIndepRqmtItemField<String> PLND_INDEP_RQMT_VERSION
public static final PlannedIndepRqmtItemField<String> REQUIREMENT_PLAN
public static final PlannedIndepRqmtItemField<String> REQUIREMENT_SEGMENT
public static final PlannedIndepRqmtItemField<String> PLND_INDEP_RQMT_PERIOD
public static final PlannedIndepRqmtItemField<String> PERIOD_TYPE
public static final PlannedIndepRqmtItemField<LocalDateTime> PLND_INDEP_RQMT_PERIOD_START_DATE
public static final PlannedIndepRqmtItemField<String> PLND_INDEP_RQMT_INTERNAL_ID
public static final PlannedIndepRqmtItemField<LocalDateTime> WORKING_DAY_DATE
public static final PlannedIndepRqmtItemField<BigDecimal> PLANNED_QUANTITY
public static final PlannedIndepRqmtItemField<BigDecimal> WITHDRAWAL_QUANTITY
public static final PlannedIndepRqmtItemField<String> LAST_CHANGED_BY_USER
public static final PlannedIndepRqmtItemField<LocalDateTime> LAST_CHANGE_DATE
public static final PlannedIndepRqmtItemField<ZonedDateTime> PLND_INDEP_RQMT_LAST_CHGD_DATE_TIME
public static final PlannedIndepRqmtItemLink<PlannedIndepRqmt> TO_PLND_INDEP_RQMT
public PlannedIndepRqmtItem()
public PlannedIndepRqmtItem(@Nullable String product, @Nullable String plant, @Nullable String mRPArea, @Nullable String plndIndepRqmtType, @Nullable String plndIndepRqmtVersion, @Nullable String requirementPlan, @Nullable String requirementSegment, @Nullable String plndIndepRqmtPeriod, @Nullable String periodType, @Nullable LocalDateTime plndIndepRqmtPeriodStartDate, @Nullable String plndIndepRqmtInternalID, @Nullable LocalDateTime workingDayDate, @Nullable BigDecimal plannedQuantity, @Nullable BigDecimal withdrawalQuantity, @Nullable String lastChangedByUser, @Nullable LocalDateTime lastChangeDate, @Nullable ZonedDateTime plndIndepRqmtLastChgdDateTime, @Nullable ErpConfigContext erpConfigContext, @Nullable PlannedIndepRqmt toPlndIndepRqmt)
public Class<PlannedIndepRqmtItem> getType()
getType
in class VdmObject<PlannedIndepRqmtItem>
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 setPlndIndepRqmtPeriod(@Nullable String plndIndepRqmtPeriod)
Original property name from the Odata EDM: PlndIndepRqmtPeriod
plndIndepRqmtPeriod
- Period Textpublic void setPeriodType(@Nullable String periodType)
Original property name from the Odata EDM: PeriodType
periodType
- Type of a Periodpublic void setPlndIndepRqmtPeriodStartDate(@Nullable LocalDateTime plndIndepRqmtPeriodStartDate)
Original property name from the Odata EDM: PlndIndepRqmtPeriodStartDate
plndIndepRqmtPeriodStartDate
- Date of a working daypublic void setPlndIndepRqmtInternalID(@Nullable String plndIndepRqmtInternalID)
Original property name from the Odata EDM: PlndIndepRqmtInternalID
plndIndepRqmtInternalID
- Independent Requirements Pointerpublic void setWorkingDayDate(@Nullable LocalDateTime workingDayDate)
Original property name from the Odata EDM: WorkingDayDate
workingDayDate
- Date of a working daypublic void setPlannedQuantity(@Nullable BigDecimal plannedQuantity)
Original property name from the Odata EDM: PlannedQuantity
plannedQuantity
- The planned quantity determines the quantity of planned independent requirements for a certain time or for a certain period.public void setWithdrawalQuantity(@Nullable BigDecimal withdrawalQuantity)
Original property name from the Odata EDM: WithdrawalQuantity
withdrawalQuantity
- Quantity that was withdrawn for this requirement by a goods issue in inventory management.public void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Name of Person who Changed Objectpublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Date on which this rate was last changed.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 getEntityCollection()
getEntityCollection
in class VdmEntity<PlannedIndepRqmtItem>
protected Map<String,Object> getKey()
getKey
in class VdmObject<PlannedIndepRqmtItem>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PlannedIndepRqmtItem>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PlannedIndepRqmtItem>
@Nonnull public static <T> PlannedIndepRqmtItemField<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> PlannedIndepRqmtItemField<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.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PlannedIndepRqmtItem>
public PlannedIndepRqmt fetchPlndIndepRqmt() 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 PlannedIndepRqmt getPlndIndepRqmtOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PlndIndepRqmt of a queried PlannedIndepRqmtItem 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<PlannedIndepRqmt> getPlndIndepRqmtIfPresent()
If the navigation property for an entity PlannedIndepRqmtItem 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 setPlndIndepRqmt(PlannedIndepRqmt value)
value
- New PlannedIndepRqmt entity.public static PlannedIndepRqmtItem.PlannedIndepRqmtItemBuilder 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 String getPlndIndepRqmtPeriod()
Original property name from the Odata EDM: PlndIndepRqmtPeriod
@Nullable public String getPeriodType()
Original property name from the Odata EDM: PeriodType
@Nullable public LocalDateTime getPlndIndepRqmtPeriodStartDate()
Original property name from the Odata EDM: PlndIndepRqmtPeriodStartDate
@Nullable public String getPlndIndepRqmtInternalID()
Original property name from the Odata EDM: PlndIndepRqmtInternalID
@Nullable public LocalDateTime getWorkingDayDate()
Original property name from the Odata EDM: WorkingDayDate
@Nullable public BigDecimal getPlannedQuantity()
Original property name from the Odata EDM: PlannedQuantity
@Nullable public BigDecimal getWithdrawalQuantity()
Original property name from the Odata EDM: WithdrawalQuantity
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@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<PlannedIndepRqmtItem>
erpConfigContext
- public String toString()
toString
in class VdmObject<PlannedIndepRqmtItem>
public boolean equals(Object o)
equals
in class VdmObject<PlannedIndepRqmtItem>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PlannedIndepRqmtItem>
public int hashCode()
hashCode
in class VdmObject<PlannedIndepRqmtItem>
Copyright © 2018 SAP SE. All rights reserved.