public interface BasicProductAvailabilityInformationService extends BatchService<BasicProductAvailabilityInformationServiceBatch>
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 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
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.
|
BasicProductAvailabilityInformationService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull BasicProductAvailabilityInformationService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull DetermineAvailabilityAtFluentHelper determineAvailabilityAt(String supplyingPlant, String material, String aTPCheckingRule, ZonedDateTime requestedUTCDateTime)
Creates a fluent helper for the DetermineAvailabilityAt OData function import.
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
supplyingPlant
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
execute
method on the fluent helper object.@Nonnull DetermineAvailabilityOfFluentHelper determineAvailabilityOf(BigDecimal requestedQuantityInBaseUnit, String material, String supplyingPlant, String aTPCheckingRule)
Creates a fluent helper for the DetermineAvailabilityOf OData function import.
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
supplyingPlant
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
requestedQuantityInBaseUnit
- Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: RequestedQuantityInBaseUnit
execute
method on the fluent helper object.@Nonnull CalculateAvailabilityTimeseriesFluentHelper calculateAvailabilityTimeseries(String aTPCheckingRule, String material, String supplyingPlant)
Creates a fluent helper for the CalculateAvailabilityTimeseries OData function import.
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
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.