I am going to provide one custom button to my visualforce page for create new Quote, Quote is Standard object..

Visualforce page :

<apex:commandButton value="Create New Quote" action="/0Q0/e?retURL=%2F0063600000D5oyOAAR&oppid=0063600000D5oyO"/>

Now, question is How can i pass Blank (selectable lookup) when i click on this New Button ?



You can not leave Opportunity as a blank just because of both object have Master-Detail Relationship.

Alternate solution is :

Create one Visualforce and set that page in your new Custom button action

<apex:commandbutton Value='Create New Quote' action='/apex/yourpageName' />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.