Example: nca_flex_press_ok
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.
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");