MS CRM 2011 ONLINE - Product without quantity, fee RRS feed

  • Question

  • What is the best solution to implement different fees to product catalog. The problem is that we can't calculate those fees into a quantity.

    An order has a total quantity of 300, and when I add a fee, the fee should not increase the total quantity but it should increase the total ammount.

    Thursday, August 22, 2013 12:07 PM

All replies

  • you can do it through the javascript 

    function sample(){

     var  v1=Xrm.Page.getAttribute('quantity').getValue(); 

     var  v2=Xrm.Page.getAttribute('fee').getValue(); 

    var v3=v1*v2;

    Xrm.Page.getAttribute('TotalAmount').setValue(v3);  trigger function on change of the fee

    ms crm

    Thursday, August 22, 2013 12:57 PM