Interface SapProductAvailabilityBackend
-
- All Superinterfaces:
BackendBusinessObject
- All Known Implementing Classes:
SapProductAvailabilityBackendERP
public interface SapProductAvailabilityBackend extends BackendBusinessObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringreadPlant(ProductModel product, java.lang.String customerId)Returns the plant name given information about a product.java.lang.StringreadPlantForCustomerMaterial(java.lang.String material, java.lang.String customerId)Gets the plant from the customer material record.SapProductAvailabilityreadProductAvailability(ProductModel product, java.lang.String customerId, java.lang.String plant, java.lang.Long requestedQuantity)Reads availability information given the search criteria.-
Methods inherited from interface de.hybris.platform.sap.core.bol.backend.BackendBusinessObject
destroyBackendObject, initBackendObject
-
-
-
-
Method Detail
-
readPlantForCustomerMaterial
java.lang.String readPlantForCustomerMaterial(java.lang.String material, java.lang.String customerId) throws BackendExceptionGets the plant from the customer material record. Uses RFC BAPI_CUSTMATINFO_GETDETAILM.- Parameters:
material-customerId-- Returns:
- Plant
- Throws:
BackendException
-
readProductAvailability
SapProductAvailability readProductAvailability(ProductModel product, java.lang.String customerId, java.lang.String plant, java.lang.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
java.lang.String readPlant(ProductModel product, java.lang.String customerId) throws BackendException
Returns the plant name given information about a product.- Parameters:
product-customerId-- Returns:
- String plant
- Throws:
BackendException
-
-