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) values ('DIS',4,22,1,0,0,'w_dist_issue_cprc','DistributionIssueConfirm',null,'DIS.4.22.1.0.0',null,null,null,'P',null,null,null);

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,AUTO_ACCEPT_SCAN,SCAN_METADATA,SCAN_FLAG,SCR_FLAG,PROPERTY_INFO,EXT_COM,EXT_METADATA,EXT_SETUP,AFTER_SAVE,COLUMN_ON_SAVE,SCAN_DELIMITER,AUTO_ACCEPT_WEIGHDATA,RATE_COL,QTY_COL,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,ASSISTED_MODE) values ('w_dist_issue_cprc','Dist Issue process',null,null,null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
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,AUTO_ACCEPT_SCAN,SCAN_METADATA,SCAN_FLAG,SCR_FLAG,PROPERTY_INFO,EXT_COM,EXT_METADATA,EXT_SETUP,AFTER_SAVE,COLUMN_ON_SAVE,SCAN_DELIMITER,AUTO_ACCEPT_WEIGHDATA,RATE_COL,QTY_COL,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,ASSISTED_MODE) values ('w_dist_issue_cprc','Dist Issue Detail',null,null,null,null,null,null,'2',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);

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,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,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,SALES_PERS_ACC_COL,CUST_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_COL,EMP_ACC_COL,WORKFLOW_OPT,TRAN_ID__FROM,TRAN_ID__TO,MULTITIRE_OPT,REF_SER,VIEW_MODE,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,CHILDDATA_ARGOPT,IGNOREERRLIST_ONLOAD,EDIT_TMPLT,WRKFLW_INIT,FORMAL_ARGS,EDIT_OPT,AUDIT_TRAIL_OPT,EDITTAX,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,TRANSFER_MODE,RATE_COL,QTY_COL,RCP_CACHE_STATUS,PRINT_CONTROL,ITEM_SER_ACC_CODE,PROFILE_ID__RES,PERIOD_OPTION,TRAN_COMPL_MSG,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA) values ('w_dist_issue_cprc','2','2','A','seq10',null,null,null,null,null,'Y',to_timestamp('10-NOV-11','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base           ','0',null,null,null,'Y',null,'N','Y',null,null,null,'0',null,null,null,null,'DIS',null,'tran_date',null,null,null,null,null,'0',null,null,null,null,'F',null,null,null,null,null,'w_dist_issue_cprc',null,'2',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);

Insert into system_events (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('dist_issue_cprc','get_data','1','gd_dist_iss',null,to_timestamp('02-AUG-08','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base','2','0','EJB','DistIssPrc',null);
Insert into system_events (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('dist_issue_cprc','post_validate','1','post_gen_val',null,to_timestamp('02-AUG-08','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base','2','0','EJB','GenValidate',null);
Insert into system_events (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('dist_issue_cprc','process','1','pr_dist_iss',null,to_timestamp('02-AUG-08','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base','2','0','EJB','DistIssPrc',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) values ('gd_dist_iss','Action To get the Data','http://192.168.0.124/BaseE12DotNetService/E12BusinessLogic.asmx','BASE','getData','String','S',null,null,to_timestamp('21-MAR-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base');
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) values ('pr_dist_iss','Action To process the Data','http://192.168.0.124/BaseE12DotNetService/E12BusinessLogic.asmx','BASE','process','String','S',null,null,to_timestamp('21-MAR-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base');

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 ('pr_dist_iss',1,'COMPONENT_TYPE','I','Component Type','C.String',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base','EJB');
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 ('pr_dist_iss',2,'COMPONENT_NAME','I','Component Name','C.String',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base','DistIssPrc');
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 ('pr_dist_iss',3,'XML_DATA_1','I','XML data of form no 1','S',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base',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 ('pr_dist_iss',4,'XML_DATA__ALL','I','XML_DATA_ALL','S',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base',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 ('pr_dist_iss',5,'OBJ_CONTEXT','I','Object Context','S',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base',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 ('pr_dist_iss',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base',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 ('gd_dist_iss',1,'COMPONENT_TYPE','I','Component Type','C.String',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base','EJB');
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 ('gd_dist_iss',2,'COMPONENT_NAME','I','Component Name','C.String',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base','DistIssPrc');
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 ('gd_dist_iss',3,'XML_DATA','I','XML data of form no 1','S',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base',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 ('gd_dist_iss',4,'XML_DATA_1','I','XML data of form no All','S',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base',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 ('gd_dist_iss',5,'WIN_NAME','I','Window Name','S',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base','w_dist_issue_cprc');
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 ('gd_dist_iss',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_timestamp('04-DEC-07','DD-MON-RR HH.MI.SSXFF AM'),'base      ','base',null);
