How to make field Primary Contact OR Account as Mandatory in opportunity creation Page
Summary
How to make field Primary Contact OR Account as Mandatory in opportunity creation PageContent
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:
0