public class ProductionRoutingHeader extends VdmEntity<ProductionRoutingHeader>
Original entity name from the Odata EDM: ProductionRoutingHeaderType
Modifier and Type | Class and Description |
---|---|
static class |
ProductionRoutingHeader.ProductionRoutingHeaderBuilder
Helper class to allow for fluent creation of ProductionRoutingHeader instances.
|
Modifier and Type | Field and Description |
---|---|
static ProductionRoutingHeaderSelectable |
ALL_FIELDS
Selector for all available fields of ProductionRoutingHeader.
|
static ProductionRoutingHeaderField<String> |
BILL_OF_OPERATIONS_DESC
Use with available fluent helpers to apply the BillOfOperationsDesc field to query operations.
|
static ProductionRoutingHeaderField<String> |
BILL_OF_OPERATIONS_STATUS
Use with available fluent helpers to apply the BillOfOperationsStatus field to query operations.
|
static ProductionRoutingHeaderField<String> |
BILL_OF_OPERATIONS_UNIT
Use with available fluent helpers to apply the BillOfOperationsUnit field to query operations.
|
static ProductionRoutingHeaderField<String> |
BILL_OF_OPERATIONS_USAGE
Use with available fluent helpers to apply the BillOfOperationsUsage field to query operations.
|
static ProductionRoutingHeaderField<String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static ProductionRoutingHeaderField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static ProductionRoutingHeaderField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static ProductionRoutingHeaderField<Boolean> |
IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.
|
static ProductionRoutingHeaderField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static ProductionRoutingHeaderField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static ProductionRoutingHeaderField<BigDecimal> |
MAXIMUM_LOT_SIZE_QUANTITY
Use with available fluent helpers to apply the MaximumLotSizeQuantity field to query operations.
|
static ProductionRoutingHeaderField<BigDecimal> |
MINIMUM_LOT_SIZE_QUANTITY
Use with available fluent helpers to apply the MinimumLotSizeQuantity field to query operations.
|
static ProductionRoutingHeaderField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductionRoutingHeaderField<String> |
PRODUCTION_ROUTING
Use with available fluent helpers to apply the ProductionRouting field to query operations.
|
static ProductionRoutingHeaderField<String> |
PRODUCTION_ROUTING_GROUP
Use with available fluent helpers to apply the ProductionRoutingGroup field to query operations.
|
static ProductionRoutingHeaderField<String> |
PRODUCTION_ROUTING_INTERNAL_VERS
Use with available fluent helpers to apply the ProductionRoutingInternalVers field to query operations.
|
static ProductionRoutingHeaderField<String> |
RESPONSIBLE_PLANNER_GROUP
Use with available fluent helpers to apply the ResponsiblePlannerGroup field to query operations.
|
static ProductionRoutingHeaderLink<ProductionRoutingMatlAssgmt> |
TO_MATL_ASSGMT
Use with available fluent helpers to apply the to_MatlAssgmt navigation property to query operations.
|
static ProductionRoutingHeaderLink<ProductionRoutingSequence> |
TO_SEQUENCE
Use with available fluent helpers to apply the to_Sequence navigation property to query operations.
|
static ProductionRoutingHeaderField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static ProductionRoutingHeaderField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductionRoutingHeader() |
ProductionRoutingHeader(String productionRoutingGroup,
String productionRouting,
String productionRoutingInternalVers,
Boolean isMarkedForDeletion,
String billOfOperationsDesc,
String plant,
String billOfOperationsUsage,
String billOfOperationsStatus,
String responsiblePlannerGroup,
BigDecimal minimumLotSizeQuantity,
BigDecimal maximumLotSizeQuantity,
String billOfOperationsUnit,
LocalDateTime creationDate,
String createdByUser,
LocalDateTime lastChangeDate,
String lastChangedByUser,
LocalDateTime validityStartDate,
LocalDateTime validityEndDate,
String changeNumber,
List<ProductionRoutingMatlAssgmt> toMatlAssgmt,
List<ProductionRoutingSequence> toSequence) |
Modifier and Type | Method and Description |
---|---|
void |
addMatlAssgmt(ProductionRoutingMatlAssgmt... entity)
Adds elements to the list of associated ProductionRoutingMatlAssgmt entities.
|
void |
addSequence(ProductionRoutingSequence... entity)
Adds elements to the list of associated ProductionRoutingSequence entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProductionRoutingHeader.ProductionRoutingHeaderBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ProductionRoutingMatlAssgmt> |
fetchMatlAssgmt()
Fetches the ProductionRoutingMatlAssgmt entities (one to many) associated with this entity.
|
List<ProductionRoutingSequence> |
fetchSequence()
Fetches the ProductionRoutingSequence entities (one to many) associated with this entity.
|
static <T> ProductionRoutingHeaderField<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 |
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
|
io.vavr.control.Option<List<ProductionRoutingMatlAssgmt>> |
getMatlAssgmtIfPresent()
Retrieval of associated ProductionRoutingMatlAssgmt entities (one to many).
|
List<ProductionRoutingMatlAssgmt> |
getMatlAssgmtOrFetch()
Retrieval of associated ProductionRoutingMatlAssgmt entities (one to many).
|
BigDecimal |
getMaximumLotSizeQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getMinimumLotSizeQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getProductionRouting()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getProductionRoutingGroup()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getProductionRoutingInternalVers()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getResponsiblePlannerGroup()
Constraints: Not nullable, Maximum length: 3
|
io.vavr.control.Option<List<ProductionRoutingSequence>> |
getSequenceIfPresent()
Retrieval of associated ProductionRoutingSequence entities (one to many).
|
List<ProductionRoutingSequence> |
getSequenceOrFetch()
Retrieval of associated ProductionRoutingSequence entities (one to many).
|
Class<ProductionRoutingHeader> |
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 |
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 |
setMatlAssgmt(List<ProductionRoutingMatlAssgmt> value)
Overwrites the list of associated ProductionRoutingMatlAssgmt 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 |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setProductionRouting(String productionRouting)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setProductionRoutingGroup(String productionRoutingGroup)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setProductionRoutingInternalVers(String productionRoutingInternalVers)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setResponsiblePlannerGroup(String responsiblePlannerGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setSequence(List<ProductionRoutingSequence> value)
Overwrites the list of associated ProductionRoutingSequence entities for the loaded navigation property
to_Sequence.
|
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 ProductionRoutingHeaderSelectable ALL_FIELDS
public static final ProductionRoutingHeaderField<String> PRODUCTION_ROUTING_GROUP
public static final ProductionRoutingHeaderField<String> PRODUCTION_ROUTING
public static final ProductionRoutingHeaderField<String> PRODUCTION_ROUTING_INTERNAL_VERS
public static final ProductionRoutingHeaderField<Boolean> IS_MARKED_FOR_DELETION
public static final ProductionRoutingHeaderField<String> BILL_OF_OPERATIONS_DESC
public static final ProductionRoutingHeaderField<String> PLANT
public static final ProductionRoutingHeaderField<String> BILL_OF_OPERATIONS_USAGE
public static final ProductionRoutingHeaderField<String> BILL_OF_OPERATIONS_STATUS
public static final ProductionRoutingHeaderField<String> RESPONSIBLE_PLANNER_GROUP
public static final ProductionRoutingHeaderField<BigDecimal> MINIMUM_LOT_SIZE_QUANTITY
public static final ProductionRoutingHeaderField<BigDecimal> MAXIMUM_LOT_SIZE_QUANTITY
public static final ProductionRoutingHeaderField<String> BILL_OF_OPERATIONS_UNIT
public static final ProductionRoutingHeaderField<LocalDateTime> CREATION_DATE
public static final ProductionRoutingHeaderField<String> CREATED_BY_USER
public static final ProductionRoutingHeaderField<LocalDateTime> LAST_CHANGE_DATE
public static final ProductionRoutingHeaderField<String> LAST_CHANGED_BY_USER
public static final ProductionRoutingHeaderField<LocalDateTime> VALIDITY_START_DATE
public static final ProductionRoutingHeaderField<LocalDateTime> VALIDITY_END_DATE
public static final ProductionRoutingHeaderField<String> CHANGE_NUMBER
public static final ProductionRoutingHeaderLink<ProductionRoutingMatlAssgmt> TO_MATL_ASSGMT
public static final ProductionRoutingHeaderLink<ProductionRoutingSequence> TO_SEQUENCE
public ProductionRoutingHeader()
public ProductionRoutingHeader(@Nullable String productionRoutingGroup, @Nullable String productionRouting, @Nullable String productionRoutingInternalVers, @Nullable Boolean isMarkedForDeletion, @Nullable String billOfOperationsDesc, @Nullable String plant, @Nullable String billOfOperationsUsage, @Nullable String billOfOperationsStatus, @Nullable String responsiblePlannerGroup, @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<ProductionRoutingMatlAssgmt> toMatlAssgmt, List<ProductionRoutingSequence> toSequence)
@Nonnull public Class<ProductionRoutingHeader> getType()
getType
in class VdmObject<ProductionRoutingHeader>
public void setProductionRoutingGroup(@Nullable String productionRoutingGroup)
Original property name from the Odata EDM: ProductionRoutingGroup
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.
productionRoutingGroup
- Key identifying a group.public void setProductionRouting(@Nullable String productionRouting)
Original property name from the Odata EDM: ProductionRouting
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.
productionRouting
- This key and the task list group uniquely identify a task list.public void setProductionRoutingInternalVers(@Nullable String productionRoutingInternalVers)
Original property name from the Odata EDM: ProductionRoutingInternalVers
productionRoutingInternalVers
- 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 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 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 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 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 anobject with a change number, the following functions are at your disposal:The system determines the effectivity parametersThe conditions that the change is effective under can be defined in the change master record as follows:Changes with a date effectivity (valid from date)Changes with parameter effectivity (for example: serial no. effectivity)Log of the changes madeDocumentation for the changesRevision level to indicate the change status of a material or documentChanges released 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<ProductionRoutingHeader>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductionRoutingHeader>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductionRoutingHeader>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductionRoutingHeader>
@Nonnull public static <T> ProductionRoutingHeaderField<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> ProductionRoutingHeaderField<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<ProductionRoutingHeader>
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<ProductionRoutingHeader>
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<ProductionRoutingHeader>
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<ProductionRoutingHeader>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ProductionRoutingHeader>
@Nonnull public List<ProductionRoutingMatlAssgmt> 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<ProductionRoutingMatlAssgmt> getMatlAssgmtOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_MatlAssgmt of a queried ProductionRoutingHeader 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<ProductionRoutingMatlAssgmt>> getMatlAssgmtIfPresent()
If the navigation property for an entity ProductionRoutingHeader 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<ProductionRoutingMatlAssgmt> value)
If the navigation property to_MatlAssgmt of a queried ProductionRoutingHeader 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 ProductionRoutingMatlAssgmt entities.public void addMatlAssgmt(ProductionRoutingMatlAssgmt... entity)
If the navigation property to_MatlAssgmt of a queried ProductionRoutingHeader 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 ProductionRoutingMatlAssgmt entities.@Nonnull public List<ProductionRoutingSequence> fetchSequence() 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<ProductionRoutingSequence> getSequenceOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Sequence of a queried ProductionRoutingHeader 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<ProductionRoutingSequence>> getSequenceIfPresent()
If the navigation property for an entity ProductionRoutingHeader 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 setSequence(@Nonnull List<ProductionRoutingSequence> value)
If the navigation property to_Sequence of a queried ProductionRoutingHeader 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 ProductionRoutingSequence entities.public void addSequence(ProductionRoutingSequence... entity)
If the navigation property to_Sequence of a queried ProductionRoutingHeader 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 ProductionRoutingSequence entities.public static ProductionRoutingHeader.ProductionRoutingHeaderBuilder builder()
@Nullable public String getProductionRoutingGroup()
Original property name from the Odata EDM: ProductionRoutingGroup
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 getProductionRouting()
Original property name from the Odata EDM: ProductionRouting
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 getProductionRoutingInternalVers()
Original property name from the Odata EDM: ProductionRoutingInternalVers
@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 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 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 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 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 anobject with a change number, the following functions are at your disposal:The system determines the effectivity parametersThe conditions that the change is effective under can be defined in the change master record as follows:Changes with a date effectivity (valid from date)Changes with parameter effectivity (for example: serial no. effectivity)Log of the changes madeDocumentation for the changesRevision level to indicate the change status of a material or documentChanges released for the different areas in the company.
public String toString()
toString
in class VdmObject<ProductionRoutingHeader>
public boolean equals(Object o)
equals
in class VdmObject<ProductionRoutingHeader>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProductionRoutingHeader>
public int hashCode()
hashCode
in class VdmObject<ProductionRoutingHeader>
Copyright © 2020 SAP SE. All rights reserved.