+ Start a Discussion
Vinod TomarVinod Tomar 

Revnue Schedule Page Redirection

Hi,

There is 1 requirement where If we edit opportunity from edit button of opportunity related list on Account then after updating opportunity page should redirect to revenue schedule VF page not Account page.

 

Can you please let me know how can we do this?

bob_buzzardbob_buzzard

You can influence where the user goes back to based on the retUrl parameter.  I don't think you can influence the standard edit, but you should be able to create your own edit button. You can then specify the retUrl as the revenue schedule page.

Vinod TomarVinod Tomar

Thanks for quick response. Actualy we have written some logic in a controller extention to redirect page to revenue schedule page on some condition. This logic working fine when I edit opportunity from Opportunity Tab.

 

But if I edit opportunity from Opportunity related list on Account the controller logic is not working. Can you please tell what needs to be done now?

bob_buzzardbob_buzzard

Can you post up the code?  Its a bit difficult to tell otherwise.