@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBasicProductAvailabilityInformationService") public class DefaultBasicProductAvailabilityInformationService extends Object implements BasicProductAvailabilityInformationService
The availability information could, for example, be used in the following scenarios: - A webshop could use this service to display up-to-date product availability information to increase the chance of a customer placing an order. - A supplier could use this service to inform customers if a required product is available and in which quantities..
Reference: SAP API Business Hub
OData Service: | API_PRODUCT_AVAILY_INFO_BASIC |
API Version: | 1 |
Communication Scenario: | Product Availability Information Integration (SAP_COM_0115) |
Scope Items: | Advanced Available-to-Promise Processing (1JW), Basic Available-to-Promise Processing (2LN) |
Authentication Methods: | Basic, x509 |
Business Object: | AvailableToPromise |
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
- Plant
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
material
- Material
Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
aTPCheckingRule
- Checking rule
Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
requestedUTCDateTime
- Date
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
- Requested Qty
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: RequestedQuantityInBaseUnit
material
- Material
Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
supplyingPlant
- Plant
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
aTPCheckingRule
- Checking rule
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
- Checking rule
Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
material
- Material
Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
supplyingPlant
- Plant
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.