Difference between revisions of "Pandora - Update or Create Transaction Intersection to Level 1 or Level 2"
From SmartWiki
Line 1: | Line 1: | ||
− | This function is used to update or create an intersection table between a [[Transaction]] and a UTA Level 1 Record. | + | This function is used to update or create an intersection table between a [[Transaction]] and a UTA Level 1 Record or Level 2 Record. |
translink_add(flag,callbackfunc,translinkid,transid,objectid,linktype,recordset) | translink_add(flag,callbackfunc,translinkid,transid,objectid,linktype,recordset) | ||
Line 15: | Line 15: | ||
|'''transid''' || The transaction ID | |'''transid''' || The transaction ID | ||
|- | |- | ||
− | |'''objectid'''|| The [[opportunityid|Opportunity ID]] | + | |'''objectid'''|| The [[opportunityid|Opportunity ID]] or [[Event ID]] |
|- | |- | ||
− | |'''linktype'''|| | + | |'''linktype'''|| use '''23''' to connect to Level 1 or '''8''' for Level 2 |
|- | |- | ||
|'''recordset'''|| The recordset object containing the custom fields to be updated on the intersection table | |'''recordset'''|| The recordset object containing the custom fields to be updated on the intersection table |
Revision as of 23:33, 30 September 2010
This function is used to update or create an intersection table between a Transaction and a UTA Level 1 Record or Level 2 Record.
translink_add(flag,callbackfunc,translinkid,transid,objectid,linktype,recordset)
Parameter | Description |
---|---|
Flag | True or false, send synchronously or asynchronously. |
Callbackfunc | Function to be used after the asynchronous function call. |
translinkid | The transaction link ID (use 0 to create a new link) |
transid | The transaction ID |
objectid | The Opportunity ID or Event ID |
linktype | use 23 to connect to Level 1 or 8 for Level 2 |
recordset | The recordset object containing the custom fields to be updated on the intersection table |