Example: nca_flex_set_cell_data_press_ok

In the following example, the nca_flex_set_cell_data_press_okfunction presses the OK button in the Flexfield window, after entering values. The first value for Company, 04, was invalid, and an error message was issued. The user entered a new value, 01, and pressed OK.

nca_flex_press_find("Operations Accounting Flex");
nca_flex_set_cell_data_press_ok("Find", "Company", "Find", "04");
nca_popup_message_press("Error", "OK");
nca_flex_set_cell_data_press_ok("Find", "Company", "Find", "01");