Commit a801ef0d authored by dpingle's avatar dpingle

* Changes done in Employee Bond on [04/09/19]

employee_bond11.xml
employee_bond21.xml
d_employee_bond11.srd
d_employee_bond21.srd
EmpBondAmount.java
w_employee_bond.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@206796 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 178f047d
----------------------------------------------------- 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) values ('w_employee_bond','2','2','M','seq10',null,null,null,null,null,null,to_date('30-09-15','DD-MM-RR'),'BASE ','BASE ','0','EMPLOYEE.EMP_SITE',null,'Y','N',null,null,null,'N','N','EMP_CODE,LINE_NO','0','0',null,null,null,null,null,null,null,null,null,'0','EMPLOYEE_BOND','ADM','Employee Bond Master',null,null,null,null,null,null,null,'EBONDM','F',null,null,null,null,null,'2',null,null,null,null,'0','0',null,null,null,null,null,null,null,null,null,null,null,'M',null,null,null,null,null,null,null,null,null,null,null,null,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_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,SCAN_FLAG,SCAN_METADATA,AUTO_ACCEPT_SCAN,PROPERTY_INFO,SCAN_DELIMITER,EXT_COM,EXT_METADATA,EXT_SETUP,AFTER_SAVE,COLUMN_ON_SAVE,AUTO_ACCEPT_WEIGHDATA,RATE_COL,QTY_COL,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,FREEZE_COL_POS,DEFAULT_ROW_CNT,IS_MANDATORY,TRAN_ID_COL,KEY_INFO,SELECTION_OPT,THUMB_OBJ,THUMB_IMAGE_COL,FORM_NAME,FORM_ICON,THUMB_ALT_COL) values ('w_employee_bond','Bond Detail','d_employee_bond11','d_employee_bond21',null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
update obj_forms set SCR_FLAG='F' where win_name='w_leave';
------------------------------------------------------ ITM2MENU
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 ('ADP',4,63,0,0,0,'w_employee_bond','Bond Master','Bond Master','ADP.4.63.0.0.0','e12_logo.gif',null,null,'T',to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth ','B',null,null,null,'0 ');
----------------------------------------------------- OBJ_ACTIONS
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('employee_bond',21,'Q','1','audit_trail','View Audit Trail','View Audit','menu.bmp','1','1','1','U',null,to_date('2018-09-12','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ',null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('employee_bond',22,'O','1','export_excel','Export Excel','Export','Download.gif','1','1','1','U',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('employee_bond',1,'A','a','a','Adding new','Add','add.gif','1',null,null,'S',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('employee_bond',2,'E','a','a','Editing Existing Record','Edit','edit.gif','1',null,null,'S',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',null,null,null,null,null,null,null,null);
delete obj_actions where obj_name='employee_bond' and line_no='8';
update OBJ_ACTIONS set image='ibase/resource/objaction/add.svg' where OBJ_NAME='employee_bond' and LINE_NO=1;
update OBJ_ACTIONS set image='ibase/resource/objaction/edit.svg' where OBJ_NAME='employee_bond' and LINE_NO=2;
update OBJ_ACTIONS set image='ibase/resource/objaction/Audit-trail.svg' where OBJ_NAME='employee_bond' and LINE_NO=21;
update OBJ_ACTIONS set image='ibase/resource/objaction/exprtExl.svg' where OBJ_NAME='employee_bond' and LINE_NO=22;
----------------------------------------------------- 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 ('employee_bond','audit_trail','1','project_audit_trail_adm',null,'0',to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','2',null,null,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 ('employee_bond','export_excel','1','export_excel_adm',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',null,null,null,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 ('employee_bond','post_item_change','1','poic_default_ejb',null,'0',to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','2','JB','ibase.webitm.ejb.adm.EmpBondAmount',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 ('employee_bond','post_validate','1','post_gen_val',null,'0',to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','2','EJB','GenValidate',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 ('employee_bond','pre_validate','1','prv_default_ejb',null,'0',to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','2','JB','ibase.webitm.ejb.adm.EmpBondAmount',null);
update system_events set comp_type = 'JB', comp_name = 'ibase.webitm.ejb.adm.EmpBondAmount', service_code = 'poic_default_ejb' where event_code = 'post_item_change' and obj_name = 'employee_bond';
update system_events set comp_type = 'JB', comp_name = 'ibase.webitm.ejb.adm.EmpBondAmount', service_code = 'prv_default_ejb' where event_code = 'pre_validate' and obj_name = 'employee_bond';
---------------------------------------------------- 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 ('export_excel_adm','Calling Export Excel','/ibase/webitm/jsp/E12ExportToExcel.jsp',null,'doPost',null,null,null,null,to_date('21-06-17','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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_default_ejb','itemchanged','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,to_date('22-03-19','DD-MM-RR'),'BASE ','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 ('post_gen_val','validation','http://localhost:9090/axis/services/ValidatorService','BASE iformation','wfValData','String','S',null,null,to_date('21-05-16','DD-MM-RR'),'BASE ','VAIBHAV',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 ('project_audit_trail_adm','calling audit log jsp','/ibase/webitm/jsp/ITMAuditForms.jsp',null,'doPost',null,null,null,null,to_date('14-07-19','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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 ('prv_default_ejb','prv_default_ejb','http://localhost:9090/axis/services/ValidatorService',null,'wfValData','String','S',null,null,to_date('22-03-19','DD-MM-RR'),'BASE ','BASE',null,null,null);
---------------------------------------------------- SYSTEM_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 ('poic_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,null,null,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_default_ejb',2,'COMPONENT_NAME','I',null,'S',null,null,null,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_default_ejb',3,'XML_DATA','I',null,'S',null,null,null,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_default_ejb',4,'XML_DATA_1','I',null,'S',null,null,null,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_default_ejb',5,'XML_DATA_ALL','I',null,'S',null,null,null,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_default_ejb',6,'OBJ_CONTEXT','I',null,'S',null,null,null,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_default_ejb',7,'FOCUSED_COLUMN','I',null,'S',null,null,null,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_default_ejb',8,'EDIT_FLAG','I',null,'S',null,null,null,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_default_ejb',9,'XTRA_PARAMS','I',null,'S',null,null,null,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 ('post_gen_val',1,'COMPONENT_TYPE','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','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 ('post_gen_val',2,'COMPONENT_NAME','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','ibase.webitm.ejb.sys.GenValidate');
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 ('post_gen_val',3,'XML_DATA','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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 ('post_gen_val',4,'XML_DATA_ALL','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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 ('post_gen_val',5,'XML_DATA_ALL','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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 ('post_gen_val',6,'OBJ_CONTEXT','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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 ('post_gen_val',7,'WIN_NAME','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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 ('post_gen_val',8,'XTRA_PARAMS','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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 ('post_gen_val',9,'ACTION','I',null,'S',null,to_date('19-05-15','DD-MM-RR'),'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 ('prv_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','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_default_ejb',2,'COMPONENT_NAME','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','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_default_ejb',3,'XML_DATA','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','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_default_ejb',4,'XML_DATA_1','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','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_default_ejb',5,'XML_DATA_ALL','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','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_default_ejb',6,'OBJ_CONTEXT','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','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_default_ejb',7,'EDIT_FLAG','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','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_default_ejb',8,'XTRA_PARAMS','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','Manohar',null);
----------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond','1','emp_code','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond','1','itm_default','Y');
----------------------------------------------------- POPHELP
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('EMP_CODE','W_EMPLOYEE_BOND','select a.emp_fname||'' ''||a.emp_mname||'' ''||a.emp_lname as Name, a.emp_code as Code from employee a where a.relieve_date is null and (trim(a.emp_fname)||'' ''||trim(a.emp_mname)||'' ''||trim(a.emp_lname)) like ''%?%'' and length(trim(''?'')) >= 3 union all select ''Please enter minimum 3 characters of employee name'' as Name, '' '' as Code from dual where ''?'' is null or length(trim(''?'')) < 3',null,'Employees',0,0,to_date('03-02-16','DD-MM-RR'),'AALI ','BASE ',null,null,':emp_code,:emp_code,:emp_code,:emp_code',2,null,null,null,null,null,0,'2',null,null,null,null,null,null,null,null,null,null,null,null,null);
----------------------------------------------------- MESSAGES
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
('VNULEMPC','Employee Code cannot Blank!','The Employee Code cannot Blank or Already Existed in Employee Table,','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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
('VNULBPRD','Bond Period cannot Blank!','The Bond Period cannot Blank or Already Existed in Employee Table,','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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
('VNULBAMT','Bond Amount cannot Blank!','TheBond Amount cannot Blank or Already Existed in Employee Table,','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPBND01','Invalid Employee!','Login site does not match with employment site of the employee','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPBND02','Duplicate bond period!','Bond period is already defined for the entered employee','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPBND03','Invalid Bond Period!','The bond period of the employee must be greater than 0','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPBND04','Invalid Bond Amount!','The bond amount of the employee must be greater than or equal to 0','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPBND05','Invalid Bond Period!','The Bond Period must be a Positive Number','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPBND06','Invalid Bond Amount!','The Bond Amount must be a Positive Number','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPBND07','Invalid Bond Amount!','Bond amount cannot be 0','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPBND08','Invalid Employee!','The employee has been relieved hence you cannot add or modify bond definition','E','Y',null,null,null,to_date('08-10-15','DD-MM-RR'),'BASE ','BASE ',null,null);
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 ('VMEMPCD1 ','Employee Not found ...','This employee does not exsist in master','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',null,null);
update obj_forms set disp_metadata=
'<html>
<span style="white-space: normal !important; word-break: break-word; ">Site Code : {emp_site} (<b>{emp_code}</b>) , Line No: {line_no} <br/>
Bond Period : {bond_prd} , Bond Amount : {bond_amt}
</span>
<br/> <span style="float:right;"> <b> {chg_date} </b></span>
</html>' where win_name='w_employee_bond';
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>67108864</color> <color>67108864</color>
<processing>1</processing> <processing>1</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>20</height> <height>20</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>23</height> <height>23</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>emp_code</name> <name>emp_code</name>
<dbname>employee_bond.emp_code</dbname> <dbname>employee_bond.emp_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type precision="0">decimal</type>
<updatewhereclause>yes</updatewhereclause> <update>yes</update>
<name>emp_fname</name> <updatewhereclause>yes</updatewhereclause>
<dbname>employee.emp_fname</dbname> <key>yes</key>
</table_column> <name>line_no</name>
<table_column> <dbname>employee_bond.line_no</dbname>
<type size="15">char</type> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>emp_mname</name> <type precision="0">decimal</type>
<dbname>employee.emp_mname</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>bond_prd</name>
<type size="15">char</type> <dbname>employee_bond.bond_prd</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>emp_lname</name> <table_column>
<dbname>employee.emp_lname</dbname> <type precision="3">decimal</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type precision="0">decimal</type> <name>bond_amt</name>
<update>yes</update> <dbname>employee_bond.bond_amt</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<key>yes</key> <table_column>
<name>line_no</name> <type>datetime</type>
<dbname>employee_bond.line_no</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>chg_date</name>
<type precision="0">decimal</type> <dbname>employee_bond.chg_date</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>bond_prd</name> <type size="10">char</type>
<dbname>employee_bond.bond_prd</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>chg_user</name>
<type precision="3">decimal</type> <dbname>employee_bond.chg_user</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>bond_amt</name> <type size="300">char</type>
<dbname>employee_bond.bond_amt</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>chg_term</name>
<type size="5">char</type> <dbname>employee_bond.chg_term</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>emp_site</name> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond&quot; ) COLUMN(NAME=&quot;employee_bond.emp_code&quot;) COLUMN(NAME=&quot;employee_bond.line_no&quot;) COLUMN(NAME=&quot;employee_bond.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond.chg_date&quot;) COLUMN(NAME=&quot;employee_bond.chg_user&quot;) COLUMN(NAME=&quot;employee_bond.chg_term&quot;)) </retrieve>
<dbname>employee.emp_site</dbname> <update>employee_bond</update>
</table_column> <updatewhere>1</updatewhere>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee_bond.emp_code&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee_bond.line_no&quot;) COLUMN(NAME=&quot;employee_bond.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond.bond_amt&quot;) COLUMN(NAME=&quot;employee.emp_site&quot;) JOIN (LEFT=&quot;employee_bond.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )) </retrieve> <updatekeyinplace>no</updatekeyinplace>
<update>employee_bond</update> </TableDefinition>
<updatewhere>0</updatewhere> <TextObject>
<updatekeyinplace>no</updatekeyinplace> <band>Header</band>
</TableDefinition> <alignment>2</alignment>
<TextObject> <text>Employee Code</text>
<band>Header</band> <border>0</border>
<alignment>0</alignment> <color>33554432</color>
<text>Employee Code</text> <x>2</x>
<border>6</border> <y>2</y>
<color>33554432</color> <height>16</height>
<x>2</x> <width>113</width>
<y>2</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>102</width> </html>
<html> <name>emp_code_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>emp_code_t</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>67108864</color> <TextObject>
</background> <band>Header</band>
</TextObject> <alignment>2</alignment>
<TextObject> <text>Line No</text>
<band>Header</band> <border>0</border>
<alignment>0</alignment> <color>33554432</color>
<text>First Name</text> <x>117</x>
<border>6</border> <y>2</y>
<color>33554432</color> <height>16</height>
<x>106</x> <width>76</width>
<y>2</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>88</width> </html>
<html> <name>line_no_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>emp_fname_t</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>67108864</color> <TextObject>
</background> <band>Header</band>
</TextObject> <alignment>2</alignment>
<TextObject> <text>Bond Prd</text>
<band>Header</band> <border>0</border>
<alignment>0</alignment> <color>33554432</color>
<text>Middle Name</text> <x>195</x>
<border>6</border> <y>2</y>
<color>33554432</color> <height>16</height>
<x>196</x> <width>81</width>
<y>2</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>88</width> </html>
<html> <name>bond_prd_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>emp_mname_t</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>67108864</color> <TextObject>
</background> <band>Header</band>
</TextObject> <alignment>2</alignment>
<TextObject> <text>Bond Amt</text>
<band>Header</band> <border>0</border>
<alignment>0</alignment> <color>33554432</color>
<text>Last Name</text> <x>278</x>
<border>6</border> <y>2</y>
<color>33554432</color> <height>16</height>
<x>286</x> <width>103</width>
<y>2</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>88</width> </html>
<html> <name>bond_amt_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>emp_lname_t</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>67108864</color> <TextObject>
</background> <band>Header</band>
</TextObject> <alignment>0</alignment>
<TextObject> <text>Chg Date</text>
<band>Header</band> <border>0</border>
<alignment>1</alignment> <color>33554432</color>
<text>Line No</text> <x>383</x>
<border>6</border> <y>1</y>
<color>33554432</color> <height>16</height>
<x>376</x> <width>77</width>
<y>2</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>51</width> </html>
<html> <name>chg_date_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>line_no_t</name> <face>Arial</face>
<visible>1</visible> <height>-11</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>553648127</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>67108864</color> <TextObject>
</background> <band>Header</band>
</TextObject> <alignment>0</alignment>
<TextObject> <text>Chg User</text>
<band>Header</band> <border>0</border>
<alignment>1</alignment> <color>33554432</color>
<text>Bond Period</text> <x>462</x>
<border>6</border> <y>1</y>
<color>33554432</color> <height>16</height>
<x>429</x> <width>77</width>
<y>2</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>108</width> </html>
<html> <name>chg_user_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>bond_prd_t</name> <face>Arial</face>
<visible>1</visible> <height>-11</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>553648127</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>67108864</color> <TextObject>
</background> <band>Header</band>
</TextObject> <alignment>0</alignment>
<TextObject> <text>Chg Term</text>
<band>Header</band> <border>0</border>
<alignment>1</alignment> <color>33554432</color>
<text>Bond Amount</text> <x>541</x>
<border>6</border> <y>1</y>
<color>33554432</color> <height>16</height>
<x>539</x> <width>88</width>
<y>2</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>126</width> </html>
<html> <name>chg_term_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>bond_amt_t</name> <face>Arial</face>
<visible>1</visible> <height>-11</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>553648127</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>67108864</color> <ColumnObject>
</background> <band>Detail</band>
</TextObject> <id>1</id>
<TextObject> <alignment>0</alignment>
<band>Header</band> <tabsequence>10</tabsequence>
<alignment>0</alignment> <border>0</border>
<text>Site Code</text> <color>33554432</color>
<border>6</border> <x>2</x>
<color>33554432</color> <y>2</y>
<x>667</x> <height>19</height>
<y>2</y> <width>113</width>
<height>16</height> <format>[general]</format>
<width>80</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>emp_code</name>
<name>emp_site_t</name> <visible>1</visible>
<visible>1</visible> <EditStyle style="edit">
<font> <limit>10</limit>
<face>Arial</face> <case>any</case>
<height>-10</height> <focusrectangle>no</focusrectangle>
<weight>400</weight> <autoselect>yes</autoselect>
<family>2</family> <autohscroll>yes</autohscroll>
<pitch>2</pitch> <imemode>0</imemode>
<charset>0</charset> </EditStyle>
</font> <font>
<background> <face>Arial</face>
<mode>2</mode> <height>-10</height>
<color>67108864</color> <weight>400</weight>
</background> <family>2</family>
</TextObject> <pitch>2</pitch>
<ColumnObject> <charset>0</charset>
<band>Detail</band> </font>
<id>1</id> <background>
<alignment>0</alignment> <mode>1</mode>
<tabsequence>10</tabsequence> <color>536870912</color>
<border>5</border> </background>
<color>33554432</color> </ColumnObject>
<x>2</x> <ColumnObject>
<y>2</y> <band>Detail</band>
<height>19</height> <id>2</id>
<width>102</width> <alignment>1</alignment>
<format>[general]</format> <tabsequence>20</tabsequence>
<html> <border>0</border>
<valueishtml>0</valueishtml> <color>33554432</color>
</html> <x>117</x>
<name>emp_code</name> <y>2</y>
<visible>1</visible> <height>19</height>
<EditStyle style="edit"> <width>76</width>
<limit>10</limit> <format>[general]</format>
<case>any</case> <html>
<focusrectangle>no</focusrectangle> <valueishtml>0</valueishtml>
<autoselect>yes</autoselect> </html>
<autohscroll>yes</autohscroll> <name>line_no</name>
<imemode>0</imemode> <visible>1</visible>
</EditStyle> <EditStyle style="edit">
<font> <limit>0</limit>
<face>Arial</face> <case>any</case>
<height>-10</height> <focusrectangle>no</focusrectangle>
<weight>400</weight> <autoselect>yes</autoselect>
<family>2</family> <autohscroll>yes</autohscroll>
<pitch>2</pitch> <imemode>0</imemode>
<charset>0</charset> </EditStyle>
</font> <font>
<background> <face>Arial</face>
<mode>2</mode> <height>-10</height>
<color>67108864</color> <weight>400</weight>
</background> <family>2</family>
</ColumnObject> <pitch>2</pitch>
<ColumnObject> <charset>0</charset>
<band>Detail</band> </font>
<id>2</id> <background>
<alignment>0</alignment> <mode>1</mode>
<tabsequence>20</tabsequence> <color>536870912</color>
<border>5</border> </background>
<color>33554432</color> </ColumnObject>
<x>106</x> <ColumnObject>
<y>2</y> <band>Detail</band>
<height>19</height> <id>3</id>
<width>88</width> <alignment>1</alignment>
<format>[general]</format> <tabsequence>30</tabsequence>
<html> <border>0</border>
<valueishtml>0</valueishtml> <color>33554432</color>
</html> <x>195</x>
<name>emp_fname</name> <y>2</y>
<visible>1</visible> <height>19</height>
<EditStyle style="edit"> <width>81</width>
<limit>0</limit> <format>[general]</format>
<case>any</case> <html>
<focusrectangle>no</focusrectangle> <valueishtml>0</valueishtml>
<autoselect>no</autoselect> </html>
<imemode>0</imemode> <name>bond_prd</name>
</EditStyle> <visible>1</visible>
<font> <EditStyle style="edit">
<face>Arial</face> <limit>0</limit>
<height>-10</height> <case>any</case>
<weight>400</weight> <focusrectangle>no</focusrectangle>
<family>2</family> <autoselect>yes</autoselect>
<pitch>2</pitch> <autohscroll>yes</autohscroll>
<charset>0</charset> <imemode>0</imemode>
</font> </EditStyle>
<background> <font>
<mode>2</mode> <face>Arial</face>
<color>67108864</color> <height>-10</height>
</background> <weight>400</weight>
</ColumnObject> <family>2</family>
<ColumnObject> <pitch>2</pitch>
<band>Detail</band> <charset>0</charset>
<id>3</id> </font>
<alignment>0</alignment> <background>
<tabsequence>30</tabsequence> <mode>1</mode>
<border>5</border> <color>536870912</color>
<color>33554432</color> </background>
<x>196</x> </ColumnObject>
<y>2</y> <ColumnObject>
<height>19</height> <band>Detail</band>
<width>88</width> <id>4</id>
<format>[general]</format> <alignment>1</alignment>
<html> <tabsequence>40</tabsequence>
<valueishtml>0</valueishtml> <border>0</border>
</html> <color>33554432</color>
<name>emp_mname</name> <x>278</x>
<visible>1</visible> <y>2</y>
<EditStyle style="edit"> <height>19</height>
<limit>0</limit> <width>103</width>
<case>any</case> <format>[general]</format>
<focusrectangle>no</focusrectangle> <html>
<autoselect>no</autoselect> <valueishtml>0</valueishtml>
<imemode>0</imemode> </html>
</EditStyle> <name>bond_amt</name>
<font> <visible>1</visible>
<face>Arial</face> <EditStyle style="edit">
<height>-10</height> <limit>0</limit>
<weight>400</weight> <case>any</case>
<family>2</family> <focusrectangle>no</focusrectangle>
<pitch>2</pitch> <autoselect>yes</autoselect>
<charset>0</charset> <autohscroll>yes</autohscroll>
</font> <imemode>0</imemode>
<background> </EditStyle>
<mode>2</mode> <font>
<color>67108864</color> <face>Arial</face>
</background> <height>-10</height>
</ColumnObject> <weight>400</weight>
<ColumnObject> <family>2</family>
<band>Detail</band> <pitch>2</pitch>
<id>4</id> <charset>0</charset>
<alignment>0</alignment> </font>
<tabsequence>40</tabsequence> <background>
<border>5</border> <mode>1</mode>
<color>33554432</color> <color>536870912</color>
<x>286</x> </background>
<y>2</y> </ColumnObject>
<height>19</height> <ColumnObject>
<width>88</width> <band>Detail</band>
<format>[general]</format> <id>5</id>
<html> <alignment>0</alignment>
<valueishtml>0</valueishtml> <tabsequence>32766</tabsequence>
</html> <border>0</border>
<name>emp_lname</name> <color>33554432</color>
<visible>1</visible> <x>383</x>
<EditStyle style="edit"> <y>1</y>
<limit>0</limit> <height>16</height>
<case>any</case> <width>77</width>
<focusrectangle>no</focusrectangle> <format>[shortdate] [time]</format>
<autoselect>no</autoselect> <html>
<imemode>0</imemode> <valueishtml>0</valueishtml>
</EditStyle> </html>
<font> <name>chg_date</name>
<face>Arial</face> <visible>1</visible>
<height>-10</height> <EditStyle style="edit">
<weight>400</weight> <limit>0</limit>
<family>2</family> <case>any</case>
<pitch>2</pitch> <focusrectangle>no</focusrectangle>
<charset>0</charset> <autoselect>no</autoselect>
</font> <imemode>0</imemode>
<background> </EditStyle>
<mode>2</mode> <font>
<color>67108864</color> <face>Arial</face>
</background> <height>-10</height>
</ColumnObject> <weight>400</weight>
<ColumnObject> <family>2</family>
<band>Detail</band> <pitch>2</pitch>
<id>5</id> <charset>0</charset>
<alignment>1</alignment> </font>
<tabsequence>50</tabsequence> <background>
<border>5</border> <mode>1</mode>
<color>33554432</color> <color>536870912</color>
<x>376</x> </background>
<y>2</y> </ColumnObject>
<height>19</height> <ColumnObject>
<width>51</width> <band>Detail</band>
<format>[general]</format> <id>6</id>
<html> <alignment>0</alignment>
<valueishtml>0</valueishtml> <tabsequence>32766</tabsequence>
</html> <border>0</border>
<name>line_no</name> <color>33554432</color>
<visible>1</visible> <x>462</x>
<EditStyle style="edit"> <y>1</y>
<limit>0</limit> <height>16</height>
<case>any</case> <width>77</width>
<focusrectangle>no</focusrectangle> <format>[general]</format>
<autoselect>yes</autoselect> <html>
<autohscroll>yes</autohscroll> <valueishtml>0</valueishtml>
<imemode>0</imemode> </html>
</EditStyle> <name>chg_user</name>
<font> <visible>1</visible>
<face>Arial</face> <EditStyle style="edit">
<height>-10</height> <limit>0</limit>
<weight>400</weight> <case>any</case>
<family>2</family> <focusrectangle>no</focusrectangle>
<pitch>2</pitch> <autoselect>no</autoselect>
<charset>0</charset> <imemode>0</imemode>
</font> </EditStyle>
<background> <font>
<mode>2</mode> <face>Arial</face>
<color>67108864</color> <height>-10</height>
</background> <weight>400</weight>
</ColumnObject> <family>2</family>
<ColumnObject> <pitch>2</pitch>
<band>Detail</band> <charset>0</charset>
<id>6</id> </font>
<alignment>1</alignment> <background>
<tabsequence>60</tabsequence> <mode>1</mode>
<border>5</border> <color>536870912</color>
<color>33554432</color> </background>
<x>429</x> </ColumnObject>
<y>2</y> <ColumnObject>
<height>19</height> <band>Detail</band>
<width>108</width> <id>7</id>
<format>[general]</format> <alignment>0</alignment>
<html> <tabsequence>32766</tabsequence>
<valueishtml>0</valueishtml> <border>0</border>
</html> <color>33554432</color>
<name>bond_prd</name> <x>541</x>
<visible>1</visible> <y>1</y>
<EditStyle style="edit"> <height>16</height>
<limit>0</limit> <width>88</width>
<case>any</case> <format>[general]</format>
<focusrectangle>no</focusrectangle> <html>
<autoselect>yes</autoselect> <valueishtml>0</valueishtml>
<autohscroll>yes</autohscroll> </html>
<imemode>0</imemode> <name>chg_term</name>
</EditStyle> <visible>1</visible>
<font> <EditStyle style="edit">
<face>Arial</face> <limit>0</limit>
<height>-10</height> <case>any</case>
<weight>400</weight> <focusrectangle>no</focusrectangle>
<family>2</family> <autoselect>no</autoselect>
<pitch>2</pitch> <imemode>0</imemode>
<charset>0</charset> </EditStyle>
</font> <font>
<background> <face>Arial</face>
<mode>2</mode> <height>-10</height>
<color>67108864</color> <weight>400</weight>
</background> <family>2</family>
</ColumnObject> <pitch>2</pitch>
<ColumnObject> <charset>0</charset>
<band>Detail</band> </font>
<id>7</id> <background>
<alignment>1</alignment> <mode>1</mode>
<tabsequence>70</tabsequence> <color>536870912</color>
<border>5</border> </background>
<color>33554432</color> </ColumnObject>
<x>539</x> <HtmlTable>
<y>2</y> <border>1</border>
<height>19</height> </HtmlTable>
<width>126</width> <HtmlGen>
<format>[general]</format> <clientevents>1</clientevents>
<html> <clientvalidation>1</clientvalidation>
<valueishtml>0</valueishtml> <clientcomputedfields>1</clientcomputedfields>
</html> <clientformatting>0</clientformatting>
<name>bond_amt</name> <clientscriptable>0</clientscriptable>
<visible>1</visible> <generatejavascript>1</generatejavascript>
<EditStyle style="edit"> <encodeselflinkargs>1</encodeselflinkargs>
<limit>0</limit> <netscapelayers>0</netscapelayers>
<case>any</case> </HtmlGen>
<focusrectangle>no</focusrectangle> <Export.XML>
<autoselect>yes</autoselect> <headgroups>1</headgroups>
<autohscroll>yes</autohscroll> <includewhitespace>0</includewhitespace>
<imemode>0</imemode> <metadatatype>0</metadatatype>
</EditStyle> <savemetadata>0</savemetadata>
<font> </Export.XML>
<face>Arial</face> <Import.XML>
<height>-10</height> </Import.XML>
<weight>400</weight> <Export.PDF>
<family>2</family> <method>0</method>
<pitch>2</pitch> <distill.custompostscript>0</distill.custompostscript>
<charset>0</charset> <xslfop.print>0</xslfop.print>
</font> </Export.PDF>
<background> </Sybase_eDataWindow>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>667</x>
<y>2</y>
<height>19</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>67108864</color> <color>67108864</color>
<processing>0</processing> <processing>0</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Summary> <Summary>
<height>0</height> <height>129</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>265</height> <height>342</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>emp_code</name> <name>emp_code</name>
<dbname>employee_bond.emp_code</dbname> <dbname>employee_bond.emp_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>line_no</name> <name>line_no</name>
<dbname>employee_bond.line_no</dbname> <dbname>employee_bond.line_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>bond_prd</name> <name>bond_prd</name>
<dbname>employee_bond.bond_prd</dbname> <dbname>employee_bond.bond_prd</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="3">decimal</type> <type precision="3">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>bond_amt</name> <name>bond_amt</name>
<dbname>employee_bond.bond_amt</dbname> <dbname>employee_bond.bond_amt</dbname>
<initial>0.00</initial> </table_column>
</table_column> <table_column>
<table_column> <type size="15">char</type>
<type size="15">char</type> <updatewhereclause>yes</updatewhereclause>
<updatewhereclause>yes</updatewhereclause> <name>emp_fname</name>
<name>emp_fname</name> <dbname>employee.emp_fname</dbname>
<dbname>employee.emp_fname</dbname> </table_column>
</table_column> <table_column>
<table_column> <type size="15">char</type>
<type size="15">char</type> <updatewhereclause>yes</updatewhereclause>
<updatewhereclause>yes</updatewhereclause> <name>emp_mname</name>
<name>emp_mname</name> <dbname>employee.emp_mname</dbname>
<dbname>employee.emp_mname</dbname> </table_column>
</table_column> <table_column>
<table_column> <type size="15">char</type>
<type size="15">char</type> <updatewhereclause>yes</updatewhereclause>
<updatewhereclause>yes</updatewhereclause> <name>emp_lname</name>
<name>emp_lname</name> <dbname>employee.emp_lname</dbname>
<dbname>employee.emp_lname</dbname> </table_column>
</table_column> <table_column>
<table_column> <type>datetime</type>
<type size="5">char</type> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_site</name> <name>chg_date</name>
<dbname>employee.emp_site</dbname> <dbname>employee_bond.chg_date</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee_bond.emp_code&quot;) COLUMN(NAME=&quot;employee_bond.line_no&quot;) COLUMN(NAME=&quot;employee_bond.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond.bond_amt&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee.emp_site&quot;) JOIN (LEFT=&quot;employee_bond.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;employee_bond.emp_code&quot; OP =&quot;=&quot; EXP2 =&quot;:as_emp_code&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;employee_bond.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:ai_line_no&quot; ) ) ARG(NAME = &quot;as_emp_code&quot; TYPE = string) ARG(NAME = &quot;ai_line_no&quot; TYPE = number) </retrieve> <table_column>
<update>employee_bond</update> <type size="10">char</type>
<updatewhere>0</updatewhere> <update>yes</update>
<updatekeyinplace>no</updatekeyinplace> <updatewhereclause>yes</updatewhereclause>
<argument> <name>chg_user</name>
<name>as_emp_code</name> <dbname>employee_bond.chg_user</dbname>
<type>string</type> </table_column>
</argument> <table_column>
<argument> <type size="300">char</type>
<name>ai_line_no</name> <update>yes</update>
<type>number</type> <updatewhereclause>yes</updatewhereclause>
</argument> <name>chg_term</name>
</TableDefinition> <dbname>employee_bond.chg_term</dbname>
<GroupBox> </table_column>
<band>Detail</band> <table_column>
<text>Basic</text> <type size="5">char</type>
<border>2</border> <updatewhereclause>yes</updatewhereclause>
<color>33554432</color> <name>emp_site</name>
<x>5</x> <dbname>employee.emp_site</dbname>
<y>3</y> </table_column>
<height>153</height> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee_bond.emp_code&quot;) COLUMN(NAME=&quot;employee_bond.line_no&quot;) COLUMN(NAME=&quot;employee_bond.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond.bond_amt&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee_bond.chg_date&quot;) COLUMN(NAME=&quot;employee_bond.chg_user&quot;) COLUMN(NAME=&quot;employee_bond.chg_term&quot;) COLUMN(NAME=&quot;employee.emp_site&quot;) JOIN (LEFT=&quot;employee_bond.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;employee_bond.emp_code&quot; OP =&quot;=&quot; EXP2 =&quot;:emp_code&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;employee_bond.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;emp_code&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<width>473</width> <update>EMPLOYEE_BOND</update>
<name>gb_1</name> <updatewhere>0</updatewhere>
<visible>1</visible> <updatekeyinplace>no</updatekeyinplace>
<font> <argument>
<face>Arial</face> <name>emp_code</name>
<height>-10</height> <type>string</type>
<weight>400</weight> </argument>
<family>2</family> <argument>
<pitch>2</pitch> <name>line_no</name>
<charset>0</charset> <type>number</type>
</font> </argument>
<background> </TableDefinition>
<mode>2</mode> <GroupBox>
<color>67108864</color> <band>Detail</band>
</background> <text>Basic</text>
</GroupBox> <border>2</border>
<TextObject> <color>33554432</color>
<band>Detail</band> <x>7</x>
<alignment>1</alignment> <y>5</y>
<text>Bond Period :</text> <height>106</height>
<border>0</border> <width>618</width>
<color>33554432</color> <name>gb_1</name>
<x>19</x> <visible>1</visible>
<y>84</y> <font>
<height>16</height> <face>Arial</face>
<width>88</width> <height>-11</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>2</family>
</html> <pitch>2</pitch>
<name>bond_prd_t</name> <charset>0</charset>
<visible>1</visible> </font>
<font> <background>
<face>Arial</face> <mode>1</mode>
<height>-10</height> <color>553648127</color>
<weight>400</weight> </background>
<family>2</family> </GroupBox>
<pitch>2</pitch> <ColumnObject>
<charset>0</charset> <band>Detail</band>
</font> <id>1</id>
<background> <alignment>0</alignment>
<mode>1</mode> <tabsequence>10</tabsequence>
<color>536870912</color> <border>5</border>
</background> <color>33554432</color>
</TextObject> <x>141</x>
<TextObject> <y>37</y>
<band>Detail</band> <height>16</height>
<alignment>1</alignment> <width>90</width>
<text>Line No :</text> <format>[general]</format>
<border>0</border> <html>
<color>33554432</color> <valueishtml>0</valueishtml>
<x>19</x> </html>
<y>60</y> <name>emp_code</name>
<height>16</height> <visible>1</visible>
<width>88</width> <EditStyle style="edit">
<html> <limit>10</limit>
<valueishtml>0</valueishtml> <case>any</case>
</html> <focusrectangle>no</focusrectangle>
<name>employee_bond_line_no_t</name> <autoselect>yes</autoselect>
<visible>1</visible> <autohscroll>yes</autohscroll>
<font> <imemode>0</imemode>
<face>Arial</face> </EditStyle>
<height>-10</height> <font>
<weight>400</weight> <face>Arial</face>
<family>2</family> <height>-10</height>
<pitch>2</pitch> <weight>400</weight>
<charset>0</charset> <family>2</family>
</font> <pitch>2</pitch>
<background> <charset>0</charset>
<mode>1</mode> </font>
<color>536870912</color> <background>
</background> <mode>2</mode>
</TextObject> <color>16777215</color>
<TextObject> </background>
<band>Detail</band> </ColumnObject>
<alignment>1</alignment> <ColumnObject>
<text>Employee :</text> <band>Detail</band>
<border>0</border> <id>2</id>
<color>33554432</color> <alignment>1</alignment>
<x>19</x> <tabsequence>20</tabsequence>
<y>36</y> <border>5</border>
<height>16</height> <color>33554432</color>
<width>88</width> <x>141</x>
<html> <y>61</y>
<valueishtml>0</valueishtml> <height>16</height>
</html> <width>90</width>
<name>emp_code_t</name> <format>[general]</format>
<visible>1</visible> <html>
<font> <valueishtml>0</valueishtml>
<face>Arial</face> </html>
<height>-10</height> <name>line_no</name>
<weight>400</weight> <visible>1</visible>
<family>2</family> <EditStyle style="edit">
<pitch>2</pitch> <limit>0</limit>
<charset>0</charset> <case>any</case>
</font> <focusrectangle>no</focusrectangle>
<background> <autoselect>yes</autoselect>
<mode>1</mode> <autohscroll>yes</autohscroll>
<color>536870912</color> <imemode>0</imemode>
</background> </EditStyle>
</TextObject> <font>
<ColumnObject> <face>Arial</face>
<band>Detail</band> <height>-10</height>
<id>1</id> <weight>400</weight>
<alignment>0</alignment> <family>2</family>
<tabsequence>10</tabsequence> <pitch>2</pitch>
<border>5</border> <charset>0</charset>
<color>33554432</color> </font>
<x>112</x> <background>
<y>36</y> <mode>2</mode>
<height>16</height> <color>16777215</color>
<width>90</width> </background>
<format>[general]</format> </ColumnObject>
<html> <TextObject>
<valueishtml>0</valueishtml> <band>Detail</band>
</html> <alignment>1</alignment>
<name>emp_code</name> <text>Empployee Code:</text>
<visible>1</visible> <border>0</border>
<EditStyle style="edit"> <color>33554432</color>
<limit>0</limit> <x>13</x>
<case>upper</case> <y>36</y>
<focusrectangle>no</focusrectangle> <height>16</height>
<autoselect>no</autoselect> <width>122</width>
<imemode>0</imemode> <html>
</EditStyle> <valueishtml>0</valueishtml>
<font> </html>
<face>Arial</face> <name>emp_code_t</name>
<height>-10</height> <visible>1</visible>
<weight>400</weight> <font>
<family>2</family> <face>Arial</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>2</family>
<background> <pitch>2</pitch>
<mode>2</mode> <charset>0</charset>
<color>16777215</color> </font>
</background> <background>
</ColumnObject> <mode>1</mode>
<ColumnObject> <color>536870912</color>
<band>Detail</band> </background>
<id>5</id> </TextObject>
<alignment>0</alignment> <TextObject>
<tabsequence>32766</tabsequence> <band>Detail</band>
<border>5</border> <alignment>1</alignment>
<color>33554432</color> <text>Line No:</text>
<x>207</x> <border>0</border>
<y>36</y> <color>33554432</color>
<height>16</height> <x>13</x>
<width>80</width> <y>61</y>
<format>[general]</format> <height>16</height>
<html> <width>122</width>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>emp_fname</name> </html>
<visible>1</visible> <name>line_no_t</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>15</limit> <font>
<case>any</case> <face>Arial</face>
<focusrectangle>no</focusrectangle> <height>-10</height>
<autoselect>yes</autoselect> <weight>400</weight>
<autohscroll>yes</autohscroll> <family>2</family>
<imemode>0</imemode> <pitch>2</pitch>
</EditStyle> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Detail</band>
<background> <alignment>1</alignment>
<mode>1</mode> <text>Bond Amount:</text>
<color>536870912</color> <border>0</border>
</background> <color>33554432</color>
</ColumnObject> <x>13</x>
<ColumnObject> <y>86</y>
<band>Detail</band> <height>16</height>
<id>6</id> <width>122</width>
<alignment>0</alignment> <html>
<tabsequence>32766</tabsequence> <valueishtml>0</valueishtml>
<border>5</border> </html>
<color>33554432</color> <name>bond_amt_t</name>
<x>290</x> <visible>1</visible>
<y>36</y> <font>
<height>16</height> <face>Arial</face>
<width>80</width> <height>-10</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>emp_mname</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>1</mode>
<limit>15</limit> <color>536870912</color>
<case>any</case> </background>
<focusrectangle>no</focusrectangle> </TextObject>
<autoselect>yes</autoselect> <ColumnObject>
<autohscroll>yes</autohscroll> <band>Detail</band>
<imemode>0</imemode> <id>4</id>
</EditStyle> <alignment>1</alignment>
<font> <tabsequence>30</tabsequence>
<face>Arial</face> <border>5</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>141</x>
<family>2</family> <y>85</y>
<pitch>2</pitch> <height>16</height>
<charset>0</charset> <width>90</width>
</font> <format>[general]</format>
<background> <html>
<mode>1</mode> <valueishtml>0</valueishtml>
<color>536870912</color> </html>
</background> <name>bond_amt</name>
</ColumnObject> <visible>1</visible>
<ColumnObject> <EditStyle style="edit">
<band>Detail</band> <limit>14</limit>
<id>7</id> <case>any</case>
<alignment>0</alignment> <focusrectangle>no</focusrectangle>
<tabsequence>32766</tabsequence> <autoselect>yes</autoselect>
<border>5</border> <autohscroll>yes</autohscroll>
<color>33554432</color> <imemode>0</imemode>
<x>373</x> </EditStyle>
<y>36</y> <font>
<height>16</height> <face>Arial</face>
<width>80</width> <height>-10</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>emp_lname</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>2</mode>
<limit>15</limit> <color>16777215</color>
<case>any</case> </background>
<focusrectangle>no</focusrectangle> </ColumnObject>
<autoselect>yes</autoselect> <TextObject>
<autohscroll>yes</autohscroll> <band>Detail</band>
<imemode>0</imemode> <alignment>1</alignment>
</EditStyle> <text>Bond Period:</text>
<font> <border>0</border>
<face>Arial</face> <color>33554432</color>
<height>-10</height> <x>238</x>
<weight>400</weight> <y>85</y>
<family>2</family> <height>16</height>
<pitch>2</pitch> <width>200</width>
<charset>0</charset> <html>
</font> <valueishtml>0</valueishtml>
<background> </html>
<mode>1</mode> <name>bond_prd_t</name>
<color>536870912</color> <visible>1</visible>
</background> <font>
</ColumnObject> <face>Arial</face>
<ColumnObject> <height>-10</height>
<band>Detail</band> <weight>400</weight>
<id>3</id> <family>2</family>
<alignment>1</alignment> <pitch>2</pitch>
<tabsequence>20</tabsequence> <charset>0</charset>
<border>5</border> </font>
<color>33554432</color> <background>
<x>112</x> <mode>1</mode>
<y>84</y> <color>536870912</color>
<height>16</height> </background>
<width>90</width> </TextObject>
<format>#0</format> <ColumnObject>
<html> <band>Detail</band>
<valueishtml>0</valueishtml> <id>3</id>
</html> <alignment>1</alignment>
<name>bond_prd</name> <tabsequence>40</tabsequence>
<visible>1</visible> <border>5</border>
<EditStyle style="edit"> <color>33554432</color>
<limit>2</limit> <x>443</x>
<case>upper</case> <y>85</y>
<format>#0</format> <height>16</height>
<focusrectangle>no</focusrectangle> <width>90</width>
<autoselect>yes</autoselect> <format>[general]</format>
<autohscroll>yes</autohscroll> <html>
<imemode>0</imemode> <valueishtml>0</valueishtml>
</EditStyle> </html>
<font> <name>bond_prd</name>
<face>Arial</face> <visible>1</visible>
<height>-10</height> <EditStyle style="edit">
<weight>400</weight> <limit>2</limit>
<family>2</family> <case>any</case>
<pitch>2</pitch> <focusrectangle>no</focusrectangle>
<charset>0</charset> <autoselect>yes</autoselect>
</font> <autohscroll>yes</autohscroll>
<background> <imemode>0</imemode>
<mode>2</mode> </EditStyle>
<color>16777215</color> <font>
</background> <face>Arial</face>
</ColumnObject> <height>-10</height>
<ColumnObject> <weight>400</weight>
<band>Detail</band> <family>2</family>
<id>2</id> <pitch>2</pitch>
<alignment>1</alignment> <charset>0</charset>
<tabsequence>32766</tabsequence> </font>
<border>5</border> <background>
<color>33554432</color> <mode>2</mode>
<x>112</x> <color>16777215</color>
<y>60</y> </background>
<height>16</height> </ColumnObject>
<width>90</width> <GroupBox>
<format>[general]</format> <band>Detail</band>
<html> <text>Other</text>
<valueishtml>0</valueishtml> <border>2</border>
</html> <color>33554432</color>
<name>line_no</name> <x>7</x>
<visible>1</visible> <y>121</y>
<EditStyle style="edit"> <height>83</height>
<limit>0</limit> <width>620</width>
<case>any</case> <name>gb_2</name>
<focusrectangle>no</focusrectangle> <visible>1</visible>
<autoselect>yes</autoselect> <font>
<autohscroll>yes</autohscroll> <face>Arial</face>
<imemode>0</imemode> <height>-10</height>
</EditStyle> <weight>400</weight>
<font> <family>2</family>
<face>Arial</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>2</family> <background>
<pitch>2</pitch> <mode>1</mode>
<charset>0</charset> <color>553648127</color>
</font> </background>
<background> </GroupBox>
<mode>1</mode> <TextObject>
<color>536870912</color> <band>Detail</band>
</background> <alignment>0</alignment>
</ColumnObject> <text>Change Date :</text>
<TextObject> <border>0</border>
<band>Detail</band> <color>33554432</color>
<alignment>1</alignment> <x>14</x>
<text>Bond Amount :</text> <y>142</y>
<border>0</border> <height>16</height>
<color>33554432</color> <width>90</width>
<x>246</x> <html>
<y>84</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>112</width> <name>chg_date_t</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <font>
</html> <face>Arial</face>
<name>employee_bond_bond_amt_t</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<font> <family>2</family>
<face>Arial</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>2</family> <background>
<pitch>2</pitch> <mode>1</mode>
<charset>0</charset> <color>553648127</color>
</font> </background>
<background> </TextObject>
<mode>1</mode> <ColumnObject>
<color>536870912</color> <band>Detail</band>
</background> <id>5</id>
</TextObject> <alignment>0</alignment>
<TextObject> <tabsequence>32766</tabsequence>
<band>Detail</band> <border>5</border>
<alignment>1</alignment> <color>255</color>
<text>Site Code :</text> <x>236</x>
<border>0</border> <y>36</y>
<color>33554432</color> <height>16</height>
<x>280</x> <width>120</width>
<y>60</y> <format>[general]</format>
<height>16</height> <html>
<width>78</width> <valueishtml>0</valueishtml>
<html> </html>
<valueishtml>0</valueishtml> <name>emp_fname</name>
</html> <visible>1</visible>
<name>emp_site_t</name> <EditStyle style="edit">
<visible>1</visible> <limit>15</limit>
<font> <case>any</case>
<face>Arial</face> <focusrectangle>no</focusrectangle>
<height>-10</height> <autoselect>yes</autoselect>
<weight>400</weight> <autohscroll>yes</autohscroll>
<family>2</family> <imemode>0</imemode>
<pitch>2</pitch> </EditStyle>
<charset>0</charset> <font>
</font> <face>Arial</face>
<background> <height>-10</height>
<mode>1</mode> <weight>400</weight>
<color>536870912</color> <family>2</family>
</background> <pitch>2</pitch>
</TextObject> <charset>0</charset>
<ColumnObject> </font>
<band>Detail</band> <background>
<id>4</id> <mode>1</mode>
<alignment>1</alignment> <color>536870912</color>
<tabsequence>30</tabsequence> </background>
<border>5</border> </ColumnObject>
<color>33554432</color> <ColumnObject>
<x>363</x> <band>Detail</band>
<y>84</y> <id>6</id>
<height>16</height> <alignment>0</alignment>
<width>90</width> <tabsequence>32766</tabsequence>
<format>##,###,##0.00</format> <border>5</border>
<html> <color>255</color>
<valueishtml>0</valueishtml> <x>363</x>
</html> <y>36</y>
<name>bond_amt</name> <height>16</height>
<visible>1</visible> <width>120</width>
<EditStyle style="edit"> <format>[general]</format>
<limit>13</limit> <html>
<case>any</case> <valueishtml>0</valueishtml>
<format>##,###,##0.00</format> </html>
<focusrectangle>no</focusrectangle> <name>emp_mname</name>
<autoselect>no</autoselect> <visible>1</visible>
<imemode>0</imemode> <EditStyle style="edit">
</EditStyle> <limit>15</limit>
<font> <case>any</case>
<face>Arial</face> <focusrectangle>no</focusrectangle>
<height>-10</height> <autoselect>yes</autoselect>
<weight>400</weight> <autohscroll>yes</autohscroll>
<family>2</family> <imemode>0</imemode>
<pitch>2</pitch> </EditStyle>
<charset>0</charset> <font>
</font> <face>Arial</face>
<background> <height>-10</height>
<mode>2</mode> <weight>400</weight>
<color>16777215</color> <family>2</family>
</background> <pitch>2</pitch>
</ColumnObject> <charset>0</charset>
<ColumnObject> </font>
<band>Detail</band> <background>
<id>8</id> <mode>1</mode>
<alignment>0</alignment> <color>536870912</color>
<tabsequence>32766</tabsequence> </background>
<border>5</border> </ColumnObject>
<color>33554432</color> <ColumnObject>
<x>363</x> <band>Detail</band>
<y>60</y> <id>7</id>
<height>16</height> <alignment>0</alignment>
<width>90</width> <tabsequence>32766</tabsequence>
<format>[general]</format> <border>5</border>
<html> <color>255</color>
<valueishtml>0</valueishtml> <x>490</x>
</html> <y>36</y>
<name>emp_site</name> <height>16</height>
<visible>1</visible> <width>120</width>
<EditStyle style="edit"> <format>[general]</format>
<limit>0</limit> <html>
<case>any</case> <valueishtml>0</valueishtml>
<focusrectangle>no</focusrectangle> </html>
<autoselect>no</autoselect> <name>emp_lname</name>
<imemode>0</imemode> <visible>1</visible>
</EditStyle> <EditStyle style="edit">
<font> <limit>15</limit>
<face>Arial</face> <case>any</case>
<height>-10</height> <focusrectangle>no</focusrectangle>
<weight>400</weight> <autoselect>yes</autoselect>
<family>2</family> <autohscroll>yes</autohscroll>
<pitch>2</pitch> <imemode>0</imemode>
<charset>0</charset> </EditStyle>
</font> <font>
<background> <face>Arial</face>
<mode>1</mode> <height>-10</height>
<color>536870912</color> <weight>400</weight>
</background> <family>2</family>
</ColumnObject> <pitch>2</pitch>
<HtmlTable> <charset>0</charset>
<border>1</border> </font>
</HtmlTable> <background>
<HtmlGen> <mode>1</mode>
<clientevents>1</clientevents> <color>536870912</color>
<clientvalidation>1</clientvalidation> </background>
<clientcomputedfields>1</clientcomputedfields> </ColumnObject>
<clientformatting>0</clientformatting> <ColumnObject>
<clientscriptable>0</clientscriptable> <band>Detail</band>
<generatejavascript>1</generatejavascript> <id>8</id>
<encodeselflinkargs>1</encodeselflinkargs> <alignment>0</alignment>
<netscapelayers>0</netscapelayers> <tabsequence>32766</tabsequence>
</HtmlGen> <border>5</border>
<Export.XML> <color>255</color>
<headgroups>1</headgroups> <x>109</x>
<includewhitespace>0</includewhitespace> <y>142</y>
<metadatatype>0</metadatatype> <height>16</height>
<savemetadata>0</savemetadata> <width>100</width>
<Template> <format>[shortdate] [time]</format>
<comment></comment> <html>
<encoding>UTF-8</encoding> <valueishtml>0</valueishtml>
<name>d_employee_bond21</name> </html>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;employee_bond_emp_code&gt;emp_code&lt;/employee_bond_emp_code&gt;&lt;employee_bond_line_no&gt;line_no&lt;/employee_bond_line_no&gt;&lt;employee_bond_bond_prd&gt;bond_prd&lt;/employee_bond_bond_prd&gt;&lt;employee_bond_bond_amt&gt;bond_amt&lt;/employee_bond_bond_amt&gt;&lt;employee_emp_fname&gt;emp_fname&lt;/employee_emp_fname&gt;&lt;employee_emp_mname&gt;emp_mname&lt;/employee_emp_mname&gt;&lt;employee_emp_lname&gt;emp_lname&lt;/employee_emp_lname&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml> <name>chg_date</name>
</Template> <visible>1</visible>
</Export.XML> <EditStyle style="edit">
<Import.XML> <limit>0</limit>
</Import.XML> <case>any</case>
<Export.PDF> <focusrectangle>no</focusrectangle>
<method>0</method> <autoselect>no</autoselect>
<distill.custompostscript>0</distill.custompostscript> <imemode>0</imemode>
<xslfop.print>0</xslfop.print> </EditStyle>
</Export.PDF> <font>
</Sybase_eDataWindow> <face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Change User :</text>
<border>0</border>
<color>33554432</color>
<x>218</x>
<y>141</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Change Term :</text>
<border>0</border>
<color>33554432</color>
<x>414</x>
<y>141</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>307</x>
<y>141</y>
<height>16</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>506</x>
<y>141</y>
<height>16</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>109</x>
<y>168</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Empployee Site :</text>
<border>0</border>
<color>33554432</color>
<x>16</x>
<y>169</y>
<height>16</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_employee_bond21</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;employee_bond_emp_code&gt;emp_code&lt;/employee_bond_emp_code&gt;&lt;employee_bond_line_no&gt;line_no&lt;/employee_bond_line_no&gt;&lt;employee_bond_bond_prd&gt;bond_prd&lt;/employee_bond_bond_prd&gt;&lt;employee_bond_bond_amt&gt;bond_amt&lt;/employee_bond_bond_amt&gt;&lt;employee_emp_fname&gt;emp_fname&lt;/employee_emp_fname&gt;&lt;employee_emp_mname&gt;emp_mname&lt;/employee_emp_mname&gt;&lt;employee_emp_lname&gt;emp_lname&lt;/employee_emp_lname&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
...@@ -6,30 +6,27 @@ summary(height=0 color="536870912" ) ...@@ -6,30 +6,27 @@ summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=23 color="536870912" ) detail(height=23 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_code dbname="employee_bond.emp_code" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_code dbname="employee_bond.emp_code" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="employee_bond.line_no" ) column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="employee_bond.line_no" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=bond_prd dbname="employee_bond.bond_prd" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=bond_prd dbname="employee_bond.bond_prd" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=bond_amt dbname="employee_bond.bond_amt" ) column=(type=decimal(3) update=yes updatewhereclause=yes name=bond_amt dbname="employee_bond.bond_amt" )
column=(type=char(5) updatewhereclause=yes name=emp_site dbname="employee.emp_site" ) column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond.chg_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_bond.emp_code~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_mname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee_bond.line_no~") COLUMN(NAME=~"employee_bond.bond_prd~") COLUMN(NAME=~"employee_bond.bond_amt~") COLUMN(NAME=~"employee.emp_site~") JOIN (LEFT=~"employee_bond.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )) " update="employee_bond" updatewhere=0 updatekeyinplace=no ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond.chg_user" )
text(band=header alignment="0" text="Employee Code" border="6" color="33554432" x="2" y="2" height="16" width="102" html.valueishtml="0" name=emp_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond.chg_term" )
text(band=header alignment="0" text="First Name" border="6" color="33554432" x="106" y="2" height="16" width="88" html.valueishtml="0" name=emp_fname_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond~" ) COLUMN(NAME=~"employee_bond.emp_code~") COLUMN(NAME=~"employee_bond.line_no~") COLUMN(NAME=~"employee_bond.bond_prd~") COLUMN(NAME=~"employee_bond.bond_amt~") COLUMN(NAME=~"employee_bond.chg_date~") COLUMN(NAME=~"employee_bond.chg_user~") COLUMN(NAME=~"employee_bond.chg_term~")) " update="employee_bond" updatewhere=1 updatekeyinplace=no )
text(band=header alignment="0" text="Middle Name" border="6" color="33554432" x="196" y="2" height="16" width="88" html.valueishtml="0" name=emp_mname_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Employee Code" border="0" color="33554432" x="2" y="2" height="16" width="113" html.valueishtml="0" name=emp_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Last Name" border="6" color="33554432" x="286" y="2" height="16" width="88" html.valueishtml="0" name=emp_lname_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Line No" border="0" color="33554432" x="117" y="2" height="16" width="76" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="1" text="Line No" border="6" color="33554432" x="376" y="2" height="16" width="51" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Bond Prd" border="0" color="33554432" x="195" y="2" height="16" width="81" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="1" text="Bond Period" border="6" color="33554432" x="429" y="2" height="16" width="108" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Bond Amt" border="0" color="33554432" x="278" y="2" height="16" width="103" html.valueishtml="0" name=bond_amt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="1" text="Bond Amount" border="6" color="33554432" x="539" y="2" height="16" width="126" html.valueishtml="0" name=bond_amt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="2" y="2" height="19" width="113" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Site Code" border="6" color="33554432" x="667" y="2" height="16" width="80" html.valueishtml="0" name=emp_site_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=2 alignment="1" tabsequence=20 border="0" color="33554432" x="117" y="2" height="19" width="76" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="19" width="102" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=3 alignment="1" tabsequence=30 border="0" color="33554432" x="195" y="2" height="19" width="81" format="[general]" html.valueishtml="0" name=bond_prd visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="106" y="2" height="19" width="88" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=4 alignment="1" tabsequence=40 border="0" color="33554432" x="278" y="2" height="19" width="103" format="[general]" html.valueishtml="0" name=bond_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="33554432" x="196" y="2" height="19" width="88" format="[general]" html.valueishtml="0" name=emp_mname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="384" y="1" height="16" width="77" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="33554432" x="286" y="2" height="19" width="88" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="464" y="1" height="16" width="77" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="1" tabsequence=50 border="5" color="33554432" x="376" y="2" height="19" width="51" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="544" y="1" height="16" width="88" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="1" tabsequence=60 border="5" color="33554432" x="429" y="2" height="19" width="108" format="[general]" html.valueishtml="0" name=bond_prd visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Chg Date" border="0" color="33554432" x="383" y="1" height="16" width="78" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=7 alignment="1" tabsequence=70 border="5" color="33554432" x="539" y="2" height="19" width="126" format="[general]" html.valueishtml="0" name=bond_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Chg User" border="0" color="33554432" x="463" y="1" height="16" width="78" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=8 alignment="0" tabsequence=80 border="5" color="33554432" x="667" y="2" height="19" width="80" format="[general]" html.valueishtml="0" name=emp_site visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Chg Term" border="0" color="33554432" x="543" y="1" height="16" width="89" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
$PBExportHeader$d_employee_bond21.srd $PBExportHeader$d_employee_bond21.srd
release 9; release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no ) datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" ) summary(height=129 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=265 color="536870912" ) detail(height=342 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_code dbname="employee_bond.emp_code" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_code dbname="employee_bond.emp_code" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="employee_bond.line_no" ) column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="employee_bond.line_no" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=bond_prd dbname="employee_bond.bond_prd" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=bond_prd dbname="employee_bond.bond_prd" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=bond_amt dbname="employee_bond.bond_amt" initial="0.00" ) column=(type=decimal(3) update=yes updatewhereclause=yes name=bond_amt dbname="employee_bond.bond_amt" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" ) column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" ) column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" ) column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=char(5) updatewhereclause=yes name=emp_site dbname="employee.emp_site" ) column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond.chg_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_bond.emp_code~") COLUMN(NAME=~"employee_bond.line_no~") COLUMN(NAME=~"employee_bond.bond_prd~") COLUMN(NAME=~"employee_bond.bond_amt~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_mname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee.emp_site~") JOIN (LEFT=~"employee_bond.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"employee_bond.emp_code~" OP =~"=~" EXP2 =~":as_emp_code~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee_bond.line_no~" OP =~"=~" EXP2 =~":ai_line_no~" ) ) ARG(NAME = ~"as_emp_code~" TYPE = string) ARG(NAME = ~"ai_line_no~" TYPE = number) " update="employee_bond" updatewhere=0 updatekeyinplace=no arguments=(("as_emp_code", string),("ai_line_no", number)) ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond.chg_user" )
groupbox(band=detail text="Basic"border="2" color="33554432" x="5" y="3" height="153" width="473" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond.chg_term" )
text(band=detail alignment="1" text="Bond Period :" border="0" color="33554432" x="19" y="84" height="16" width="88" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_bond.emp_code~") COLUMN(NAME=~"employee_bond.line_no~") COLUMN(NAME=~"employee_bond.bond_prd~") COLUMN(NAME=~"employee_bond.bond_amt~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_mname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee_bond.chg_date~") COLUMN(NAME=~"employee_bond.chg_user~") COLUMN(NAME=~"employee_bond.chg_term~") JOIN (LEFT=~"employee_bond.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"employee_bond.emp_code~" OP =~"=~" EXP2 =~":emp_code~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee_bond.line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"emp_code~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="employee_bond" updatewhere=0 updatekeyinplace=no arguments=(("emp_code", string),("line_no", number)) )
text(band=detail alignment="1" text="Line No :" border="0" color="33554432" x="19" y="60" height="16" width="88" html.valueishtml="0" name=employee_bond_line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) groupbox(band=detail text="Basic"border="2" color="33554432" x="7" y="5" height="106" width="618" name=gb_1 visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Employee :" border="0" color="33554432" x="19" y="36" height="16" width="88" html.valueishtml="0" name=emp_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="141" y="37" height="16" width="90" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="112" y="36" height="16" width="90" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=2 alignment="1" tabsequence=20 border="5" color="33554432" x="141" y="61" height="16" width="90" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="207" y="36" height="16" width="80" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Empployee Code:" border="0" color="33554432" x="13" y="36" height="16" width="122" html.valueishtml="0" name=emp_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="290" y="36" height="16" width="80" format="[general]" html.valueishtml="0" name=emp_mname visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="13" y="61" height="16" width="122" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="373" y="36" height="16" width="80" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Bond Amount:" border="0" color="33554432" x="13" y="86" height="16" width="122" html.valueishtml="0" name=bond_amt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="1" tabsequence=20 border="5" color="33554432" x="112" y="84" height="16" width="90" format="#0" html.valueishtml="0" name=bond_prd visible="1" edit.limit=2 edit.case=upper edit.format="#0" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=4 alignment="1" tabsequence=30 border="5" color="33554432" x="141" y="85" height="16" width="90" format="[general]" html.valueishtml="0" name=bond_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="33554432" x="112" y="60" height="16" width="90" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Bond Period:" border="0" color="33554432" x="238" y="85" height="16" width="200" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Amount :" border="0" color="33554432" x="246" y="84" height="16" width="112" html.valueishtml="0" name=employee_bond_bond_amt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=3 alignment="1" tabsequence=40 border="5" color="33554432" x="443" y="85" height="16" width="90" format="[general]" html.valueishtml="0" name=bond_prd visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Site Code :" border="0" color="33554432" x="280" y="60" height="16" width="78" html.valueishtml="0" name=emp_site_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) groupbox(band=detail text="Other"border="2" color="33554432" x="7" y="121" height="51" width="620" name=gb_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=4 alignment="1" tabsequence=30 border="5" color="33554432" x="363" y="84" height="16" width="90" format="##,###,##0.00" html.valueishtml="0" name=bond_amt visible="1" edit.limit=13 edit.case=any edit.format="##,###,##0.00" edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=detail alignment="0" text="Change Date :" border="0" color="33554432" x="14" y="142" height="16" width="90" html.valueishtml="0" name=t_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="363" y="60" height="16" width="90" format="[general]" html.valueishtml="0" name=emp_site visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="236" y="36" height="16" width="120" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="363" y="36" height="16" width="120" format="[general]" html.valueishtml="0" name=emp_mname visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="490" y="36" height="16" width="120" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="109" y="142" height="16" width="100" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="0" text="Change User :" border="0" color="33554432" x="218" y="141" height="16" width="83" html.valueishtml="0" name=t_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="0" text="Change Term :" border="0" color="33554432" x="414" y="141" height="16" width="85" html.valueishtml="0" name=t_3 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="307" y="141" height="16" width="100" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="506" y="141" height="16" width="100" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_employee_bond21" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><employee_bond_emp_code>emp_code</employee_bond_emp_code><employee_bond_line_no>line_no</employee_bond_line_no><employee_bond_bond_prd>bond_prd</employee_bond_bond_prd><employee_bond_bond_amt>bond_amt</employee_bond_bond_amt><employee_emp_fname>emp_fname</employee_emp_fname><employee_emp_mname>emp_mname</employee_emp_mname><employee_emp_lname>emp_lname</employee_emp_lname></untitled_row></untitled>")) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_employee_bond21" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><employee_bond_emp_code>emp_code</employee_bond_emp_code><employee_bond_line_no>line_no</employee_bond_line_no><employee_bond_bond_prd>bond_prd</employee_bond_bond_prd><employee_bond_bond_amt>bond_amt</employee_bond_bond_amt><employee_emp_fname>emp_fname</employee_emp_fname><employee_emp_mname>emp_mname</employee_emp_mname><employee_emp_lname>emp_lname</employee_emp_lname></untitled_row></untitled>"))
......
package ibase.webitm.ejb.adm; package ibase.webitm.ejb.adm;
import ibase.system.config.ConnDriver; //import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.GenericUtility; import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
...@@ -14,10 +16,11 @@ import org.w3c.dom.Document; ...@@ -14,10 +16,11 @@ import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList; import org.w3c.dom.NodeList;
import javax.ejb.Stateless; //import javax.ejb.Stateless;
//Modified By Dipesh on[12/08/2019][Start]
@Stateless //@Stateless
//Modified By Dipesh on[12/08/2019][End]
public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,EmpBondAmountRemote public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,EmpBondAmountRemote
{ {
public String wfValData() throws RemoteException,ITMException public String wfValData() throws RemoteException,ITMException
...@@ -37,11 +40,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -37,11 +40,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
Document dom = null; Document dom = null;
Document dom1 = null; Document dom1 = null;
Document dom2 = null; Document dom2 = null;
NodeList parentNodeList = null; //NodeList parentNodeList = null;
NodeList childNodeList = null; //NodeList childNodeList = null;
Node parentNode = null; //Node parentNode = null;
Node childNode = null; //Node childNode = null;
String childNodeName = ""; //String childNodeName = "";
System.out.println("\n\n xmlString in wfValData \n:" + xmlString + "\n"); System.out.println("\n\n xmlString in wfValData \n:" + xmlString + "\n");
System.out.println("\n\n xmlString1 in wfValData \n :" + xmlString1 +"\n"); System.out.println("\n\n xmlString1 in wfValData \n :" + xmlString1 +"\n");
...@@ -131,6 +134,10 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -131,6 +134,10 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
Node childNode = null; Node childNode = null;
int ctr = 0,cnt = 0; int ctr = 0,cnt = 0;
String childNodeName = null; String childNodeName = null;
//Modified By Dipesh on[12/08/2019][Start]
ITMDBAccessEJB itmDbAccess = null;
E12GenericUtility genericUtility = new E12GenericUtility();
//Modified By Dipesh on[12/08/2019][End]
String errString = ""; String errString = "";
String errCode = ""; String errCode = "";
Connection conn = null; Connection conn = null;
...@@ -138,25 +145,35 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -138,25 +145,35 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
ResultSet rs = null; ResultSet rs = null;
String sql = ""; String sql = "";
String userId = ""; String userId = "";
int currentFormNo=0,i=0; int currentFormNo=0;
//int i=0;
int childNodeListLength; int childNodeListLength;
//Modified by Rahul Shenoy on 22/07/2015 [Initialized Integers bondprdInt and bondamtDouble].Start //Modified by Rahul Shenoy on 22/07/2015 [Initialized Integers bondprdInt and bondamtDouble].Start
int bondprdInt = 0; int bondprdInt = 0;
double bondamtDouble = 0; double bondamtDouble = 0;
//Modified by Rahul Shenoy on 22/07/2015 [Initialized Integers bondprdInt and bondamtDouble].End //Modified by Rahul Shenoy on 22/07/2015 [Initialized Integers bondprdInt and bondamtDouble].End
String empCode="",bondamt="",bondprd="",siteCode = "",lineno=""; String empCode = "";
String bondamt = "";
String bondprd = "";
String siteCode = "";
String lineno = "";
try try
{ {
ConnDriver connDriver = new ConnDriver(); //Modified By Dipesh on[12/08/2019][Start]
GenericUtility genericUtility = GenericUtility.getInstance(); //ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //GenericUtility genericUtility = GenericUtility.getInstance();
conn.setAutoCommit(false); //conn = connDriver.getConnectDB("DriverITM");
connDriver = null; //connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode"); //userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
conn = getConnection();
conn.setAutoCommit(false);
genericUtility = new E12GenericUtility();
itmDbAccess =new ITMDBAccessEJB();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
//Modified By Dipesh on[12/08/2019][End]
if(objContext != null && objContext.trim().length() > 0) if(objContext != null && objContext.trim().length() > 0)
{ {
...@@ -178,94 +195,134 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -178,94 +195,134 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
if (childNodeName.equalsIgnoreCase("emp_code")) if (childNodeName.equalsIgnoreCase("emp_code"))
{ {
System.out.println("in emp_code item change -->>"); System.out.println("in emp_code item change -->>");
empCode = getColumnValue("emp_code",dom); //Modified By Dipesh on[12/08/2019][Start]
//empCode = getColumnValue("emp_code",dom);
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
//Modified By Dipesh on[12/08/2019][End]
if (empCode == null || empCode.trim().length() == 0 ) if (empCode == null || empCode.trim().length() == 0 )
{ {
errCode = "VNULEMPC"; errCode = "VNULEMPC";
errString = getErrorString("emp_code",errCode,userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("emp_code",errCode,userId);
errString = itmDbAccess.getErrorString("emp_code", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
else else
{ {
String empSiteDB = ""; String empSiteDB = "";
String empSiteDOM = ""; String empSiteDOM = "";
//sql = "select count(1) from employee where emp_code = ? "; //sql = "select count(1) from employee where emp_code = ? ";
sql = "select emp_site , count(1) from employee where emp_code = ? group by emp_site"; sql = "select emp_site , count(1) from employee where emp_code = ? group by emp_site";
pstmt=conn.prepareStatement(sql); pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode); pstmt.setString(1,empCode);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if(rs.next()) if(rs.next())
{ {
empSiteDB = rs.getString(1); empSiteDB = rs.getString(1);
cnt = rs.getInt(2); cnt = rs.getInt(2);
} }
//Modified By Dipesh on[12/08/2019][Start]
pstmt.close(); //pstmt.close();
//rs.close();
//pstmt = null;
//rs = null;
if (rs != null)
{
rs.close(); rs.close();
pstmt = null;
rs = null; rs = null;
if(cnt == 0) }
{ if (pstmt != null)
errCode = "VMEMPCD1"; {
errString = getErrorString("emp_code",errCode,userId); pstmt.close();
pstmt = null;
break; }
} //Modified By Dipesh on[12/08/2019][End]
empSiteDOM = getColumnValue("emp_site",dom); if(cnt == 0)
empSiteDOM = empSiteDOM == null?"":empSiteDOM.trim(); {
empSiteDB = empSiteDB == null?"":empSiteDB.trim(); errCode = "VMEMPCD1";
if (!empSiteDOM.equalsIgnoreCase(empSiteDB)) //Modified By Dipesh on[12/08/2019][Start]
{ //errString = getErrorString("emp_code",errCode,userId);
errCode = "VMEMPBND01"; errString = itmDbAccess.getErrorString("emp_code", errCode, userId, "", conn);
errString = getErrorString("emp_code",errCode,userId); //Modified By Dipesh on[12/08/2019][End]
break; break;
} }
//Modified By Dipesh on[12/08/2019][Start]
//Modified by RAHUL SHENOY on 04/08/2015 [Validation for Employment Status].Start //empSiteDOM = getColumnValue("emp_site",dom);
String empStatus = ""; empSiteDOM = checkNull(genericUtility.getColumnValue("emp_site",dom));
sql ="select status from employee where emp_code = ?"; //Modified By Dipesh on[12/08/2019][End]
pstmt = conn.prepareStatement(sql); empSiteDOM = empSiteDOM == null?"":empSiteDOM.trim();
pstmt.setString(1,empCode); empSiteDB = empSiteDB == null?"":empSiteDB.trim();
rs = pstmt.executeQuery(); if (!empSiteDOM.equalsIgnoreCase(empSiteDB))
{
if(rs.next()) errCode = "VMEMPBND01";
{ //Modified By Dipesh on[12/08/2019][Start]
empStatus = rs.getString("status"); //errString = getErrorString("emp_code",errCode,userId);
} errString = itmDbAccess.getErrorString("emp_code", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break;
}
//Modified by RAHUL SHENOY on 04/08/2015 [Validation for Employment Status].Start
String empStatus = "";
sql ="select status from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empStatus = rs.getString("status");
}
//Modified By Dipesh on[12/08/2019][Start]
/*rs.close();
pstmt.close();
rs = null;
pstmt = null;*/
if (rs != null)
{
rs.close(); rs.close();
pstmt.close();
rs = null; rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null; pstmt = null;
}
if(empStatus != null && empStatus.trim().equalsIgnoreCase("S")) //Modified By Dipesh on[12/08/2019][End]
{ if(empStatus != null && empStatus.trim().equalsIgnoreCase("S"))
errCode = "VMEMPBND08"; {
errString = getErrorString("emp_code",errCode,userId); errCode = "VMEMPBND08";
break; //Modified By Dipesh on[12/08/2019][Start]
} //errString = getErrorString("emp_code",errCode,userId);
errString = itmDbAccess.getErrorString("emp_code", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
//Modified by RAHUL SHENOY on 04/08/2015 [Validation for Employment Status].End break;
}
//Modified by RAHUL SHENOY on 04/08/2015 [Validation for Employment Status].End
} }
} }
else if (childNodeName.equalsIgnoreCase("line_no")) else if (childNodeName.equalsIgnoreCase("line_no"))
{ {
System.out.println("in line_no item change -->>"); System.out.println("in line_no item change -->>");
lineno = getColumnValue("line_no",dom); //Modified By Dipesh on[12/08/2019][Start]
//lineno = getColumnValue("line_no",dom);
lineno = checkNull(genericUtility.getColumnValue("line_no",dom));
//Modified By Dipesh on[12/08/2019][End]
if (lineno == null || lineno.trim().length() == 0 ) if (lineno == null || lineno.trim().length() == 0 )
{ {
errCode = "VNULBLINE"; errCode = "VNULBLINE";
errString = getErrorString("line_no",errCode,userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("line_no",errCode,userId);
errString = itmDbAccess.getErrorString("line_no", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
else else
...@@ -283,56 +340,74 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -283,56 +340,74 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
{ {
cnt = rs.getInt(1); cnt = rs.getInt(1);
} }
pstmt.close(); //Modified By Dipesh on[12/08/2019][Start]
/*pstmt.close();
rs.close(); rs.close();
pstmt = null; pstmt = null;
rs = null; rs = null;*/
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
//Modified By Dipesh on[12/08/2019][End]
if(cnt > 0) if(cnt > 0)
{ {
errCode = "VETLINE"; errCode = "VETLINE";
errString = getErrorString("line_no",errCode,userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("line_no",errCode,userId);
errString = itmDbAccess.getErrorString("line_no", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
} }
} }
} }
else if (childNodeName.equalsIgnoreCase("bond_amt")) else if (childNodeName.equalsIgnoreCase("bond_amt"))
{ {
System.out.println("in bond_amt item change -->>"); System.out.println("in bond_amt item change -->>");
bondamt = getColumnValue("bond_amt",dom); //Modified By Dipesh on[12/08/2019][Start]
//bondamt = getColumnValue("bond_amt",dom);
bondamt = checkNull(genericUtility.getColumnValue("bond_amt",dom));
//Modified By Dipesh on[12/08/2019][End]
if (bondamt == null || bondamt.trim().length() == 0 ) if (bondamt == null || bondamt.trim().length() == 0 )
{ {
errCode = "VNULBAMT"; errCode = "VNULBAMT";
//Modified By Dipesh on[12/08/2019][Start]
errString = getErrorString("bond_amt",errCode,userId); errString = getErrorString("bond_amt",errCode,userId);
errString = itmDbAccess.getErrorString("bond_amt", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
//Modified by Rahul Shenoy on 22/07/2015 [Bond amount should be positive double value ].Start //Modified by Rahul Shenoy on 22/07/2015 [Bond amount should be positive double value ].Start
try try
{ {
bondamtDouble = Double.parseDouble(bondamt); bondamtDouble = Double.parseDouble(bondamt);
} }
catch(Exception e) catch(Exception e)
{ {
errCode = "VMEMPBND06"; errCode = "VMEMPBND06";
errString = getErrorString("bond_amt", errCode, userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("bond_amt", errCode, userId);
errString = itmDbAccess.getErrorString("bond_amt", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
if(bondamtDouble < 0) if(bondamtDouble < 0)
{ {
errCode = "VMEMPBND04"; errCode = "VMEMPBND04";
errString = getErrorString("bond_amt", errCode, userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("bond_amt", errCode, userId);
errString = itmDbAccess.getErrorString("bond_amt", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
...@@ -347,24 +422,31 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -347,24 +422,31 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
if(bondamtDouble == 0) if(bondamtDouble == 0)
{ {
errCode = "VMEMPBND07"; errCode = "VMEMPBND07";
errString = getErrorString("bond_amt",errCode,userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("bond_amt",errCode,userId);
errString = itmDbAccess.getErrorString("bond_amt", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
} }
//Modified by RAHUL SHENOY on 04/08/2015 [Bond amount should not be 0 when adding].End //Modified by RAHUL SHENOY on 04/08/2015 [Bond amount should not be 0 when adding].End
} }
else if (childNodeName.equalsIgnoreCase("bond_prd")) else if (childNodeName.equalsIgnoreCase("bond_prd"))
{ {
System.out.println("in ebond_prd item change -->>"); System.out.println("in ebond_prd item change -->>");
bondprd = getColumnValue("bond_prd",dom); //Modified By Dipesh on[12/08/2019][Start]
//bondprd = getColumnValue("bond_prd",dom);
bondprd = checkNull(genericUtility.getColumnValue("bond_prd",dom));
//Modified By Dipesh on[12/08/2019][End]
if (bondprd == null || bondprd.trim().length() == 0 ) if (bondprd == null || bondprd.trim().length() == 0 )
{ {
errCode = "VNULBPRD"; errCode = "VNULBPRD";
errString = getErrorString("bond_prd",errCode,userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("bond_prd",errCode,userId);
errString = itmDbAccess.getErrorString("bond_prd", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
//Modified by Rahul Shenoy on 22/07/2015 [Bond period should be an Integer greater than 0].Start //Modified by Rahul Shenoy on 22/07/2015 [Bond period should be an Integer greater than 0].Start
...@@ -375,30 +457,37 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -375,30 +457,37 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
catch(Exception e) catch(Exception e)
{ {
errCode = "VMEMPBND05"; errCode = "VMEMPBND05";
errString = getErrorString("bond_prd", errCode, userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmDbAccess.getErrorString("bond_prd", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
if(bondprdInt < 1) if(bondprdInt < 1)
{ {
errCode = "VMEMPBND03"; errCode = "VMEMPBND03";
errString = getErrorString("bond_prd", errCode, userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmDbAccess.getErrorString("bond_prd", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
//Modified by Rahul Shenoy on 22/07/2015 [Bond period should be an Integer greater than 0].End //Modified by Rahul Shenoy on 22/07/2015 [Bond period should be an Integer greater than 0].End
//Modified by Rahul Shenoy on 20-07-2015 [Validation for duplicate bond period entries].Start //Modified by Rahul Shenoy on 20-07-2015 [Validation for duplicate bond period entries].Start
sql = ""; sql = "";
int cntBondPrd = 0; int cntBondPrd = 0;
int lineNo = 0; int lineNo = 0;
String lineNoStr = "0"; String lineNoStr = "0";
PreparedStatement bondPstmt; PreparedStatement bondPstmt;
ResultSet bondRs; ResultSet bondRs;
//Modified By Dipesh on[12/08/2019][Start]
empCode = getColumnValue("emp_code",dom); /* empCode = getColumnValue("emp_code",dom);
lineNoStr = getColumnValue("line_no",dom); lineNoStr = getColumnValue("line_no",dom); */
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
lineNoStr = checkNull(genericUtility.getColumnValue("line_no",dom));
//Modified By Dipesh on[12/08/2019][End]
lineNoStr = lineNoStr == null || lineNoStr.trim().length() == 0?"0":lineNoStr.trim(); lineNoStr = lineNoStr == null || lineNoStr.trim().length() == 0?"0":lineNoStr.trim();
try try
{ {
...@@ -435,18 +524,17 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -435,18 +524,17 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
if(cntBondPrd > 0) if(cntBondPrd > 0)
{ {
errCode = "VMEMPBND02"; errCode = "VMEMPBND02";
errString = getErrorString("bond_prd", errCode, userId); //Modified By Dipesh on[12/08/2019][Start]
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmDbAccess.getErrorString("bond_prd", errCode, userId, "", conn);
//Modified By Dipesh on[12/08/2019][End]
break; break;
} }
//Modified by Rahul Shenoy on 20-07-2015 [Validation for duplicate bond entries].End //Modified by Rahul Shenoy on 20-07-2015 [Validation for duplicate bond entries].End
} }
}// for loop end }// for loop end
break; break;
} //end switch } //end switch
}//end try }//end try
...@@ -459,11 +547,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -459,11 +547,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
{ {
try try
{ {
if(conn!=null)
{
conn.close();
conn = null;
}
if(pstmt != null ) if(pstmt != null )
{ {
pstmt.close(); pstmt.close();
...@@ -474,6 +557,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -474,6 +557,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
rs.close(); rs.close();
rs = null; rs = null;
} }
if(conn!=null)
{
conn.close();
conn = null;
}
} }
catch(Exception d) catch(Exception d)
{ {
...@@ -514,18 +602,23 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -514,18 +602,23 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
NodeList parentNodeList = null; NodeList parentNodeList = null;
NodeList childNodeList = null; NodeList childNodeList = null;
Node parentNode = null; Node parentNode = null;
Node childNode = null; Node childNode = null;
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null ; ResultSet rs = null ;
int ctr=0;
String childNodeName = null; String childNodeName = null;
String columnValue = null; String columnValue = null;
int ctr=0;
int currentFormNo = 0; int currentFormNo = 0;
String sql = "",empfname = "", empmname = "", emplname = "",empCode=""; String loginSite = "";
String sql = "";
String empfname = "";
String empmname = "";
String emplname = "";
String empCode="";
//MODIFIED by RAHUL SHENOY on 17/7/2015 [Initializing the new parameters].START //MODIFIED by RAHUL SHENOY on 17/7/2015 [Initializing the new parameters].START
String maxSql=""; String maxSql="";
...@@ -533,23 +626,34 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -533,23 +626,34 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
PreparedStatement maxPstmt = null; PreparedStatement maxPstmt = null;
ResultSet maxRs = null; ResultSet maxRs = null;
//MODIFIED by RAHUL SHENOY on 17/7/2015 [Initializing the new parameters].END //MODIFIED by RAHUL SHENOY on 17/7/2015 [Initializing the new parameters].END
ConnDriver connDriver = new ConnDriver(); //ConnDriver connDriver = new ConnDriver();
//Modified By Dipesh on[12/08/2019][Start]
E12GenericUtility genericUtility = null;
//Modified By Dipesh on[12/08/2019][End]
try try
{ {
GenericUtility genericUtility = GenericUtility.getInstance(); //Modified By Dipesh on[12/08/2019][Start]
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat()); //GenericUtility genericUtility = GenericUtility.getInstance();
Timestamp timestamp = new Timestamp(System.currentTimeMillis()); genericUtility = new E12GenericUtility();
conn = connDriver.getConnectDB("DriverITM"); //Modified By Dipesh on[12/08/2019][End]
//SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
//Timestamp timestamp = new Timestamp(System.currentTimeMillis());
//Modified By Dipesh on[12/08/2019][Start]
//conn = connDriver.getConnectDB("DriverITM");
conn=getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver=null; //connDriver=null;
//Modified By Dipesh on[09/08/2019][End]
if(objContext != null && objContext.trim().length()>0) if(objContext != null && objContext.trim().length()>0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
} }
// Modified by Piyush on 18/07/2015[To set login site in emp_site column on adding].Start // Modified by Piyush on 18/07/2015[To set login site in emp_site column on adding].Start
String loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode"); loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
loginSite = loginSite == null?"":loginSite; loginSite = loginSite == null?"":loginSite;
System.out.println("loginSiteCode ::-"+loginSite); System.out.println("loginSiteCode ::-"+loginSite);
// Modified by Piyush on 18/07/2015[To set login site in emp_site column on adding].End // Modified by Piyush on 18/07/2015[To set login site in emp_site column on adding].End
...@@ -577,7 +681,8 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -577,7 +681,8 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
} }
} }
ctr++; ctr++;
}while(ctr < childNodeListLength && !childNodeName.equals(currentColumn)); }
while(ctr < childNodeListLength && !childNodeName.equals(currentColumn));
// Modified by Piyush on 18/07/2015[To set login site in emp_site column on adding].Start // Modified by Piyush on 18/07/2015[To set login site in emp_site column on adding].Start
if (currentColumn.trim().equals("itm_default")) if (currentColumn.trim().equals("itm_default"))
...@@ -587,8 +692,10 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -587,8 +692,10 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
// Modified by Piyush on 18/07/2015[To set login site in emp_site column on adding].End // Modified by Piyush on 18/07/2015[To set login site in emp_site column on adding].End
else if(currentColumn.trim().equalsIgnoreCase("emp_code")) else if(currentColumn.trim().equalsIgnoreCase("emp_code"))
{ {
//Modified By Dipesh on[12/08/2019][Start]
empCode = genericUtility.getColumnValue("emp_code",dom); //empCode = genericUtility.getColumnValue("emp_code",dom);
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
//Modified By Dipesh on[12/08/2019][End]
sql = " Select emp_fname,emp_mname,emp_lname from employee where emp_code= ?"; sql = " Select emp_fname,emp_mname,emp_lname from employee where emp_code= ?";
pstmt= conn.prepareStatement(sql); pstmt= conn.prepareStatement(sql);
...@@ -601,11 +708,22 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -601,11 +708,22 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
empmname = rs.getString(2) == null ? "" : rs.getString(2); empmname = rs.getString(2) == null ? "" : rs.getString(2);
emplname = rs.getString(3) == null ? "" : rs.getString(3); emplname = rs.getString(3) == null ? "" : rs.getString(3);
} }
//Modified By Dipesh on[12/08/2019][Start]
pstmt.close(); /*pstmt.close();
rs.close(); rs.close();
pstmt = null; pstmt = null;
rs = null; rs = null;*/
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
//Modified By Dipesh on[12/08/2019][End]
//Modified by Rahul Shenoy on 17/7/2015 [for querying maximum value from table employee_bond ].START //Modified by Rahul Shenoy on 17/7/2015 [for querying maximum value from table employee_bond ].START
// Modified by Rahul on 21/07/2015 [Table name was wrongly specified] // Modified by Rahul on 21/07/2015 [Table name was wrongly specified]
...@@ -646,7 +764,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -646,7 +764,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
break; break;
}// end switch }// end switch
valueXmlString.append("</Root>"); valueXmlString.append("</Root>");
} }
catch(Exception e) catch(Exception e)
{ {
...@@ -657,11 +774,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -657,11 +774,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
{ {
try try
{ {
if(conn!=null)
{
conn.close();
conn = null;
}
if(pstmt != null) if(pstmt != null)
{ {
pstmt.close(); pstmt.close();
...@@ -672,6 +784,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -672,6 +784,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
rs.close(); rs.close();
rs = null; rs = null;
} }
if(conn!=null)
{
conn.close();
conn = null;
}
//Modified by Rahul Shenoy on 17/7/2015 [Closing connections for created resources].START //Modified by Rahul Shenoy on 17/7/2015 [Closing connections for created resources].START
if(maxRs != null) if(maxRs != null)
{ {
...@@ -694,5 +811,14 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em ...@@ -694,5 +811,14 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
System.out.println("Return xml ---->>>>"+valueXmlString.toString()); System.out.println("Return xml ---->>>>"+valueXmlString.toString());
return valueXmlString.toString(); return valueXmlString.toString();
} }
//Modified By Dipesh on[12/08/2019][Start]
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
//Modified By Dipesh on[12/08/2019][End]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment