Share this page

# nca_flex_press_ok

Flexfield Window Functions

Presses OK in a Flexfield window.

    int nca_flex_press_ok( LPCSTR name );

name | The logical name of the Flexfield window.

The nca_flex_press_ok function presses the OK button in the specified Flexfield window.

## 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_okfunction presses OK in the Operations Account Flexfield window after a value was selected for the Account Alias field.

Copy code

    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");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: