Adding resources in Custom Teams under object Custom_Object_C
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)
Tagged:
0