Difference between revisions of "Pandora - Update UTA Role Custom Fields (Company or Contact) and Associate Feature"

From SmartWiki
Jump to: navigation, search
(Created page with 'This function is used to update a single organisation or contact attached to a UTA level 1, 2, or 3 record, or a contact/company association with a contact/company. utarole_u…')
 
Line 29: Line 29:
 
To get the objectid of a contact association with Level 1 use '''oprid''':
 
To get the objectid of a contact association with Level 1 use '''oprid''':
 
  [#(?object=contact)~oprid~ #]
 
  [#(?object=contact)~oprid~ #]
 +
 +
To get the objectid of a company association with a Level 2 use '''clinkid''':
 +
[#(?object=company;orderby=name;)~name~  ~clnkid~ #]
  
  
 
[[Category: Pandora]]
 
[[Category: Pandora]]

Revision as of 10:02, 21 March 2012

This function is used to update a single organisation or contact attached to a UTA level 1, 2, or 3 record, or a contact/company association with a contact/company.

utarole_update(flag,callbackfunc,parenttype,objectid,objecttype,rset)
Parameter Description
Flag Asynchronous processing Flag

Set to False for synchronous processing.

Set to True for asynchronous processing.

Callbackfunc User created Java function to manage the callback from an asynchronous function.
parenttype Type of object to attach a child object (23: level one)
objectid The intersection ID
objecttype Type of object attached to the parent object (30: company, 40: user)
Returns

Notes

To get the objectid of a contact association with Level 1 use oprid:

[#(?object=contact)~oprid~ #]

To get the objectid of a company association with a Level 2 use clinkid:

[#(?object=company;orderby=name;)~name~  ~clnkid~ #]