-------------TRANSETUP
Insert into TRANSETUP (TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,UDF_1,UDF_2,UDF_3,UDF_4,UDF_5,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,REPEAT_ADD_DET,REPEATADDDET,LOAD_MODE,AUTO_CONFIRM,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,MAIL_OPTION,CONFIRM_MODE,GARBAGE_OPT,VAL_FLAG_EDI,VERIFY_PASSWORD,CUST_ACC_COL,SALES_PERS_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_CODE,EMP_ACC_COL,ITEM_SER_ACC_COL,WORKFLOW_OPT,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,TRAN_ID__FROM,TRAN_ID__TO,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,MULTITIRE_OPT,REF_SER,VIEW_MODE,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,IGNOREERRLIST_ONLOAD,CHILDDATA_ARGOPT,EDIT_TMPLT,WRKFLW_INIT,EDITTAX,FORMAL_ARGS,AUDIT_TRAIL_OPT,EDIT_OPT,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,RATE_COL,QTY_COL,EDIT_EXPR_INP,RCP_CACHE_STATUS,PRINT_CONTROL,TRANSFER_MODE,PROFILE_ID__RES,TRAN_COMPL_MSG,PERIOD_OPTION,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,CONFIRM_DATE_COL,CONFIRM_BY_COL,MSG_ONSAVE,WF_STATUS,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,DEF_VIEW,VIEW_OPTS,ISGWTINITIATED,DEFAULT_DATA_ROW,IN_WF_VAL,IN_WF_COL,CANCEL_VAL,CANCEL_COL,THUMB_ALT_COL,THUMB_IMAGE_COL,THUMB_OBJ,ATTACH_COUNT_MIN,FUNCTION_TYPE,COMPL_ACTION,DEFAULT_EDITOR,MSG_NO,OBJ_TYPE,STATUS_COL,ENABLE_EDITOR,OFFLINE_OPT,CLOSE_COL,CLOSE_VAL,THREAD_KEY_COL,LOAD_ORDER,SYNC_FROM_APP)
values ('w_task_mst','2','2','M',null,null,null,null,null,null,'N',to_date('23-Oct-23','DD-MON-RR'),'GSB       ','SYSTEM         ','0',null,null,null,null,null,null,null,'N','N','task_code',null,null,null,null,null,null,null,null,null,null,null,'0','auth_apps',null,null,null,null,null,null,null,null,null,'M-TASK','F',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'W',null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,null,null,'descr','apps','sys',null,null,null,'compact',null,'C',null,null,null,null,null,null,null,null);

--------------obj forms

--taskmst
REM INSERTING into OBJ_FORMS
SET DEFINE OFF;
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG)
values ('w_task_mst','Task','task_mst11','task_mst21',null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,null,'<html>
    <div>
    <span style="white-space: normal !important; word-break: break-word;float:left;margin-left:0px;">
    <b> TaskCode:</b> {task_code}
    </span>

    <span style="white-space: normal !important;;word-break:break-word;float:right;margin-left:0px;">
    <b>Description:</b>{descr}
    </span><br>
    </div>

    <div>
    <span style="white-space: normal !important; word-break: break-word;float:left;margin-left:0px;">
    <b>Reference Series:</b>{ref_ser}
    </span>

    <span style="white-space: normal !important;;word-break:break-word;float:right;margin-left:0px;">
    <b>Reference Id:</b>{ref_id}
    </span><br>
    </div>

     <div>
    <span style="white-space: normal !important; word-break: break-word;float:left;margin-left:0px;">
    <b>Task Details:</b>{task_det}
    </span>

    <span style="white-space: normal !important;;word-break:break-word;float:right;margin-left:0px;">
    <b>Expected TAT:</b>{exp_tat}
    </span><br>
    </div>
</html>',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);


--user_task
--obj_itmchange

Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY)
values ('user_tasks','1  ','task_code','Y');






--------------obj_actions
---Add
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC)
values ('task_mst',1,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'1','0  ',null);

--Edit

Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) 
values ('task_mst',2,'ibase/resource/objaction/edit.svg','Edit','a','a','E','Edit','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);

-------------------------itm2menu  ---rem

Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES) 
values ('SYS',32,0,0,0,0,'-','Task',null,'SYS.32.0.0.0.0','workflow.png',null,null,'T',null,null,null,'B',null,null,null,'0  ');

Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES) 
values 
('SYS',32,1,0,0,0,'w_task_mst','Task Mst','Training','SYS.32.1.0.0.0','brandcampaign.png','state.png',null,'T',null,null,null,null,null,null,null,'0  ');


Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES) 
values ('SYS',32,2,0,0,0,'w_user_tasks','User Task','User Task','SYS.32.2.0.0.0','locality.png',null,null,'T',null,null,null,'B',null,null,null,'0  ');
-------------------------




REM INSERTING into USER_RIGHTS
SET DEFINE OFF;
Insert into USER_RIGHTS (PROFILE_ID,APPLICATION,MENU_ROW,MENU_COL,MENU_SUBCOL,LEVEL_4,LEVEL_5,MENU_NAME,RIGHTS,ACC_FILT,DEF_FILT,OBJ_NAME,FAV_OPTION,FAV_ORDER,EXCLUDE_RIGHTS_CHAR,ATTACH_RIGHTS,NO_OFFLINE_ALLWD,MOB_DEPLOY,DEVICE_SECURITY,DEVICE_ACC_CLASS) 
values ('ADMIN     ','SYS',32,1,0,0,0,'Task Mst','*',null,null,'task_mst','Y',null,null,null,null,null,null,null);


