Interface SapProductAvailabilityBO

    • Method Detail

      • readProductAvailability

        SapProductAvailability readProductAvailability​(ProductModel product,
                                                       java.lang.String customerId,
                                                       java.lang.String plant,
                                                       java.lang.Long requestedQuantity)
        reads the current stock level for a product + future available quantities
        Parameters:
        product -
        customerId -
        plant -
        requestedQuantity -
        Returns:
      • readPlantForCustomerMaterial

        java.lang.String readPlantForCustomerMaterial​(java.lang.String material,
                                                      java.lang.String customerId)
        Gets the plant from the customer material record. Uses RFC BAPI_CUSTMATINFO_GETDETAILM.
        Parameters:
        material -
        customerId -
        Returns:
        Plant
      • readPlant

        java.lang.String readPlant​(ProductModel product,
                                   java.lang.String customerId)
        Returns the plant name given information about a product.
        Parameters:
        product -
        customerId -
        Returns:
        String plant