@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultBasicProductAvailabilityInformationService") public class DefaultBasicProductAvailabilityInformationService extends Object implements BasicProductAvailabilityInformationService
The availability information calculated by the service could, for example, be used by webshops to display up-to-date product availability information to increase the chance of customers placing orders or by suppliers to inform their customers when required products will be available and in which quantities.
Reference: SAP API Business Hub
OData Service: | OP_API_PRODUCT_AVAILY_INFO_BASIC_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Available To Promise |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBasicProductAvailabilityInformationService()
Creates a service using
BasicProductAvailabilityInformationService.DEFAULT_SERVICE_PATH to send the
requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBasicProductAvailabilityInformationServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
CalculateAvailabilityTimeseriesFluentHelper |
calculateAvailabilityTimeseries(String aTPCheckingRule,
String material,
String supplyingPlant)
Creates a fluent helper for the CalculateAvailabilityTimeseries OData function import.
|
DetermineAvailabilityAtFluentHelper |
determineAvailabilityAt(String supplyingPlant,
String material,
String aTPCheckingRule,
ZonedDateTime requestedUTCDateTime)
Creates a fluent helper for the DetermineAvailabilityAt OData function import.
|
DetermineAvailabilityOfFluentHelper |
determineAvailabilityOf(BigDecimal requestedQuantityInBaseUnit,
String material,
String supplyingPlant,
String aTPCheckingRule)
Creates a fluent helper for the DetermineAvailabilityOf OData function import.
|
DefaultBasicProductAvailabilityInformationService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBasicProductAvailabilityInformationService()
BasicProductAvailabilityInformationService.DEFAULT_SERVICE_PATH
to send the
requests.@Nonnull public DefaultBasicProductAvailabilityInformationService withServicePath(@Nonnull String servicePath)
BasicProductAvailabilityInformationService
withServicePath
in interface BasicProductAvailabilityInformationService
servicePath
- Service path that will override the default.@Nonnull public DefaultBasicProductAvailabilityInformationServiceBatch batch()
batch
in interface BatchService<BasicProductAvailabilityInformationServiceBatch>
@Nonnull public DetermineAvailabilityAtFluentHelper determineAvailabilityAt(String supplyingPlant, String material, String aTPCheckingRule, ZonedDateTime requestedUTCDateTime)
BasicProductAvailabilityInformationService
Creates a fluent helper for the DetermineAvailabilityAt OData function import.
determineAvailabilityAt
in interface BasicProductAvailabilityInformationService
supplyingPlant
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
material
- Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
aTPCheckingRule
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
requestedUTCDateTime
- Constraints: Not nullable, Precision: 7
Original parameter name from the Odata EDM: RequestedUTCDateTime
execute
method on the fluent helper object.@Nonnull public DetermineAvailabilityOfFluentHelper determineAvailabilityOf(BigDecimal requestedQuantityInBaseUnit, String material, String supplyingPlant, String aTPCheckingRule)
BasicProductAvailabilityInformationService
Creates a fluent helper for the DetermineAvailabilityOf OData function import.
determineAvailabilityOf
in interface BasicProductAvailabilityInformationService
requestedQuantityInBaseUnit
- Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: RequestedQuantityInBaseUnit
material
- Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
supplyingPlant
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
aTPCheckingRule
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
execute
method on the fluent helper object.@Nonnull public CalculateAvailabilityTimeseriesFluentHelper calculateAvailabilityTimeseries(String aTPCheckingRule, String material, String supplyingPlant)
BasicProductAvailabilityInformationService
Creates a fluent helper for the CalculateAvailabilityTimeseries OData function import.
calculateAvailabilityTimeseries
in interface BasicProductAvailabilityInformationService
aTPCheckingRule
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
material
- Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
supplyingPlant
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.