Changes

m
no edit summary
This function is used to associate a single organisation, contact or Provider with a UTA level 1, 2, or 3 record. This function is also used to associate a contact with an organisation record through the Associate/Association feature , create a parent-child relationships between 2 companies and to create Consumer/Provider relationships
utarole_add(flag,callbackfunc,parenttype,parentobject,childtype,childojectchildobject,roleid,rset)
{| border="1"
Level 2 Provider to Level 1 Consumer
utarole_add(false,"",26,PROVIDER_EVENTID,23,CONSUMER_OPPORTUNTYID,ROLEID,rset);
 
 
===Companies===
 
Company Relationships are used to link one company in a hierarchical structure(i.e. parent and child relationship). In the syntax below the parent object is first company, while the child object is the second company.
utarole_add(false,"",30,COMPANYID,30,COMPANYID,,rset);
 
Company [[Association_Settings|Associations]] are used to link a company to a contact. In the syntax below the parent object is first company, while the child object is the user.
utarole_add(false,"",30,COMPANYID,40,USERID,ROLEID,rset);
 
==See Also==
0
edits