nca_obj_status
| Object Functions |
Returns the status of an object.
int nca_obj_status( LPCSTR name );| name | The logical name of the object. |
The nca_obj_status function returns the status of the specified object.
Return Values
Parameterization
The following argument(s) can be parameterized using standard parameterization: name
Example
In the following example, the nca_obj_status function returns the status of the F1_gwindow_multiocc object in the Models box. If it is enabled, an output message is issued to the Replay Log.
int status;
nca_set_connect_opt(SCALE_INFO, 8, 22);
nca_connect_server("12.34.56.789", "9000", "module=/myAppl/cardappl/fnd/11.5.0/forms/US/FNDSCSGN fndnam=APPS record=names");
nca_set_window("Oracle Applications");
nca_edit_set("SIGNON_USERNAME_0", "MYUSER");
nca_obj_type("SIGNON_USERNAME_0", '\t', 0);
status=nca_obj_status("SIGNON_USERNAME_0");
if (status == E_OK)
lr_output_message("The status of the object is OK.");

