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

Adding resources in Custom Teams under object Custom_Object_C

Accepted answer
11
Views
2
Comments
in Sales 2 comments

Summary:

We created a Custom Teams object in our Custom object custom_Object_C to leverage OOTB Resource object, Relationship is M:M between the two objects. We are building a requirement, where we can add Custom_Object_C Owner to the customteams via script. But we keep getting errors once we try to execute the script. Attaching the scripts and Error details.

#Oracle Sales Cloud

Content (required):

def vo1

def teamvo

def row

def ResId

def vo = newView('Resource')

def vc = vo.createViewCriteria()

def vcr = vc.createRow()

def vci = vcr.ensureCriteriaItem('PartyId')

vci.setOperator('=')

vci.setValue(OraZcxOwner_Obj_c?.PartyId)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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