Key method: FilterValues class

Syntax

Key(&sKey,&sKeyLabel,&isRLR)

Description

Use the Key method to set the key or field, which is used with other methods that take the key value to filter data, such as Equals, NotEquals, and so on.

Parameters

Parameter Description

&sKey

Specifies the key as a String.

&sKeyLabel

Specifies the label of a key as a String.

&isRLR

Specifies whether the value should be translated in the related language table. If you enter True, the value is translated; False, otherwise.

Returns

A FilterValues object.

Example

import PTSF_INSIGHTS:FilterValues;

Local PTSF_INSIGHTS:FilterValues &filt = create PTSF_INSIGHTS:FilterValues();
/*Create a string sArrVals with array of strings */
&filt.Equals().Key("INV_ITEM_ID_ORCL_ES_ENG", "", True).Values(&sArrVals);