@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultBufferProfileService") public class DefaultBufferProfileService extends Object implements BufferProfileService
The service contains header and item entities. For read operations, filter information must be sent according to the OData protocol. All filter information is utilized when retrieving buffer profile. The buffer profile assigned to plant and the buffer profile details are sent in the response. If any issues arise when buffer profiles are retrieved, the system displays error messages in the response. .
Reference: SAP API Business Hub
OData Service: | OP_API_BUFFER_PROFILE_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Product |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBufferProfileService()
Creates a service using
BufferProfileService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBufferProfileServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ProfileAssignedToPlantFluentHelper |
getAllProfileAssignedToPlant()
Fetch multiple
ProfileAssignedToPlant entities. |
ProfileDetailsFluentHelper |
getAllProfileDetails()
Fetch multiple
ProfileDetails entities. |
ProfileAssignedToPlantByKeyFluentHelper |
getProfileAssignedToPlantByKey(String plant)
Fetch a single
ProfileAssignedToPlant entity using key fields. |
ProfileDetailsByKeyFluentHelper |
getProfileDetailsByKey(String plant,
String procurementType,
String variabilityCode,
String replenishmentLeadTimeCode,
String isMinOrderQtyConsidered)
Fetch a single
ProfileDetails entity using key fields. |
DefaultBufferProfileService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBufferProfileService()
BufferProfileService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBufferProfileService withServicePath(@Nonnull String servicePath)
BufferProfileService
withServicePath
in interface BufferProfileService
servicePath
- Service path that will override the default.@Nonnull public DefaultBufferProfileServiceBatch batch()
batch
in interface BatchService<BufferProfileServiceBatch>
@Nonnull public ProfileDetailsFluentHelper getAllProfileDetails()
BufferProfileService
ProfileDetails
entities.getAllProfileDetails
in interface BufferProfileService
ProfileDetails
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProfileDetailsByKeyFluentHelper getProfileDetailsByKey(String plant, String procurementType, String variabilityCode, String replenishmentLeadTimeCode, String isMinOrderQtyConsidered)
BufferProfileService
ProfileDetails
entity using key fields.getProfileDetailsByKey
in interface BufferProfileService
plant
- Plant
Constraints: Not nullable, Maximum length: 4
procurementType
- Procurement Type
Constraints: Not nullable, Maximum length: 1
variabilityCode
- Variability Co-efficient Indicator
Constraints: Not nullable, Maximum length: 1
replenishmentLeadTimeCode
- Decoupled Lead Time Indicator
Constraints: Not nullable, Maximum length: 1
isMinOrderQtyConsidered
- Is Minimum Order Quantity Considered
Constraints: Not nullable, Maximum length: 1
ProfileDetails
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProfileAssignedToPlantFluentHelper getAllProfileAssignedToPlant()
BufferProfileService
ProfileAssignedToPlant
entities.getAllProfileAssignedToPlant
in interface BufferProfileService
ProfileAssignedToPlant
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProfileAssignedToPlantByKeyFluentHelper getProfileAssignedToPlantByKey(String plant)
BufferProfileService
ProfileAssignedToPlant
entity using key fields.getProfileAssignedToPlantByKey
in interface BufferProfileService
plant
- Plant
Constraints: Not nullable, Maximum length: 4
ProfileAssignedToPlant
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.