Interface SapProductAvailabilityBO
- All Known Implementing Classes:
SapProductAvailabilityBOImpl
public interface SapProductAvailabilityBO
-
Method Summary
Modifier and TypeMethodDescriptionreadPlant(ProductModel product, String customerId) Returns the plant name given information about a product.readPlantForCustomerMaterial(String material, String customerId) Gets the plant from the customer material record.readProductAvailability(ProductModel product, String customerId, String plant, Long requestedQuantity) reads the current stock level for a product + future available quantities
-
Method Details
-
readProductAvailability
SapProductAvailability readProductAvailability(ProductModel product, String customerId, String plant, Long requestedQuantity) reads the current stock level for a product + future available quantities- Parameters:
product-customerId-plant-requestedQuantity-- Returns:
-
readPlantForCustomerMaterial
Gets the plant from the customer material record. Uses RFC BAPI_CUSTMATINFO_GETDETAILM.- Parameters:
material-customerId-- Returns:
- Plant
-
readPlant
Returns the plant name given information about a product.- Parameters:
product-customerId-- Returns:
- String plant
-