Difference between revisions of "Pandora - Find Transaction"

From SmartWiki
Jump to: navigation, search
m
Line 1: Line 1:
 
This function is used to find a [[Transaction]] record.
 
This function is used to find a [[Transaction]] record.
  
  trans_find(flag,callback,trstatusid,trltranslinkid,trlobjectid,fields,filter,order,start,end,prefix)
+
  trans_find(flag,callback,transid,trltranslinkid,trlobjectid,fields,filter,order,start,end)
  
 
{| border="1"
 
{| border="1"
Line 15: Line 15:
 
|'''transid''' || The transaction ID
 
|'''transid''' || The transaction ID
 
|-
 
|-
|'''objectid'''|| Use the [[opportunityid|Opportunity ID]] for Level 1 or the Event ID for Level 2
+
|'''trlobjectid''' || The transaction link Object ID
 
|-
 
|-
|'''linktype'''|| use '''23''' to connect to Level 1 or '''8''' for Level 2
+
|'''fields''' || The fieldsto return
 +
|-
 +
|'''[[Pandora Filter Examples|Filter]]''' || The criteria to apply on the return records.
 +
|-
 +
|'''order''' || The field to be ordered by for the return records.
 +
|-
 +
|'''start''' || The index of the first record to be returned from the record set retrieved based on the filter.
 +
|-
 +
|'''end''' || The index of the last record to be returned from the record set retrieved based on the filter.
 
|-
 
|-
|'''recordset'''|| The recordset object containing the custom fields to be updated on the intersection table
 
 
|}
 
|}
  

Revision as of 11:03, 26 June 2013

This function is used to find a Transaction record.

trans_find(flag,callback,transid,trltranslinkid,trlobjectid,fields,filter,order,start,end)
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
trlobjectid The transaction link Object ID
fields The fieldsto return
Filter The criteria to apply on the return records.
order The field to be ordered by for the return records.
start The index of the first record to be returned from the record set retrieved based on the filter.
end The index of the last record to be returned from the record set retrieved based on the filter.