We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

Organization Type in Opportunity Page

Question
1
Views
0
Comments

Hi,

Based on the account name selected in opportunity page how can I display the Organization Type (as organization type will be custom field)

Can this be achieved using Formula field.

I tried to develop code but not sure how to fetch organization type inside the IF condition where I need help

def vo= newView('OrganizationProfile')

def vc = newViewCriteria(vo)

def vcr = vc.createRow()

def vci1 = vcr.ensureCriteriaItem('PartyId')

vci1.setOperator('=')

vci1.setValue(PartyId)

vc.insertRow(vcr)

vo.appendViewCriteria(vc)

vo.executeQuery()

if (vo.hasNext())

{

def row = vo.next()

//NEED TO KNOW WHAT TO BE SPECIFIED TO GET ORGANIZATION TYPE

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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