@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductExclusionService") public class DefaultProductExclusionService extends Object implements ServiceWithNavigableEntities, ProductExclusionService
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 API Business Hub
OData Service: | PRODUCTEXCLUSION_0001 |
API Version: | 1 |
Communication Scenario: | Master Data - Product Exclusion Integration (SAP_COM_0708) |
Scope Items: | Advanced Available-to-Promise Processing (1JW) |
Authentication Methods: | Basic, x509 |
Service Group Name: | API_PRODSUBSTNEXCLSN |
Business Object: | ProductExclusion |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductExclusionService()
Creates a service using
ProductExclusionService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<ProdSubstnExclsn> |
countProdSubstnExclsn()
Fetch the number of entries from the
ProdSubstnExclsn
entity collection matching the filter and search expressions. |
CreateRequestBuilder<ProdSubstnExclsn> |
createProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn)
Create a new
ProdSubstnExclsn entity and save it to the S/4HANA system. |
DeleteRequestBuilder<ProdSubstnExclsn> |
deleteProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn)
Deletes an existing
ProdSubstnExclsn
entity in the S/4HANA system. |
GetAllRequestBuilder<ProdSubstnExclsn> |
getAllProdSubstnExclsn()
Fetch multiple
ProdSubstnExclsn entities. |
GetByKeyRequestBuilder<ProdSubstnExclsn> |
getProdSubstnExclsnByKey(UUID mDSubstnUUID)
Fetch a single
ProdSubstnExclsn entity using key fields. |
String |
getServicePath()
Getter for the OData service root path.
|
UpdateRequestBuilder<ProdSubstnExclsn> |
updateProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn)
Update an existing
ProdSubstnExclsn entity and save it to the S/4HANA system. |
DefaultProductExclusionService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultProductExclusionService()
ProductExclusionService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductExclusionService withServicePath(@Nonnull String servicePath)
ProductExclusionService
withServicePath
in interface ProductExclusionService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
ProductExclusionService
batch
in interface ProductExclusionService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<ProdSubstnExclsn> getAllProdSubstnExclsn()
ProductExclusionService
ProdSubstnExclsn
entities.getAllProdSubstnExclsn
in interface ProductExclusionService
ProdSubstnExclsn
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<ProdSubstnExclsn> countProdSubstnExclsn()
ProductExclusionService
ProdSubstnExclsn
entity collection matching the filter and search expressions.countProdSubstnExclsn
in interface ProductExclusionService
ProdSubstnExclsn
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<ProdSubstnExclsn> getProdSubstnExclsnByKey(@Nonnull UUID mDSubstnUUID)
ProductExclusionService
ProdSubstnExclsn
entity using key fields.getProdSubstnExclsnByKey
in interface ProductExclusionService
mDSubstnUUID
- Substitution UUID
Constraints: Not nullable
ProdSubstnExclsn
entity 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 the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<ProdSubstnExclsn> createProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn)
ProductExclusionService
ProdSubstnExclsn
entity and save it to the S/4HANA system.createProdSubstnExclsn
in interface ProductExclusionService
prodSubstnExclsn
- ProdSubstnExclsn
entity object that will be created in the S/4HANA system.ProdSubstnExclsn
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<ProdSubstnExclsn> updateProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn)
ProductExclusionService
ProdSubstnExclsn
entity and save it to the S/4HANA system.updateProdSubstnExclsn
in interface ProductExclusionService
prodSubstnExclsn
- ProdSubstnExclsn
entity object that will be updated in the S/4HANA system.ProdSubstnExclsn
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<ProdSubstnExclsn> deleteProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn)
ProductExclusionService
ProdSubstnExclsn
entity in the S/4HANA system.deleteProdSubstnExclsn
in interface ProductExclusionService
prodSubstnExclsn
- ProdSubstnExclsn
entity object that will be deleted in the S/4HANA system.ProdSubstnExclsn
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.