You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to make field Primary Contact OR Account as Mandatory in opportunity creation Page

edited Apr 2, 2020 10:09AM in Sales 6 comments

Summary

How to make field Primary Contact OR Account as Mandatory in opportunity creation Page

Content

I tried with below logic but its not working

if (AccountName == null || ContactName == null)
{
throw new oracle.jbo.ValidationException("Please Enter Account or Primary Contact to create Opportunity Record")
return false
}else
{
return true
}

 

2. Groovy

if (PartyUniqueName == null || PrimaryContactPerson == null)
{
throw new oracle.jbo.ValidationException("Please Enter Account or Primary Contact to create Opportunity Record")
return false
}else
{
return true
}

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!