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';
......@@ -56,24 +56,6 @@
<name>emp_code</name>
<dbname>employee_bond.emp_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_mname</name>
<dbname>employee.emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
......@@ -97,26 +79,41 @@
<dbname>employee_bond.bond_amt</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_site</name>
<dbname>employee.emp_site</dbname>
<name>chg_date</name>
<dbname>employee_bond.chg_date</dbname>
</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.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>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>employee_bond.chg_user</dbname>
</table_column>
<table_column>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>employee_bond.chg_term</dbname>
</table_column>
<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>
<update>employee_bond</update>
<updatewhere>0</updatewhere>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<alignment>2</alignment>
<text>Employee Code</text>
<border>6</border>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>102</width>
<width>113</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -131,52 +128,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>First Name</text>
<border>6</border>
<color>33554432</color>
<x>106</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname_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>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Middle Name</text>
<border>6</border>
<alignment>2</alignment>
<text>Line No</text>
<border>0</border>
<color>33554432</color>
<x>196</x>
<x>117</x>
<y>2</y>
<height>16</height>
<width>88</width>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname_t</name>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -187,24 +156,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Last Name</text>
<border>6</border>
<alignment>2</alignment>
<text>Bond Prd</text>
<border>0</border>
<color>33554432</color>
<x>286</x>
<x>195</x>
<y>2</y>
<height>16</height>
<width>88</width>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_t</name>
<name>bond_prd_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -215,24 +184,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Line No</text>
<border>6</border>
<alignment>2</alignment>
<text>Bond Amt</text>
<border>0</border>
<color>33554432</color>
<x>376</x>
<x>278</x>
<y>2</y>
<height>16</height>
<width>51</width>
<width>103</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<name>bond_amt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -243,92 +212,92 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Period</text>
<border>6</border>
<alignment>0</alignment>
<text>Chg Date</text>
<border>0</border>
<color>33554432</color>
<x>429</x>
<y>2</y>
<x>383</x>
<y>1</y>
<height>16</height>
<width>108</width>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd_t</name>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Bond Amount</text>
<border>6</border>
<alignment>0</alignment>
<text>Chg User</text>
<border>0</border>
<color>33554432</color>
<x>539</x>
<y>2</y>
<x>462</x>
<y>1</y>
<height>16</height>
<width>126</width>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt_t</name>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Site Code</text>
<border>6</border>
<text>Chg Term</text>
<border>0</border>
<color>33554432</color>
<x>667</x>
<y>2</y>
<x>541</x>
<y>1</y>
<height>16</height>
<width>80</width>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site_t</name>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
......@@ -336,12 +305,12 @@
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>19</height>
<width>102</width>
<width>113</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -365,32 +334,33 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<border>0</border>
<color>33554432</color>
<x>106</x>
<x>117</x>
<y>2</y>
<height>19</height>
<width>88</width>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -402,32 +372,33 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<border>0</border>
<color>33554432</color>
<x>196</x>
<x>195</x>
<y>2</y>
<height>19</height>
<width>88</width>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname</name>
<name>bond_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -439,32 +410,33 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<border>0</border>
<color>33554432</color>
<x>286</x>
<x>278</x>
<y>2</y>
<height>19</height>
<width>88</width>
<width>103</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<name>bond_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -476,33 +448,32 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>376</x>
<y>2</y>
<height>19</height>
<width>51</width>
<format>[general]</format>
<x>383</x>
<y>1</y>
<height>16</height>
<width>77</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -514,33 +485,32 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>429</x>
<y>2</y>
<height>19</height>
<width>108</width>
<x>462</x>
<y>1</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd</name>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -552,64 +522,26 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>539</x>
<y>2</y>
<height>19</height>
<width>126</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>667</x>
<y>2</y>
<height>19</height>
<width>80</width>
<x>541</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -627,8 +559,8 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
......
......@@ -31,7 +31,7 @@
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<height>129</height>
<color>536870912</color>
</Summary>
<Footer>
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>265</height>
<height>342</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -72,7 +72,6 @@
<updatewhereclause>yes</updatewhereclause>
<name>bond_amt</name>
<dbname>employee_bond.bond_amt</dbname>
<initial>0.00</initial>
</table_column>
<table_column>
<type size="15">char</type>
......@@ -92,22 +91,43 @@
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>employee_bond.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>employee_bond.chg_user</dbname>
</table_column>
<table_column>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>employee_bond.chg_term</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_site</name>
<dbname>employee.emp_site</dbname>
</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>
<update>employee_bond</update>
<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>
<update>EMPLOYEE_BOND</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>as_emp_code</name>
<name>emp_code</name>
<type>string</type>
</argument>
<argument>
<name>ai_line_no</name>
<name>line_no</name>
<type>number</type>
</argument>
</TableDefinition>
......@@ -116,12 +136,50 @@
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>5</x>
<y>3</y>
<height>153</height>
<width>473</width>
<x>7</x>
<y>5</y>
<height>106</height>
<width>618</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>141</x>
<y>37</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -132,23 +190,61 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>16777215</color>
</background>
</GroupBox>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>141</x>
<y>61</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Period :</text>
<text>Empployee Code:</text>
<border>0</border>
<color>33554432</color>
<x>19</x>
<y>84</y>
<x>13</x>
<y>36</y>
<height>16</height>
<width>88</width>
<width>122</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd_t</name>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -166,17 +262,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No :</text>
<text>Line No:</text>
<border>0</border>
<color>33554432</color>
<x>19</x>
<y>60</y>
<x>13</x>
<y>61</y>
<height>16</height>
<width>88</width>
<width>122</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_bond_line_no_t</name>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -194,17 +290,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee :</text>
<text>Bond Amount:</text>
<border>0</border>
<color>33554432</color>
<x>19</x>
<y>36</y>
<x>13</x>
<y>86</y>
<height>16</height>
<width>88</width>
<width>122</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<name>bond_amt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -221,26 +317,27 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<id>4</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>112</x>
<y>36</y>
<x>141</x>
<y>85</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<name>bond_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<limit>14</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -256,25 +353,53 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Period:</text>
<border>0</border>
<color>33554432</color>
<x>238</x>
<y>85</y>
<height>16</height>
<width>200</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd_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>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<id>3</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>207</x>
<y>36</y>
<x>443</x>
<y>85</y>
<height>16</height>
<width>80</width>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<name>bond_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<limit>2</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -290,26 +415,78 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<GroupBox>
<band>Detail</band>
<text>Other</text>
<border>2</border>
<color>33554432</color>
<x>7</x>
<y>121</y>
<height>83</height>
<width>620</width>
<name>gb_2</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>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Change Date :</text>
<border>0</border>
<color>33554432</color>
<x>14</x>
<y>142</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_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>6</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>290</x>
<color>255</color>
<x>236</x>
<y>36</y>
<height>16</height>
<width>80</width>
<width>120</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname</name>
<name>emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
......@@ -334,20 +511,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>373</x>
<color>255</color>
<x>363</x>
<y>36</y>
<height>16</height>
<width>80</width>
<width>120</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<name>emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
......@@ -372,25 +549,24 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>112</x>
<y>84</y>
<color>255</color>
<x>490</x>
<y>36</y>
<height>16</height>
<width>90</width>
<format>#0</format>
<width>120</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_prd</name>
<name>emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>2</limit>
<case>upper</case>
<format>#0</format>
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -405,33 +581,32 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>112</x>
<y>60</y>
<color>255</color>
<x>109</x>
<y>142</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<width>100</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -449,18 +624,18 @@
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Bond Amount :</text>
<alignment>0</alignment>
<text>Change User :</text>
<border>0</border>
<color>33554432</color>
<x>246</x>
<y>84</y>
<x>218</x>
<y>141</y>
<height>16</height>
<width>112</width>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_bond_bond_amt_t</name>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -472,23 +647,23 @@
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code :</text>
<alignment>0</alignment>
<text>Change Term :</text>
<border>0</border>
<color>33554432</color>
<x>280</x>
<y>60</y>
<x>414</x>
<y>141</y>
<height>16</height>
<width>78</width>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site_t</name>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -500,30 +675,29 @@
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>363</x>
<y>84</y>
<color>255</color>
<x>307</x>
<y>141</y>
<height>16</height>
<width>90</width>
<format>##,###,##0.00</format>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bond_amt</name>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>13</limit>
<limit>0</limit>
<case>any</case>
<format>##,###,##0.00</format>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
......@@ -537,26 +711,26 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>363</x>
<y>60</y>
<color>255</color>
<x>506</x>
<y>141</y>
<height>16</height>
<width>90</width>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -578,6 +752,63 @@
<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>
......
......@@ -6,30 +6,27 @@ summary(height=0 color="536870912" )
footer(height=0 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" )
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 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=char(5) updatewhereclause=yes name=emp_site dbname="employee.emp_site" )
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 )
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" )
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" )
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="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="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="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="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" )
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=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=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=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=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=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=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" )
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" )
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" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond.chg_user" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond.chg_term" )
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="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="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="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="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" )
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" )
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=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=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=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=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=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" )
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" )
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" )
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" )
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 )
......
$PBExportHeader$d_employee_bond21.srd
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 )
summary(height=0 color="536870912" )
summary(height=129 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" )
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(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_mname dbname="employee.emp_mname" )
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" )
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)) )
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" )
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" )
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" )
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="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=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" )
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" )
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" )
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=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 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" )
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" )
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" )
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=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond.chg_user" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond.chg_term" )
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)) )
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" )
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=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" )
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" )
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" )
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=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" )
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" )
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" )
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" )
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=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" )
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>"))
......
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.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
......@@ -14,10 +16,11 @@ import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.ejb.Stateless;
//import javax.ejb.Stateless;
@Stateless
//Modified By Dipesh on[12/08/2019][Start]
//@Stateless
//Modified By Dipesh on[12/08/2019][End]
public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,EmpBondAmountRemote
{
public String wfValData() throws RemoteException,ITMException
......@@ -37,11 +40,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
Document dom = null;
Document dom1 = null;
Document dom2 = null;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = "";
//NodeList parentNodeList = null;
//NodeList childNodeList = null;
//Node parentNode = null;
//Node childNode = null;
//String childNodeName = "";
System.out.println("\n\n xmlString in wfValData \n:" + xmlString + "\n");
System.out.println("\n\n xmlString1 in wfValData \n :" + xmlString1 +"\n");
......@@ -131,6 +134,10 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
Node childNode = null;
int ctr = 0,cnt = 0;
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 errCode = "";
Connection conn = null;
......@@ -138,25 +145,35 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
ResultSet rs = null;
String sql = "";
String userId = "";
int currentFormNo=0,i=0;
int currentFormNo=0;
//int i=0;
int childNodeListLength;
//Modified by Rahul Shenoy on 22/07/2015 [Initialized Integers bondprdInt and bondamtDouble].Start
int bondprdInt = 0;
double bondamtDouble = 0;
//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
{
ConnDriver connDriver = new ConnDriver();
GenericUtility genericUtility = GenericUtility.getInstance();
conn = connDriver.getConnectDB("DriverITM");
//Modified By Dipesh on[12/08/2019][Start]
//ConnDriver connDriver = new ConnDriver();
//GenericUtility genericUtility = GenericUtility.getInstance();
//conn = connDriver.getConnectDB("DriverITM");
//connDriver = null;
//userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
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)
{
......@@ -178,12 +195,18 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
if (childNodeName.equalsIgnoreCase("emp_code"))
{
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 )
{
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;
}
else
......@@ -201,25 +224,46 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
empSiteDB = rs.getString(1);
cnt = rs.getInt(2);
}
pstmt.close();
//Modified By Dipesh on[12/08/2019][Start]
//pstmt.close();
//rs.close();
//pstmt = null;
//rs = null;
if (rs != null)
{
rs.close();
pstmt = null;
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
//Modified By Dipesh on[12/08/2019][End]
if(cnt == 0)
{
errCode = "VMEMPCD1";
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;
}
empSiteDOM = getColumnValue("emp_site",dom);
//Modified By Dipesh on[12/08/2019][Start]
//empSiteDOM = getColumnValue("emp_site",dom);
empSiteDOM = checkNull(genericUtility.getColumnValue("emp_site",dom));
//Modified By Dipesh on[12/08/2019][End]
empSiteDOM = empSiteDOM == null?"":empSiteDOM.trim();
empSiteDB = empSiteDB == null?"":empSiteDB.trim();
if (!empSiteDOM.equalsIgnoreCase(empSiteDB))
{
errCode = "VMEMPBND01";
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;
}
......@@ -235,37 +279,50 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
{
empStatus = rs.getString("status");
}
rs.close();
//Modified By Dipesh on[12/08/2019][Start]
/*rs.close();
pstmt.close();
rs = null;
pstmt = null;*/
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
//Modified By Dipesh on[12/08/2019][End]
if(empStatus != null && empStatus.trim().equalsIgnoreCase("S"))
{
errCode = "VMEMPBND08";
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;
}
//Modified by RAHUL SHENOY on 04/08/2015 [Validation for Employment Status].End
}
}
else if (childNodeName.equalsIgnoreCase("line_no"))
{
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 )
{
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;
}
else
......@@ -283,56 +340,74 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
{
cnt = rs.getInt(1);
}
pstmt.close();
//Modified By Dipesh on[12/08/2019][Start]
/*pstmt.close();
rs.close();
pstmt = 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)
{
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;
}
}
}
}
else if (childNodeName.equalsIgnoreCase("bond_amt"))
{
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 )
{
errCode = "VNULBAMT";
//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;
}
//Modified by Rahul Shenoy on 22/07/2015 [Bond amount should be positive double value ].Start
try
{
bondamtDouble = Double.parseDouble(bondamt);
}
catch(Exception e)
{
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;
}
if(bondamtDouble < 0)
{
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;
}
......@@ -347,24 +422,31 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
if(bondamtDouble == 0)
{
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;
}
}
//Modified by RAHUL SHENOY on 04/08/2015 [Bond amount should not be 0 when adding].End
}
else if (childNodeName.equalsIgnoreCase("bond_prd"))
{
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 )
{
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;
}
//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
catch(Exception e)
{
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;
}
if(bondprdInt < 1)
{
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;
}
//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
sql = "";
int cntBondPrd = 0;
int lineNo = 0;
String lineNoStr = "0";
PreparedStatement bondPstmt;
ResultSet bondRs;
empCode = getColumnValue("emp_code",dom);
lineNoStr = getColumnValue("line_no",dom);
//Modified By Dipesh on[12/08/2019][Start]
/* empCode = getColumnValue("emp_code",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();
try
{
......@@ -435,18 +524,17 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
if(cntBondPrd > 0)
{
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;
}
//Modified by Rahul Shenoy on 20-07-2015 [Validation for duplicate bond entries].End
}
}// for loop end
break;
} //end switch
}//end try
......@@ -459,11 +547,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
{
try
{
if(conn!=null)
{
conn.close();
conn = null;
}
if(pstmt != null )
{
pstmt.close();
......@@ -474,6 +557,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
rs.close();
rs = null;
}
if(conn!=null)
{
conn.close();
conn = null;
}
}
catch(Exception d)
{
......@@ -514,18 +602,23 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null ;
int ctr=0;
String childNodeName = null;
String columnValue = null;
int ctr=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
String maxSql="";
......@@ -533,23 +626,34 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
PreparedStatement maxPstmt = null;
ResultSet maxRs = null;
//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
{
GenericUtility genericUtility = GenericUtility.getInstance();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
Timestamp timestamp = new Timestamp(System.currentTimeMillis());
conn = connDriver.getConnectDB("DriverITM");
//Modified By Dipesh on[12/08/2019][Start]
//GenericUtility genericUtility = GenericUtility.getInstance();
genericUtility = new E12GenericUtility();
//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);
connDriver=null;
//connDriver=null;
//Modified By Dipesh on[09/08/2019][End]
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
// 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;
System.out.println("loginSiteCode ::-"+loginSite);
// 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
}
}
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
if (currentColumn.trim().equals("itm_default"))
......@@ -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
else if(currentColumn.trim().equalsIgnoreCase("emp_code"))
{
empCode = genericUtility.getColumnValue("emp_code",dom);
//Modified By Dipesh on[12/08/2019][Start]
//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= ?";
pstmt= conn.prepareStatement(sql);
......@@ -601,11 +708,22 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
empmname = rs.getString(2) == null ? "" : rs.getString(2);
emplname = rs.getString(3) == null ? "" : rs.getString(3);
}
pstmt.close();
//Modified By Dipesh on[12/08/2019][Start]
/*pstmt.close();
rs.close();
pstmt = 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 on 21/07/2015 [Table name was wrongly specified]
......@@ -646,7 +764,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
break;
}// end switch
valueXmlString.append("</Root>");
}
catch(Exception e)
{
......@@ -657,11 +774,6 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
{
try
{
if(conn!=null)
{
conn.close();
conn = null;
}
if(pstmt != null)
{
pstmt.close();
......@@ -672,6 +784,11 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
rs.close();
rs = null;
}
if(conn!=null)
{
conn.close();
conn = null;
}
//Modified by Rahul Shenoy on 17/7/2015 [Closing connections for created resources].START
if(maxRs != null)
{
......@@ -694,5 +811,14 @@ public class EmpBondAmount extends ValidatorEJB implements EmpBondAmountLocal,Em
System.out.println("Return xml ---->>>>"+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