Interface SapProductAvailabilityBackend

    • Method Detail

      • readPlantForCustomerMaterial

        java.lang.String readPlantForCustomerMaterial​(java.lang.String material,
                                                      java.lang.String customerId)
                                               throws BackendException
        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,
                                                       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