Salesforce

ODSGet (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

ODSGet (Magic xpi 3.x)

This function retrieves the value of an indicated ODS entry.

Syntax:

ODSGet(Alpha odskey, Numeric global, Alpha type, Numeric Index)

Parameters:

odskey: An ODS keyword (String).

global: An indicator that identifies whether the entry is global or local (0=local, 1=global).

type: The data type which should appear between single quotation marks (A=Alpha, N=Number. D=Date, T=Time, L=Logical, B=BLOB).

Index: The index key number for an entry in an ODS Array. The value is numeric.

Returns:

The ODS entry value (the return type is defined in the type parameter).

Example

ODSGet('aaaa', 1, 'B', 2) retrieves the BLOB value data stored in the second index of the global ODS named 'aaaa'.

Reference
Attachment 
Attachment