Class DefaultBasicProductAvailabilityInformationService
- All Implemented Interfaces:
BatchService<BasicProductAvailabilityInformationServiceBatch>,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 Business Accelerator Hub
Details:
| OData Service: | API_PRODUCT_AVAILY_INFO_BASIC |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| 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: | x509 |
| Business Object: | Available To Promise |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.BasicProductAvailabilityInformationService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingBasicProductAvailabilityInformationService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.calculateAvailabilityTimeseries(String aTPCheckingRule, String material, String supplyingPlant) Deprecated.Creates a fluent helper for the CalculateAvailabilityTimeseries OData function import.determineAvailabilityAt(String supplyingPlant, String material, String aTPCheckingRule, ZonedDateTime requestedUTCDateTime) Deprecated.Creates a fluent helper for the DetermineAvailabilityAt OData function import.determineAvailabilityOf(BigDecimal requestedQuantityInBaseUnit, String material, String supplyingPlant, String aTPCheckingRule) Deprecated.Creates a fluent helper for the DetermineAvailabilityOf OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultBasicProductAvailabilityInformationService
public DefaultBasicProductAvailabilityInformationService()Deprecated.Creates a service usingBasicProductAvailabilityInformationService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultBasicProductAvailabilityInformationService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:BasicProductAvailabilityInformationServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceBasicProductAvailabilityInformationService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<BasicProductAvailabilityInformationServiceBatch>
-
determineAvailabilityAt
@Nonnull public DetermineAvailabilityAtFluentHelper determineAvailabilityAt(@Nonnull String supplyingPlant, @Nonnull String material, @Nonnull String aTPCheckingRule, @Nonnull ZonedDateTime requestedUTCDateTime) Deprecated.Description copied from interface:BasicProductAvailabilityInformationServiceCreates a fluent helper for the DetermineAvailabilityAt OData function import.
- Specified by:
determineAvailabilityAtin interfaceBasicProductAvailabilityInformationService- Parameters:
supplyingPlant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
aTPCheckingRule- Checking ruleConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
requestedUTCDateTime- DateConstraints: Not nullable, Precision: 7
Original parameter name from the Odata EDM: RequestedUTCDateTime
- Returns:
- A fluent helper object that will execute the DetermineAvailabilityAt OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
determineAvailabilityOf
@Nonnull public DetermineAvailabilityOfFluentHelper determineAvailabilityOf(@Nonnull BigDecimal requestedQuantityInBaseUnit, @Nonnull String material, @Nonnull String supplyingPlant, @Nonnull String aTPCheckingRule) Deprecated.Description copied from interface:BasicProductAvailabilityInformationServiceCreates a fluent helper for the DetermineAvailabilityOf OData function import.
- Specified by:
determineAvailabilityOfin interfaceBasicProductAvailabilityInformationService- Parameters:
requestedQuantityInBaseUnit- Requested QtyConstraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: RequestedQuantityInBaseUnit
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
supplyingPlant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
aTPCheckingRule- Checking ruleConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
- Returns:
- A fluent helper object that will execute the DetermineAvailabilityOf OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
calculateAvailabilityTimeseries
@Nonnull public CalculateAvailabilityTimeseriesFluentHelper calculateAvailabilityTimeseries(@Nonnull String aTPCheckingRule, @Nonnull String material, @Nonnull String supplyingPlant) Deprecated.Description copied from interface:BasicProductAvailabilityInformationServiceCreates a fluent helper for the CalculateAvailabilityTimeseries OData function import.
- Specified by:
calculateAvailabilityTimeseriesin interfaceBasicProductAvailabilityInformationService- Parameters:
aTPCheckingRule- Checking ruleConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
supplyingPlant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
- Returns:
- A fluent helper object that will execute the CalculateAvailabilityTimeseries OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-