Class DefaultProductExclusionV2Service
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductExclusionV2Service
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductExclusionV2Service
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductExclusionV2Service")
@Deprecated
public class DefaultProductExclusionV2Service
extends Object
implements ServiceWithNavigableEntities, ProductExclusionV2Service
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 product exclusions based on various factors like time range validities, plant-specific, and application-specific. Additionally, predefined groups can be applied on these product exclusions.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_PRODUCTEXCLUSION_0002 |
| API Version: | 2.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Master Data - Product Exclusion Integration(SAP_COM_0708) |
| Scope Items: | Advanced Available-to-Promise Processing(1JW) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRODSUBSTNEXCLSN |
| Business Object: | Product Exclusion |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductExclusionV2Service
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductExclusionV2Service.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 theProductExclusionentity collection matching the filter and search expressions.createProductSubstitutionExclusion(ProductExclusion productExclusion) Deprecated.Create a newProductExclusionentity and save it to the S/4HANA system.deleteProductSubstitutionExclusion(ProductExclusion productExclusion) Deprecated.Deletes an existingProductExclusionentity in the S/4HANA system.Deprecated.Fetch multipleProductExclusionentities.getProductSubstitutionExclusionByKey(UUID mDSubstnUUID) Deprecated.Fetch a singleProductExclusionentity using key fields.Deprecated.updateProductSubstitutionExclusion(ProductExclusion productExclusion) Deprecated.Update an existingProductExclusionentity 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
-
DefaultProductExclusionV2Service
public DefaultProductExclusionV2Service()Deprecated.Creates a service usingProductExclusionV2Service.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductExclusionV2ServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductExclusionV2Service- 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:ProductExclusionV2ServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductExclusionV2Service- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProductSubstitutionExclusion
Deprecated.Description copied from interface:ProductExclusionV2ServiceFetch multipleProductExclusionentities.- Specified by:
getAllProductSubstitutionExclusionin interfaceProductExclusionV2Service- Returns:
- A request builder to fetch multiple
ProductExclusionentities. 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.
-
countProductSubstitutionExclusion
Deprecated.Description copied from interface:ProductExclusionV2ServiceFetch the number of entries from theProductExclusionentity collection matching the filter and search expressions.- Specified by:
countProductSubstitutionExclusionin interfaceProductExclusionV2Service- Returns:
- A request builder to fetch the count of
ProductExclusionentities. 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.
-
getProductSubstitutionExclusionByKey
@Nonnull public GetByKeyRequestBuilder<ProductExclusion> getProductSubstitutionExclusionByKey(UUID mDSubstnUUID) Deprecated.Description copied from interface:ProductExclusionV2ServiceFetch a singleProductExclusionentity using key fields.- Specified by:
getProductSubstitutionExclusionByKeyin interfaceProductExclusionV2Service- Parameters:
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProductExclusionentity 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.
-
createProductSubstitutionExclusion
@Nonnull public CreateRequestBuilder<ProductExclusion> createProductSubstitutionExclusion(@Nonnull ProductExclusion productExclusion) Deprecated.Description copied from interface:ProductExclusionV2ServiceCreate a newProductExclusionentity and save it to the S/4HANA system.- Specified by:
createProductSubstitutionExclusionin interfaceProductExclusionV2Service- Parameters:
productExclusion-ProductExclusionentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProductExclusionentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProductSubstitutionExclusion
@Nonnull public UpdateRequestBuilder<ProductExclusion> updateProductSubstitutionExclusion(@Nonnull ProductExclusion productExclusion) Deprecated.Description copied from interface:ProductExclusionV2ServiceUpdate an existingProductExclusionentity and save it to the S/4HANA system.- Specified by:
updateProductSubstitutionExclusionin interfaceProductExclusionV2Service- Parameters:
productExclusion-ProductExclusionentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProductExclusionentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProductSubstitutionExclusion
@Nonnull public DeleteRequestBuilder<ProductExclusion> deleteProductSubstitutionExclusion(@Nonnull ProductExclusion productExclusion) Deprecated.Description copied from interface:ProductExclusionV2ServiceDeletes an existingProductExclusionentity in the S/4HANA system.- Specified by:
deleteProductSubstitutionExclusionin interfaceProductExclusionV2Service- Parameters:
productExclusion-ProductExclusionentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProductExclusionentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-