REM INSERTING into USER_RIGHTS
SET DEFINE OFF;
Insert into USER_RIGHTS (PROFILE_ID,APPLICATION,MENU_ROW,MENU_COL,MENU_SUBCOL,LEVEL_4,LEVEL_5,MENU_NAME,RIGHTS,ACC_FILT,DEF_FILT,OBJ_NAME,FAV_OPTION,FAV_ORDER,EXCLUDE_RIGHTS_CHAR,ATTACH_RIGHTS,NO_OFFLINE_ALLWD,MOB_DEPLOY,DEVICE_SECURITY,DEVICE_ACC_CLASS)
values ('ADMIN     ','SYS',32,2,0,0,0,'User Task','*',null,null,'user_tasks','Y',null,null,null,null,null,null,null);



--------------SYSTEM_EVENTS
---task mst
select * from SYSTEM_EVENTS where obj_name='task_mst';
--update SYSTEM_EVENTS set comp_name='ibase.utility.training.TaskMaster' where service_code='poic_task_mst';
--update SYSTEM_EVENTS set comp_name='ibase.utility.training.TaskMaster' where service_code='prv_task_mst';

REM INSERTING into SYSTEM_EVENTS
SET DEFINE OFF;
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT)
values ('task_mst','post_item_change','1','poic_task_mst',null,'0',to_date('22-Oct-23','DD-MON-RR'),'AMS ','BASE','2','JB','ibase.utility.training.TaskMaster',null);

Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) 
values ('task_mst','pre_validate','1','prv_task_mst',null,'0',to_date('22-Oct-22','DD-MON-RR'),'AMS ','BASE','2','JB','ibase.utility.training.TaskMaster',null);

---UserTasks 


update SYSTEM_EVENTS set service_code='prv_user_tasks'  where event_code='pre_validate' and obj_name='user_tasks';

update SYSTEM_EVENTS set service_code='poic_user_tasks'  where event_code='post_item_change' and obj_name='user_tasks';


--------------SYSTEM_EVENTS services
REM INSERTING into SYSTEM_EVENT_SERVICES
--taskmst
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) 
values ('prv_task_mst','validation','http://localhost:9090/axis/services/ValidatorService','BASE','wfValData','String','S',null,null,to_date('23-OCT-23','DD-MON-RR'),'AMS ','BASE',null,null,null);

----usertask
select * from system_event_services where service_code='prv_properties';
REM INSERTING into SYSTEM_EVENT_SERVICES
SET DEFINE OFF;
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('prv_user_tasks','validation','http://localhost:9090/axis/services/ValidatorService','BASE','wfValData','String','S',null,null,to_date('22-AUG-23','DD-MON-RR'),'AMS ','BASE',null,null,null);


REM INSERTING into SYSTEM_EVENT_SERVICES
SET DEFINE OFF;
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) 
values ('poic_user_tasks','Action To process','http://localhost:9090/axis/services/ValidatorService','Base Information','itemChanged','String','S',null,null,to_date('22-AUG-23','DD-MON-RR'),'AMS ','BASE',null,null,null);



----------------------------system_service_args
--TASKMST
select *from SYSTEM_SERVICE_ARGS where SERVICE_CODE='prv_task_mst';
update SYSTEM_SERVICE_ARGS set arg_name='ibase.utility.training.TaskMaster' where SERVICE_CODE ='prv_task_mst'and arg_name='COMPONENT_NAME' ;

REM INSERTING into SYSTEM_SERVICE_ARGS
SET DEFINE OFF;
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_task_mst',1,'COMPONENT_TYPE','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS','Manohar','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_task_mst',2,'COMPONENT_NAME','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS ','Manohar','ibase.utility.training.TaskMst');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_task_mst',3,'XML_DATA','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_task_mst',4,'XML_DATA_1','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_task_mst',5,'XML_DATA_ALL','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_task_mst',6,'OBJ_CONTEXT','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_task_mst',7,'EDIT_FLAG','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_task_mst',8,'XTRA_PARAMS','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS ','Manohar',null);

---------------------------usertask

---USERTASK
select * from system_service_args where SERVICE_CODE ='poic_user_tasks';
REM INSERTING into SYSTEM_SERVICE_ARGS
SET DEFINE OFF;
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_user_tasks',1,'COMPONENT_TYPE','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS       ','Manohar','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_user_tasks',2,'COMPONENT_NAME','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS       ','Manohar','ibase.utility.training.UserTasks');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_user_tasks',3,'XML_DATA','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS       ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_user_tasks',4,'XML_DATA_1','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS       ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_user_tasks',5,'XML_DATA_ALL','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS       ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_user_tasks',6,'OBJ_CONTEXT','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS       ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_user_tasks',7,'EDIT_FLAG','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS       ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_user_tasks',8,'XTRA_PARAMS','I',null,'S',null,to_date('10-OCT-23','DD-MON-RR'),'AMS       ','Manohar',null);

------------------
select * from system_service_args where SERVICE_CODE ='poic_properties';

REM INSERTING into SYSTEM_SERVICE_ARGS
SET DEFINE OFF;
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',1,'COMPONENT_TYPE','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,'JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',2,'COMPONENT_NAME','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,'ibase.utility.training.UserTasks');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',3,'XML_DATA','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',4,'XML_DATA_1','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',5,'XML_DATA_ALL','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',6,'OBJ_CONTEXT','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',7,'FOCUSED_COLUMN','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',8,'EDIT_FLAG','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_user_tasks',9,'XTRA_PARAMS','I',null,'S',null,to_date('22-AUG-23','DD-MON-RR'),'AMS ',null,null);

----------------------------

UPDATE POPHELP SET SQL_STR='SELECT TASK_CODE FROM TASK_MST' WHERE field_name='TASK_CODE' AND MOD_NAME='W_USER_TASKS';
