Class DefaultPlantSubstitutionService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultPlantSubstitutionService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,PlantSubstitutionService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultPlantSubstitutionService")
@Deprecated
public class DefaultPlantSubstitutionService
extends Object
implements ServiceWithNavigableEntities, PlantSubstitutionService
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 sales organization, distribution channel, and time range specific plant substitution. Additionally, these substitutions can be sequenced, and grouped using predefined groups.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PLANTSUBSTITUTION_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_PLANTSUBSTN |
| Business Object: | Plant Substitution |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.PlantSubstitutionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPlantSubstitutionService.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 thePlantSubstnentity collection matching the filter and search expressions.createPlantSubstn(PlantSubstn plantSubstn) Deprecated.Create a newPlantSubstnentity and save it to the S/4HANA system.deletePlantSubstn(PlantSubstn plantSubstn) Deprecated.Deletes an existingPlantSubstnentity in the S/4HANA system.Deprecated.Fetch multiplePlantSubstnentities.getPlantSubstnByKey(UUID mDSubstnUUID) Deprecated.Fetch a singlePlantSubstnentity using key fields.Deprecated.updatePlantSubstn(PlantSubstn plantSubstn) Deprecated.Update an existingPlantSubstnentity 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
-
DefaultPlantSubstitutionService
public DefaultPlantSubstitutionService()Deprecated.Creates a service usingPlantSubstitutionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PlantSubstitutionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePlantSubstitutionService- 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:PlantSubstitutionServiceCreates a batch request builder object.- Specified by:
batchin interfacePlantSubstitutionService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllPlantSubstn
Deprecated.Description copied from interface:PlantSubstitutionServiceFetch multiplePlantSubstnentities.- Specified by:
getAllPlantSubstnin interfacePlantSubstitutionService- Returns:
- A request builder to fetch multiple
PlantSubstnentities. 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.
-
countPlantSubstn
Deprecated.Description copied from interface:PlantSubstitutionServiceFetch the number of entries from thePlantSubstnentity collection matching the filter and search expressions.- Specified by:
countPlantSubstnin interfacePlantSubstitutionService- Returns:
- A request builder to fetch the count of
PlantSubstnentities. 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.
-
getPlantSubstnByKey
Deprecated.Description copied from interface:PlantSubstitutionServiceFetch a singlePlantSubstnentity using key fields.- Specified by:
getPlantSubstnByKeyin interfacePlantSubstitutionService- Parameters:
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
PlantSubstnentity 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.
-
createPlantSubstn
@Nonnull public CreateRequestBuilder<PlantSubstn> createPlantSubstn(@Nonnull PlantSubstn plantSubstn) Deprecated.Description copied from interface:PlantSubstitutionServiceCreate a newPlantSubstnentity and save it to the S/4HANA system.- Specified by:
createPlantSubstnin interfacePlantSubstitutionService- Parameters:
plantSubstn-PlantSubstnentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PlantSubstnentity. To perform execution, call theexecutemethod on the request builder object.
-
updatePlantSubstn
@Nonnull public UpdateRequestBuilder<PlantSubstn> updatePlantSubstn(@Nonnull PlantSubstn plantSubstn) Deprecated.Description copied from interface:PlantSubstitutionServiceUpdate an existingPlantSubstnentity and save it to the S/4HANA system.- Specified by:
updatePlantSubstnin interfacePlantSubstitutionService- Parameters:
plantSubstn-PlantSubstnentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PlantSubstnentity. To perform execution, call theexecutemethod on the request builder object.
-
deletePlantSubstn
@Nonnull public DeleteRequestBuilder<PlantSubstn> deletePlantSubstn(@Nonnull PlantSubstn plantSubstn) Deprecated.Description copied from interface:PlantSubstitutionServiceDeletes an existingPlantSubstnentity in the S/4HANA system.- Specified by:
deletePlantSubstnin interfacePlantSubstitutionService- Parameters:
plantSubstn-PlantSubstnentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
PlantSubstnentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-