Difference between revisions of "Pandora - Locate a UTA Level 2 Entity"
From SmartWiki
(6 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
This function is used to return a recordset of level 2 items. | This function is used to return a recordset of level 2 items. | ||
− | + | level23_find(flag,callbackfunc,appid,level,fields,filter,order,start,end,prefix) | |
− | |||
{| border="1" | {| border="1" | ||
Line 10: | Line 9: | ||
!Description | !Description | ||
|- | |- | ||
− | |'''Flag'''|| | + | |'''Flag'''||True or false, send synchronously or asynchronously. |
|- | |- | ||
− | |'''Callbackfunc''' || | + | |'''Callbackfunc''' ||Function to be used after the asynchronous function call. |
|- | |- | ||
− | |'''appid''' || | + | |'''[[appid]]''' || Application ID for the UTA. |
|- | |- | ||
− | |''' | + | |'''Fields''' ||The field list to be retrieved. |
|- | |- | ||
− | |''' | + | |'''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. |
|- | |- | ||
− | |''' | + | |'''Prefix'''|| Used by system to process fields across multiple entities. |
|- | |- | ||
− | + | | '''Returns''' || ssRecordSet object | |
− | |||
− | | '''Returns''' || | ||
|} | |} | ||
− | + | ||
+ | ==Notes== | ||
Fields = always the driver for created record set. | Fields = always the driver for created record set. | ||
Line 50: | Line 48: | ||
Level ??? | Level ??? | ||
+ | |||
+ | |||
+ | ==Filter Samples== | ||
+ | '''"e.objectid=@opportunityid@ and statusid=123"''' | ||
+ | |||
+ | find all L2s where statusid is 123 and L1 opportunityid is specified. | ||
[[Category: Pandora]] | [[Category: Pandora]] |
Latest revision as of 13:53, 22 November 2012
Function Overview
This function is used to return a recordset of level 2 items.
level23_find(flag,callbackfunc,appid,level,fields,filter,order,start,end,prefix)
Parameter | Description |
---|---|
Flag | True or false, send synchronously or asynchronously. |
Callbackfunc | Function to be used after the asynchronous function call. |
appid | Application ID for the UTA. |
Fields | The field list to be retrieved. |
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. |
Prefix | Used by system to process fields across multiple entities. |
Returns | ssRecordSet object |
Notes
Fields = always the driver for created record set.
Filter = ‘lastname like “y*”’
Order = ‘lastname desc’
Start = 0 to 200 default = 0
End = 200 default = 200
Blank ,’’’’,’’’,
Prefix=??
Level ???
Filter Samples
"e.objectid=@opportunityid@ and statusid=123"
find all L2s where statusid is 123 and L1 opportunityid is specified.