Class DefaultPlantSubstitutionExclusionService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultPlantSubstitutionExclusionService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,PlantSubstitutionExclusionService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultPlantSubstitutionExclusionService")
@Deprecated
public class DefaultPlantSubstitutionExclusionService
extends Object
implements ServiceWithNavigableEntities, PlantSubstitutionExclusionService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to create plant exclusions based on various factors like time range validities, sales organization-specific and distribution channel-specific. Additionally, predefined groups can be applied on these plant exclusions.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PLANTEXCLUSION_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Master Data - Location Substitution Integration(SAP_COM_0780) |
| Scope Items: | Advanced Available-to-Promise Processing(1JW) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PLANTSUBSTNEXCLSN |
| Business Object: | Plant Exclusion |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.PlantSubstitutionExclusionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPlantSubstitutionExclusionService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from thePlantExclsnentity collection matching the filter and search expressions.createPlantSubstnExclsn(PlantExclsn plantExclsn) Deprecated.Create a newPlantExclsnentity and save it to the S/4HANA system.deletePlantSubstnExclsn(PlantExclsn plantExclsn) Deprecated.Deletes an existingPlantExclsnentity in the S/4HANA system.Deprecated.Fetch multiplePlantExclsnentities.getPlantSubstnExclsnByKey(UUID mDSubstnUUID) Deprecated.Fetch a singlePlantExclsnentity using key fields.Deprecated.updatePlantSubstnExclsn(PlantExclsn plantExclsn) Deprecated.Update an existingPlantExclsnentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultPlantSubstitutionExclusionService
public DefaultPlantSubstitutionExclusionService()Deprecated.Creates a service usingPlantSubstitutionExclusionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultPlantSubstitutionExclusionService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:PlantSubstitutionExclusionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePlantSubstitutionExclusionService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:PlantSubstitutionExclusionServiceCreates a batch request builder object.- Specified by:
batchin interfacePlantSubstitutionExclusionService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllPlantSubstnExclsn
Deprecated.Description copied from interface:PlantSubstitutionExclusionServiceFetch multiplePlantExclsnentities.- Specified by:
getAllPlantSubstnExclsnin interfacePlantSubstitutionExclusionService- Returns:
- A request builder to fetch multiple
PlantExclsnentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPlantSubstnExclsn
Deprecated.Description copied from interface:PlantSubstitutionExclusionServiceFetch the number of entries from thePlantExclsnentity collection matching the filter and search expressions.- Specified by:
countPlantSubstnExclsnin interfacePlantSubstitutionExclusionService- Returns:
- A request builder to fetch the count of
PlantExclsnentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPlantSubstnExclsnByKey
Deprecated.Description copied from interface:PlantSubstitutionExclusionServiceFetch a singlePlantExclsnentity using key fields.- Specified by:
getPlantSubstnExclsnByKeyin interfacePlantSubstitutionExclusionService- Parameters:
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
PlantExclsnentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPlantSubstnExclsn
@Nonnull public CreateRequestBuilder<PlantExclsn> createPlantSubstnExclsn(@Nonnull PlantExclsn plantExclsn) Deprecated.Description copied from interface:PlantSubstitutionExclusionServiceCreate a newPlantExclsnentity and save it to the S/4HANA system.- Specified by:
createPlantSubstnExclsnin interfacePlantSubstitutionExclusionService- Parameters:
plantExclsn-PlantExclsnentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PlantExclsnentity. To perform execution, call theexecutemethod on the request builder object.
-
updatePlantSubstnExclsn
@Nonnull public UpdateRequestBuilder<PlantExclsn> updatePlantSubstnExclsn(@Nonnull PlantExclsn plantExclsn) Deprecated.Description copied from interface:PlantSubstitutionExclusionServiceUpdate an existingPlantExclsnentity and save it to the S/4HANA system.- Specified by:
updatePlantSubstnExclsnin interfacePlantSubstitutionExclusionService- Parameters:
plantExclsn-PlantExclsnentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PlantExclsnentity. To perform execution, call theexecutemethod on the request builder object.
-
deletePlantSubstnExclsn
@Nonnull public DeleteRequestBuilder<PlantExclsn> deletePlantSubstnExclsn(@Nonnull PlantExclsn plantExclsn) Deprecated.Description copied from interface:PlantSubstitutionExclusionServiceDeletes an existingPlantExclsnentity in the S/4HANA system.- Specified by:
deletePlantSubstnExclsnin interfacePlantSubstitutionExclusionService- Parameters:
plantExclsn-PlantExclsnentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
PlantExclsnentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-