public class MasterRecipeHeader extends VdmEntity<MasterRecipeHeader>
Original entity name from the Odata EDM: MasterRecipeHeaderType
Modifier and Type | Class and Description |
---|---|
static class |
MasterRecipeHeader.MasterRecipeHeaderBuilder
Helper class to allow for fluent creation of MasterRecipeHeader instances.
|
Modifier and Type | Field and Description |
---|---|
static MasterRecipeHeaderSelectable |
ALL_FIELDS
Selector for all available fields of MasterRecipeHeader.
|
static MasterRecipeHeaderField<String> |
BILL_OF_OPERATIONS_DESC
Use with available fluent helpers to apply the BillOfOperationsDesc field to query operations.
|
static MasterRecipeHeaderField<String> |
BILL_OF_OPERATIONS_PROFILE
Use with available fluent helpers to apply the BillOfOperationsProfile field to query operations.
|
static MasterRecipeHeaderField<String> |
BILL_OF_OPERATIONS_STATUS
Use with available fluent helpers to apply the BillOfOperationsStatus field to query operations.
|
static MasterRecipeHeaderField<String> |
BILL_OF_OPERATIONS_UNIT
Use with available fluent helpers to apply the BillOfOperationsUnit field to query operations.
|
static MasterRecipeHeaderField<String> |
BILL_OF_OPERATIONS_USAGE
Use with available fluent helpers to apply the BillOfOperationsUsage field to query operations.
|
static MasterRecipeHeaderField<String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static MasterRecipeHeaderField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static MasterRecipeHeaderField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static MasterRecipeHeaderField<Boolean> |
IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.
|
static MasterRecipeHeaderField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static MasterRecipeHeaderField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static MasterRecipeHeaderField<String> |
MASTER_RECIPE
Use with available fluent helpers to apply the MasterRecipe field to query operations.
|
static MasterRecipeHeaderField<String> |
MASTER_RECIPE_GROUP
Use with available fluent helpers to apply the MasterRecipeGroup field to query operations.
|
static MasterRecipeHeaderField<String> |
MASTER_RECIPE_INTERNAL_VERSION
Use with available fluent helpers to apply the MasterRecipeInternalVersion field to query operations.
|
static MasterRecipeHeaderField<BigDecimal> |
MAXIMUM_LOT_SIZE_QUANTITY
Use with available fluent helpers to apply the MaximumLotSizeQuantity field to query operations.
|
static MasterRecipeHeaderField<BigDecimal> |
MINIMUM_LOT_SIZE_QUANTITY
Use with available fluent helpers to apply the MinimumLotSizeQuantity field to query operations.
|
static MasterRecipeHeaderField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static MasterRecipeHeaderField<String> |
RESPONSIBLE_PLANNER_GROUP
Use with available fluent helpers to apply the ResponsiblePlannerGroup field to query operations.
|
static MasterRecipeHeaderLink<MasterRecipeMatlAssgmt> |
TO_MATL_ASSGMT
Use with available fluent helpers to apply the to_MatlAssgmt navigation property to query operations.
|
static MasterRecipeHeaderLink<MasterRecipeOperation> |
TO_OPERATION
Use with available fluent helpers to apply the to_Operation navigation property to query operations.
|
static MasterRecipeHeaderField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static MasterRecipeHeaderField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
MasterRecipeHeader() |
MasterRecipeHeader(String masterRecipeGroup,
String masterRecipe,
String masterRecipeInternalVersion,
Boolean isMarkedForDeletion,
String billOfOperationsDesc,
String plant,
String billOfOperationsStatus,
String billOfOperationsUsage,
String responsiblePlannerGroup,
String billOfOperationsProfile,
BigDecimal minimumLotSizeQuantity,
BigDecimal maximumLotSizeQuantity,
String billOfOperationsUnit,
LocalDateTime creationDate,
String createdByUser,
LocalDateTime lastChangeDate,
String lastChangedByUser,
LocalDateTime validityStartDate,
LocalDateTime validityEndDate,
String changeNumber,
List<MasterRecipeMatlAssgmt> toMatlAssgmt,
List<MasterRecipeOperation> toOperation) |
Modifier and Type | Method and Description |
---|---|
void |
addMatlAssgmt(MasterRecipeMatlAssgmt... entity)
Adds elements to the list of associated MasterRecipeMatlAssgmt entities.
|
void |
addOperation(MasterRecipeOperation... entity)
Adds elements to the list of associated MasterRecipeOperation entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static MasterRecipeHeader.MasterRecipeHeaderBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<MasterRecipeMatlAssgmt> |
fetchMatlAssgmt()
Fetches the MasterRecipeMatlAssgmt entities (one to many) associated with this entity.
|
List<MasterRecipeOperation> |
fetchOperation()
Fetches the MasterRecipeOperation entities (one to many) associated with this entity.
|
static <T> MasterRecipeHeaderField<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) |
String |
getBillOfOperationsDesc()
Constraints: Not nullable, Maximum length: 40
|
String |
getBillOfOperationsProfile()
Constraints: Not nullable, Maximum length: 7
|
String |
getBillOfOperationsStatus()
Constraints: Not nullable, Maximum length: 3
|
String |
getBillOfOperationsUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getBillOfOperationsUsage()
Constraints: Not nullable, Maximum length: 3
|
String |
getChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
Boolean |
getIsMarkedForDeletion()
Constraints: none
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMasterRecipe()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getMasterRecipeGroup()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getMasterRecipeInternalVersion()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
io.vavr.control.Option<List<MasterRecipeMatlAssgmt>> |
getMatlAssgmtIfPresent()
Retrieval of associated MasterRecipeMatlAssgmt entities (one to many).
|
List<MasterRecipeMatlAssgmt> |
getMatlAssgmtOrFetch()
Retrieval of associated MasterRecipeMatlAssgmt entities (one to many).
|
BigDecimal |
getMaximumLotSizeQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getMinimumLotSizeQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
io.vavr.control.Option<List<MasterRecipeOperation>> |
getOperationIfPresent()
Retrieval of associated MasterRecipeOperation entities (one to many).
|
List<MasterRecipeOperation> |
getOperationOrFetch()
Retrieval of associated MasterRecipeOperation entities (one to many).
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getResponsiblePlannerGroup()
Constraints: Not nullable, Maximum length: 3
|
Class<MasterRecipeHeader> |
getType() |
LocalDateTime |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setBillOfOperationsDesc(String billOfOperationsDesc)
Constraints: Not nullable, Maximum length: 40
|
void |
setBillOfOperationsProfile(String billOfOperationsProfile)
Constraints: Not nullable, Maximum length: 7
|
void |
setBillOfOperationsStatus(String billOfOperationsStatus)
Constraints: Not nullable, Maximum length: 3
|
void |
setBillOfOperationsUnit(String billOfOperationsUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setBillOfOperationsUsage(String billOfOperationsUsage)
Constraints: Not nullable, Maximum length: 3
|
void |
setChangeNumber(String changeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setIsMarkedForDeletion(Boolean isMarkedForDeletion)
Constraints: none
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMasterRecipe(String masterRecipe)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setMasterRecipeGroup(String masterRecipeGroup)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setMasterRecipeInternalVersion(String masterRecipeInternalVersion)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setMatlAssgmt(List<MasterRecipeMatlAssgmt> value)
Overwrites the list of associated MasterRecipeMatlAssgmt entities for the loaded navigation property
to_MatlAssgmt.
|
void |
setMaximumLotSizeQuantity(BigDecimal maximumLotSizeQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setMinimumLotSizeQuantity(BigDecimal minimumLotSizeQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setOperation(List<MasterRecipeOperation> value)
Overwrites the list of associated MasterRecipeOperation entities for the loaded navigation property
to_Operation.
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setResponsiblePlannerGroup(String responsiblePlannerGroup)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final MasterRecipeHeaderSelectable ALL_FIELDS
public static final MasterRecipeHeaderField<String> MASTER_RECIPE_GROUP
public static final MasterRecipeHeaderField<String> MASTER_RECIPE
public static final MasterRecipeHeaderField<String> MASTER_RECIPE_INTERNAL_VERSION
public static final MasterRecipeHeaderField<Boolean> IS_MARKED_FOR_DELETION
public static final MasterRecipeHeaderField<String> BILL_OF_OPERATIONS_DESC
public static final MasterRecipeHeaderField<String> PLANT
public static final MasterRecipeHeaderField<String> BILL_OF_OPERATIONS_STATUS
public static final MasterRecipeHeaderField<String> BILL_OF_OPERATIONS_USAGE
public static final MasterRecipeHeaderField<String> RESPONSIBLE_PLANNER_GROUP
public static final MasterRecipeHeaderField<String> BILL_OF_OPERATIONS_PROFILE
public static final MasterRecipeHeaderField<BigDecimal> MINIMUM_LOT_SIZE_QUANTITY
public static final MasterRecipeHeaderField<BigDecimal> MAXIMUM_LOT_SIZE_QUANTITY
public static final MasterRecipeHeaderField<String> BILL_OF_OPERATIONS_UNIT
public static final MasterRecipeHeaderField<LocalDateTime> CREATION_DATE
public static final MasterRecipeHeaderField<String> CREATED_BY_USER
public static final MasterRecipeHeaderField<LocalDateTime> LAST_CHANGE_DATE
public static final MasterRecipeHeaderField<String> LAST_CHANGED_BY_USER
public static final MasterRecipeHeaderField<LocalDateTime> VALIDITY_START_DATE
public static final MasterRecipeHeaderField<LocalDateTime> VALIDITY_END_DATE
public static final MasterRecipeHeaderField<String> CHANGE_NUMBER
public static final MasterRecipeHeaderLink<MasterRecipeMatlAssgmt> TO_MATL_ASSGMT
public static final MasterRecipeHeaderLink<MasterRecipeOperation> TO_OPERATION
public MasterRecipeHeader()
public MasterRecipeHeader(@Nullable String masterRecipeGroup, @Nullable String masterRecipe, @Nullable String masterRecipeInternalVersion, @Nullable Boolean isMarkedForDeletion, @Nullable String billOfOperationsDesc, @Nullable String plant, @Nullable String billOfOperationsStatus, @Nullable String billOfOperationsUsage, @Nullable String responsiblePlannerGroup, @Nullable String billOfOperationsProfile, @Nullable BigDecimal minimumLotSizeQuantity, @Nullable BigDecimal maximumLotSizeQuantity, @Nullable String billOfOperationsUnit, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String lastChangedByUser, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String changeNumber, List<MasterRecipeMatlAssgmt> toMatlAssgmt, List<MasterRecipeOperation> toOperation)
@Nonnull public Class<MasterRecipeHeader> getType()
getType
in class VdmObject<MasterRecipeHeader>
public void setMasterRecipeGroup(@Nullable String masterRecipeGroup)
Original property name from the Odata EDM: MasterRecipeGroup
You can use groups, for instance, to identify two routings that have different production steps for one material.Enter the group to which you want to restrict the selection.
masterRecipeGroup
- Key identifying a group.public void setMasterRecipe(@Nullable String masterRecipe)
Original property name from the Odata EDM: MasterRecipe
In Production Planning and Control, for example, it serves to identify alternative production processes in task lists and is used to make a distinction between similar task lists.The group counter can be used to identify different lot-size ranges, for example.
masterRecipe
- This key and the task list group uniquely identify a task list.public void setMasterRecipeInternalVersion(@Nullable String masterRecipeInternalVersion)
Original property name from the Odata EDM: MasterRecipeInternalVersion
masterRecipeInternalVersion
- Identifies the activity posting.public void setIsMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
Original property name from the Odata EDM: IsMarkedForDeletion
You can reset the deletion flag anytime before the next archiving run.
isMarkedForDeletion
- You use this indicator to specify that the task list will be deleted with a deletion program during
the next archiving run if you selected deletion flags as a selection criterion for the archiving run.public void setBillOfOperationsDesc(@Nullable String billOfOperationsDesc)
Original property name from the Odata EDM: BillOfOperationsDesc
This text is transferred to the first line of the long text for the task list.Character formats such as bold or italics are not supported in short texts. If you use special character formats in long texts, the system displays the corresponding control characters in the short text.
billOfOperationsDesc
- Describes the routing.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setBillOfOperationsStatus(@Nullable String billOfOperationsStatus)
Original property name from the Odata EDM: BillOfOperationsStatus
Note that certain transactions are dependent upon the status of the task list. For example, you can only include a reference operation set in a routing if the routing has the status "Released (general)".
billOfOperationsStatus
- You use the status key to indicate the processing status of a task list. For example, you can indicate
whether the task list is still in the creation phase or has already been released.public void setBillOfOperationsUsage(@Nullable String billOfOperationsUsage)
Original property name from the Odata EDM: BillOfOperationsUsage
Do not confuse the task list usage with the usage of a PRT or a work center. In these cases, the usage describes the task list types in which the PRT or work center can be used.
billOfOperationsUsage
- Key specifying the areas in which the task list can be used (for example, in production or plant
maintenance).public void setResponsiblePlannerGroup(@Nullable String responsiblePlannerGroup)
Original property name from the Odata EDM: ResponsiblePlannerGroup
When you enter the planner group, also enter the plant for whose routings the planner group is responsible.
responsiblePlannerGroup
- Key which identifies the planner group responsible for maintaining the task list.public void setBillOfOperationsProfile(@Nullable String billOfOperationsProfile)
Original property name from the Odata EDM: BillOfOperationsProfile
In a profile you store information that you need frequently when maintaining routings or master recipes.You use profiles to:Predefine fields, such as plant, purchasing organization or unit of measure.Specify how you want to use the entry tool.
billOfOperationsProfile
- A profile is a collection of default values and settings for maintenance of routings or master
recipes.public void setMinimumLotSizeQuantity(@Nullable BigDecimal minimumLotSizeQuantity)
Original property name from the Odata EDM: MinimumLotSizeQuantity
minimumLotSizeQuantity
- Lower limit of the lot size range for which the routing/plan is valid.public void setMaximumLotSizeQuantity(@Nullable BigDecimal maximumLotSizeQuantity)
Original property name from the Odata EDM: MaximumLotSizeQuantity
maximumLotSizeQuantity
- Upper limit of the lot size range for which the routing/plan is valid.public void setBillOfOperationsUnit(@Nullable String billOfOperationsUnit)
Original property name from the Odata EDM: BillOfOperationsUnit
The unit of measure in the material master is used in the task list.If you have not maintained a unit of measure in the material master, the unit from the profile is proposed.
billOfOperationsUnit
- The unit of measure used for the material to be produced in the task list.public void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on which the record was created.public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created By Userpublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Date of Last Changepublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Last Changed By Userpublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Valid-From Datepublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Valid-To Datepublic void setChangeNumber(@Nullable String changeNumber)
Original property name from the Odata EDM: ChangeNumber
If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal:The system determines the validity conditionsThe conditions that the change is effective under can be defined in the change master record as follows:Changes with a date validity (valid-from date)Changes with parameter effectivity (for example: serial no. effectivity)Log of the changes madeDocumentation of the changesAssignment of a revision level to a change state of a material or documentRelease of changes for the different areas in the company
changeNumber
- Number used to uniquely identify a change master record.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<MasterRecipeHeader>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<MasterRecipeHeader>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<MasterRecipeHeader>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<MasterRecipeHeader>
@Nonnull public static <T> MasterRecipeHeaderField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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> MasterRecipeHeaderField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<MasterRecipeHeader>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<MasterRecipeHeader>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<MasterRecipeHeader>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<MasterRecipeHeader>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<MasterRecipeHeader>
@Nonnull public List<MasterRecipeMatlAssgmt> fetchMatlAssgmt() 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.@Nonnull public List<MasterRecipeMatlAssgmt> getMatlAssgmtOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_MatlAssgmt of a queried MasterRecipeHeader 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.@Nonnull public io.vavr.control.Option<List<MasterRecipeMatlAssgmt>> getMatlAssgmtIfPresent()
If the navigation property for an entity MasterRecipeHeader has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setMatlAssgmt(@Nonnull List<MasterRecipeMatlAssgmt> value)
If the navigation property to_MatlAssgmt of a queried MasterRecipeHeader 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 MasterRecipeMatlAssgmt entities.public void addMatlAssgmt(MasterRecipeMatlAssgmt... entity)
If the navigation property to_MatlAssgmt of a queried MasterRecipeHeader 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 MasterRecipeMatlAssgmt entities.@Nonnull public List<MasterRecipeOperation> fetchOperation() 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.@Nonnull public List<MasterRecipeOperation> getOperationOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Operation of a queried MasterRecipeHeader 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.@Nonnull public io.vavr.control.Option<List<MasterRecipeOperation>> getOperationIfPresent()
If the navigation property for an entity MasterRecipeHeader has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setOperation(@Nonnull List<MasterRecipeOperation> value)
If the navigation property to_Operation of a queried MasterRecipeHeader 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 MasterRecipeOperation entities.public void addOperation(MasterRecipeOperation... entity)
If the navigation property to_Operation of a queried MasterRecipeHeader 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 MasterRecipeOperation entities.public static MasterRecipeHeader.MasterRecipeHeaderBuilder builder()
@Nullable public String getMasterRecipeGroup()
Original property name from the Odata EDM: MasterRecipeGroup
You can use groups, for instance, to identify two routings that have different production steps for one material.Enter the group to which you want to restrict the selection.
@Nullable public String getMasterRecipe()
Original property name from the Odata EDM: MasterRecipe
In Production Planning and Control, for example, it serves to identify alternative production processes in task lists and is used to make a distinction between similar task lists.The group counter can be used to identify different lot-size ranges, for example.
@Nullable public String getMasterRecipeInternalVersion()
Original property name from the Odata EDM: MasterRecipeInternalVersion
@Nullable public Boolean getIsMarkedForDeletion()
Original property name from the Odata EDM: IsMarkedForDeletion
You can reset the deletion flag anytime before the next archiving run.
@Nullable public String getBillOfOperationsDesc()
Original property name from the Odata EDM: BillOfOperationsDesc
This text is transferred to the first line of the long text for the task list.Character formats such as bold or italics are not supported in short texts. If you use special character formats in long texts, the system displays the corresponding control characters in the short text.
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getBillOfOperationsStatus()
Original property name from the Odata EDM: BillOfOperationsStatus
Note that certain transactions are dependent upon the status of the task list. For example, you can only include a reference operation set in a routing if the routing has the status "Released (general)".
@Nullable public String getBillOfOperationsUsage()
Original property name from the Odata EDM: BillOfOperationsUsage
Do not confuse the task list usage with the usage of a PRT or a work center. In these cases, the usage describes the task list types in which the PRT or work center can be used.
@Nullable public String getResponsiblePlannerGroup()
Original property name from the Odata EDM: ResponsiblePlannerGroup
When you enter the planner group, also enter the plant for whose routings the planner group is responsible.
@Nullable public String getBillOfOperationsProfile()
Original property name from the Odata EDM: BillOfOperationsProfile
In a profile you store information that you need frequently when maintaining routings or master recipes.You use profiles to:Predefine fields, such as plant, purchasing organization or unit of measure.Specify how you want to use the entry tool.
@Nullable public BigDecimal getMinimumLotSizeQuantity()
Original property name from the Odata EDM: MinimumLotSizeQuantity
@Nullable public BigDecimal getMaximumLotSizeQuantity()
Original property name from the Odata EDM: MaximumLotSizeQuantity
@Nullable public String getBillOfOperationsUnit()
Original property name from the Odata EDM: BillOfOperationsUnit
The unit of measure in the material master is used in the task list.If you have not maintained a unit of measure in the material master, the unit from the profile is proposed.
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getChangeNumber()
Original property name from the Odata EDM: ChangeNumber
If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal:The system determines the validity conditionsThe conditions that the change is effective under can be defined in the change master record as follows:Changes with a date validity (valid-from date)Changes with parameter effectivity (for example: serial no. effectivity)Log of the changes madeDocumentation of the changesAssignment of a revision level to a change state of a material or documentRelease of changes for the different areas in the company
public String toString()
toString
in class VdmObject<MasterRecipeHeader>
public boolean equals(Object o)
equals
in class VdmObject<MasterRecipeHeader>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<MasterRecipeHeader>
public int hashCode()
hashCode
in class VdmObject<MasterRecipeHeader>
Copyright © 2020 SAP SE. All rights reserved.