function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mitesh SuraMitesh Sura 

Product Schedule via VF page


I have a custom VF page that adds products to opportunity and quote. The page defination is something like this. 
<apex:page controller "Opportunity" extensions="AddController">


While adding products works, it does not do default scheduling like standard "Add Product" button. I am ssuming the standard controller on the page should be "OpportunityLineItem" instead of "Opportunity" Is that true? 

Any other pointers? 
Himanshu ParasharHimanshu Parashar
are you trying to create schedule on the fly or you want to redirect to schedule page ?
Mitesh SuraMitesh Sura
Just want to make schedule work like standard "add product" screen. I do not think it redirects to schedule page. Should have clarified, I am talking about default quantity and revenue scheduling.