locked
Opportunity Product : overriding product catalog pricing. RRS feed

  • Question

  • Hi,

    we have got customer requirement where sales person should able to override product catalog pricing in Opportunity Product.

    Now Opportunity Product Entity have got system attribute called ispriceoverridden (which specifies whether to override product catalog pricing.)

    We have added this attribute on the Opportunity Product form but it does not matter what user selects, CRM gets the price from the product catalog pricing).

    Is this bug in CRM 4.0?




    Friday, May 8, 2009 9:12 AM
    Answerer

Answers

All replies

  • Hi Mayank,

    The ispriceoverridden field does enable the price fields on the opportunity form. (This is by design) if you set the "IsPriceOverridden" flag to yes it will allow you to set the value in javascript using code. example below.

    crmForm.all.priceperunit.DataValue = 200;

    To override the price what I would recommend is that you add custom fields to your form.
    If the user chooses to override the price enable your custom fields. Capture the user entered value and then set the default field with the new value.

    Hassan.

    Technical Consultant | http://hassanhussain.wordpress.com/
    Friday, May 8, 2009 9:30 AM
  • Hi Hassan,

    I have tried this, it is not working...

    to explain further with example, refer screen print (http://drop.io/qapuknu/asset/op1-jpg) which shows that we have select price over ridded to Yes and set all the prices to 200 (using javascript) but when you click on save and go to main page...it does recalculates and gets the price from price catalog (which 55- http://drop.io/hxaard3/asset/op2-jpg)


    any idea why this is heppening in CRM 4?

    Friday, May 8, 2009 9:50 AM
    Answerer
  • Ok. Your right. I've just tested this in JavaScript and it didn't over ride. I know I've done this using a Plug-in and it worked fine. 

    I'll give it another try using JS and get back to you if I find a solution.


    H.

    Technical Consultant | http://hassanhussain.wordpress.com/
    Friday, May 8, 2009 10:52 AM
  • Hi,

    Please see blog explains how to Override price - opportunity
    product
    http://aadreja.blogspot.com/2009/07/override-price-opportunity-produc...

    Thanks,
    Ritesh
    ritesh
    Sunday, July 12, 2009 11:24 PM
  • Hi, I have a requirement to put a field on opportunity product which will be used to calculate percent discount for extended amount using Workflow. I added field on opportunity product entity but I cannot see those fields in workflow designer given in Microsoft CRM. Please guide, how this can be achieved. Thanks, Muhammad Imran Shahid
    Thanks & Regards, Muhammad Imran Shahid
    Saturday, December 11, 2010 6:57 PM
  • Hi,

    I really dont think that it will be possible in MS CRM.

    You can create Quotes->Orders etc and change the price of the product. By this, you will be changing the Product Price only for that opportunity/quote/order and not in the Product Master.

    Hope it served your purpose. Shall keep you posted with latest updates.

     

    Please mark this as an answer if it served your purpose.

     

    Ankush

    • Proposed as answer by Ankush Grover Monday, September 5, 2011 12:39 PM
    Monday, September 5, 2011 12:39 PM