Interface SapProductAvailabilityBackend
- All Superinterfaces:
BackendBusinessObject
- All Known Implementing Classes:
SapProductAvailabilityBackendERP
-
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 availability information given the search criteria.Methods inherited from interface de.hybris.platform.sap.core.bol.backend.BackendBusinessObject
destroyBackendObject, initBackendObject
-
Method Details
-
readPlantForCustomerMaterial
Gets the plant from the customer material record. Uses RFC BAPI_CUSTMATINFO_GETDETAILM.- Parameters:
material-customerId-- Returns:
- Plant
- Throws:
BackendException
-
readProductAvailability
SapProductAvailability readProductAvailability(ProductModel product, String customerId, String plant, Long requestedQuantity) throws BackendException Reads availability information given the search criteria. (Might return '0 for current date available, 1 for tomorrow').- Parameters:
product-customerId-plant-requestedQuantity-- Returns:
- Throws:
BackendException
-
readPlant
Returns the plant name given information about a product.- Parameters:
product-customerId-- Returns:
- String plant
- Throws:
BackendException
-