---------------------------------------------------------for task mst

--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('15-SEP-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

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 Master','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);
------------------obj_actions--

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


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
--chnage

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',22,2,0,0,0,'w_task_mst','Task Master','Training','SYS.22.2.0.0.0','brandcampaign.png','state.png',null,'T',null,null,null,null,null,null,null,'0  ');

---USER_RIGHTS

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',22,2,0,0,0,'Training23','*',null,null,'task_mst','Y',null,null,null,null,null,null,null);

-------------------------
---------------------------SYSTEM_EVENTS
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.webitm.ejb.wsfa.masters.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.webitm.ejb.wsfa.masters.TaskMaster',null);

--------------------SYSTEM_EVENT_SERVICES

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

------service args

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.webitm.ejb.wsfa.masters.TaskMaster');
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);


----------------------user tasks
---------------------present entry-->trans,objform,objaction
---itm2menu

update itm2menu set descr='Task' where level_1=22 and win_name='-';

---OBJ_ITEMCHANGE;

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


--------------------------SYSTEM_EVENTS

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_EVENT_SERVICES

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


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 entris--------------

---itemchange
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.webitm.ejb.wsfa.masters.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);

----validation
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.webitm.ejb.wsfa.masters.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);


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



----------------------------------------------------------------------------------------
- Create table query for TASK_MST
CREATE TABLE task_mst (
  TASK_CODE CHAR(15) PRIMARY KEY NOT NULL,
    DESCR VARCHAR2(250),
REF_SER CHAR(6),
REF_ID VARCHAR2(60),
EXP_TAT NUMBER(3),
TASK_DET VARCHAR2(100),
    CHG_DATE DATE,
CHG_TERM VARCHAR2(20),
CHG_USER CHAR(20)  
);


------ MESSAGES --> DUPLTASK ------------
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('DUPLTASK  ','Duplicate Task Code','Entered Task Code Already Exist ','E','Y',null,null,null,to_date('30-Oct-23','DD-MON-RR'),'SUN ','AmolS',null,null);









