Skip to main content
Jump to: navigation, search

Difference between revisions of "Scout/Concepts/LookupCall"

(Description)
Line 6: Line 6:
  
 
== Description ==
 
== Description ==
{{note|TODO|Add a description}}
+
LookupCalls are similar to code types. They can also be used in smart fields, tree boxes and other Scout widgets. However, they are not necessarily restricted to a fix number of records. Instead they should be favoured if the set of records is rather large.
  
 
== Overview ==
 
== Overview ==

Revision as of 13:16, 15 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

LookupCalls are similar to code types. They can also be used in smart fields, tree boxes and other Scout widgets. However, they are not necessarily restricted to a fix number of records. Instead they should be favoured if the set of records is rather large.

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