A lot thanks Scott

Here in my ofbiz revision  the below two rules are working fine

4)order percent discount
5)order amount flat

but problem exists for the

1) x product for y% discount
2) x product for y discount
3) x product for y price


For the case   4 and 5   I am successfully getting the values in the
getadjustments() method
of ShoppingCart.java

public List getAdjustments() {
       return adjustments;
    }

Here I am getting a list  which contains entity OrderAdjustment
record  which  have  a field   amount   which  helps   in running the
case 4   and case 5

But  in first three cases  I am not getting the value in getAdjustments()
method of ShoppingCartItems.java

  public List getAdjustments() {

        return itemAdjustments;
    }

Here itemAdjustments returns null

** The code which calls above two methods is very much similar for the case
of gettting returned list  of getAdjustments() method

I am not able to identify that from where the value goes in OrderAdjustment
table temporarily

### Is there in ofbiz regarding to promotion code are there any services
called internally , which we cannot identify that from where are they
called   ??????
for eg    getProductInventoryAvailable

Please Help

Reply via email to