+ Start a Discussion

Apex Code - VF page: Need help writing logic to return error message for Original Agreement Date field

We have an VF Apex Class called opportunityButtons that controls the behavior of a pane of buttons on our renewal Opportunities layout. Currently, an error message is generated when the user selects the button to create a .pdf of the sales agreement (or selects the other button to create through DocuSign) and the Primary/Contact Role has no mailing address.

We would like to implement a similar error message when the opportunity is a renewal and the Original Agreement Date has not been entered in the record.

If this is something you think you can help with, we can either chat here or do a hangout. I can also share the code through GitHub gist.

Any guidance will be greatly appreciated.



Naveen IlaNaveen Ila
You can reach me on naveenila@gmail.com