Difference between revisions of "Pandora - Find Transaction"

From SmartWiki
Jump to: navigation, search
(Created page with 'This function is used to find a Transaction record. trans_find(flag,callbackfunc,translinkid,transid,objectid,linktype,recordset) {| border="1" !Parameter !Description |- …')
 
m
 
(6 intermediate revisions by 2 users not shown)
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,callbackfunc,translinkid,transid,objectid,linktype,recordset)
+
  trans_find(flag,callback,fields,filter,linkobjectid,linktype,order,start,end)
  
{| border="1"
+
{| class="wikitable"
 
!Parameter
 
!Parameter
 
!Description
 
!Description
Line 11: Line 11:
 
|'''Callbackfunc''' ||Function to be used after the asynchronous function call.
 
|'''Callbackfunc''' ||Function to be used after the asynchronous function call.
 
|-
 
|-
|'''translinkid''' || The transaction link ID (use 0 to create a new link)
+
|'''fields''' || The fields to return
 
|-
 
|-
|'''transid''' || The transaction ID
+
|'''[[Pandora Filter Examples|Filter]]''' || The criteria to apply on the return records.
 
|-
 
|-
|'''objectid'''|| Use the [[opportunityid|Opportunity ID]] for Level 1 or the Event ID for Level 2
+
|'''linkobjectid'''|| The transaction link Object ID.
 
|-
 
|-
|'''linktype'''|| use '''23''' to connect to Level 1 or '''8''' for Level 2
+
|'''linktype'''|| The transaction object Entity type.
 +
|-
 +
|'''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
 
 
|}
 
|}
  
 +
==See Also==
 +
* [[Pandora Filter Examples]]
  
  
 
[[Category:Pandora]]
 
[[Category:Pandora]]

Latest revision as of 09:37, 18 September 2015

This function is used to find a Transaction record.

trans_find(flag,callback,fields,filter,linkobjectid,linktype,order,start,end)
Parameter Description
Flag True or false, send synchronously or asynchronously.
Callbackfunc Function to be used after the asynchronous function call.
fields The fields to return
Filter The criteria to apply on the return records.
linkobjectid The transaction link Object ID.
linktype The transaction object Entity type.
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.

See Also