Difference between revisions of "Pandora - Find Transaction"
From SmartWiki
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, | + | 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 | ||
|- | |- | ||
− | |''' | + | |'''trlobjectid''' || The transaction link Object ID |
|- | |- | ||
− | |''' | + | |'''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. | ||
|- | |- | ||
− | |||
|} | |} | ||
Revision as of 10: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. |