cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error Message during creation of opportunity on click of custom action

Former Member
0 Kudos
327

errormessage.pngHi Team,

We have a functionality to create a opportunity on click of custom action(Custom Button-Create RFQ).
We have referred to standard code to create opportunity as is provided in "Repository Explorer" however we receive a error message stating "please enter a party with role account" on successful creation of opportunity(assigned with active account).

Please find attached snapshot and help us in sharing the hints.

Thank you so much

Regards

View Entire Topic
0 Kudos

Hi Shweta

In case of opportunity, you need to add an account to it. If it is allowing you to save without assigning an account it means it is not mandatory, nevertheless, it is required.

The message which you are getting, tells you that, there is an a party missing with role account (role code = 1001). Please add an account under involved party, segment "ExternalParty". This should resolve your issue.

Regards

Praveen