+ Start a Discussion
Katie DeLuna 7Katie DeLuna 7 

defaulting revenue schedule based on price books

I'm just now incorporating the Default Revenue Schedule for our Products. However, I was wondering if I could reate a workflow rule or some type of apex trigger that updates the product depending on the price book? If so, is there sample code that I could work off of to get me started? I just took an intro to apex, so i'm VERY new to apex.

Thanks!
Deepak Kumar ShyoranDeepak Kumar Shyoran
Yes you can create a W/F rule to update the Opportunity product based on Pricebook also can do the same via trigger but W/F will be best as you will not need to write even a single line of code for that.
Below are some links to start with W/F rule
https://help.salesforce.com/apex/HTViewHelpDoc?id=creating_workflow_rules.htm
http://www.youtube.com/watch?v=T4N3XDuBvo0

Please mark this post as a best solution to your problem to help others.