Skip to main content
Jump to: navigation, search

Difference between revisions of "Scout/Concepts/LookupCall"

Line 9: Line 9:
  
 
== Overview ==
 
== Overview ==
 
 
[[Image:LookupCall.png]]
 
[[Image:LookupCall.png]]
  
Line 17: Line 16:
 
* {{ScoutProp|Service}}: Defines which service is used to retrieve lookup rows
 
* {{ScoutProp|Service}}: Defines which service is used to retrieve lookup rows
 
* {{ScoutProp|MasterRequired}}: Defines whether a master value must be set in order to query for multiple lookup rows
 
* {{ScoutProp|MasterRequired}}: Defines whether a master value must be set in order to query for multiple lookup rows
 
  
 
== Methods ==
 
== Methods ==
Line 24: Line 22:
 
* {{ScoutEvent|getDataByAll}}: Retrieves all available lookup rows
 
* {{ScoutEvent|getDataByAll}}: Retrieves all available lookup rows
 
* {{ScoutEvent|getDataByRec}}: This can only be used for hierarchical lookup calls. It retrieves all available sub-tree lookup rows for a given parent
 
* {{ScoutEvent|getDataByRec}}: This can only be used for hierarchical lookup calls. It retrieves all available sub-tree lookup rows for a given parent
 
=== Relation CodeType / LookupCall ===
 
 
Relation between CodeType and LookupCall
 
* CodeLookupCall
 
  
 
== See Also ==
 
== See Also ==

Revision as of 10:53, 10 November 2010


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitterG+
Bugzilla
Bugzilla


Lookup calls are used by smart fields and columns to look up single or multiple lookup rows.

  • extends: C obj.pngLookupCall

Description

Note.png
TODO
Add a description


Overview

LookupCall.png

Properties

Defined with getConfiguredXxxxxx() methods.

  • Service: Defines which service is used to retrieve lookup rows
  • MasterRequired: Defines whether a master value must be set in order to query for multiple lookup rows

Methods

  • getDataByKey: Retrieve a single lookup row for a specific key value
  • getDataByText: Retrieve multiple lookup rows which match a certain String
  • getDataByAll: Retrieves all available lookup rows
  • getDataByRec: This can only be used for hierarchical lookup calls. It retrieves all available sub-tree lookup rows for a given parent

See Also

Back to the top