nca_flex_press_lov

Flexfield Window Functions

Clicks on the List of Values button in a Flexfield window.

int nca_flex_press_lov( LPCSTR name, LPCSTR row, LPCSTR column );
name The logical name of the Flexfield window.
row The current field name or row number.
column The parent Flexfield or column number.

The nca_flex_press_lov function clicks on the List of Values button in the specified Flexfield window to display a list of values for the active field.

Return Values

Oracle NCA Error Codes

Parameterization

All input string arguments (char type) can be parameterized using standard parameterization.

Example

In the following example, the nca_flex_press_lovfunction presses the List of Values button in the Operations Account Flexfield window for the Account Alias field. A list of account aliases is displayed.

nca_edit_click("GLXJEENT.LINES.ACCOUNTING_FLEXFIELD.0");
nca_button_press("GLXJEENT.TOOLBAR.LIST.0");
nca_flex_press_help("Operations Accounting Flex");
nca_flex_press_lov("Operations Accounting Flex", "Account Alias",
          "Operations Accounting Flex");
nca_lov_retrieve_items("Account Alias",1,10);
nca_lov_select_item("Account Alias", "Phys.Inv.Adj.");
nca_flex_press_ok("Operations Accounting Flex");