Siebel Consumer Goods Handheld Guide > Print Tagging Language > Get and Set Tags >

GetDirect Tag


The GetDirect tag returns the data in any business component of the Siebel Handheld application configuration, and stores it in the specified variable.

Usage

Use GetDirect to obtain the field data in any business component of your Siebel Handheld application configuration. GetDirect works the same way as GetFieldData, except that it specifies the business object name and business component name for the appropriate table. GetDirect is similar to the GetField tag in that the specified field value of the first record is stored in the specified variable.

Syntax

<TAG:GetDirect businessobject="BUSINESSOBJECT" businesscomponent="BUSINESSCOMPONENT" fieldname=<"FIELD" variable="VARIABLE" query="QUERY" sort="SORT" sql="SQL">

Parameter
Description

TAG:GetDirect

(Required) Required tag indicator.

businessobject

(Required) Business object name.

businesscomponent

(Optional) Business component name.

fieldname

(Required) Field name.

variable

(Required) Variable to store the data.

query

(Optional) Query specification.

sort

(Optional) Sort specification.

sql

(Optional) Where clause for SQL statement; sql="\"status"\='good'" selects all records where status field is set to good.

NOTE:  Enclose the field name in double quotes and use backslash followed by double quotes to include a double quote within the parameter, then enclose the value in single quotes.

Example

The following example returns the Name field of the first record from the Account business component which is part of the Account business object, and puts it into the variable called getdirectresult1:

<TAG:GetDirect businessobject="Account" businesscomponent="Account" fieldname="Name" variable="getdirectresult1" sql="var_equal">

Siebel Consumer Goods Handheld Guide Copyright © 2007, Oracle. All rights reserved.