Difference between revisions of "Pandora - Locate an Organisation"

From SmartWiki
Jump to: navigation, search
(Created page with '==Function Overview== This function is used to return a recordset of organisation. ''company_find(flag,callbackfunc,fields,filter,order,start,end,prefix)'' {| border="1" !Pa…')
 
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
This function is used to return a recordset of organisation.
 
This function is used to return a recordset of organisation.
  
''company_find(flag,callbackfunc,fields,filter,order,start,end,prefix)''
+
company_find(flag,callbackfunc,fields,filter,order,start,end,prefix)
  
  
Line 22: Line 22:
 
|'''Fields''' ||The field list to be retrieved.
 
|'''Fields''' ||The field list to be retrieved.
 
|-
 
|-
|'''Filter'''|| The criteria to apply on the return records.
+
|'''[[Pandora Filter Examples|Filter]]'''|| The criteria to apply on the return records.
 
|-
 
|-
 
|'''Order'''|| The field to be ordered by for the return records.
 
|'''Order'''|| The field to be ordered by for the return records.
Line 39: Line 39:
 
Fields = always the driver for created record set.
 
Fields = always the driver for created record set.
  
Filter = ‘lastname like “y*”’
+
Filter = 'lastname like "y*"'
  
Order = ‘lastname desc’
+
Order = 'lastname desc'
  
 
Start = 0 to 200 default = 0
 
Start = 0 to 200 default = 0
Line 47: Line 47:
 
End = 200 default = 200
 
End = 200 default = 200
  
Blank ,’’’’,’’’,
 
 
Prefix=??
 
  
  
 +
==See Also==
 +
* [[Pandora - Sample - Find Company]]
 +
* [[Pandora Filter Examples]]
  
 
[[Category: Pandora]]
 
[[Category: Pandora]]

Latest revision as of 06:07, 4 September 2013

Function Overview

This function is used to return a recordset of organisation.

company_find(flag,callbackfunc,fields,filter,order,start,end,prefix)


Parameter Description
Flag Asynchronous processing Flag

Set to False for synchronous processing.

Set to True for asynchronous processing.

Callbackfunc User created Java function to manage the callback from an asynchronous function.
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.
Return 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


See Also