Commit 0f29f95c authored by rtelang's avatar rtelang

*Added updated SQL, SRD, metadata and components of Change Bond Details menu [07-01-2020]

employee_bond_def11.xml
employee_bond_def12.xml
employee_bond_def21.xml
employee_bond_def22.xml
d_employee_bond_def11.srd
d_employee_bond_def12.srd
d_employee_bond_def21.srd
d_employee_bond_def22.srd
EmpBondDefault.java
EmpBondDefaultLocal.java
EmpBondDefConfirm.java
EmpBondDefinition.java
EmpBondDefinitionLocal.java
EmpBondDefinitionPrs.java
EmpBondDefinitionRemote.java
w_employee_bond_def.sql
ChangeBondDetails.png
ChangeBondDetailswht.png


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214726 ce508802-f39f-4f6c-b175-0d175dae99d5
parent deb22b95
---------------------------------------------------- EMPLOYEE_BOND Table
alter table EMPLOYEE_BOND
add TRAN_ID CHAR(10) not null;
alter table EMPLOYEE_BOND
add TRAN_ID__PVOUCH CHAR(10);
alter table EMPLOYEE_BOND
add LINE_NO__PVOUCH NUMBER(3);
alter table EMPLOYEE_BOND
add AD_CODE CHAR(5);
ALTER TABLE EMPLOYEE_BOND DROP CONSTRAINT EMPLOYEE_BOND_X;
ALTER TABLE EMPLOYEE_BOND ADD CONSTRAINT EMPLOYEE_BOND_X PRIMARY KEY(TRAN_ID,LINE_NO);
CREATE INDEX APPVISDEV.EMPLOYEE_BOND_I1 ON APPVISDEV.EMPLOYEE_BOND (EMP_CODE,AD_CODE);
CREATE INDEX APPVISDEV.EMPLOYEE_BOND_I2 ON APPVISDEV.EMPLOYEE_BOND (TRAN_ID__PVOUCH,LINE_NO__PVOUCH);
---------------------------------------------------- EMPLOYEE_BOND_DEF Table
alter table EMPLOYEE_BOND_DEF
add TRAN_ID__BOND CHAR(10);
alter table EMPLOYEE_BOND_DEF
add TRAN_ID__PVOUCH CHAR(10);
alter table EMPLOYEE_BOND_DEF
add LINE_NO__PVOUCH NUMBER(3);
alter table EMPLOYEE_BOND_DEF
add AD_CODE CHAR(5);
----------------------------------------------------- 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_def','2','2','A','_spsite_code,BD,_pptran_date,seq04',null,null,null,null,null,null,to_date('30-09-15','DD-MM-RR'),'BASE ','BASE ','0','SITE_CODE','confirmed','Y','N',null,null,null,'N','N','TRAN_ID','0','0',null,null,null,null,null,null,null,null,null,'0','EMPLOYEE_BOND_DEF','ADM','Employee Bond Definition',null,null,null,null,null,null,null,'EBONDF','F',null,null,null,null,null,'2',null,null,null,null,'0','3',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,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_employee_bond_def','Bond Definition','d_employee_bond_def11','d_employee_bond_def21',null,null,null,null,'1','F',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,'DetailForm.png',null,null,null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_employee_bond_def','Bond Detail','d_employee_bond_def12','d_employee_bond_def22',null,null,null,null,'2','T',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,'DetailForm.png',null,null,null,null);
-----------------Update Quaries+++
update OBJ_FORMS set DISP_METADATA =
'<html>
<span style="white-space: normal !important; word-break: break-word; "><b>{emp_fname} {emp_lname}({emp_code})</b> <br/>
AD Code :<b>({ad_code})</b> , Department : <b>({dept_code})</b> , Confirmed :<b> ({confirmed})</b> , Site Code :<b>({site_code}) , Date :<b>({date_to})</b>
</span>
<span style="float:right;"> <b> {tran_id} </b> <br/> {tran_date}</span>
</html>' where WIN_NAME= 'w_employee_bond_def' and FORM_NO = '1';
update OBJ_FORMS set disp_metadata='
<html>
<span style="white-space: normal !important; word-break: break-word; ">
Tran ID :<b>({tran_id})</b>
<br/>Bond Period :<b>({bond_prd})</b>, Bond Amount :<b>({bond_amt})</b>
</html>' where WIN_NAME='w_employee_bond_def' and FORM_NO = '2';
------------------------------------------------------ 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 ('ADM',2,10,7,0,0,'w_employee_bond_def','Change Bond Details','Change Bond Details','ADM.2.10.7.0.0',null,null,null,'T',null,null,null,'B',null,null,'B','0 ');
update ITM2MENU set ICON_PATH='ChangeBondDetails.png', CLOSE_ICON='ChangeBondDetailswht.png' where WIN_NAME='w_employee_bond_def';
----------------------------------------------------- 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_def',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_def',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_def',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_def',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);
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_def',5,'F','1','pre_confirm','Confirmation','Confirm','confirm.gif','1','2','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_def',6,'A','1','act_default','Default Data Action','Default','default.gif','2','3',null,'U',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth ',null,null,null,null,null,null,null,null);
-----------------Update Quaries
update OBJ_ACTIONS set IMAGE='ibase/resource/objaction/add.svg',DISPLAY_MODE='2' where OBJ_NAME='employee_bond_def' and TITLE = 'Add';
update OBJ_ACTIONS set IMAGE='ibase/resource/objaction/edit.svg',DISPLAY_MODE='2' where OBJ_NAME='employee_bond_def' and TITLE = 'Edit';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/Audit-trail.svg',RIGHTS_CHAR = 'X',SHOW_IN_PANEL = '1' ,DISPLAY_MODE = '2' where OBJ_NAME = 'employee_bond_def' and TITLE = 'View Audit';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/exprtExl.svg', SERVICE_CODE = 'a',INTERACTIVE = 'a', RIGHTS_CHAR = 'B', TITLE = 'Export2XLS',SERVICE_HANDLER = null,PLACEMENT = null, ACTION_TYPE = 'S',DISPLAY_MODE = '1' where OBJ_NAME = 'employee_bond_def' and (DESCRIPTION = 'Export Excel' OR DESCRIPTION = 'Export To Excel');
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/confirm.svg', DISPLAY_MODE = '1' where OBJ_NAME = 'employee_bond_def' and TITLE = 'Confirm';
update OBJ_ACTIONS set IMAGE = 'ibase/resource/objaction/default.svg' where OBJ_NAME = 'employee_bond_def' and TITLE = 'Default';
----------------------------------------------------- SYSTEM_EVENTS
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('employee_bond_def','act_default','1','act_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefault',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('employee_bond_def','audit_trail','1','project_audit_trail_adm',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0',null,null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('employee_bond_def','post_item_change','1','poic_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefinition',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('employee_bond_def','post_validate','1','post_gen_val',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','GenValidate',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('employee_bond_def','pre_confirm','1','prcm_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefConfirm',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('employee_bond_def','pre_save','1','prs_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefinitionPrs',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('employee_bond_def','pre_validate','1','prv_employee_bond_def',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth','2','0','EJB','EmpBondDefinition',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('employee_bond_def','export_excel','1','export_excel_adm',null,to_date('2018-03-06','RRRR-MM-DD'),'Vinuth ','Vinuth',null,null,null,null,null);
-----------------Update Quaries
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.EmpBondDefault' where OBJ_NAME='employee_bond_def' and EVENT_CODE='act_default';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.EmpBondDefinition' where OBJ_NAME='employee_bond_def' and EVENT_CODE='post_item_change';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.sys.GenValidate' where OBJ_NAME='employee_bond_def' and EVENT_CODE='post_validate';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.adv.EmpBondDefConfirm' where OBJ_NAME='employee_bond_def' and EVENT_CODE='pre_confirm';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.EmpBondDefinitionPrs' where OBJ_NAME='employee_bond_def' and EVENT_CODE='pre_save';
update SYSTEM_EVENTS set COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.EmpBondDefinition' where OBJ_NAME='employee_bond_def' and EVENT_CODE='pre_validate';
---------------------------------------------------- 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 ('act_employee_bond_def','Action for Default Data','http://localhost:9090/axis/services/ActionHandlerService','BASE','actionHandler','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('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_employee_bond_def','post item change','http://localhost:9090/axis/services/ValidatorService','BASE','itemChanged','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('prcm_employee_bond_def','Confirmation','http://localhost:9090/axis/services/ActionHandlerService','BASE','confirm','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('prs_employee_bond_def','Pre Save Activity','http://localhost:9090/axis/services/ValidatorService','BASE','preSave','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def','Validatation','http://localhost:9090/axis/services/ValidatorService','BASE','wfValData','String','S',null,null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('act_employee_bond_def',1,'COMPONENT_TYPE','I','Component Type','C.String',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','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 ('act_employee_bond_def',2,'COMPONENT_NAME','I','Component name','C.String',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','ibase.webitm.ejb.adm.adv.EmpBondDefault');
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 ('act_employee_bond_def',3,'ACTION_TYPE','I','Action Type','C.String',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','Default');
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 ('act_employee_bond_def',4,'XML_DATA_ALL','I','Action TyXML data of form no 1','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('act_employee_bond_def',5,'OBJ_CONTEXT','I','Object context','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('act_employee_bond_def',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','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_employee_bond_def',2,'COMPONENT_NAME','I','Component name','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','ibase.webitm.ejb.adm.EmpBondDefinition');
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_employee_bond_def',3,'XML_DATA','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',4,'XML_DATA_1','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',5,'XML_DATA_ALL','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',6,'OBJ_CONTEXT','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',7,'FOCUSED_COLUMN','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',8,'EDIT_FLAG','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',9,'XTRA_PARAMS','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('prcm_employee_bond_def',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('prcm_employee_bond_def',2,'COMPONENT_NAME','I','Component name','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('prcm_employee_bond_def',3,'<tran_id>',null,null,'B.String',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('prcm_employee_bond_def',4,'XTRA_PARAMS',null,null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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 ('prcm_employee_bond_def',5,'FORCED_FLAG',null,null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_employee_bond_def',2,'COMPONENT_NAME','I','Component name','S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth','ibase.webitm.ejb.adm.EmpBondDefinition');
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_employee_bond_def',3,'XML_DATA','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',4,'XML_DATA_1','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',5,'XML_DATA_ALL','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',6,'OBJ_CONTEXT','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',7,'EDIT_FLAG','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',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_employee_bond_def',8,'XTRA_PARAMS','I',null,'S',null,to_date('06-03-18','DD-MM-RR'),'Vinuth ','Vinuth',null);
---------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','ad_code','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','emp_code','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','itm_defaultedit','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','line_no__pvouch','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','tran_id__bond','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','1','tran_id__pvouch','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','2','bond_amt','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','2','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('employee_bond_def','2','line_no__ref','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 ('AD_CODE','W_EMPLOYEE_BOND_DEF','SELECT AD_CODE, DESCR FROM ALLWDEDN',null,'Allowance/Deduction',null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP','1',null,null,null,null,null,null,null,null,null,'2',null,'3','AdCodeImages','ad_code','descr','2',null,null,null,null,null,null,null);
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 ('TRAN_ID__BOND','W_EMPLOYEE_BOND_DEF','select TRAN_ID from EMPLOYEE_BOND where EMP_CODE = ''?''',null,'SITE',null,null,to_date('01-01-01','DD-MM-RR'),'BASE ','BASE','1',null,':emp_code',null,null,null,null,null,null,null,'2',null,'3','SiteImages','TRAN_ID','TRAN_ID','2',null,null,null,null,null,null,null);
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 ('TRAN_ID__PVOUCH','W_EMPLOYEE_BOND_DEF','select TRAN_ID from PAYR_VOUCHER where EMP_CODE = ''?''',null,'SITE',null,null,to_date('01-01-01','DD-MM-RR'),'BASE ','BASE','1',null,':emp_code',null,null,null,null,null,null,null,'2',null,'3','SiteImages','TRAN_ID','TRAN_ID','2',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 ('VTEBNDDF01','Invalid Tran ID Bond!','The Tran ID Bond entered is does not exist.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF02','Employee Mismatch!','The employee in which you want to make transaction is not the same in Employee Bond master.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF03','Record cannot be saved!','Another record with same Tran ID Bond which is unconfirmed already present.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF04','Invalid Tran ID Voucher!','The Tran ID Voucher entered is does not exist.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF05','Employee Mismatch!','The employee in which you want to make transaction is not the same in Payroll Voucher.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF06','Empty Line Number Voucher!','Line Number Voucher can not be empty.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF07','Invalid Line Number Voucher!','Line Number Voucher must be in integer.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF08','Invalid Line Number Voucher!','The Line number you have entered for the payroll voucher does not match.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF09','Record cannot be saved!','Another record with same Line number voucher which is unconfirmed already present.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF10','Empty AD code!','AD Code can not be empty.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF11','Invalid AD code!','The AD code entered is does not exist.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF12','Record cannot be saved!','Another record with same employee code and AD code which is unconfirmed already present.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF13','Record cannot be saved!','Definition already has been done for given payroll voucher.','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE ','PIYUSH',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 ('VTEBNDDF14','Inavlid Bond Amount!','Bond amount can not be greter than previous amount','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE','PIYUSH',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 ('VTEBNDDF51','Transetup not configured','Another transetup for is not configured.','E','Y',null,null,'A',to_date('27-09-18','DD-MM-RR'),'MANOHAR','SYSTEM ',null,'0');
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>67108864</color> <color>67108864</color>
<processing>1</processing> <processing>1</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>20</height> <height>20</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>17</height> <height>17</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>employee_bond_def.tran_id</dbname> <dbname>employee_bond_def.tran_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>tran_date</name> <name>tran_date</name>
<dbname>employee_bond_def.tran_date</dbname> <dbname>employee_bond_def.tran_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>site_code</name> <name>site_code</name>
<dbname>employee_bond_def.site_code</dbname> <dbname>employee_bond_def.site_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_code</name> <name>emp_code</name>
<dbname>employee_bond_def.emp_code</dbname> <dbname>employee_bond_def.emp_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="1">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>confirmed</name> <name>confirmed</name>
<dbname>employee_bond_def.confirmed</dbname> <dbname>employee_bond_def.confirmed</dbname>
</table_column> <values>
<table_column> <item display="Yes" data="Y"/>
<type>datetime</type> <item display="No" data="N"/>
<update>yes</update> </values>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>conf_date</name> <table_column>
<dbname>employee_bond_def.conf_date</dbname> <type>datetime</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="10">char</type> <name>conf_date</name>
<update>yes</update> <dbname>employee_bond_def.conf_date</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>emp_code__aprv</name> <table_column>
<dbname>employee_bond_def.emp_code__aprv</dbname> <type size="10">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="10">char</type> <name>emp_code__aprv</name>
<update>yes</update> <dbname>employee_bond_def.emp_code__aprv</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>chg_user</name> <table_column>
<dbname>employee_bond_def.chg_user</dbname> <type size="10">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="15">char</type> <name>chg_user</name>
<update>yes</update> <dbname>employee_bond_def.chg_user</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>chg_term</name> <table_column>
<dbname>employee_bond_def.chg_term</dbname> <type size="300">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type>datetime</type> <name>chg_term</name>
<update>yes</update> <dbname>employee_bond_def.chg_term</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>chg_date</name> <table_column>
<dbname>employee_bond_def.chg_date</dbname> <type>datetime</type>
</table_column> <update>yes</update>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def&quot; ) COLUMN(NAME=&quot;employee_bond_def.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_date&quot;) COLUMN(NAME=&quot;employee_bond_def.site_code&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code&quot;) COLUMN(NAME=&quot;employee_bond_def.confirmed&quot;) COLUMN(NAME=&quot;employee_bond_def.conf_date&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_user&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_term&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_date&quot;)WHERE( EXP1 =&quot;EMPLOYEE_BOND_DEF.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:From&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;EMPLOYEE_BOND_DEF.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:To&quot; ) ) ARG(NAME = &quot;From&quot; TYPE = datetime) ARG(NAME = &quot;To&quot; TYPE = datetime) </retrieve> <updatewhereclause>yes</updatewhereclause>
<update>employee_bond_def</update> <name>chg_date</name>
<updatewhere>1</updatewhere> <dbname>employee_bond_def.chg_date</dbname>
<updatekeyinplace>no</updatekeyinplace> </table_column>
<argument> <table_column>
<name>From</name> <type size="15">char</type>
<type>datetime</type> <updatewhereclause>yes</updatewhereclause>
</argument> <name>emp_fname</name>
<argument> <dbname>employee.emp_fname</dbname>
<name>To</name> </table_column>
<type>datetime</type> <table_column>
</argument> <type size="15">char</type>
</TableDefinition> <updatewhereclause>yes</updatewhereclause>
<TextObject> <name>emp_lname</name>
<band>Header</band> <dbname>employee.emp_lname</dbname>
<alignment>0</alignment> </table_column>
<text>Transaction Id</text> <table_column>
<border>6</border> <type size="5">char</type>
<color>33554432</color> <updatewhereclause>yes</updatewhereclause>
<x>2</x> <name>dept_code</name>
<y>2</y> <dbname>employee.dept_code</dbname>
<height>16</height> </table_column>
<width>90</width> <table_column>
<html> <type size="5">char</type>
<valueishtml>0</valueishtml> <updatewhereclause>yes</updatewhereclause>
</html> <name>ad_code</name>
<name>tran_id_t</name> <dbname>employee_bond_def.ad_code</dbname>
<visible>1</visible> </table_column>
<font> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee_bond_def.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_date&quot;) COLUMN(NAME=&quot;employee_bond_def.site_code&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code&quot;) COLUMN(NAME=&quot;employee_bond_def.confirmed&quot;) COLUMN(NAME=&quot;employee_bond_def.conf_date&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_user&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_term&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_date&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee.dept_code&quot;) COLUMN(NAME=&quot;employee_bond_def.ad_code&quot;) JOIN (LEFT=&quot;employee_bond_def.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;EMPLOYEE_BOND_DEF.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:From&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;EMPLOYEE_BOND_DEF.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:To&quot; ) ) ARG(NAME = &quot;From&quot; TYPE = datetime) ARG(NAME = &quot;To&quot; TYPE = datetime) </retrieve>
<face>Times</face> <update>EMPLOYEE_BOND_DEF</update>
<height>-10</height> <updatewhere>0</updatewhere>
<weight>400</weight> <updatekeyinplace>no</updatekeyinplace>
<family>0</family> <argument>
<pitch>2</pitch> <name>From</name>
<charset>0</charset> <type>datetime</type>
</font> </argument>
<background> <argument>
<mode>2</mode> <name>To</name>
<color>67108864</color> <type>datetime</type>
</background> </argument>
</TextObject> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Confirmed by</text> <text>Transaction Id</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>531</x> <x>2</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>92</width> <width>90</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__aprv_t</name> <name>tran_id_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>0</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Date</text> <text>Confirmed by</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>94</x> <x>852</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>78</width> <width>92</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date_t</name> <name>emp_code__aprv_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>0</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Site Code</text> <text>Date</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>174</x> <x>94</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>55</width> <width>78</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code_t</name> <name>tran_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>0</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Employee Code</text> <text>Site Code</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>231</x> <x>174</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>98</width> <width>55</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code_t</name> <name>site_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>0</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Confirmed</text> <text>Employee Code</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>331</x> <x>231</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>64</width> <width>98</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed_t</name> <name>emp_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>0</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Confirmed on</text> <text>Confirmed</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>397</x> <x>652</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>132</width> <width>64</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>conf_date_t</name> <name>confirmed_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>0</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Change User</text> <text>Confirmed on</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>625</x> <x>718</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>81</width> <width>132</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>conf_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>0</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Change Term</text> <text>Change User</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>708</x> <x>946</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>96</width> <width>81</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>chg_user_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>0</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Change Date</text> <text>Change Term</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>806</x> <x>1029</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>80</width> <width>96</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>chg_term_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>0</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>553648127</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Header</band>
<id>1</id> <alignment>0</alignment>
<alignment>0</alignment> <text>Change Date</text>
<tabsequence>10</tabsequence> <border>6</border>
<border>5</border> <color>33554432</color>
<color>33554432</color> <x>1127</x>
<x>2</x> <y>2</y>
<y>2</y> <height>16</height>
<height>16</height> <width>70</width>
<width>90</width> <html>
<format>[general]</format> <valueishtml>0</valueishtml>
<html> </html>
<valueishtml>0</valueishtml> <name>chg_date_t</name>
</html> <visible>1</visible>
<name>tran_id</name> <font>
<visible>1</visible> <face>Times</face>
<EditStyle style="edit"> <height>-10</height>
<limit>0</limit> <weight>400</weight>
<case>any</case> <family>1</family>
<focusrectangle>no</focusrectangle> <pitch>2</pitch>
<autoselect>yes</autoselect> <charset>0</charset>
<autohscroll>yes</autohscroll> </font>
<imemode>0</imemode> <background>
</EditStyle> <mode>1</mode>
<font> <color>553648127</color>
<face>Times</face> </background>
<height>-10</height> </TextObject>
<weight>400</weight> <TextObject>
<family>2</family> <band>Header</band>
<pitch>2</pitch> <alignment>0</alignment>
<charset>0</charset> <text>Emp Fname</text>
</font> <border>6</border>
<background> <color>33554432</color>
<mode>2</mode> <x>331</x>
<color>16777215</color> <y>2</y>
</background> <height>17</height>
</ColumnObject> <width>73</width>
<ColumnObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<id>2</id> </html>
<alignment>0</alignment> <name>emp_fname_t</name>
<tabsequence>20</tabsequence> <visible>1</visible>
<border>5</border> <font>
<color>33554432</color> <face>Times New Roman</face>
<x>94</x> <height>-10</height>
<y>2</y> <weight>400</weight>
<height>16</height> <family>1</family>
<width>78</width> <pitch>2</pitch>
<format>[shortdate] [time]</format> <charset>0</charset>
<html> </font>
<valueishtml>0</valueishtml> <background>
</html> <mode>2</mode>
<name>tran_date</name> <color>67108864</color>
<visible>1</visible> </background>
<EditStyle style="edit"> </TextObject>
<limit>0</limit> <TextObject>
<case>any</case> <band>Header</band>
<focusrectangle>no</focusrectangle> <alignment>0</alignment>
<autoselect>yes</autoselect> <text> Emp Lname</text>
<autohscroll>yes</autohscroll> <border>6</border>
<imemode>0</imemode> <color>33554432</color>
</EditStyle> <x>406</x>
<font> <y>2</y>
<face>Times</face> <height>17</height>
<height>-10</height> <width>73</width>
<weight>400</weight> <html>
<family>2</family> <valueishtml>0</valueishtml>
<pitch>2</pitch> </html>
<charset>0</charset> <name>emp_lname_t</name>
</font> <visible>1</visible>
<background> <font>
<mode>2</mode> <face>Times New Roman</face>
<color>16777215</color> <height>-10</height>
</background> <weight>400</weight>
</ColumnObject> <family>1</family>
<ColumnObject> <pitch>2</pitch>
<band>Detail</band> <charset>0</charset>
<id>3</id> </font>
<alignment>0</alignment> <background>
<tabsequence>30</tabsequence> <mode>2</mode>
<border>5</border> <color>67108864</color>
<color>33554432</color> </background>
<x>174</x> </TextObject>
<y>2</y> <TextObject>
<height>16</height> <band>Header</band>
<width>55</width> <alignment>0</alignment>
<format>[general]</format> <text> Dept Code</text>
<html> <border>6</border>
<valueishtml>0</valueishtml> <color>33554432</color>
</html> <x>570</x>
<name>site_code</name> <y>2</y>
<visible>1</visible> <height>17</height>
<EditStyle style="edit"> <width>80</width>
<limit>0</limit> <html>
<case>any</case> <valueishtml>0</valueishtml>
<focusrectangle>no</focusrectangle> </html>
<autoselect>yes</autoselect> <name>dept_code_t</name>
<autohscroll>yes</autohscroll> <visible>1</visible>
<imemode>0</imemode> <font>
</EditStyle> <face>Times New Roman</face>
<font> <height>-10</height>
<face>Times</face> <weight>400</weight>
<height>-10</height> <family>1</family>
<weight>400</weight> <pitch>2</pitch>
<family>2</family> <charset>0</charset>
<pitch>2</pitch> </font>
<charset>0</charset> <background>
</font> <mode>2</mode>
<background> <color>67108864</color>
<mode>2</mode> </background>
<color>16777215</color> </TextObject>
</background> <TextObject>
</ColumnObject> <band>Header</band>
<ColumnObject> <alignment>0</alignment>
<band>Detail</band> <text>Ad Code</text>
<id>4</id> <border>0</border>
<alignment>0</alignment> <color>33554432</color>
<tabsequence>40</tabsequence> <x>481</x>
<border>5</border> <y>2</y>
<color>33554432</color> <height>17</height>
<x>231</x> <width>87</width>
<y>2</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>98</width> </html>
<format>[general]</format> <name>ad_code_t</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <font>
</html> <face>Times New Roman</face>
<name>emp_code</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<EditStyle style="edit"> <family>1</family>
<limit>0</limit> <pitch>2</pitch>
<case>any</case> <charset>0</charset>
<focusrectangle>no</focusrectangle> </font>
<autoselect>yes</autoselect> <background>
<autohscroll>yes</autohscroll> <mode>2</mode>
<imemode>0</imemode> <color>67108864</color>
</EditStyle> </background>
<font> </TextObject>
<face>Times</face> <ColumnObject>
<height>-10</height> <band>Detail</band>
<weight>400</weight> <id>1</id>
<family>2</family> <alignment>0</alignment>
<pitch>2</pitch> <tabsequence>10</tabsequence>
<charset>0</charset> <border>5</border>
</font> <color>33554432</color>
<background> <x>2</x>
<mode>2</mode> <y>2</y>
<color>16777215</color> <height>16</height>
</background> <width>90</width>
</ColumnObject> <format>[general]</format>
<ColumnObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<id>5</id> </html>
<alignment>0</alignment> <name>tran_id</name>
<tabsequence>50</tabsequence> <visible>1</visible>
<border>5</border> <EditStyle style="edit">
<color>33554432</color> <limit>10</limit>
<x>331</x> <case>any</case>
<y>2</y> <focusrectangle>no</focusrectangle>
<height>16</height> <autoselect>yes</autoselect>
<width>64</width> <autohscroll>yes</autohscroll>
<format>[general]</format> <imemode>0</imemode>
<html> </EditStyle>
<valueishtml>0</valueishtml> <font>
</html> <face>Times</face>
<name>confirmed</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<EditStyle style="edit"> <family>2</family>
<limit>0</limit> <pitch>2</pitch>
<case>any</case> <charset>0</charset>
<focusrectangle>no</focusrectangle> </font>
<autoselect>yes</autoselect> <background>
<autohscroll>yes</autohscroll> <mode>2</mode>
<imemode>0</imemode> <color>16777215</color>
</EditStyle> </background>
<font> </ColumnObject>
<face>Times</face> <ColumnObject>
<height>-10</height> <band>Detail</band>
<weight>400</weight> <id>2</id>
<family>2</family> <alignment>0</alignment>
<pitch>2</pitch> <tabsequence>20</tabsequence>
<charset>0</charset> <border>5</border>
</font> <color>33554432</color>
<background> <x>94</x>
<mode>2</mode> <y>2</y>
<color>16777215</color> <height>16</height>
</background> <width>78</width>
</ColumnObject> <format>[shortdate] [time]</format>
<ColumnObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<id>6</id> </html>
<alignment>0</alignment> <name>tran_date</name>
<tabsequence>60</tabsequence> <visible>1</visible>
<border>5</border> <EditStyle style="edit">
<color>33554432</color> <limit>0</limit>
<x>397</x> <case>any</case>
<y>2</y> <focusrectangle>no</focusrectangle>
<height>16</height> <autoselect>yes</autoselect>
<width>132</width> <autohscroll>yes</autohscroll>
<format>[shortdate] [time]</format> <imemode>0</imemode>
<html> </EditStyle>
<valueishtml>0</valueishtml> <font>
</html> <face>Times</face>
<name>conf_date</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<EditStyle style="edit"> <family>2</family>
<limit>0</limit> <pitch>2</pitch>
<case>any</case> <charset>0</charset>
<focusrectangle>no</focusrectangle> </font>
<autoselect>yes</autoselect> <background>
<autohscroll>yes</autohscroll> <mode>2</mode>
<imemode>0</imemode> <color>16777215</color>
</EditStyle> </background>
<font> </ColumnObject>
<face>Times</face> <ColumnObject>
<height>-10</height> <band>Detail</band>
<weight>400</weight> <id>3</id>
<family>2</family> <alignment>0</alignment>
<pitch>2</pitch> <tabsequence>30</tabsequence>
<charset>0</charset> <border>5</border>
</font> <color>33554432</color>
<background> <x>174</x>
<mode>2</mode> <y>2</y>
<color>16777215</color> <height>16</height>
</background> <width>55</width>
</ColumnObject> <format>[general]</format>
<ColumnObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<id>7</id> </html>
<alignment>0</alignment> <name>site_code</name>
<tabsequence>70</tabsequence> <visible>1</visible>
<border>5</border> <EditStyle style="edit">
<color>33554432</color> <limit>5</limit>
<x>531</x> <case>any</case>
<y>2</y> <focusrectangle>no</focusrectangle>
<height>16</height> <autoselect>yes</autoselect>
<width>92</width> <autohscroll>yes</autohscroll>
<format>[general]</format> <imemode>0</imemode>
<html> </EditStyle>
<valueishtml>0</valueishtml> <font>
</html> <face>Times</face>
<name>emp_code__aprv</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<EditStyle style="edit"> <family>2</family>
<limit>0</limit> <pitch>2</pitch>
<case>any</case> <charset>0</charset>
<focusrectangle>no</focusrectangle> </font>
<autoselect>yes</autoselect> <background>
<autohscroll>yes</autohscroll> <mode>2</mode>
<imemode>0</imemode> <color>16777215</color>
</EditStyle> </background>
<font> </ColumnObject>
<face>Times</face> <ColumnObject>
<height>-10</height> <band>Detail</band>
<weight>400</weight> <id>4</id>
<family>2</family> <alignment>0</alignment>
<pitch>2</pitch> <tabsequence>40</tabsequence>
<charset>0</charset> <border>5</border>
</font> <color>33554432</color>
<background> <x>231</x>
<mode>2</mode> <y>2</y>
<color>16777215</color> <height>16</height>
</background> <width>98</width>
</ColumnObject> <format>[general]</format>
<ColumnObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<id>8</id> </html>
<alignment>0</alignment> <name>emp_code</name>
<tabsequence>80</tabsequence> <visible>1</visible>
<border>5</border> <EditStyle style="edit">
<color>33554432</color> <limit>10</limit>
<x>625</x> <case>any</case>
<y>2</y> <focusrectangle>no</focusrectangle>
<height>16</height> <autoselect>yes</autoselect>
<width>81</width> <autohscroll>yes</autohscroll>
<format>[general]</format> <imemode>0</imemode>
<html> </EditStyle>
<valueishtml>0</valueishtml> <font>
</html> <face>Times</face>
<name>chg_user</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<EditStyle style="edit"> <family>2</family>
<limit>0</limit> <pitch>2</pitch>
<case>any</case> <charset>0</charset>
<focusrectangle>no</focusrectangle> </font>
<autoselect>yes</autoselect> <background>
<autohscroll>yes</autohscroll> <mode>2</mode>
<imemode>0</imemode> <color>16777215</color>
</EditStyle> </background>
<font> </ColumnObject>
<face>Times</face> <ColumnObject>
<height>-10</height> <band>Detail</band>
<weight>400</weight> <id>5</id>
<family>2</family> <alignment>0</alignment>
<pitch>2</pitch> <tabsequence>90</tabsequence>
<charset>0</charset> <border>5</border>
</font> <color>33554432</color>
<background> <x>652</x>
<mode>2</mode> <y>2</y>
<color>16777215</color> <height>16</height>
</background> <width>64</width>
</ColumnObject> <format>[Yes/No]</format>
<ColumnObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<id>9</id> </html>
<alignment>0</alignment> <name>confirmed</name>
<tabsequence>90</tabsequence> <visible>1</visible>
<border>5</border> <EditStyle style="ddlb">
<color>33554432</color> <limit>1</limit>
<x>708</x> <allowedit>no</allowedit>
<y>2</y> <case>any</case>
<height>16</height> <imemode>0</imemode>
<width>96</width> </EditStyle>
<format>[general]</format> <font>
<html> <face>Times</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>chg_term</name> <family>2</family>
<visible>1</visible> <pitch>2</pitch>
<EditStyle style="edit"> <charset>0</charset>
<limit>0</limit> </font>
<case>any</case> <background>
<focusrectangle>no</focusrectangle> <mode>2</mode>
<autoselect>yes</autoselect> <color>16777215</color>
<autohscroll>yes</autohscroll> </background>
<imemode>0</imemode> </ColumnObject>
</EditStyle> <ColumnObject>
<font> <band>Detail</band>
<face>Times</face> <id>6</id>
<height>-10</height> <alignment>0</alignment>
<weight>400</weight> <tabsequence>100</tabsequence>
<family>2</family> <border>5</border>
<pitch>2</pitch> <color>33554432</color>
<charset>0</charset> <x>718</x>
</font> <y>2</y>
<background> <height>16</height>
<mode>2</mode> <width>132</width>
<color>16777215</color> <format>[shortdate] [time]</format>
</background> <html>
</ColumnObject> <valueishtml>0</valueishtml>
<ColumnObject> </html>
<band>Detail</band> <name>conf_date</name>
<id>10</id> <visible>1</visible>
<alignment>0</alignment> <EditStyle style="edit">
<tabsequence>100</tabsequence> <limit>0</limit>
<border>5</border> <case>any</case>
<color>33554432</color> <focusrectangle>no</focusrectangle>
<x>806</x> <autoselect>yes</autoselect>
<y>2</y> <autohscroll>yes</autohscroll>
<height>16</height> <imemode>0</imemode>
<width>80</width> </EditStyle>
<format>[shortdate] [time]</format> <font>
<html> <face>Times</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>chg_date</name> <family>2</family>
<visible>1</visible> <pitch>2</pitch>
<EditStyle style="edit"> <charset>0</charset>
<limit>0</limit> </font>
<case>any</case> <background>
<autoselect>yes</autoselect> <mode>2</mode>
<imemode>0</imemode> <color>16777215</color>
</EditStyle> </background>
<font> </ColumnObject>
<face>Times</face> <ColumnObject>
<height>-10</height> <band>Detail</band>
<weight>400</weight> <id>7</id>
<family>2</family> <alignment>0</alignment>
<pitch>2</pitch> <tabsequence>110</tabsequence>
<charset>0</charset> <border>5</border>
</font> <color>33554432</color>
<background> <x>852</x>
<mode>2</mode> <y>2</y>
<color>16777215</color> <height>16</height>
</background> <width>92</width>
</ColumnObject> <format>[general]</format>
<HtmlTable> <html>
<border>1</border> <valueishtml>0</valueishtml>
</HtmlTable> </html>
<HtmlGen> <name>emp_code__aprv</name>
<clientevents>1</clientevents> <visible>1</visible>
<clientvalidation>1</clientvalidation> <EditStyle style="edit">
<clientcomputedfields>1</clientcomputedfields> <limit>10</limit>
<clientformatting>0</clientformatting> <case>any</case>
<clientscriptable>0</clientscriptable> <focusrectangle>no</focusrectangle>
<generatejavascript>1</generatejavascript> <autoselect>yes</autoselect>
<encodeselflinkargs>1</encodeselflinkargs> <autohscroll>yes</autohscroll>
<netscapelayers>0</netscapelayers> <imemode>0</imemode>
</HtmlGen> </EditStyle>
<Export.XML> <font>
<headgroups>1</headgroups> <face>Times</face>
<includewhitespace>0</includewhitespace> <height>-10</height>
<metadatatype>0</metadatatype> <weight>400</weight>
<savemetadata>0</savemetadata> <family>2</family>
</Export.XML> <pitch>2</pitch>
<Import.XML> <charset>0</charset>
</Import.XML> </font>
<Export.PDF> <background>
<method>0</method> <mode>2</mode>
<distill.custompostscript>0</distill.custompostscript> <color>16777215</color>
<xslfop.print>0</xslfop.print> </background>
</Export.PDF> </ColumnObject>
</Sybase_eDataWindow> <ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<color>33554432</color>
<x>946</x>
<y>2</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</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>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1029</x>
<y>2</y>
<height>16</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</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>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1127</x>
<y>2</y>
<height>16</height>
<width>70</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</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>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>331</x>
<y>1</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</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>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>0</border>
<color>33554432</color>
<x>406</x>
<y>1</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</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>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>0</border>
<color>33554432</color>
<x>570</x>
<y>1</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</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>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>0</border>
<color>33554432</color>
<x>481</x>
<y>1</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</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>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>67108864</color> <color>67108864</color>
<processing>1</processing> <processing>1</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>20</height> <height>20</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>23</height> <height>23</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>employee_bond_def_det.tran_id</dbname> <dbname>employee_bond_def_det.tran_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>line_no</name> <name>line_no</name>
<dbname>employee_bond_def_det.line_no</dbname> <dbname>employee_bond_def_det.line_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="3">decimal</type> <type precision="3">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>bond_amt__curr</name> <name>bond_amt__curr</name>
<dbname>employee_bond_def_det.bond_amt__curr</dbname> <dbname>employee_bond_def_det.bond_amt__curr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>bond_prd__curr</name> <name>bond_prd__curr</name>
<dbname>employee_bond_def_det.bond_prd__curr</dbname> <dbname>employee_bond_def_det.bond_prd__curr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="3">decimal</type> <type precision="3">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>bond_amt</name> <name>bond_amt</name>
<dbname>employee_bond_def_det.bond_amt</dbname> <dbname>employee_bond_def_det.bond_amt</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>bond_prd</name> <name>bond_prd</name>
<dbname>employee_bond_def_det.bond_prd</dbname> <dbname>employee_bond_def_det.bond_prd</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>line_no__ref</name> <name>line_no__ref</name>
<dbname>employee_bond_def_det.line_no__ref</dbname> <dbname>employee_bond_def_det.line_no__ref</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def_det&quot; ) COLUMN(NAME=&quot;employee_bond_def_det.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no__ref&quot;)WHERE( EXP1 =&quot;~&quot;EMPLOYEE_BOND_DEF_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = number) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def_det&quot; ) COLUMN(NAME=&quot;employee_bond_def_det.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no__ref&quot;)WHERE( EXP1 =&quot;~&quot;EMPLOYEE_BOND_DEF_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = number) </retrieve>
<update>EMPLOYEE_BOND_DEF_DET</update> <update>EMPLOYEE_BOND_DEF_DET</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>tran_id</name> <name>tran_id</name>
<type>number</type> <type>number</type>
</argument> </argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Transaction Id</text> <text>Transaction Id</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>2</x> <x>2</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>90</width> <width>90</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>tran_id_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Line No</text> <text>Line No</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>94</x> <x>94</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>57</width> <width>57</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no_t</name> <name>line_no_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Bond Amount Current</text> <text>Bond Amount Current</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>153</x> <x>153</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>137</width> <width>137</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_amt__curr_t</name> <name>bond_amt__curr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Bond Period Current</text> <text>Bond Period Current</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>292</x> <x>292</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>128</width> <width>128</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_prd__curr_t</name> <name>bond_prd__curr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Bond Amount</text> <text>Bond Amount</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>422</x> <x>422</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>102</width> <width>102</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_amt_t</name> <name>bond_amt_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Bond Period</text> <text>Bond Period</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>526</x> <x>526</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>81</width> <width>81</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_prd_t</name> <name>bond_prd_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Line No Reference</text> <text>Line No Reference</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>609</x> <x>609</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>114</width> <width>114</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no__ref_t</name> <name>line_no__ref_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>553648127</color> <color>553648127</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>2</x> <x>2</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>90</width> <width>90</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id</name> <name>tran_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>5</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>50</tabsequence> <tabsequence>50</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>422</x> <x>422</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>102</width> <width>102</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_amt</name> <name>bond_amt</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>3</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>30</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>153</x> <x>153</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>137</width> <width>137</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_amt__curr</name> <name>bond_amt__curr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>2</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>20</tabsequence> <tabsequence>20</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>94</x> <x>94</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>57</width> <width>57</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no</name> <name>line_no</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>4</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>40</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>292</x> <x>292</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>128</width> <width>128</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_prd__curr</name> <name>bond_prd__curr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>6</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>60</tabsequence> <tabsequence>60</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>526</x> <x>526</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>81</width> <width>81</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_prd</name> <name>bond_prd</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>7</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>70</tabsequence> <tabsequence>70</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>609</x> <x>609</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>114</width> <width>114</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no__ref</name> <name>line_no__ref</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
<HtmlGen> <HtmlGen>
<clientevents>1</clientevents> <clientevents>1</clientevents>
<clientvalidation>1</clientvalidation> <clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields> <clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting> <clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable> <clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript> <generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs> <encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers> <netscapelayers>0</netscapelayers>
</HtmlGen> </HtmlGen>
<Export.XML> <Export.XML>
<headgroups>1</headgroups> <headgroups>1</headgroups>
<includewhitespace>0</includewhitespace> <includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype> <metadatatype>0</metadatatype>
<savemetadata>0</savemetadata> <savemetadata>0</savemetadata>
</Export.XML> </Export.XML>
<Import.XML> <Import.XML>
</Import.XML> </Import.XML>
<Export.PDF> <Export.PDF>
<method>0</method> <method>0</method>
<distill.custompostscript>0</distill.custompostscript> <distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print> <xslfop.print>0</xslfop.print>
</Export.PDF> </Export.PDF>
</Sybase_eDataWindow> </Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>67108864</color> <color>67108864</color>
<processing>0</processing> <processing>0</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>308</height> <height>452</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>employee_bond_def.tran_id</dbname> <dbname>employee_bond_def.tran_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>tran_date</name> <name>tran_date</name>
<dbname>employee_bond_def.tran_date</dbname> <dbname>employee_bond_def.tran_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>site_code</name> <name>site_code</name>
<dbname>employee_bond_def.site_code</dbname> <dbname>employee_bond_def.site_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_code</name> <name>emp_code</name>
<dbname>employee_bond_def.emp_code</dbname> <dbname>employee_bond_def.emp_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="1">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>confirmed</name> <name>confirmed</name>
<dbname>employee_bond_def.confirmed</dbname> <dbname>employee_bond_def.confirmed</dbname>
<values> <values>
<item display="Yes" data="Y"/> <item display="Yes" data="Y"/>
<item display="No" data="N"/> <item display="No" data="N"/>
</values> </values>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>conf_date</name> <name>conf_date</name>
<dbname>employee_bond_def.conf_date</dbname> <dbname>employee_bond_def.conf_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name> <name>emp_code__aprv</name>
<dbname>employee_bond_def.emp_code__aprv</dbname> <dbname>employee_bond_def.emp_code__aprv</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_user</name> <name>chg_user</name>
<dbname>employee_bond_def.chg_user</dbname> <dbname>employee_bond_def.chg_user</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="300">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
<dbname>employee_bond_def.chg_term</dbname> <dbname>employee_bond_def.chg_term</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_date</name> <name>chg_date</name>
<dbname>employee_bond_def.chg_date</dbname> <dbname>employee_bond_def.chg_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name> <name>emp_fname</name>
<dbname>employee.emp_fname</dbname> <dbname>employee.emp_fname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_mname</name> <name>emp_mname</name>
<dbname>employee.emp_mname</dbname> <dbname>employee.emp_mname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name> <name>emp_lname</name>
<dbname>employee.emp_lname</dbname> <dbname>employee.emp_lname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="60">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>site_descr</name> <name>site_descr</name>
<dbname>site.descr</dbname> <dbname>site.descr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>dept_code</name> <name>dept_code</name>
<dbname>employee.dept_code</dbname> <dbname>employee.dept_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="40">char</type> <type size="40">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>department_descr</name> <name>department_descr</name>
<dbname>department.descr</dbname> <dbname>department.descr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name> <name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname> <dbname>employee.emp_fname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>employee_emp_mname</name> <name>employee_emp_mname</name>
<dbname>employee.emp_mname</dbname> <dbname>employee.emp_mname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name> <name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname> <dbname>employee.emp_lname</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_a&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_b&quot; ) COLUMN(NAME=&quot;employee_bond_def.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_date&quot;) COLUMN(NAME=&quot;employee_bond_def.site_code&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code&quot;) COLUMN(NAME=&quot;employee_bond_def.confirmed&quot;) COLUMN(NAME=&quot;employee_bond_def.conf_date&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_user&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_term&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_date&quot;) COLUMN(NAME=&quot;employee_a.emp_fname&quot;) COLUMN(NAME=&quot;employee_a.emp_mname&quot;) COLUMN(NAME=&quot;employee_a.emp_lname&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;employee_a.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;employee_b.emp_fname&quot;) COLUMN(NAME=&quot;employee_b.emp_mname&quot;) COLUMN(NAME=&quot;employee_b.emp_lname&quot;) JOIN (LEFT=&quot;employee_bond_def.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_code&quot; OUTER1 =&quot;employee_bond_def.emp_code&quot; ) JOIN (LEFT=&quot;site.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_site&quot; OUTER2 =&quot;employee_a.emp_site&quot; ) JOIN (LEFT=&quot;employee_bond_def.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee_b.emp_code&quot; OUTER1 =&quot;employee_bond_def.emp_code__aprv&quot; ) JOIN (LEFT=&quot;department.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.dept_code&quot; ) WHERE( EXP1 =&quot;employee_bond_def.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve> <table_column>
<update>employee_bond_def</update> <type size="10">char</type>
<updatewhere>1</updatewhere> <update>yes</update>
<updatekeyinplace>no</updatekeyinplace> <updatewhereclause>yes</updatewhereclause>
<argument> <name>tran_id__bond</name>
<name>tran_id</name> <dbname>employee_bond_def.tran_id__bond</dbname>
<type>string</type> </table_column>
</argument> <table_column>
</TableDefinition> <type size="10">char</type>
<GroupBox> <update>yes</update>
<band>Detail</band> <updatewhereclause>yes</updatewhereclause>
<text>Others</text> <name>tran_id__pvouch</name>
<border>2</border> <dbname>employee_bond_def.tran_id__pvouch</dbname>
<color>33554432</color> </table_column>
<x>3</x> <table_column>
<y>172</y> <type precision="0">decimal</type>
<height>100</height> <update>yes</update>
<width>516</width> <updatewhereclause>yes</updatewhereclause>
<name>gb_2</name> <name>line_no__pvouch</name>
<visible>1</visible> <dbname>employee_bond_def.line_no__pvouch</dbname>
<font> </table_column>
<face>Times</face> <table_column>
<height>-10</height> <type size="5">char</type>
<weight>400</weight> <update>yes</update>
<family>1</family> <updatewhereclause>yes</updatewhereclause>
<pitch>2</pitch> <name>ad_code</name>
<charset>0</charset> <dbname>employee_bond_def.ad_code</dbname>
</font> </table_column>
<background> <table_column>
<mode>2</mode> <type size="40">char</type>
<color>67108864</color> <updatewhereclause>yes</updatewhereclause>
</background> <name>allwdedn_descr</name>
</GroupBox> <dbname>allwdedn.descr</dbname>
<TextObject> </table_column>
<band>Detail</band> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_a&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_b&quot; ) TABLE(NAME=&quot;allwdedn&quot; ) COLUMN(NAME=&quot;employee_bond_def.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_date&quot;) COLUMN(NAME=&quot;employee_bond_def.site_code&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code&quot;) COLUMN(NAME=&quot;employee_bond_def.confirmed&quot;) COLUMN(NAME=&quot;employee_bond_def.conf_date&quot;) COLUMN(NAME=&quot;employee_bond_def.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_user&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_term&quot;) COLUMN(NAME=&quot;employee_bond_def.chg_date&quot;) COLUMN(NAME=&quot;employee_a.emp_fname&quot;) COLUMN(NAME=&quot;employee_a.emp_mname&quot;) COLUMN(NAME=&quot;employee_a.emp_lname&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;employee_a.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;employee_b.emp_fname&quot;) COLUMN(NAME=&quot;employee_b.emp_mname&quot;) COLUMN(NAME=&quot;employee_b.emp_lname&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_id__bond&quot;) COLUMN(NAME=&quot;employee_bond_def.tran_id__pvouch&quot;) COLUMN(NAME=&quot;employee_bond_def.line_no__pvouch&quot;) COLUMN(NAME=&quot;employee_bond_def.ad_code&quot;) COLUMN(NAME=&quot;allwdedn.descr&quot;) JOIN (LEFT=&quot;employee_bond_def.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_code&quot; OUTER1 =&quot;employee_bond_def.emp_code&quot; ) JOIN (LEFT=&quot;site.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_site&quot; OUTER2 =&quot;employee_a.emp_site&quot; ) JOIN (LEFT=&quot;employee_bond_def.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee_b.emp_code&quot; OUTER1 =&quot;employee_bond_def.emp_code__aprv&quot; ) JOIN (LEFT=&quot;department.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.dept_code&quot; ) JOIN (LEFT=&quot;employee_bond_def.ad_code&quot; OP =&quot;=&quot;RIGHT=&quot;allwdedn.ad_code&quot; )WHERE( EXP1 =&quot;employee_bond_def.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<alignment>1</alignment> <update>EMPLOYEE_BOND_DEF</update>
<text>Change Term:</text> <updatewhere>0</updatewhere>
<border>0</border> <updatekeyinplace>no</updatekeyinplace>
<color>33554432</color> <argument>
<x>341</x> <name>tran_id</name>
<y>194</y> <type>string</type>
<height>16</height> </argument>
<width>97</width> </TableDefinition>
<html> <GroupBox>
<valueishtml>0</valueishtml> <band>Detail</band>
</html> <text>Basic</text>
<name>chg_term_t</name> <border>2</border>
<visible>1</visible> <color>33554432</color>
<font> <x>3</x>
<face>Arial</face> <y>6</y>
<height>-10</height> <height>286</height>
<weight>400</weight> <width>560</width>
<family>2</family> <name>gb_1</name>
<pitch>2</pitch> <visible>1</visible>
<charset>0</charset> <font>
</font> <face>Times</face>
<background> <height>-10</height>
<mode>1</mode> <weight>400</weight>
<color>536870912</color> <family>1</family>
</background> <pitch>2</pitch>
</TextObject> <charset>0</charset>
<ColumnObject> </font>
<band>Detail</band> <background>
<id>9</id> <mode>2</mode>
<alignment>0</alignment> <color>67108864</color>
<tabsequence>32766</tabsequence> </background>
<border>5</border> </GroupBox>
<color>255</color> <GroupBox>
<x>442</x> <band>Detail</band>
<y>194</y> <text>Others</text>
<height>16</height> <border>2</border>
<width>65</width> <color>33554432</color>
<format>[general]</format> <x>3</x>
<html> <y>302</y>
<valueishtml>0</valueishtml> <height>74</height>
</html> <width>560</width>
<name>chg_term</name> <name>gb_2</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <font>
<limit>15</limit> <face>Times</face>
<case>any</case> <height>-10</height>
<focusrectangle>no</focusrectangle> <weight>400</weight>
<autoselect>yes</autoselect> <family>1</family>
<autohscroll>yes</autohscroll> <pitch>2</pitch>
<imemode>0</imemode> <charset>0</charset>
</EditStyle> </font>
<font> <background>
<face>Arial</face> <mode>2</mode>
<height>-10</height> <color>67108864</color>
<weight>400</weight> </background>
<family>2</family> </GroupBox>
<pitch>2</pitch> <TextObject>
<charset>0</charset> <band>Detail</band>
</font> <alignment>1</alignment>
<background> <text>Transaction Id:</text>
<mode>1</mode> <border>0</border>
<color>536870912</color> <color>33554432</color>
</background> <x>25</x>
</ColumnObject> <y>38</y>
<TextObject> <height>16</height>
<band>Detail</band> <width>97</width>
<alignment>1</alignment> <html>
<text>Change Date:</text> <valueishtml>0</valueishtml>
<border>0</border> </html>
<color>33554432</color> <name>tran_id_t</name>
<x>8</x> <visible>1</visible>
<y>215</y> <font>
<height>16</height> <face>Arial</face>
<width>97</width> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>2</family>
</html> <pitch>2</pitch>
<name>chg_date_t</name> <charset>0</charset>
<visible>1</visible> </font>
<font> <background>
<face>Arial</face> <mode>1</mode>
<height>-10</height> <color>536870912</color>
<weight>400</weight> </background>
<family>2</family> </TextObject>
<pitch>2</pitch> <ColumnObject>
<charset>0</charset> <band>Detail</band>
</font> <id>1</id>
<background> <alignment>0</alignment>
<mode>1</mode> <tabsequence>32766</tabsequence>
<color>536870912</color> <border>5</border>
</background> <color>255</color>
</TextObject> <x>127</x>
<ColumnObject> <y>38</y>
<band>Detail</band> <height>16</height>
<id>10</id> <width>108</width>
<alignment>0</alignment> <format>[general]</format>
<tabsequence>32766</tabsequence> <html>
<border>5</border> <valueishtml>0</valueishtml>
<color>255</color> </html>
<x>109</x> <name>tran_id</name>
<y>215</y> <visible>1</visible>
<height>16</height> <EditStyle style="edit">
<width>86</width> <limit>10</limit>
<format>dd/mm/yy</format> <case>any</case>
<html> <focusrectangle>no</focusrectangle>
<valueishtml>0</valueishtml> <autoselect>yes</autoselect>
</html> <autohscroll>yes</autohscroll>
<name>chg_date</name> <imemode>0</imemode>
<visible>1</visible> </EditStyle>
<EditStyle style="editmask"> <font>
<mask>dd/mm/yy</mask> <face>Arial</face>
<imemode>0</imemode> <height>-10</height>
<focusrectangle>no</focusrectangle> <weight>400</weight>
</EditStyle> <family>2</family>
<font> <pitch>2</pitch>
<face>Arial</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>2</family> <mode>1</mode>
<pitch>2</pitch> <color>536870912</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <TextObject>
<mode>1</mode> <band>Detail</band>
<color>536870912</color> <alignment>1</alignment>
</background> <text>Employee:</text>
</ColumnObject> <border>0</border>
<GroupBox> <color>33554432</color>
<band>Detail</band> <x>25</x>
<text>Basic</text> <y>59</y>
<border>2</border> <height>16</height>
<color>33554432</color> <width>97</width>
<x>3</x> <html>
<y>6</y> <valueishtml>0</valueishtml>
<height>156</height> </html>
<width>516</width> <name>emp_code_t</name>
<name>gb_1</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>67108864</color> </background>
</background> </TextObject>
</GroupBox> <ColumnObject>
<TextObject> <band>Detail</band>
<band>Detail</band> <id>4</id>
<alignment>1</alignment> <alignment>0</alignment>
<text>Confirmed:</text> <tabsequence>40</tabsequence>
<border>0</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>127</x>
<y>109</y> <y>59</y>
<height>16</height> <height>16</height>
<width>97</width> <width>86</width>
<html> <format>[general]</format>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>confirmed_t</name> </html>
<visible>1</visible> <name>emp_code</name>
<font> <visible>1</visible>
<face>Arial</face> <EditStyle style="edit">
<height>-10</height> <limit>10</limit>
<weight>400</weight> <case>upper</case>
<family>2</family> <focusrectangle>no</focusrectangle>
<pitch>2</pitch> <autoselect>yes</autoselect>
<charset>0</charset> <autohscroll>yes</autohscroll>
</font> <imemode>0</imemode>
<background> </EditStyle>
<mode>1</mode> <font>
<color>536870912</color> <face>Arial</face>
</background> <height>-10</height>
</TextObject> <weight>400</weight>
<TextObject> <family>2</family>
<band>Detail</band> <pitch>2</pitch>
<alignment>1</alignment> <charset>0</charset>
<text>Approved by:</text> </font>
<border>0</border> <background>
<color>33554432</color> <mode>2</mode>
<x>8</x> <color>16777215</color>
<y>130</y> </background>
<height>16</height> </ColumnObject>
<width>97</width> <ColumnObject>
<html> <band>Detail</band>
<valueishtml>0</valueishtml> <id>11</id>
</html> <alignment>0</alignment>
<name>emp_code__aprv_t</name> <tabsequence>32766</tabsequence>
<visible>1</visible> <border>5</border>
<font> <color>255</color>
<face>Arial</face> <x>219</x>
<height>-10</height> <y>59</y>
<weight>400</weight> <height>16</height>
<family>2</family> <width>98</width>
<pitch>2</pitch> <format>[general]</format>
<charset>0</charset> <html>
</font> <valueishtml>0</valueishtml>
<background> </html>
<mode>1</mode> <name>emp_fname</name>
<color>536870912</color> <visible>1</visible>
</background> <EditStyle style="edit">
</TextObject> <limit>0</limit>
<TextObject> <case>any</case>
<band>Detail</band> <autoselect>yes</autoselect>
<alignment>1</alignment> <imemode>0</imemode>
<text>Transaction Id:</text> </EditStyle>
<border>0</border> <font>
<color>33554432</color> <face>Arial</face>
<x>8</x> <height>-10</height>
<y>25</y> <weight>400</weight>
<height>16</height> <family>2</family>
<width>97</width> <pitch>2</pitch>
<html> <charset>0</charset>
<valueishtml>0</valueishtml> </font>
</html> <background>
<name>tran_id_t</name> <mode>1</mode>
<visible>1</visible> <color>536870912</color>
<font> </background>
<face>Arial</face> </ColumnObject>
<height>-10</height> <ColumnObject>
<weight>400</weight> <band>Detail</band>
<family>2</family> <id>12</id>
<pitch>2</pitch> <alignment>0</alignment>
<charset>0</charset> <tabsequence>32766</tabsequence>
</font> <border>5</border>
<background> <color>255</color>
<mode>1</mode> <x>322</x>
<color>536870912</color> <y>59</y>
</background> <height>16</height>
</TextObject> <width>98</width>
<ColumnObject> <format>[general]</format>
<band>Detail</band> <html>
<id>1</id> <valueishtml>0</valueishtml>
<alignment>0</alignment> </html>
<tabsequence>32766</tabsequence> <name>emp_mname</name>
<border>5</border> <visible>1</visible>
<color>255</color> <EditStyle style="edit">
<x>110</x> <limit>0</limit>
<y>25</y> <case>any</case>
<height>16</height> <autoselect>yes</autoselect>
<width>108</width> <imemode>0</imemode>
<format>[general]</format> </EditStyle>
<html> <font>
<valueishtml>0</valueishtml> <face>Arial</face>
</html> <height>-10</height>
<name>tran_id</name> <weight>400</weight>
<visible>1</visible> <family>2</family>
<EditStyle style="edit"> <pitch>2</pitch>
<limit>10</limit> <charset>0</charset>
<case>any</case> </font>
<focusrectangle>no</focusrectangle> <background>
<autoselect>yes</autoselect> <mode>1</mode>
<autohscroll>yes</autohscroll> <color>536870912</color>
<imemode>0</imemode> </background>
</EditStyle> </ColumnObject>
<font> <ColumnObject>
<face>Arial</face> <band>Detail</band>
<height>-10</height> <id>13</id>
<weight>400</weight> <alignment>0</alignment>
<family>2</family> <tabsequence>32766</tabsequence>
<pitch>2</pitch> <border>5</border>
<charset>0</charset> <color>255</color>
</font> <x>425</x>
<background> <y>59</y>
<mode>1</mode> <height>16</height>
<color>536870912</color> <width>98</width>
</background> <format>[general]</format>
</ColumnObject> <html>
<TextObject> <valueishtml>0</valueishtml>
<band>Detail</band> </html>
<alignment>1</alignment> <name>emp_lname</name>
<text>Date:</text> <visible>1</visible>
<border>0</border> <EditStyle style="edit">
<color>33554432</color> <limit>0</limit>
<x>336</x> <case>any</case>
<y>25</y> <autoselect>yes</autoselect>
<height>16</height> <imemode>0</imemode>
<width>102</width> </EditStyle>
<html> <font>
<valueishtml>0</valueishtml> <face>Arial</face>
</html> <height>-10</height>
<name>tran_date_t</name> <weight>400</weight>
<visible>1</visible> <family>2</family>
<font> <pitch>2</pitch>
<face>Arial</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>2</family> <mode>1</mode>
<pitch>2</pitch> <color>536870912</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <TextObject>
<mode>1</mode> <band>Detail</band>
<color>536870912</color> <alignment>1</alignment>
</background> <text>Tran Id Bond :</text>
</TextObject> <border>0</border>
<ColumnObject> <color>33554432</color>
<band>Detail</band> <x>25</x>
<id>2</id> <y>81</y>
<alignment>0</alignment> <height>16</height>
<tabsequence>32766</tabsequence> <width>97</width>
<border>5</border> <html>
<color>255</color> <valueishtml>0</valueishtml>
<x>442</x> </html>
<y>25</y> <name>tran_id__bond_t</name>
<height>16</height> <visible>1</visible>
<width>65</width> <font>
<format>dd/mm/yy</format> <face>Arial</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>2</family>
<name>tran_date</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<EditStyle style="editmask"> </font>
<mask>dd/mm/yy</mask> <background>
<imemode>0</imemode> <mode>2</mode>
<focusrectangle>no</focusrectangle> <color>67108864</color>
</EditStyle> </background>
<font> </TextObject>
<face>Arial</face> <ColumnObject>
<height>-10</height> <band>Detail</band>
<weight>400</weight> <id>20</id>
<family>2</family> <alignment>0</alignment>
<pitch>2</pitch> <tabsequence>10</tabsequence>
<charset>0</charset> <border>5</border>
</font> <color>255</color>
<background> <x>127</x>
<mode>1</mode> <y>81</y>
<color>536870912</color> <height>16</height>
</background> <width>108</width>
</ColumnObject> <format>[general]</format>
<TextObject> <html>
<band>Detail</band> <valueishtml>0</valueishtml>
<alignment>1</alignment> </html>
<text>Site Code:</text> <name>tran_id__bond</name>
<border>0</border> <visible>1</visible>
<color>33554432</color> <EditStyle style="edit">
<x>8</x> <limit>0</limit>
<y>46</y> <case>any</case>
<height>16</height> <autoselect>yes</autoselect>
<width>97</width> <imemode>0</imemode>
<html> </EditStyle>
<valueishtml>0</valueishtml> <font>
</html> <face>Arial</face>
<name>site_code_t</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<font> <family>2</family>
<face>Arial</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>2</family> <background>
<pitch>2</pitch> <mode>1</mode>
<charset>0</charset> <color>536870912</color>
</font> </background>
<background> </ColumnObject>
<mode>1</mode> <TextObject>
<color>536870912</color> <band>Detail</band>
</background> <alignment>1</alignment>
</TextObject> <text>Tran Id Vocher :</text>
<ColumnObject> <border>0</border>
<band>Detail</band> <color>33554432</color>
<id>3</id> <x>25</x>
<alignment>0</alignment> <y>102</y>
<tabsequence>32766</tabsequence> <height>16</height>
<border>5</border> <width>97</width>
<color>134217857</color> <html>
<x>110</x> <valueishtml>0</valueishtml>
<y>46</y> </html>
<height>16</height> <name>tran_id__pvouch_t</name>
<width>86</width> <visible>1</visible>
<format>[general]</format> <font>
<html> <face>Arial</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>site_code</name> <family>2</family>
<visible>1</visible> <pitch>2</pitch>
<EditStyle style="edit"> <charset>0</charset>
<limit>5</limit> </font>
<case>any</case> <background>
<focusrectangle>no</focusrectangle> <mode>2</mode>
<autoselect>yes</autoselect> <color>67108864</color>
<autohscroll>yes</autohscroll> </background>
<imemode>0</imemode> </TextObject>
</EditStyle> <ColumnObject>
<font> <band>Detail</band>
<face>Arial</face> <id>21</id>
<height>-10</height> <alignment>0</alignment>
<weight>400</weight> <tabsequence>20</tabsequence>
<family>2</family> <border>5</border>
<pitch>2</pitch> <color>255</color>
<charset>0</charset> <x>127</x>
</font> <y>102</y>
<background> <height>16</height>
<mode>1</mode> <width>108</width>
<color>553648127</color> <format>[general]</format>
</background> <html>
</ColumnObject> <valueishtml>0</valueishtml>
<TextObject> </html>
<band>Detail</band> <name>tran_id__pvouch</name>
<alignment>1</alignment> <visible>1</visible>
<text>Employee:</text> <EditStyle style="edit">
<border>0</border> <limit>0</limit>
<color>33554432</color> <case>any</case>
<x>8</x> <autoselect>yes</autoselect>
<y>67</y> <imemode>0</imemode>
<height>16</height> </EditStyle>
<width>97</width> <font>
<html> <face>Arial</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>emp_code_t</name> <family>2</family>
<visible>1</visible> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Arial</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>1</mode>
<family>2</family> <color>536870912</color>
<pitch>2</pitch> </background>
<charset>0</charset> </ColumnObject>
</font> <TextObject>
<background> <band>Detail</band>
<mode>1</mode> <alignment>1</alignment>
<color>536870912</color> <text>Line No Vocher :</text>
</background> <border>0</border>
</TextObject> <color>33554432</color>
<ColumnObject> <x>25</x>
<band>Detail</band> <y>123</y>
<id>11</id> <height>16</height>
<alignment>0</alignment> <width>97</width>
<tabsequence>32766</tabsequence> <html>
<border>5</border> <valueishtml>0</valueishtml>
<color>255</color> </html>
<x>202</x> <name>line_no__pvouch_t</name>
<y>67</y> <visible>1</visible>
<height>16</height> <font>
<width>98</width> <face>Arial</face>
<format>[general]</format> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>2</family>
</html> <pitch>2</pitch>
<name>emp_fname</name> <charset>0</charset>
<visible>1</visible> </font>
<EditStyle style="edit"> <background>
<limit>0</limit> <mode>2</mode>
<case>any</case> <color>67108864</color>
<autoselect>yes</autoselect> </background>
<imemode>0</imemode> </TextObject>
</EditStyle> <ColumnObject>
<font> <band>Detail</band>
<face>Arial</face> <id>22</id>
<height>-10</height> <alignment>0</alignment>
<weight>400</weight> <tabsequence>32766</tabsequence>
<family>2</family> <border>5</border>
<pitch>2</pitch> <color>255</color>
<charset>0</charset> <x>127</x>
</font> <y>123</y>
<background> <height>16</height>
<mode>1</mode> <width>108</width>
<color>536870912</color> <format>[general]</format>
</background> <html>
</ColumnObject> <valueishtml>0</valueishtml>
<ColumnObject> </html>
<band>Detail</band> <name>line_no__pvouch</name>
<id>12</id> <visible>1</visible>
<alignment>0</alignment> <EditStyle style="edit">
<tabsequence>32766</tabsequence> <limit>0</limit>
<border>5</border> <case>any</case>
<color>255</color> <autoselect>yes</autoselect>
<x>305</x> <imemode>0</imemode>
<y>67</y> </EditStyle>
<height>16</height> <font>
<width>98</width> <face>Arial</face>
<format>[general]</format> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>2</family>
</html> <pitch>2</pitch>
<name>emp_mname</name> <charset>0</charset>
<visible>1</visible> </font>
<EditStyle style="edit"> <background>
<limit>0</limit> <mode>1</mode>
<case>any</case> <color>536870912</color>
<autoselect>yes</autoselect> </background>
<imemode>0</imemode> </ColumnObject>
</EditStyle> <TextObject>
<font> <band>Detail</band>
<face>Arial</face> <alignment>1</alignment>
<height>-10</height> <text>Ad Code :</text>
<weight>400</weight> <border>0</border>
<family>2</family> <color>33554432</color>
<pitch>2</pitch> <x>25</x>
<charset>0</charset> <y>144</y>
</font> <height>16</height>
<background> <width>97</width>
<mode>1</mode> <html>
<color>536870912</color> <valueishtml>0</valueishtml>
</background> </html>
</ColumnObject> <name>ad_code_t</name>
<TextObject> <visible>1</visible>
<band>Detail</band> <font>
<alignment>1</alignment> <face>Arial</face>
<text>Department:</text> <height>-10</height>
<border>0</border> <weight>400</weight>
<color>33554432</color> <family>2</family>
<x>8</x> <pitch>2</pitch>
<y>88</y> <charset>0</charset>
<height>16</height> </font>
<width>97</width> <background>
<html> <mode>2</mode>
<valueishtml>0</valueishtml> <color>67108864</color>
</html> </background>
<name>dept_code_t</name> </TextObject>
<visible>1</visible> <ColumnObject>
<font> <band>Detail</band>
<face>Arial</face> <id>23</id>
<height>-10</height> <alignment>0</alignment>
<weight>400</weight> <tabsequence>30</tabsequence>
<family>2</family> <border>5</border>
<pitch>2</pitch> <color>255</color>
<charset>0</charset> <x>127</x>
</font> <y>145</y>
<background> <height>16</height>
<mode>1</mode> <width>108</width>
<color>536870912</color> <format>[general]</format>
</background> <html>
</TextObject> <valueishtml>0</valueishtml>
<ColumnObject> </html>
<band>Detail</band> <name>ad_code</name>
<id>4</id> <visible>1</visible>
<alignment>0</alignment> <EditStyle style="edit">
<tabsequence>10</tabsequence> <limit>0</limit>
<border>5</border> <case>any</case>
<color>33554432</color> <autoselect>yes</autoselect>
<x>110</x> <imemode>0</imemode>
<y>67</y> </EditStyle>
<height>16</height> <font>
<width>86</width> <face>Arial</face>
<format>[general]</format> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>2</family>
</html> <pitch>2</pitch>
<name>emp_code</name> <charset>0</charset>
<visible>1</visible> </font>
<EditStyle style="edit"> <background>
<limit>10</limit> <mode>1</mode>
<case>upper</case> <color>536870912</color>
<focusrectangle>no</focusrectangle> </background>
<autoselect>yes</autoselect> </ColumnObject>
<autohscroll>yes</autohscroll> <ColumnObject>
<imemode>0</imemode> <band>Detail</band>
</EditStyle> <id>24</id>
<font> <alignment>0</alignment>
<face>Arial</face> <tabsequence>32766</tabsequence>
<height>-10</height> <border>5</border>
<weight>400</weight> <color>255</color>
<family>2</family> <x>127</x>
<pitch>2</pitch> <y>167</y>
<charset>0</charset> <height>16</height>
</font> <width>108</width>
<background> <format>[general]</format>
<mode>2</mode> <html>
<color>16777215</color> <valueishtml>0</valueishtml>
</background> </html>
</ColumnObject> <name>allwdedn_descr</name>
<ColumnObject> <visible>1</visible>
<band>Detail</band> <EditStyle style="edit">
<id>5</id> <limit>0</limit>
<alignment>0</alignment> <case>any</case>
<tabsequence>32766</tabsequence> <autoselect>yes</autoselect>
<border>5</border> <imemode>0</imemode>
<color>255</color> </EditStyle>
<x>110</x> <font>
<y>109</y> <face>Arial</face>
<height>16</height> <height>-10</height>
<width>86</width> <weight>400</weight>
<format>[general]</format> <family>2</family>
<html> <pitch>2</pitch>
<valueishtml>0</valueishtml> <charset>0</charset>
</html> </font>
<name>confirmed</name> <background>
<visible>1</visible> <mode>1</mode>
<EditStyle style="ddlb"> <color>536870912</color>
<limit>0</limit> </background>
<allowedit>no</allowedit> </ColumnObject>
<case>any</case> <TextObject>
<imemode>0</imemode> <band>Detail</band>
</EditStyle> <alignment>1</alignment>
<font> <text>Site Code:</text>
<face>Arial</face> <border>0</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>24</x>
<family>2</family> <y>188</y>
<pitch>2</pitch> <height>16</height>
<charset>0</charset> <width>97</width>
</font> <html>
<background> <valueishtml>0</valueishtml>
<mode>1</mode> </html>
<color>536870912</color> <name>site_code_t</name>
</background> <visible>1</visible>
</ColumnObject> <font>
<TextObject> <face>Arial</face>
<band>Detail</band> <height>-10</height>
<alignment>1</alignment> <weight>400</weight>
<text>Confirmed on:</text> <family>2</family>
<border>0</border> <pitch>2</pitch>
<color>33554432</color> <charset>0</charset>
<x>330</x> </font>
<y>109</y> <background>
<height>16</height> <mode>1</mode>
<width>108</width> <color>536870912</color>
<html> </background>
<valueishtml>0</valueishtml> </TextObject>
</html> <ColumnObject>
<name>conf_date_t</name> <band>Detail</band>
<visible>1</visible> <id>3</id>
<font> <alignment>0</alignment>
<face>Arial</face> <tabsequence>32766</tabsequence>
<height>-10</height> <border>5</border>
<weight>400</weight> <color>134217857</color>
<family>2</family> <x>126</x>
<pitch>2</pitch> <y>188</y>
<charset>0</charset> <height>16</height>
</font> <width>86</width>
<background> <format>[general]</format>
<mode>1</mode> <html>
<color>536870912</color> <valueishtml>0</valueishtml>
</background> </html>
</TextObject> <name>site_code</name>
<ColumnObject> <visible>1</visible>
<band>Detail</band> <EditStyle style="edit">
<id>6</id> <limit>5</limit>
<alignment>0</alignment> <case>any</case>
<tabsequence>32766</tabsequence> <focusrectangle>no</focusrectangle>
<border>5</border> <autoselect>yes</autoselect>
<color>255</color> <autohscroll>yes</autohscroll>
<x>442</x> <imemode>0</imemode>
<y>109</y> </EditStyle>
<height>16</height> <font>
<width>65</width> <face>Arial</face>
<format>dd/mm/yy</format> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>2</family>
</html> <pitch>2</pitch>
<name>conf_date</name> <charset>0</charset>
<visible>1</visible> </font>
<EditStyle style="editmask"> <background>
<mask>dd/mm/yy</mask> <mode>1</mode>
<imemode>0</imemode> <color>553648127</color>
<focusrectangle>no</focusrectangle> </background>
</EditStyle> </ColumnObject>
<font> <ColumnObject>
<face>Arial</face> <band>Detail</band>
<height>-10</height> <id>14</id>
<weight>400</weight> <alignment>0</alignment>
<family>2</family> <tabsequence>32766</tabsequence>
<pitch>2</pitch> <border>5</border>
<charset>0</charset> <color>255</color>
</font> <x>218</x>
<background> <y>188</y>
<mode>1</mode> <height>16</height>
<color>536870912</color> <width>305</width>
</background> <format>[general]</format>
</ColumnObject> <html>
<ColumnObject> <valueishtml>0</valueishtml>
<band>Detail</band> </html>
<id>7</id> <name>site_descr</name>
<alignment>0</alignment> <visible>1</visible>
<tabsequence>32766</tabsequence> <EditStyle style="edit">
<border>5</border> <limit>0</limit>
<color>255</color> <case>any</case>
<x>110</x> <autoselect>yes</autoselect>
<y>130</y> <imemode>0</imemode>
<height>16</height> </EditStyle>
<width>86</width> <font>
<format>[general]</format> <face>Arial</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>2</family>
<name>emp_code__aprv</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<EditStyle style="edit"> </font>
<limit>10</limit> <background>
<case>any</case> <mode>1</mode>
<focusrectangle>no</focusrectangle> <color>536870912</color>
<autoselect>yes</autoselect> </background>
<autohscroll>yes</autohscroll> </ColumnObject>
<imemode>0</imemode> <TextObject>
</EditStyle> <band>Detail</band>
<font> <alignment>1</alignment>
<face>Arial</face> <text>Department:</text>
<height>-10</height> <border>0</border>
<weight>400</weight> <color>33554432</color>
<family>2</family> <x>24</x>
<pitch>2</pitch> <y>210</y>
<charset>0</charset> <height>16</height>
</font> <width>97</width>
<background> <html>
<mode>2</mode> <valueishtml>0</valueishtml>
<color>67108864</color> </html>
</background> <name>dept_code_t</name>
</ColumnObject> <visible>1</visible>
<ColumnObject> <font>
<band>Detail</band> <face>Arial</face>
<id>17</id> <height>-10</height>
<alignment>0</alignment> <weight>400</weight>
<tabsequence>32766</tabsequence> <family>2</family>
<border>5</border> <pitch>2</pitch>
<color>255</color> <charset>0</charset>
<x>202</x> </font>
<y>130</y> <background>
<height>16</height> <mode>1</mode>
<width>98</width> <color>536870912</color>
<format>[general]</format> </background>
<html> </TextObject>
<valueishtml>0</valueishtml> <ColumnObject>
</html> <band>Detail</band>
<name>employee_emp_fname</name> <id>15</id>
<visible>1</visible> <alignment>0</alignment>
<EditStyle style="edit"> <tabsequence>32766</tabsequence>
<limit>0</limit> <border>5</border>
<case>any</case> <color>255</color>
<autoselect>yes</autoselect> <x>126</x>
<imemode>0</imemode> <y>210</y>
</EditStyle> <height>16</height>
<font> <width>86</width>
<face>Arial</face> <format>[general]</format>
<height>-10</height> <html>
<weight>400</weight> <valueishtml>0</valueishtml>
<family>2</family> </html>
<pitch>2</pitch> <name>dept_code</name>
<charset>0</charset> <visible>1</visible>
</font> <EditStyle style="edit">
<background> <limit>0</limit>
<mode>1</mode> <case>any</case>
<color>536870912</color> <autoselect>yes</autoselect>
</background> <imemode>0</imemode>
</ColumnObject> </EditStyle>
<ColumnObject> <font>
<band>Detail</band> <face>Arial</face>
<id>18</id> <height>-10</height>
<alignment>0</alignment> <weight>400</weight>
<tabsequence>32766</tabsequence> <family>2</family>
<border>5</border> <pitch>2</pitch>
<color>255</color> <charset>0</charset>
<x>305</x> </font>
<y>130</y> <background>
<height>16</height> <mode>2</mode>
<width>98</width> <color>67108864</color>
<format>[general]</format> </background>
<html> </ColumnObject>
<valueishtml>0</valueishtml> <ColumnObject>
</html> <band>Detail</band>
<name>employee_emp_mname</name> <id>16</id>
<visible>1</visible> <alignment>0</alignment>
<EditStyle style="edit"> <tabsequence>32766</tabsequence>
<limit>0</limit> <border>5</border>
<case>any</case> <color>255</color>
<autoselect>yes</autoselect> <x>218</x>
<imemode>0</imemode> <y>210</y>
</EditStyle> <height>16</height>
<font> <width>305</width>
<face>Arial</face> <format>[general]</format>
<height>-10</height> <html>
<weight>400</weight> <valueishtml>0</valueishtml>
<family>2</family> </html>
<pitch>2</pitch> <name>department_descr</name>
<charset>0</charset> <visible>1</visible>
</font> <EditStyle style="edit">
<background> <limit>0</limit>
<mode>1</mode> <case>any</case>
<color>536870912</color> <autoselect>yes</autoselect>
</background> <imemode>0</imemode>
</ColumnObject> </EditStyle>
<ColumnObject> <font>
<band>Detail</band> <face>Arial</face>
<id>19</id> <height>-10</height>
<alignment>0</alignment> <weight>400</weight>
<tabsequence>32766</tabsequence> <family>2</family>
<border>5</border> <pitch>2</pitch>
<color>255</color> <charset>0</charset>
<x>409</x> </font>
<y>130</y> <background>
<height>16</height> <mode>2</mode>
<width>98</width> <color>67108864</color>
<format>[general]</format> </background>
<html> </ColumnObject>
<valueishtml>0</valueishtml> <TextObject>
</html> <band>Detail</band>
<name>employee_emp_lname</name> <alignment>1</alignment>
<visible>1</visible> <text>Confirmed:</text>
<EditStyle style="edit"> <border>0</border>
<limit>0</limit> <color>33554432</color>
<case>any</case> <x>24</x>
<autoselect>yes</autoselect> <y>231</y>
<imemode>0</imemode> <height>16</height>
</EditStyle> <width>97</width>
<font> <html>
<face>Arial</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>confirmed_t</name>
<family>2</family> <visible>1</visible>
<pitch>2</pitch> <font>
<charset>0</charset> <face>Arial</face>
</font> <height>-10</height>
<background> <weight>400</weight>
<mode>1</mode> <family>2</family>
<color>536870912</color> <pitch>2</pitch>
</background> <charset>0</charset>
</ColumnObject> </font>
<ColumnObject> <background>
<band>Detail</band> <mode>1</mode>
<id>15</id> <color>536870912</color>
<alignment>0</alignment> </background>
<tabsequence>32766</tabsequence> </TextObject>
<border>5</border> <ColumnObject>
<color>255</color> <band>Detail</band>
<x>110</x> <id>5</id>
<y>88</y> <alignment>0</alignment>
<height>16</height> <tabsequence>32766</tabsequence>
<width>86</width> <border>5</border>
<format>[general]</format> <color>255</color>
<html> <x>126</x>
<valueishtml>0</valueishtml> <y>231</y>
</html> <height>16</height>
<name>dept_code</name> <width>86</width>
<visible>1</visible> <format>[Yes/No]</format>
<EditStyle style="edit"> <html>
<limit>0</limit> <valueishtml>0</valueishtml>
<case>any</case> </html>
<autoselect>yes</autoselect> <name>confirmed</name>
<imemode>0</imemode> <visible>1</visible>
</EditStyle> <EditStyle style="ddlb">
<font> <limit>1</limit>
<face>Arial</face> <allowedit>no</allowedit>
<height>-10</height> <case>any</case>
<weight>400</weight> <imemode>0</imemode>
<family>2</family> </EditStyle>
<pitch>2</pitch> <font>
<charset>0</charset> <face>Arial</face>
</font> <height>-10</height>
<background> <weight>400</weight>
<mode>2</mode> <family>2</family>
<color>67108864</color> <pitch>2</pitch>
</background> <charset>0</charset>
</ColumnObject> </font>
<ColumnObject> <background>
<band>Detail</band> <mode>1</mode>
<id>13</id> <color>536870912</color>
<alignment>0</alignment> </background>
<tabsequence>32766</tabsequence> </ColumnObject>
<border>5</border> <TextObject>
<color>255</color> <band>Detail</band>
<x>409</x> <alignment>1</alignment>
<y>67</y> <text>Confirmed on:</text>
<height>16</height> <border>0</border>
<width>98</width> <color>33554432</color>
<format>[general]</format> <x>345</x>
<html> <y>231</y>
<valueishtml>0</valueishtml> <height>16</height>
</html> <width>108</width>
<name>emp_lname</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>0</limit> <name>conf_date_t</name>
<case>any</case> <visible>1</visible>
<autoselect>yes</autoselect> <font>
<imemode>0</imemode> <face>Arial</face>
</EditStyle> <height>-10</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>1</mode> </TextObject>
<color>536870912</color> <ColumnObject>
</background> <band>Detail</band>
</ColumnObject> <id>6</id>
<ColumnObject> <alignment>0</alignment>
<band>Detail</band> <tabsequence>32766</tabsequence>
<id>16</id> <border>5</border>
<alignment>0</alignment> <color>255</color>
<tabsequence>32766</tabsequence> <x>458</x>
<border>5</border> <y>231</y>
<color>255</color> <height>16</height>
<x>202</x> <width>65</width>
<y>88</y> <format>dd/mm/yy</format>
<height>16</height> <html>
<width>305</width> <valueishtml>0</valueishtml>
<format>[general]</format> </html>
<html> <name>conf_date</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <EditStyle style="edit">
<name>department_descr</name> <limit>0</limit>
<visible>1</visible> <case>any</case>
<EditStyle style="edit"> <focusrectangle>no</focusrectangle>
<limit>0</limit> <autoselect>yes</autoselect>
<case>any</case> <autohscroll>yes</autohscroll>
<autoselect>yes</autoselect> <imemode>0</imemode>
<imemode>0</imemode> </EditStyle>
</EditStyle> <font>
<font> <face>Arial</face>
<face>Arial</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>2</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>67108864</color> </background>
</background> </ColumnObject>
</ColumnObject> <TextObject>
<ColumnObject> <band>Detail</band>
<band>Detail</band> <alignment>1</alignment>
<id>14</id> <text>Approved by:</text>
<alignment>0</alignment> <border>0</border>
<tabsequence>32766</tabsequence> <color>33554432</color>
<border>5</border> <x>24</x>
<color>255</color> <y>252</y>
<x>202</x> <height>16</height>
<y>46</y> <width>97</width>
<height>16</height> <html>
<width>305</width> <valueishtml>0</valueishtml>
<format>[general]</format> </html>
<html> <name>emp_code__aprv_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>site_descr</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<EditStyle style="edit"> <weight>400</weight>
<limit>0</limit> <family>2</family>
<case>any</case> <pitch>2</pitch>
<autoselect>yes</autoselect> <charset>0</charset>
<imemode>0</imemode> </font>
</EditStyle> <background>
<font> <mode>1</mode>
<face>Arial</face> <color>536870912</color>
<height>-10</height> </background>
<weight>400</weight> </TextObject>
<family>2</family> <ColumnObject>
<pitch>2</pitch> <band>Detail</band>
<charset>0</charset> <id>7</id>
</font> <alignment>0</alignment>
<background> <tabsequence>32766</tabsequence>
<mode>1</mode> <border>5</border>
<color>536870912</color> <color>255</color>
</background> <x>126</x>
</ColumnObject> <y>252</y>
<TextObject> <height>16</height>
<band>Detail</band> <width>86</width>
<alignment>1</alignment> <format>[general]</format>
<text>Change User:</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>8</x> <name>emp_code__aprv</name>
<y>194</y> <visible>1</visible>
<height>16</height> <EditStyle style="edit">
<width>97</width> <limit>10</limit>
<html> <case>any</case>
<valueishtml>0</valueishtml> <focusrectangle>no</focusrectangle>
</html> <autoselect>yes</autoselect>
<name>chg_user_t</name> <autohscroll>yes</autohscroll>
<visible>1</visible> <imemode>0</imemode>
<font> </EditStyle>
<face>Arial</face> <font>
<height>-10</height> <face>Arial</face>
<weight>400</weight> <height>-10</height>
<family>2</family> <weight>400</weight>
<pitch>2</pitch> <family>2</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>1</mode> <background>
<color>536870912</color> <mode>2</mode>
</background> <color>67108864</color>
</TextObject> </background>
<ColumnObject> </ColumnObject>
<band>Detail</band> <ColumnObject>
<id>8</id> <band>Detail</band>
<alignment>0</alignment> <id>17</id>
<tabsequence>32766</tabsequence> <alignment>0</alignment>
<border>5</border> <tabsequence>32766</tabsequence>
<color>255</color> <border>5</border>
<x>109</x> <color>255</color>
<y>194</y> <x>218</x>
<height>16</height> <y>252</y>
<width>86</width> <height>16</height>
<format>[general]</format> <width>98</width>
<html> <format>[general]</format>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>chg_user</name> </html>
<visible>1</visible> <name>employee_emp_fname</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>10</limit> <EditStyle style="edit">
<case>any</case> <limit>0</limit>
<focusrectangle>no</focusrectangle> <case>any</case>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <imemode>0</imemode>
<imemode>0</imemode> </EditStyle>
</EditStyle> <font>
<font> <face>Arial</face>
<face>Arial</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>2</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>1</mode> <color>536870912</color>
<color>536870912</color> </background>
</background> </ColumnObject>
</ColumnObject> <ColumnObject>
<HtmlTable> <band>Detail</band>
<border>1</border> <id>18</id>
</HtmlTable> <alignment>0</alignment>
<HtmlGen> <tabsequence>32766</tabsequence>
<clientevents>1</clientevents> <border>5</border>
<clientvalidation>1</clientvalidation> <color>255</color>
<clientcomputedfields>1</clientcomputedfields> <x>321</x>
<clientformatting>0</clientformatting> <y>252</y>
<clientscriptable>0</clientscriptable> <height>16</height>
<generatejavascript>1</generatejavascript> <width>98</width>
<encodeselflinkargs>1</encodeselflinkargs> <format>[general]</format>
<netscapelayers>0</netscapelayers> <html>
</HtmlGen> <valueishtml>0</valueishtml>
<Export.XML> </html>
<headgroups>1</headgroups> <name>employee_emp_mname</name>
<includewhitespace>0</includewhitespace> <visible>1</visible>
<metadatatype>0</metadatatype> <EditStyle style="edit">
<savemetadata>0</savemetadata> <limit>0</limit>
<Template> <case>any</case>
<comment></comment> <autoselect>yes</autoselect>
<encoding>UTF-8</encoding> <imemode>0</imemode>
<name>d_employee_bond_def21</name> </EditStyle>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;tran_date/&gt;&lt;site_code/&gt;&lt;emp_code/&gt;&lt;confirmed&gt;confirmed&lt;/confirmed&gt;&lt;conf_date&gt;conf_date&lt;/conf_date&gt;&lt;emp_code__aprv/&gt;&lt;chg_user&gt;chg_user&lt;/chg_user&gt;&lt;chg_term&gt;chg_term&lt;/chg_term&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml> <font>
</Template> <face>Arial</face>
</Export.XML> <height>-10</height>
<Import.XML> <weight>400</weight>
</Import.XML> <family>2</family>
<Export.PDF> <pitch>2</pitch>
<method>0</method> <charset>0</charset>
<distill.custompostscript>0</distill.custompostscript> </font>
<xslfop.print>0</xslfop.print> <background>
</Export.PDF> <mode>1</mode>
</Sybase_eDataWindow> <color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>425</x>
<y>252</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>326</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</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>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>347</y>
<height>16</height>
<width>86</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>454</x>
<y>326</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>326</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>347</y>
<height>16</height>
<width>97</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>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Term:</text>
<border>0</border>
<color>33554432</color>
<x>352</x>
<y>326</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>415</x>
<y>39</y>
<height>16</height>
<width>108</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Date:</text>
<border>0</border>
<color>33554432</color>
<x>363</x>
<y>38</y>
<height>16</height>
<width>47</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_employee_bond_def21</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;tran_date/&gt;&lt;site_code/&gt;&lt;emp_code/&gt;&lt;confirmed&gt;confirmed&lt;/confirmed&gt;&lt;conf_date&gt;conf_date&lt;/conf_date&gt;&lt;emp_code__aprv/&gt;&lt;chg_user&gt;chg_user&lt;/chg_user&gt;&lt;chg_term&gt;chg_term&lt;/chg_term&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>67108864</color> <color>67108864</color>
<processing>0</processing> <processing>0</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Summary> <Header>
<height>0</height> <height>2</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Header>
<Footer> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Summary>
<Detail> <Footer>
<height>206</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Footer>
<TableDefinition> <Detail>
<table_column> <height>378</height>
<type size="10">char</type> <color>536870912</color>
<update>yes</update> </Detail>
<updatewhereclause>yes</updatewhereclause> <TableDefinition>
<key>yes</key> <table_column>
<name>tran_id</name> <type size="10">char</type>
<dbname>employee_bond_def_det.tran_id</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <key>yes</key>
<type precision="0">decimal</type> <name>tran_id</name>
<update>yes</update> <dbname>employee_bond_def_det.tran_id</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<key>yes</key> <table_column>
<name>line_no</name> <type precision="0">decimal</type>
<dbname>employee_bond_def_det.line_no</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <key>yes</key>
<type precision="3">decimal</type> <name>line_no</name>
<update>yes</update> <dbname>employee_bond_def_det.line_no</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>bond_amt__curr</name> <table_column>
<dbname>employee_bond_def_det.bond_amt__curr</dbname> <type precision="3">decimal</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type precision="0">decimal</type> <name>bond_amt__curr</name>
<update>yes</update> <dbname>employee_bond_def_det.bond_amt__curr</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>bond_prd__curr</name> <table_column>
<dbname>employee_bond_def_det.bond_prd__curr</dbname> <type precision="0">decimal</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type precision="3">decimal</type> <name>bond_prd__curr</name>
<update>yes</update> <dbname>employee_bond_def_det.bond_prd__curr</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>bond_amt</name> <table_column>
<dbname>employee_bond_def_det.bond_amt</dbname> <type precision="3">decimal</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type precision="0">decimal</type> <name>bond_amt</name>
<update>yes</update> <dbname>employee_bond_def_det.bond_amt</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>bond_prd</name> <table_column>
<dbname>employee_bond_def_det.bond_prd</dbname> <type precision="0">decimal</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type precision="0">decimal</type> <name>bond_prd</name>
<update>yes</update> <dbname>employee_bond_def_det.bond_prd</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>line_no__ref</name> <table_column>
<dbname>employee_bond_def_det.line_no__ref</dbname> <type precision="0">decimal</type>
</table_column> <update>yes</update>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def_det&quot; ) COLUMN(NAME=&quot;employee_bond_def_det.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no__ref&quot;)) </retrieve> <updatewhereclause>yes</updatewhereclause>
<update>EMPLOYEE_BOND_DEF_DET</update> <name>line_no__ref</name>
<updatewhere>1</updatewhere> <dbname>employee_bond_def_det.line_no__ref</dbname>
<updatekeyinplace>no</updatekeyinplace> </table_column>
</TableDefinition> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_bond_def_det&quot; ) COLUMN(NAME=&quot;employee_bond_def_det.tran_id&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd__curr&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_amt&quot;) COLUMN(NAME=&quot;employee_bond_def_det.bond_prd&quot;) COLUMN(NAME=&quot;employee_bond_def_det.line_no__ref&quot;)) </retrieve>
<GroupBox> <update>EMPLOYEE_BOND_DEF_DET</update>
<band>Detail</band> <updatewhere>1</updatewhere>
<text>Basic</text> <updatekeyinplace>no</updatekeyinplace>
<border>2</border> </TableDefinition>
<color>0</color> <GroupBox>
<x>9</x> <band>Detail</band>
<y>0</y> <text>Basic</text>
<height>199</height> <border>2</border>
<width>523</width> <color>0</color>
<name>gb_1</name> <x>10</x>
<visible>1</visible> <y>22</y>
<font> <height>149</height>
<face>Times New Roman</face> <width>523</width>
<height>-10</height> <name>gb_1</name>
<weight>400</weight> <visible>1</visible>
<family>1</family> <font>
<pitch>2</pitch> <face>Times New Roman</face>
<charset>0</charset> <height>-10</height>
</font> <weight>400</weight>
<background> <family>1</family>
<mode>2</mode> <pitch>2</pitch>
<color>67108864</color> <charset>0</charset>
</background> </font>
</GroupBox> <background>
<ColumnObject> <mode>2</mode>
<band>Detail</band> <color>67108864</color>
<id>6</id> </background>
<alignment>1</alignment> </GroupBox>
<tabsequence>20</tabsequence> <ColumnObject>
<border>5</border> <band>Detail</band>
<color>0</color> <id>6</id>
<x>153</x> <alignment>1</alignment>
<y>102</y> <tabsequence>20</tabsequence>
<height>16</height> <border>5</border>
<width>72</width> <color>0</color>
<format>#0</format> <x>153</x>
<html> <y>102</y>
<valueishtml>0</valueishtml> <height>16</height>
</html> <width>72</width>
<name>bond_prd</name> <format>#0</format>
<visible>1</visible> <html>
<EditStyle style="edit"> <valueishtml>0</valueishtml>
<limit>2</limit> </html>
<case>any</case> <name>bond_prd</name>
<format>#0</format> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>2</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <format>#0</format>
</EditStyle> <focusrectangle>no</focusrectangle>
<font> <autoselect>yes</autoselect>
<face>Arial</face> <autohscroll>yes</autohscroll>
<height>-10</height> <imemode>0</imemode>
<weight>400</weight> </EditStyle>
<family>2</family> <font>
<pitch>2</pitch> <face>Arial</face>
<charset>0</charset> <height>-10</height>
</font> <weight>400</weight>
<background> <family>2</family>
<mode>2</mode> <pitch>2</pitch>
<color>16777215</color> <charset>0</charset>
</background> </font>
</ColumnObject> <background>
<ColumnObject> <mode>2</mode>
<band>Detail</band> <color>16777215</color>
<id>1</id> </background>
<alignment>0</alignment> </ColumnObject>
<tabsequence>32766</tabsequence> <ColumnObject>
<border>5</border> <band>Detail</band>
<color>255</color> <id>4</id>
<x>153</x> <alignment>1</alignment>
<y>123</y> <tabsequence>32766</tabsequence>
<height>16</height> <border>5</border>
<width>108</width> <color>255</color>
<format>[general]</format> <x>153</x>
<html> <y>81</y>
<valueishtml>0</valueishtml> <height>16</height>
</html> <width>72</width>
<name>tran_id</name> <format>[general]</format>
<visible>1</visible> <html>
<EditStyle style="edit"> <valueishtml>0</valueishtml>
<limit>10</limit> </html>
<case>any</case> <name>bond_prd__curr</name>
<focusrectangle>no</focusrectangle> <visible>1</visible>
<autoselect>yes</autoselect> <EditStyle style="edit">
<autohscroll>yes</autohscroll> <limit>0</limit>
<imemode>0</imemode> <case>any</case>
</EditStyle> <focusrectangle>no</focusrectangle>
<font> <autoselect>yes</autoselect>
<face>Arial</face> <autohscroll>yes</autohscroll>
<height>-10</height> <imemode>0</imemode>
<weight>400</weight> </EditStyle>
<family>2</family> <font>
<pitch>2</pitch> <face>Arial</face>
<charset>0</charset> <height>-10</height>
</font> <weight>400</weight>
<background> <family>2</family>
<mode>1</mode> <pitch>2</pitch>
<color>536870912</color> <charset>0</charset>
</background> </font>
</ColumnObject> <background>
<ColumnObject> <mode>1</mode>
<band>Detail</band> <color>536870912</color>
<id>4</id> </background>
<alignment>1</alignment> </ColumnObject>
<tabsequence>32766</tabsequence> <TextObject>
<border>5</border> <band>Detail</band>
<color>255</color> <alignment>1</alignment>
<x>153</x> <text>Bond Period Current:</text>
<y>81</y> <border>0</border>
<height>16</height> <color>33554432</color>
<width>72</width> <x>22</x>
<format>[general]</format> <y>81</y>
<html> <height>16</height>
<valueishtml>0</valueishtml> <width>127</width>
</html> <html>
<name>bond_prd__curr</name> <valueishtml>0</valueishtml>
<visible>1</visible> </html>
<EditStyle style="edit"> <name>bond_prd__curr_t</name>
<limit>0</limit> <visible>1</visible>
<case>any</case> <font>
<focusrectangle>no</focusrectangle> <face>Arial</face>
<autoselect>yes</autoselect> <height>-10</height>
<autohscroll>yes</autohscroll> <weight>400</weight>
<imemode>0</imemode> <family>2</family>
</EditStyle> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Arial</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>1</mode>
<family>2</family> <color>536870912</color>
<pitch>2</pitch> </background>
<charset>0</charset> </TextObject>
</font> <TextObject>
<background> <band>Detail</band>
<mode>1</mode> <alignment>1</alignment>
<color>536870912</color> <text>Bond Period:</text>
</background> <border>0</border>
</ColumnObject> <color>33554432</color>
<TextObject> <x>56</x>
<band>Detail</band> <y>102</y>
<alignment>1</alignment> <height>16</height>
<text>Bond Period Current:</text> <width>93</width>
<border>0</border> <html>
<color>33554432</color> <valueishtml>0</valueishtml>
<x>22</x> </html>
<y>81</y> <name>bond_prd_t</name>
<height>16</height> <visible>1</visible>
<width>127</width> <font>
<html> <face>Arial</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>bond_prd__curr_t</name> <family>2</family>
<visible>1</visible> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Arial</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>1</mode>
<family>2</family> <color>536870912</color>
<pitch>2</pitch> </background>
<charset>0</charset> </TextObject>
</font> <TextObject>
<background> <band>Detail</band>
<mode>1</mode> <alignment>1</alignment>
<color>536870912</color> <text>Bond Amount Current:</text>
</background> <border>0</border>
</TextObject> <color>33554432</color>
<TextObject> <x>281</x>
<band>Detail</band> <y>81</y>
<alignment>1</alignment> <height>16</height>
<text>Bond Period:</text> <width>132</width>
<border>0</border> <html>
<color>33554432</color> <valueishtml>0</valueishtml>
<x>56</x> </html>
<y>102</y> <name>bond_amt__curr_t</name>
<height>16</height> <visible>1</visible>
<width>93</width> <font>
<html> <face>Arial</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>bond_prd_t</name> <family>2</family>
<visible>1</visible> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Arial</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>1</mode>
<family>2</family> <color>536870912</color>
<pitch>2</pitch> </background>
<charset>0</charset> </TextObject>
</font> <TextObject>
<background> <band>Detail</band>
<mode>1</mode> <alignment>1</alignment>
<color>536870912</color> <text>Bond Amount:</text>
</background> <border>0</border>
</TextObject> <color>33554432</color>
<TextObject> <x>320</x>
<band>Detail</band> <y>102</y>
<alignment>1</alignment> <height>16</height>
<text>Transaction Id:</text> <width>93</width>
<border>0</border> <html>
<color>33554432</color> <valueishtml>0</valueishtml>
<x>56</x> </html>
<y>123</y> <name>bond_amt_t</name>
<height>16</height> <visible>1</visible>
<width>93</width> <font>
<html> <face>Arial</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>tran_id_t</name> <family>2</family>
<visible>1</visible> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Arial</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>1</mode>
<family>2</family> <color>536870912</color>
<pitch>2</pitch> </background>
<charset>0</charset> </TextObject>
</font> <TextObject>
<background> <band>Detail</band>
<mode>1</mode> <alignment>1</alignment>
<color>536870912</color> <text>Line No Reference:</text>
</background> <border>0</border>
</TextObject> <color>33554432</color>
<TextObject> <x>275</x>
<band>Detail</band> <y>60</y>
<alignment>1</alignment> <height>16</height>
<text>Bond Amount Current:</text> <width>139</width>
<border>0</border> <html>
<color>33554432</color> <valueishtml>0</valueishtml>
<x>281</x> </html>
<y>81</y> <name>line_no__ref_t</name>
<height>16</height> <visible>1</visible>
<width>132</width> <font>
<html> <face>Arial</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>bond_amt__curr_t</name> <family>2</family>
<visible>1</visible> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Arial</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>1</mode>
<family>2</family> <color>536870912</color>
<pitch>2</pitch> </background>
<charset>0</charset> </TextObject>
</font> <ColumnObject>
<background> <band>Detail</band>
<mode>1</mode> <id>7</id>
<color>536870912</color> <alignment>1</alignment>
</background> <tabsequence>10</tabsequence>
</TextObject> <border>5</border>
<TextObject> <color>0</color>
<band>Detail</band> <x>418</x>
<alignment>1</alignment> <y>60</y>
<text>Bond Amount:</text> <height>16</height>
<border>0</border> <width>72</width>
<color>33554432</color> <format>##0</format>
<x>320</x> <html>
<y>102</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>93</width> <name>line_no__ref</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <EditStyle style="edit">
</html> <limit>3</limit>
<name>bond_amt_t</name> <case>any</case>
<visible>1</visible> <format>##0</format>
<font> <focusrectangle>no</focusrectangle>
<face>Arial</face> <autoselect>no</autoselect>
<height>-10</height> <imemode>0</imemode>
<weight>400</weight> </EditStyle>
<family>2</family> <font>
<pitch>2</pitch> <face>Arial</face>
<charset>0</charset> <height>-10</height>
</font> <weight>400</weight>
<background> <family>2</family>
<mode>1</mode> <pitch>2</pitch>
<color>536870912</color> <charset>0</charset>
</background> </font>
</TextObject> <background>
<TextObject> <mode>2</mode>
<band>Detail</band> <color>16777215</color>
<alignment>1</alignment> </background>
<text>Line No:</text> </ColumnObject>
<border>0</border> <ColumnObject>
<color>33554432</color> <band>Detail</band>
<x>83</x> <id>3</id>
<y>60</y> <alignment>1</alignment>
<height>16</height> <tabsequence>32766</tabsequence>
<width>66</width> <border>5</border>
<html> <color>255</color>
<valueishtml>0</valueishtml> <x>417</x>
</html> <y>81</y>
<name>line_no_t</name> <height>16</height>
<visible>1</visible> <width>72</width>
<font> <format>[general]</format>
<face>Arial</face> <html>
<height>-10</height> <valueishtml>0</valueishtml>
<weight>400</weight> </html>
<family>2</family> <name>bond_amt__curr</name>
<pitch>2</pitch> <visible>1</visible>
<charset>0</charset> <EditStyle style="edit">
</font> <limit>0</limit>
<background> <case>any</case>
<mode>1</mode> <focusrectangle>no</focusrectangle>
<color>536870912</color> <autoselect>yes</autoselect>
</background> <autohscroll>yes</autohscroll>
</TextObject> <imemode>0</imemode>
<ColumnObject> </EditStyle>
<band>Detail</band> <font>
<id>2</id> <face>Arial</face>
<alignment>1</alignment> <height>-10</height>
<tabsequence>32766</tabsequence> <weight>400</weight>
<border>5</border> <family>2</family>
<color>255</color> <pitch>2</pitch>
<x>153</x> <charset>0</charset>
<y>60</y> </font>
<height>16</height> <background>
<width>72</width> <mode>1</mode>
<format>[general]</format> <color>536870912</color>
<html> </background>
<valueishtml>0</valueishtml> </ColumnObject>
</html> <ColumnObject>
<name>line_no</name> <band>Detail</band>
<visible>1</visible> <id>5</id>
<EditStyle style="edit"> <alignment>1</alignment>
<limit>0</limit> <tabsequence>30</tabsequence>
<case>any</case> <border>5</border>
<focusrectangle>no</focusrectangle> <color>0</color>
<autoselect>yes</autoselect> <x>417</x>
<autohscroll>yes</autohscroll> <y>102</y>
<imemode>0</imemode> <height>16</height>
</EditStyle> <width>72</width>
<font> <format>##,###,##0.00</format>
<face>Arial</face> <html>
<height>-10</height> <valueishtml>0</valueishtml>
<weight>400</weight> </html>
<family>2</family> <name>bond_amt</name>
<pitch>2</pitch> <visible>1</visible>
<charset>0</charset> <EditStyle style="edit">
</font> <limit>13</limit>
<background> <case>any</case>
<mode>1</mode> <format>##,###,##0.00</format>
<color>536870912</color> <focusrectangle>no</focusrectangle>
</background> <autoselect>yes</autoselect>
</ColumnObject> <autohscroll>yes</autohscroll>
<TextObject> <imemode>0</imemode>
<band>Detail</band> </EditStyle>
<alignment>1</alignment> <font>
<text>Line No Reference:</text> <face>Arial</face>
<border>0</border> <height>-10</height>
<color>33554432</color> <weight>400</weight>
<x>274</x> <family>2</family>
<y>60</y> <pitch>2</pitch>
<height>16</height> <charset>0</charset>
<width>139</width> </font>
<html> <background>
<valueishtml>0</valueishtml> <mode>2</mode>
</html> <color>16777215</color>
<name>t_1</name> </background>
<visible>1</visible> </ColumnObject>
<font> <ColumnObject>
<face>Arial</face> <band>Detail</band>
<height>-10</height> <id>1</id>
<weight>400</weight> <alignment>0</alignment>
<family>2</family> <tabsequence>32766</tabsequence>
<pitch>2</pitch> <border>5</border>
<charset>0</charset> <color>255</color>
</font> <x>152</x>
<background> <y>123</y>
<mode>1</mode> <height>16</height>
<color>536870912</color> <width>108</width>
</background> <format>[general]</format>
</TextObject> <html>
<ColumnObject> <valueishtml>0</valueishtml>
<band>Detail</band> </html>
<id>7</id> <name>tran_id</name>
<alignment>1</alignment> <visible>1</visible>
<tabsequence>10</tabsequence> <EditStyle style="edit">
<border>5</border> <limit>10</limit>
<color>0</color> <case>any</case>
<x>417</x> <focusrectangle>no</focusrectangle>
<y>60</y> <autoselect>yes</autoselect>
<height>16</height> <autohscroll>yes</autohscroll>
<width>72</width> <imemode>0</imemode>
<format>##0</format> </EditStyle>
<html> <font>
<valueishtml>0</valueishtml> <face>Arial</face>
</html> <height>-10</height>
<name>line_no__ref</name> <weight>400</weight>
<visible>1</visible> <family>2</family>
<EditStyle style="edit"> <pitch>2</pitch>
<limit>3</limit> <charset>0</charset>
<case>any</case> </font>
<format>##0</format> <background>
<focusrectangle>no</focusrectangle> <mode>1</mode>
<autoselect>no</autoselect> <color>536870912</color>
<imemode>0</imemode> </background>
</EditStyle> </ColumnObject>
<font> <TextObject>
<face>Arial</face> <band>Detail</band>
<height>-10</height> <alignment>1</alignment>
<weight>400</weight> <text>Transaction Id:</text>
<family>2</family> <border>0</border>
<pitch>2</pitch> <color>33554432</color>
<charset>0</charset> <x>55</x>
</font> <y>123</y>
<background> <height>16</height>
<mode>2</mode> <width>93</width>
<color>16777215</color> <html>
</background> <valueishtml>0</valueishtml>
</ColumnObject> </html>
<ColumnObject> <name>tran_id_t</name>
<band>Detail</band> <visible>1</visible>
<id>3</id> <font>
<alignment>1</alignment> <face>Arial</face>
<tabsequence>32766</tabsequence> <height>-10</height>
<border>5</border> <weight>400</weight>
<color>255</color> <family>2</family>
<x>417</x> <pitch>2</pitch>
<y>81</y> <charset>0</charset>
<height>16</height> </font>
<width>72</width> <background>
<format>[general]</format> <mode>1</mode>
<html> <color>536870912</color>
<valueishtml>0</valueishtml> </background>
</html> </TextObject>
<name>bond_amt__curr</name> <TextObject>
<visible>1</visible> <band>Detail</band>
<EditStyle style="edit"> <alignment>1</alignment>
<limit>0</limit> <text>Line No:</text>
<case>any</case> <border>0</border>
<focusrectangle>no</focusrectangle> <color>33554432</color>
<autoselect>yes</autoselect> <x>84</x>
<autohscroll>yes</autohscroll> <y>59</y>
<imemode>0</imemode> <height>16</height>
</EditStyle> <width>66</width>
<font> <html>
<face>Arial</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>line_no_t</name>
<family>2</family> <visible>1</visible>
<pitch>2</pitch> <font>
<charset>0</charset> <face>Arial</face>
</font> <height>-10</height>
<background> <weight>400</weight>
<mode>1</mode> <family>2</family>
<color>536870912</color> <pitch>2</pitch>
</background> <charset>0</charset>
</ColumnObject> </font>
<ColumnObject> <background>
<band>Detail</band> <mode>1</mode>
<id>5</id> <color>536870912</color>
<alignment>1</alignment> </background>
<tabsequence>30</tabsequence> </TextObject>
<border>5</border> <ColumnObject>
<color>0</color> <band>Detail</band>
<x>417</x> <id>2</id>
<y>102</y> <alignment>1</alignment>
<height>16</height> <tabsequence>32766</tabsequence>
<width>72</width> <border>5</border>
<format>##,###,##0.00</format> <color>255</color>
<html> <x>154</x>
<valueishtml>0</valueishtml> <y>59</y>
</html> <height>16</height>
<name>bond_amt</name> <width>72</width>
<visible>1</visible> <format>[general]</format>
<EditStyle style="edit"> <html>
<limit>13</limit> <valueishtml>0</valueishtml>
<case>any</case> </html>
<format>##,###,##0.00</format> <name>line_no</name>
<focusrectangle>no</focusrectangle> <visible>1</visible>
<autoselect>yes</autoselect> <EditStyle style="edit">
<autohscroll>yes</autohscroll> <limit>0</limit>
<imemode>0</imemode> <case>any</case>
</EditStyle> <focusrectangle>no</focusrectangle>
<font> <autoselect>yes</autoselect>
<face>Arial</face> <autohscroll>yes</autohscroll>
<height>-10</height> <imemode>0</imemode>
<weight>400</weight> </EditStyle>
<family>2</family> <font>
<pitch>2</pitch> <face>Arial</face>
<charset>0</charset> <height>-10</height>
</font> <weight>400</weight>
<background> <family>2</family>
<mode>2</mode> <pitch>2</pitch>
<color>16777215</color> <charset>0</charset>
</background> </font>
</ColumnObject> <background>
<HtmlTable> <mode>1</mode>
<border>1</border> <color>536870912</color>
</HtmlTable> </background>
<HtmlGen> </ColumnObject>
<clientevents>1</clientevents> <HtmlTable>
<clientvalidation>1</clientvalidation> <border>1</border>
<clientcomputedfields>1</clientcomputedfields> </HtmlTable>
<clientformatting>0</clientformatting> <HtmlGen>
<clientscriptable>0</clientscriptable> <clientevents>1</clientevents>
<generatejavascript>1</generatejavascript> <clientvalidation>1</clientvalidation>
<encodeselflinkargs>1</encodeselflinkargs> <clientcomputedfields>1</clientcomputedfields>
<netscapelayers>0</netscapelayers> <clientformatting>0</clientformatting>
</HtmlGen> <clientscriptable>0</clientscriptable>
<Export.XML> <generatejavascript>1</generatejavascript>
<headgroups>1</headgroups> <encodeselflinkargs>1</encodeselflinkargs>
<includewhitespace>0</includewhitespace> <netscapelayers>0</netscapelayers>
<metadatatype>0</metadatatype> </HtmlGen>
<savemetadata>0</savemetadata> <Export.XML>
<Template> <headgroups>1</headgroups>
<comment></comment> <includewhitespace>0</includewhitespace>
<encoding>UTF-8</encoding> <metadatatype>0</metadatatype>
<name>d_employee_bond_def22</name> <savemetadata>0</savemetadata>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;line_no/&gt;&lt;bond_amt__curr/&gt;&lt;bond_prd__curr/&gt;&lt;bond_amt&gt;bond_amt&lt;/bond_amt&gt;&lt;bond_prd&gt;bond_prd&lt;/bond_prd&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml> <Template>
</Template> <comment></comment>
</Export.XML> <encoding>UTF-8</encoding>
<Import.XML> <name>d_employee_bond_def22</name>
</Import.XML> <xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;untitled&gt;&lt;untitled_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;line_no/&gt;&lt;bond_amt__curr/&gt;&lt;bond_prd__curr/&gt;&lt;bond_amt&gt;bond_amt&lt;/bond_amt&gt;&lt;bond_prd&gt;bond_prd&lt;/bond_prd&gt;&lt;/untitled_row&gt;&lt;/untitled&gt;</xml>
<Export.PDF> </Template>
<method>0</method> </Export.XML>
<distill.custompostscript>0</distill.custompostscript> <Import.XML>
<xslfop.print>0</xslfop.print> </Import.XML>
</Export.PDF> <Export.PDF>
</Sybase_eDataWindow> <method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
...@@ -9,33 +9,45 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -9,33 +9,45 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="employee_bond_def.tran_date" ) column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="employee_bond_def.tran_date" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="employee_bond_def.site_code" ) column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="employee_bond_def.site_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="employee_bond_def.emp_code" ) column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="employee_bond_def.emp_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="employee_bond_def.confirmed" ) column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="employee_bond_def.confirmed" values="Yes Y/No N/" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="employee_bond_def.conf_date" ) column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="employee_bond_def.conf_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="employee_bond_def.emp_code__aprv" ) column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="employee_bond_def.emp_code__aprv" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond_def.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond_def.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond_def.chg_term" ) column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond_def.chg_term" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond_def.chg_date" ) column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond_def.chg_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def~" ) COLUMN(NAME=~"employee_bond_def.tran_id~") COLUMN(NAME=~"employee_bond_def.tran_date~") COLUMN(NAME=~"employee_bond_def.site_code~") COLUMN(NAME=~"employee_bond_def.emp_code~") COLUMN(NAME=~"employee_bond_def.confirmed~") COLUMN(NAME=~"employee_bond_def.conf_date~") COLUMN(NAME=~"employee_bond_def.emp_code__aprv~") COLUMN(NAME=~"employee_bond_def.chg_user~") COLUMN(NAME=~"employee_bond_def.chg_term~") COLUMN(NAME=~"employee_bond_def.chg_date~")WHERE( EXP1 =~"EMPLOYEE_BOND_DEF.TRAN_DATE~" OP =~">=~" EXP2 =~":From~" LOGIC =~"and~" ) WHERE( EXP1 =~"EMPLOYEE_BOND_DEF.TRAN_DATE~" OP =~"<=~" EXP2 =~":To~" ) ) ARG(NAME = ~"From~" TYPE = datetime) ARG(NAME = ~"To~" TYPE = datetime) " update="employee_bond_def" updatewhere=1 updatekeyinplace=no arguments=(("From", datetime),("To", datetime)) ) column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=char(5) updatewhereclause=yes name=dept_code dbname="employee.dept_code" )
column=(type=char(5) updatewhereclause=yes name=ad_code dbname="employee_bond_def.ad_code" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_bond_def.tran_id~") COLUMN(NAME=~"employee_bond_def.tran_date~") COLUMN(NAME=~"employee_bond_def.site_code~") COLUMN(NAME=~"employee_bond_def.emp_code~") COLUMN(NAME=~"employee_bond_def.confirmed~") COLUMN(NAME=~"employee_bond_def.conf_date~") COLUMN(NAME=~"employee_bond_def.emp_code__aprv~") COLUMN(NAME=~"employee_bond_def.chg_user~") COLUMN(NAME=~"employee_bond_def.chg_term~") COLUMN(NAME=~"employee_bond_def.chg_date~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee.dept_code~") COLUMN(NAME=~"employee_bond_def.ad_code~") JOIN (LEFT=~"employee_bond_def.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"EMPLOYEE_BOND_DEF.TRAN_DATE~" OP =~">=~" EXP2 =~":From~" LOGIC =~"and~" ) WHERE( EXP1 =~"EMPLOYEE_BOND_DEF.TRAN_DATE~" OP =~"<=~" EXP2 =~":To~" ) ) ARG(NAME = ~"From~" TYPE = datetime) ARG(NAME = ~"To~" TYPE = datetime) " update="EMPLOYEE_BOND_DEF" updatewhere=0 updatekeyinplace=no arguments=(("From", datetime),("To", datetime)) )
text(band=header alignment="0" text="Transaction Id" border="6" color="33554432" x="2" y="2" height="16" width="90" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Transaction Id" border="6" color="33554432" x="2" y="2" height="16" width="90" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed by" border="6" color="33554432" x="531" y="2" height="16" width="92" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Confirmed by" border="6" color="33554432" x="852" y="2" height="16" width="92" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Date" border="6" color="33554432" x="94" y="2" height="16" width="78" html.valueishtml="0" name=tran_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Date" border="6" color="33554432" x="94" y="2" height="16" width="78" html.valueishtml="0" name=tran_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="174" y="2" height="16" width="55" html.valueishtml="0" name=site_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="174" y="2" height="16" width="55" html.valueishtml="0" name=site_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Employee Code" border="6" color="33554432" x="231" y="2" height="16" width="98" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Employee Code" border="6" color="33554432" x="231" y="2" height="16" width="98" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed" border="6" color="33554432" x="331" y="2" height="16" width="64" html.valueishtml="0" name=confirmed_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Confirmed" border="6" color="33554432" x="652" y="2" height="16" width="64" html.valueishtml="0" name=confirmed_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed on" border="6" color="33554432" x="397" y="2" height="16" width="132" html.valueishtml="0" name=conf_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Confirmed on" border="6" color="33554432" x="718" y="2" height="16" width="132" html.valueishtml="0" name=conf_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Change User" border="6" color="33554432" x="625" y="2" height="16" width="81" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Change User" border="6" color="33554432" x="946" y="2" height="16" width="81" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Change Term" border="6" color="33554432" x="708" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="0" text="Change Term" border="6" color="33554432" x="1029" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Change Date" border="6" color="33554432" x="806" y="2" height="16" width="80" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" ) text(band=header alignment="0" text="Change Date" border="6" color="33554432" x="1127" y="2" height="16" width="70" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" 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="2" y="2" height="16" width="90" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header alignment="0" text="Emp Fname" border="6" color="33554432" x="331" y="2" height="17" width="73" html.valueishtml="0" name=emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text=" Emp Lname" border="6" color="33554432" x="406" y="2" height="17" width="73" html.valueishtml="0" name=emp_lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text=" Dept Code" border="6" color="33554432" x="570" y="2" height="17" width="80" html.valueishtml="0" name=dept_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Ad Code" border="0" color="33554432" x="481" y="2" height="17" width="87" html.valueishtml="0" name=ad_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" 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="16" width="90" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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="0" tabsequence=20 border="5" color="33554432" x="94" y="2" height="16" width="78" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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="0" tabsequence=20 border="5" color="33554432" x="94" y="2" height="16" width="78" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=3 alignment="0" tabsequence=30 border="5" color="33554432" x="174" y="2" height="16" width="55" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=3 alignment="0" tabsequence=30 border="5" color="33554432" x="174" y="2" height="16" width="55" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="33554432" x="231" y="2" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="33554432" x="231" y="2" height="16" width="98" 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="Times" 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=50 border="5" color="33554432" x="331" y="2" height="16" width="64" format="[general]" html.valueishtml="0" name=confirmed visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=90 border="5" color="33554432" x="652" y="2" height="16" width="64" format="[Yes/No]" html.valueishtml="0" name=confirmed visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times" 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=6 alignment="0" tabsequence=60 border="5" color="33554432" x="397" y="2" height="16" width="132" format="[shortdate] [time]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=6 alignment="0" tabsequence=100 border="5" color="33554432" x="718" y="2" height="16" width="132" format="[shortdate] [time]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=7 alignment="0" tabsequence=70 border="5" color="33554432" x="531" y="2" height="16" width="92" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=7 alignment="0" tabsequence=110 border="5" color="33554432" x="852" y="2" height="16" width="92" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=80 border="5" color="33554432" x="625" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=120 border="5" color="33554432" x="946" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=9 alignment="0" tabsequence=90 border="5" color="33554432" x="708" y="2" height="16" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=9 alignment="0" tabsequence=130 border="5" color="33554432" x="1029" y="2" height="16" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=10 alignment="0" tabsequence=100 border="5" color="33554432" x="806" y="2" height="16" width="80" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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=10 alignment="0" tabsequence=140 border="5" color="33554432" x="1127" y="2" height="16" width="70" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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=11 alignment="0" tabsequence=50 border="0" color="33554432" x="331" y="1" height="16" width="73" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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=12 alignment="0" tabsequence=60 border="0" color="33554432" x="406" y="1" height="16" width="73" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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=13 alignment="0" tabsequence=80 border="0" color="33554432" x="570" y="1" height="16" width="80" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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=14 alignment="0" tabsequence=70 border="0" color="33554432" x="481" y="1" height="16" width="87" format="[general]" html.valueishtml="0" name=ad_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
...@@ -21,12 +21,12 @@ text(band=header alignment="1" text="Bond Amount" border="6" color="33554432" x= ...@@ -21,12 +21,12 @@ text(band=header alignment="1" text="Bond Amount" border="6" color="33554432" x=
text(band=header alignment="1" text="Bond Period" border="6" color="33554432" x="526" y="2" height="16" width="81" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="1" text="Bond Period" border="6" color="33554432" x="526" y="2" height="16" width="81" html.valueishtml="0" name=bond_prd_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="1" text="Line No Reference" border="6" color="33554432" x="609" y="2" height="16" width="114" html.valueishtml="0" name=line_no__ref_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="553648127" ) text(band=header alignment="1" text="Line No Reference" border="6" color="33554432" x="609" y="2" height="16" width="114" html.valueishtml="0" name=line_no__ref_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="553648127" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="16" width="90" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="16" width="90" format="[general]" html.valueishtml="0" name=tran_id 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=5 alignment="1" tabsequence=50 border="5" color="33554432" x="422" y="2" height="16" width="102" format="[general]" html.valueishtml="0" name=bond_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=5 alignment="1" tabsequence=50 border="5" color="33554432" x="422" y="2" height="16" width="102" format="[general]" html.valueishtml="0" name=bond_amt visible="1" edit.limit=13 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=3 alignment="1" tabsequence=30 border="5" color="33554432" x="153" y="2" height="16" width="137" format="[general]" html.valueishtml="0" name=bond_amt__curr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=3 alignment="1" tabsequence=30 border="5" color="33554432" x="153" y="2" height="16" width="137" format="[general]" html.valueishtml="0" name=bond_amt__curr visible="1" edit.limit=13 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="94" y="2" height="16" width="57" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=2 alignment="1" tabsequence=20 border="5" color="33554432" x="94" y="2" height="16" width="57" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 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=4 alignment="1" tabsequence=40 border="5" color="33554432" x="292" y="2" height="16" width="128" format="[general]" html.valueishtml="0" name=bond_prd__curr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=4 alignment="1" tabsequence=40 border="5" color="33554432" x="292" y="2" height="16" width="128" format="[general]" html.valueishtml="0" name=bond_prd__curr visible="1" edit.limit=2 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=6 alignment="1" tabsequence=60 border="5" color="33554432" x="526" y="2" height="16" 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="2" background.color="16777215" ) column(band=detail id=6 alignment="1" tabsequence=60 border="5" color="33554432" x="526" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=bond_prd visible="1" edit.limit=2 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=7 alignment="1" tabsequence=70 border="5" color="33554432" x="609" y="2" height="16" width="114" format="[general]" html.valueishtml="0" name=line_no__ref 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="16777215" ) column(band=detail id=7 alignment="1" tabsequence=70 border="5" color="33554432" x="609" y="2" height="16" width="114" format="[general]" html.valueishtml="0" name=line_no__ref visible="1" edit.limit=3 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="16777215" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
...@@ -3,7 +3,7 @@ release 9; ...@@ -3,7 +3,7 @@ release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no ) datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=308 color="536870912" ) detail(height=452 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="employee_bond_def.tran_id" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="employee_bond_def.tran_id" )
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="employee_bond_def.tran_date" ) column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="employee_bond_def.tran_date" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="employee_bond_def.site_code" ) column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="employee_bond_def.site_code" )
...@@ -12,7 +12,7 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -12,7 +12,7 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="employee_bond_def.conf_date" ) column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="employee_bond_def.conf_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="employee_bond_def.emp_code__aprv" ) column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="employee_bond_def.emp_code__aprv" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond_def.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee_bond_def.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond_def.chg_term" ) column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee_bond_def.chg_term" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond_def.chg_date" ) column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee_bond_def.chg_date" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" ) column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" ) column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" )
...@@ -23,39 +23,53 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -23,39 +23,53 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(15) updatewhereclause=yes name=employee_emp_fname dbname="employee.emp_fname" ) column=(type=char(15) updatewhereclause=yes name=employee_emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=employee_emp_mname dbname="employee.emp_mname" ) column=(type=char(15) updatewhereclause=yes name=employee_emp_mname dbname="employee.emp_mname" )
column=(type=char(15) updatewhereclause=yes name=employee_emp_lname dbname="employee.emp_lname" ) column=(type=char(15) updatewhereclause=yes name=employee_emp_lname dbname="employee.emp_lname" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_a~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"department~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_b~" ) COLUMN(NAME=~"employee_bond_def.tran_id~") COLUMN(NAME=~"employee_bond_def.tran_date~") COLUMN(NAME=~"employee_bond_def.site_code~") COLUMN(NAME=~"employee_bond_def.emp_code~") COLUMN(NAME=~"employee_bond_def.confirmed~") COLUMN(NAME=~"employee_bond_def.conf_date~") COLUMN(NAME=~"employee_bond_def.emp_code__aprv~") COLUMN(NAME=~"employee_bond_def.chg_user~") COLUMN(NAME=~"employee_bond_def.chg_term~") COLUMN(NAME=~"employee_bond_def.chg_date~") COLUMN(NAME=~"employee_a.emp_fname~") COLUMN(NAME=~"employee_a.emp_mname~") COLUMN(NAME=~"employee_a.emp_lname~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"employee_a.dept_code~") COLUMN(NAME=~"department.descr~") COLUMN(NAME=~"employee_b.emp_fname~") COLUMN(NAME=~"employee_b.emp_mname~") COLUMN(NAME=~"employee_b.emp_lname~") JOIN (LEFT=~"employee_bond_def.emp_code~" OP =~"=~"RIGHT=~"employee_a.emp_code~" OUTER1 =~"employee_bond_def.emp_code~" ) JOIN (LEFT=~"site.site_code~" OP =~"=~"RIGHT=~"employee_a.emp_site~" OUTER2 =~"employee_a.emp_site~" ) JOIN (LEFT=~"employee_bond_def.emp_code__aprv~" OP =~"=~"RIGHT=~"employee_b.emp_code~" OUTER1 =~"employee_bond_def.emp_code__aprv~" ) JOIN (LEFT=~"department.dept_code~" OP =~"=~"RIGHT=~"employee_a.dept_code~" ) WHERE( EXP1 =~"employee_bond_def.tran_id~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="employee_bond_def" updatewhere=1 updatekeyinplace=no arguments=(("tran_id", string)) ) column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__bond dbname="employee_bond_def.tran_id__bond" )
groupbox(band=detail text="Others"border="2" color="33554432" x="3" y="172" height="100" width="516" name=gb_2 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__pvouch dbname="employee_bond_def.tran_id__pvouch" )
text(band=detail alignment="1" text="Change Term:" border="0" color="33554432" x="341" y="194" height="16" width="97" html.valueishtml="0" name=chg_term_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=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__pvouch dbname="employee_bond_def.line_no__pvouch" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="442" y="194" height="16" width="65" format="[general]" html.valueishtml="0" name=chg_term 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=(type=char(5) update=yes updatewhereclause=yes name=ad_code dbname="employee_bond_def.ad_code" )
text(band=detail alignment="1" text="Change Date:" border="0" color="33554432" x="8" y="215" height="16" width="97" html.valueishtml="0" name=chg_date_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=(type=char(40) updatewhereclause=yes name=allwdedn_descr dbname="allwdedn.descr" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="109" y="215" height="16" width="86" format="dd/mm/yy" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=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" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_a~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"department~" ) TABLE(NAME=~"employee~" ALIAS=~"employee_b~" ) TABLE(NAME=~"allwdedn~" ) COLUMN(NAME=~"employee_bond_def.tran_id~") COLUMN(NAME=~"employee_bond_def.tran_date~") COLUMN(NAME=~"employee_bond_def.site_code~") COLUMN(NAME=~"employee_bond_def.emp_code~") COLUMN(NAME=~"employee_bond_def.confirmed~") COLUMN(NAME=~"employee_bond_def.conf_date~") COLUMN(NAME=~"employee_bond_def.emp_code__aprv~") COLUMN(NAME=~"employee_bond_def.chg_user~") COLUMN(NAME=~"employee_bond_def.chg_term~") COLUMN(NAME=~"employee_bond_def.chg_date~") COLUMN(NAME=~"employee_a.emp_fname~") COLUMN(NAME=~"employee_a.emp_mname~") COLUMN(NAME=~"employee_a.emp_lname~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"employee_a.dept_code~") COLUMN(NAME=~"department.descr~") COLUMN(NAME=~"employee_b.emp_fname~") COLUMN(NAME=~"employee_b.emp_mname~") COLUMN(NAME=~"employee_b.emp_lname~") COLUMN(NAME=~"employee_bond_def.tran_id__bond~") COLUMN(NAME=~"employee_bond_def.tran_id__pvouch~") COLUMN(NAME=~"employee_bond_def.line_no__pvouch~") COLUMN(NAME=~"employee_bond_def.ad_code~") COLUMN(NAME=~"allwdedn.descr~") JOIN (LEFT=~"employee_bond_def.emp_code~" OP =~"=~"RIGHT=~"employee_a.emp_code~" OUTER1 =~"employee_bond_def.emp_code~" ) JOIN (LEFT=~"site.site_code~" OP =~"=~"RIGHT=~"employee_a.emp_site~" OUTER2 =~"employee_a.emp_site~" ) JOIN (LEFT=~"employee_bond_def.emp_code__aprv~" OP =~"=~"RIGHT=~"employee_b.emp_code~" OUTER1 =~"employee_bond_def.emp_code__aprv~" ) JOIN (LEFT=~"department.dept_code~" OP =~"=~"RIGHT=~"employee_a.dept_code~" ) JOIN (LEFT=~"employee_bond_def.ad_code~" OP =~"=~"RIGHT=~"allwdedn.ad_code~" )WHERE( EXP1 =~"employee_bond_def.tran_id~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="EMPLOYEE_BOND_DEF" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="3" y="6" height="156" width="516" name=gb_1 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) groupbox(band=detail text="Basic"border="2" color="33554432" x="3" y="6" height="286" width="560" name=gb_1 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Confirmed:" border="0" color="33554432" x="8" y="109" height="16" width="97" html.valueishtml="0" name=confirmed_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) groupbox(band=detail text="Others"border="2" color="33554432" x="3" y="302" height="74" width="560" name=gb_2 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Approved by:" border="0" color="33554432" x="8" y="130" height="16" width="97" html.valueishtml="0" name=emp_code__aprv_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="Transaction Id:" border="0" color="33554432" x="25" y="38" height="16" width="97" html.valueishtml="0" name=tran_id_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="Transaction Id:" border="0" color="33554432" x="8" y="25" height="16" width="97" html.valueishtml="0" name=tran_id_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=32766 border="5" color="255" x="127" y="38" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id 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=1 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="25" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Employee:" border="0" color="33554432" x="25" y="59" height="16" width="97" 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="Date:" border="0" color="33554432" x="336" y="25" height="16" width="102" html.valueishtml="0" name=tran_date_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="0" tabsequence=40 border="5" color="33554432" x="127" y="59" height="16" width="86" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=upper 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="0" tabsequence=32766 border="5" color="255" x="442" y="25" height="16" width="65" format="dd/mm/yy" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=11 alignment="0" tabsequence=32766 border="5" color="255" x="219" y="59" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=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="Site Code:" border="0" color="33554432" x="8" y="46" height="16" width="97" html.valueishtml="0" name=site_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=12 alignment="0" tabsequence=32766 border="5" color="255" x="322" y="59" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="134217857" x="110" y="46" height="16" width="86" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 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="553648127" ) column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="425" y="59" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=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="Employee:" border="0" color="33554432" x="8" y="67" height="16" width="97" 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="Tran Id Bond :" border="0" color="33554432" x="25" y="81" height="16" width="97" html.valueishtml="0" name=tran_id__bond_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=11 alignment="0" tabsequence=32766 border="5" color="255" x="202" y="67" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=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=20 alignment="0" tabsequence=10 border="5" color="255" x="127" y="81" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id__bond visible="1" edit.limit=0 edit.case=any edit.autoselect=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=12 alignment="0" tabsequence=32766 border="5" color="255" x="305" y="67" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=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="Tran Id Vocher :" border="0" color="33554432" x="25" y="102" height="16" width="97" html.valueishtml="0" name=tran_id__pvouch_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=detail alignment="1" text="Department:" border="0" color="33554432" x="8" y="88" height="16" width="97" html.valueishtml="0" name=dept_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=21 alignment="0" tabsequence=20 border="5" color="255" x="127" y="102" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id__pvouch visible="1" edit.limit=0 edit.case=any edit.autoselect=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="0" tabsequence=10 border="5" color="33554432" x="110" y="67" height="16" width="86" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=upper 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="Line No Vocher :" border="0" color="33554432" x="25" y="123" height="16" width="97" html.valueishtml="0" name=line_no__pvouch_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=5 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="109" height="16" width="86" format="[general]" html.valueishtml="0" name=confirmed visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.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=22 alignment="0" tabsequence=32766 border="5" color="255" x="127" y="123" height="16" width="108" format="[general]" html.valueishtml="0" name=line_no__pvouch visible="1" edit.limit=0 edit.case=any edit.autoselect=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="Confirmed on:" border="0" color="33554432" x="330" y="109" height="16" width="108" html.valueishtml="0" name=conf_date_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="Ad Code :" border="0" color="33554432" x="25" y="144" height="16" width="97" html.valueishtml="0" name=ad_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="442" y="109" height="16" width="65" format="dd/mm/yy" html.valueishtml="0" name=conf_date 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=23 alignment="0" tabsequence=30 border="5" color="255" x="127" y="145" height="16" width="108" format="[general]" html.valueishtml="0" name=ad_code visible="1" edit.limit=0 edit.case=any edit.autoselect=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="110" y="130" height="16" width="86" format="[general]" html.valueishtml="0" name=emp_code__aprv 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=24 alignment="0" tabsequence=32766 border="5" color="255" x="127" y="167" height="16" width="108" format="[general]" html.valueishtml="0" name=allwdedn_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=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=17 alignment="0" tabsequence=32766 border="5" color="255" x="202" y="130" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=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="Site Code:" border="0" color="33554432" x="24" y="188" height="16" width="97" html.valueishtml="0" name=site_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=18 alignment="0" tabsequence=32766 border="5" color="255" x="305" y="130" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="134217857" x="126" y="188" height="16" width="86" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 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="553648127" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="409" y="130" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=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=14 alignment="0" tabsequence=32766 border="5" color="255" x="218" y="188" height="16" width="305" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=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=15 alignment="0" tabsequence=32766 border="5" color="255" x="110" y="88" height="16" width="86" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Department:" border="0" color="33554432" x="24" y="210" height="16" width="97" html.valueishtml="0" name=dept_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=13 alignment="0" tabsequence=32766 border="5" color="255" x="409" y="67" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=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=15 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="210" height="16" width="86" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=0 edit.case=any edit.autoselect=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=16 alignment="0" tabsequence=32766 border="5" color="255" x="202" y="88" height="16" width="305" format="[general]" html.valueishtml="0" name=department_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=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=16 alignment="0" tabsequence=32766 border="5" color="255" x="218" y="210" height="16" width="305" format="[general]" html.valueishtml="0" name=department_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=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=14 alignment="0" tabsequence=32766 border="5" color="255" x="202" y="46" height="16" width="305" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=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="Confirmed:" border="0" color="33554432" x="24" y="231" height="16" width="97" html.valueishtml="0" name=confirmed_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="Change User:" border="0" color="33554432" x="8" y="194" height="16" width="97" html.valueishtml="0" name=chg_user_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=5 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="231" height="16" width="86" format="[Yes/No]" html.valueishtml="0" name=confirmed visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.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="194" height="16" width="86" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Confirmed on:" border="0" color="33554432" x="345" y="231" height="16" width="108" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="458" y="231" height="16" width="65" format="dd/mm/yy" html.valueishtml="0" name=conf_date 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="Approved by:" border="0" color="33554432" x="24" y="252" height="16" width="97" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="252" height="16" width="86" format="[general]" html.valueishtml="0" name=emp_code__aprv 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=17 alignment="0" tabsequence=32766 border="5" color="255" x="218" y="252" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=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=18 alignment="0" tabsequence=32766 border="5" color="255" x="321" y="252" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=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=19 alignment="0" tabsequence=32766 border="5" color="255" x="425" y="252" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=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="126" y="326" height="16" width="86" format="[general]" html.valueishtml="0" name=chg_user 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=10 alignment="0" tabsequence=32766 border="5" color="255" x="126" y="347" height="16" width="86" format="dd/mm/yy" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=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=9 alignment="0" tabsequence=32766 border="5" color="255" x="454" y="326" height="16" width="65" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="24" y="326" height="16" width="97" html.valueishtml="0" name=chg_user_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="Change Date:" border="0" color="33554432" x="24" y="347" height="16" width="97" html.valueishtml="0" name=chg_date_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="Change Term:" border="0" color="33554432" x="352" y="326" height="16" width="97" html.valueishtml="0" name=chg_term_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=2 alignment="0" tabsequence=32766 border="5" color="255" x="415" y="39" height="16" width="108" format="dd/mm/yy" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="Date:" border="0" color="33554432" x="363" y="38" height="16" width="47" html.valueishtml="0" name=tran_date_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" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_employee_bond_def21" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><tran_id/><tran_date/><site_code/><emp_code/><confirmed>confirmed</confirmed><conf_date>conf_date</conf_date><emp_code__aprv/><chg_user>chg_user</chg_user><chg_term>chg_term</chg_term></untitled_row></untitled>")) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_employee_bond_def21" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><tran_id/><tran_date/><site_code/><emp_code/><confirmed>confirmed</confirmed><conf_date>conf_date</conf_date><emp_code__aprv/><chg_user>chg_user</chg_user><chg_term>chg_term</chg_term></untitled_row></untitled>"))
......
$PBExportHeader$d_employee_bond_def22.srd $PBExportHeader$d_employee_bond_def22.srd
release 9; release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no ) datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
header(height=2 color="536870912" )
summary(height=0 color="536870912" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=206 color="536870912" ) detail(height=378 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="employee_bond_def_det.tran_id" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="employee_bond_def_det.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="employee_bond_def_det.line_no" ) column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="employee_bond_def_det.line_no" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=bond_amt__curr dbname="employee_bond_def_det.bond_amt__curr" ) column=(type=decimal(3) update=yes updatewhereclause=yes name=bond_amt__curr dbname="employee_bond_def_det.bond_amt__curr" )
...@@ -12,21 +13,21 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -12,21 +13,21 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=decimal(0) update=yes updatewhereclause=yes name=bond_prd dbname="employee_bond_def_det.bond_prd" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=bond_prd dbname="employee_bond_def_det.bond_prd" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__ref dbname="employee_bond_def_det.line_no__ref" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__ref dbname="employee_bond_def_det.line_no__ref" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def_det~" ) COLUMN(NAME=~"employee_bond_def_det.tran_id~") COLUMN(NAME=~"employee_bond_def_det.line_no~") COLUMN(NAME=~"employee_bond_def_det.bond_amt__curr~") COLUMN(NAME=~"employee_bond_def_det.bond_prd__curr~") COLUMN(NAME=~"employee_bond_def_det.bond_amt~") COLUMN(NAME=~"employee_bond_def_det.bond_prd~") COLUMN(NAME=~"employee_bond_def_det.line_no__ref~")) " update="EMPLOYEE_BOND_DEF_DET" updatewhere=1 updatekeyinplace=no ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_bond_def_det~" ) COLUMN(NAME=~"employee_bond_def_det.tran_id~") COLUMN(NAME=~"employee_bond_def_det.line_no~") COLUMN(NAME=~"employee_bond_def_det.bond_amt__curr~") COLUMN(NAME=~"employee_bond_def_det.bond_prd__curr~") COLUMN(NAME=~"employee_bond_def_det.bond_amt~") COLUMN(NAME=~"employee_bond_def_det.bond_prd~") COLUMN(NAME=~"employee_bond_def_det.line_no__ref~")) " update="EMPLOYEE_BOND_DEF_DET" updatewhere=1 updatekeyinplace=no )
groupbox(band=detail text="Basic"border="2" color="0" x="9" y="0" height="199" width="523" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) groupbox(band=detail text="Basic"border="2" color="0" x="9" y="11" height="120" width="508" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=6 alignment="1" tabsequence=20 border="5" color="0" x="153" y="102" height="16" width="72" format="#0" html.valueishtml="0" name=bond_prd visible="1" edit.limit=2 edit.case=any 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" ) text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="22" y="33" height="16" width="127" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="153" y="123" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id 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=32766 border="5" color="255" x="154" y="33" height="16" width="108" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 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=32766 border="5" color="255" x="153" y="81" height="16" width="72" format="[general]" html.valueishtml="0" name=bond_prd__curr 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="Line No Reference:" border="0" color="33554432" x="280" y="34" height="16" width="132" html.valueishtml="0" name=line_no__ref_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 Period Current:" border="0" color="33554432" x="22" y="81" height="16" width="127" html.valueishtml="0" name=bond_prd__curr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=7 alignment="1" tabsequence=10 border="5" color="0" x="417" y="34" height="16" width="72" format="##0" html.valueishtml="0" name=line_no__ref visible="1" edit.limit=3 edit.case=any edit.format="##0" edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Bond Period:" border="0" color="33554432" x="56" y="102" height="16" width="93" 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=32766 border="5" color="255" x="417" y="55" height="16" width="72" format="[general]" html.valueishtml="0" name=bond_amt__curr visible="1" edit.limit=13 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="Transaction Id:" border="0" color="33554432" x="56" y="123" height="16" width="93" html.valueishtml="0" name=tran_id_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 Current:" border="0" color="33554432" x="280" y="55" height="16" width="132" html.valueishtml="0" name=bond_amt__curr_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 Current:" border="0" color="33554432" x="281" y="81" height="16" width="132" html.valueishtml="0" name=bond_amt__curr_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="280" y="76" height="16" width="132" html.valueishtml="0" name=bond_amt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Bond Amount:" border="0" color="33554432" x="320" y="102" height="16" width="93" 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=5 alignment="1" tabsequence=30 border="5" color="0" x="417" y="76" height="16" width="72" 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=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="Line No:" border="0" color="33554432" x="83" y="60" height="16" width="66" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=4 alignment="1" tabsequence=32766 border="5" color="255" x="154" y="55" height="16" width="108" format="[general]" html.valueishtml="0" name=bond_prd__curr visible="1" edit.limit=2 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=32766 border="5" color="255" x="153" y="60" height="16" width="72" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Bond Period Current:" border="0" color="33554432" x="22" y="55" height="16" width="127" html.valueishtml="0" name=bond_prd__curr_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 Reference:" border="0" color="33554432" x="274" y="60" height="16" width="139" 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="536870912" ) text(band=detail alignment="1" text="Bond Period:" border="0" color="33554432" x="22" y="76" height="16" width="127" 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=7 alignment="1" tabsequence=10 border="5" color="0" x="417" y="60" height="16" width="72" format="##0" html.valueishtml="0" name=line_no__ref visible="1" edit.limit=3 edit.case=any edit.format="##0" 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=6 alignment="1" tabsequence=20 border="5" color="0" x="154" y="76" height="16" width="108" format="#0" html.valueishtml="0" name=bond_prd visible="1" edit.limit=2 edit.case=any 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=3 alignment="1" tabsequence=32766 border="5" color="255" x="417" y="81" height="16" width="72" format="[general]" html.valueishtml="0" name=bond_amt__curr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="154" y="97" height="16" width="108" format="[general]" html.valueishtml="0" name=tran_id 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=5 alignment="1" tabsequence=30 border="5" color="0" x="417" y="102" height="16" width="72" 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=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="Transaction Id:" border="0" color="33554432" x="22" y="97" height="16" width="127" html.valueishtml="0" name=tran_id_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" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_employee_bond_def22" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><tran_id/><line_no/><bond_amt__curr/><bond_prd__curr/><bond_amt>bond_amt</bond_amt><bond_prd>bond_prd</bond_prd></untitled_row></untitled>")) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_employee_bond_def22" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><tran_id/><line_no/><bond_amt__curr/><bond_prd__curr/><bond_amt>bond_amt</bond_amt><bond_prd>bond_prd</bond_prd></untitled_row></untitled>"))
......
package ibase.webitm.ejb.adm; package ibase.webitm.ejb.adm;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections;
import java.sql.Timestamp; import javax.ejb.Stateless;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList; import org.w3c.dom.NodeList;
import javax.ejb.Stateless; import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
@Stateless @Stateless
public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinitionLocal,EmpBondDefinitionRemote public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinitionLocal,EmpBondDefinitionRemote
{ {
public String wfValData() throws RemoteException,ITMException public String wfValData() throws RemoteException,ITMException
{ {
return ""; return "";
...@@ -46,17 +41,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -46,17 +41,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
Document dom = null; Document dom = null;
Document dom1 = null; Document dom1 = null;
Document dom2 = null; Document dom2 = null;
NodeList parentNodeList = null; //NodeList parentNodeList = null;
NodeList childNodeList = null; //NodeList childNodeList = null;
Node parentNode = null; //Node parentNode = null;
Node childNode = null; //Node childNode = null;
String childNodeName = ""; //String childNodeName = "";
System.out.println("\n\n xmlString in wfValData \n:" + xmlString + "\n"); System.out.println("\n\n xmlString in wfValData \n:" + xmlString + "\n");
System.out.println("\n\n xmlString1 in wfValData \n :" + xmlString1 +"\n"); System.out.println("\n\n xmlString1 in wfValData \n :" + xmlString1 +"\n");
System.out.println("\n\n xmlString2 in wfValData \n :" + xmlString2 +"\n"); System.out.println("\n\n xmlString2 in wfValData \n :" + xmlString2 +"\n");
try try
{ {
dom = parseString(xmlString); dom = parseString(xmlString);
...@@ -98,11 +93,11 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -98,11 +93,11 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
else else
{ */ { */
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams); errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
//} //}
//Modified by Suraj [19-09-2015] [to remove unwanted code prone to error on edit mode][End] //Modified by Suraj [19-09-2015] [to remove unwanted code prone to error on edit mode][End]
} }
catch(Exception e) catch(Exception e)
{ {
...@@ -127,7 +122,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -127,7 +122,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
{ {
return ""; return "";
} }
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
NodeList parentNodeList = null; NodeList parentNodeList = null;
...@@ -144,14 +139,14 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -144,14 +139,14 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
int bondprdInt = 0, lineNoRefInt = 0; int bondprdInt = 0, lineNoRefInt = 0;
Double bondamtDouble = 0.0; Double bondamtDouble = 0.0;
//Added by RAHUL SHENOY on 11/08/2015 [Declaring Necessary Variables].End //Added by RAHUL SHENOY on 11/08/2015 [Declaring Necessary Variables].End
//Added by RAHUL SHENOY on 24/08/2015 [Declaring Necessary Variables].Start //Added by RAHUL SHENOY on 24/08/2015 [Declaring Necessary Variables].Start
int lineNoMaster = 0; int lineNoMaster = 0;
boolean sameBondPeriod = false; boolean sameBondPeriod = false;
int cntBondPrd = 0; int cntBondPrd = 0;
//Added by RAHUL SHENOY on 24/08/2015 [Declaring Necessary Variables].End //Added by RAHUL SHENOY on 24/08/2015 [Declaring Necessary Variables].End
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
...@@ -162,147 +157,169 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -162,147 +157,169 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
String tranId=""; String tranId="";
String empCode="",bondamt="",bondprd="",siteCode = ""; String empCode="",bondamt="",bondprd="",siteCode = "";
SimpleDateFormat simpleDateFormat = null; SimpleDateFormat simpleDateFormat = null;
ITMDBAccessEJB itmdbAccess = new ITMDBAccessEJB();
//Added by Yashwant S.on 13-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
String adCode = "";
String tranIdPvouch = "";
String lineNoPvouchStr = "";
int lineNoPvouch = 0;
String tranIdBond = "";
String bondEmpCode = "";
String vouchEmpCode = "";
Double pvouchAmt = 0.0;
//Added by Yashwant S.on 13-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
try try
{ {
ConnDriver connDriver = new ConnDriver(); //Modified by Yashwant on 13-12-19[START][To define getConnection and E12GenericUtility methods]
GenericUtility genericUtility = GenericUtility.getInstance(); //ConnDriver connDriver = new ConnDriver();
conn = getConnection();
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM");
//conn.setAutoCommit(false);
//connDriver = null;
//Modified by Yashwant on 13-12-19[END][To define getConnection and E12GenericUtility methods]
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat()); simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode"); userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
//Modified by RAHUL SHENOY on 12/08/2015 [Obtaining Login Site code].Start //Modified by RAHUL SHENOY on 12/08/2015 [Obtaining Login Site code].Start
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode"); loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
//Modified by RAHUL SHENOY on 12/08/2015 [Obtaining Login Site code].End //Modified by RAHUL SHENOY on 12/08/2015 [Obtaining Login Site code].End
System.out.println("xtraParams -->"+xtraParams);
if(objContext != null && objContext.trim().length() > 0) if(objContext != null && objContext.trim().length() > 0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
} }
switch(currentFormNo) switch(currentFormNo)
{ {
case 1 : case 1 :
System.out.println("in switch....."); System.out.println("in switch.....");
parentNodeList = dom.getElementsByTagName("Detail1"); parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0); parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes(); childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength(); childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++) for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if(childNodeName.equalsIgnoreCase("emp_code"))
{ {
childNode = childNodeList.item(ctr); empCode = getColumnValue("emp_code",dom);
childNodeName = childNode.getNodeName();
if (empCode == null || empCode.trim().length() == 0 )
if (childNodeName.equalsIgnoreCase("emp_code")) {
errCode = "VNULEMPC";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
else
{ {
empCode = getColumnValue("emp_code",dom); sql = "select count(1) from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt = rs.getInt(1);
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
if (empCode == null || empCode.trim().length() == 0 ) if(cnt == 0)
{ {
errCode = "VNULEMPC"; errCode = "VMEMPCD1";
errString = getErrorString("emp_code",errCode,userId); //errString = getErrorString("emp_code",errCode,userId);
break; errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
}else break;
{
sql = "select count(1) from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt = rs.getInt(1);
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
if(cnt == 0)
{
errCode = "VMEMPCD1";
errString = getErrorString("emp_code",errCode,userId);
break;
}
//Modified by RAHUL SHENOY on 11/08/2015 [Validations on Employee Code].Start
cnt = 0;
sql = "select emp_site , count(1) as cnt from employee where emp_code = ? group by emp_site";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empSiteDB = rs.getString("emp_site") == null ? "" : rs.getString("emp_site").trim();
cnt = rs.getInt("cnt");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(cnt == 0)
{
errCode = "VMEMPCD1";
errString = getErrorString("emp_code",errCode,userId);
break;
}
siteCode = genericUtility.getColumnValue("site_code",dom);
if(! siteCode.trim().equalsIgnoreCase(loginSite.trim()))
{
System.out.println("Value of Site Code is : " + siteCode.trim());
System.out.println("Value of Login Site is : " + loginSite.trim());
errCode = "VMEMPBND01";
errString = getErrorString("emp_code",errCode,userId);
break;
}
sql ="select status from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empStatus = rs.getString("status") == null ? "" : rs.getString("status").trim();
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(empStatus != null && empStatus.equalsIgnoreCase("S"))
{
errCode ="VMEMPBND08";
errString = getErrorString("emp_code",errCode,userId);
break;
}
//Modified by RAHUL SHENOY on 11/08/2015 [Validations on Employee Code].End
} }
//Modified by RAHUL SHENOY on 11/08/2015 [Validations on Employee Code].Start
cnt = 0;
sql = "select emp_site , count(1) as cnt from employee where emp_code = ? group by emp_site";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empSiteDB = rs.getString("emp_site") == null ? "" : rs.getString("emp_site").trim();
cnt = rs.getInt("cnt");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(cnt == 0)
{
errCode = "VMEMPCD1";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//siteCode = genericUtility.getColumnValue("site_code",dom);
siteCode = checkNull(genericUtility.getColumnValue("site_code",dom));//Added by Yashwant S.on 13-12-19[Start][Added check Null]
if(!siteCode.trim().equalsIgnoreCase(loginSite.trim()))
{
System.out.println("Value of Site Code is : " + siteCode.trim());
System.out.println("Value of Login Site is : " + loginSite.trim());
errCode = "VMEMPBND01";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
sql ="select status from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empStatus = rs.getString("status") == null ? "" : rs.getString("status").trim();
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(empStatus != null && empStatus.equalsIgnoreCase("S"))
{
errCode ="VMEMPBND08";
//errString = getErrorString("emp_code",errCode,userId);
errString = itmdbAccess.getErrorString("emp_code", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//Modified by RAHUL SHENOY on 11/08/2015 [Validations on Employee Code].End
} }
}
//Modified by RAHUL SHENOY on 11/08/2015 [Site Code validation to happen in Employee code field].Start //Modified by RAHUL SHENOY on 11/08/2015 [Site Code validation to happen in Employee code field].Start
/* /*
else if (childNodeName.equalsIgnoreCase("site_code")) else if (childNodeName.equalsIgnoreCase("site_code"))
{ {
siteCode = getColumnValue("site_code",dom); siteCode = getColumnValue("site_code",dom);
...@@ -336,178 +353,582 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -336,178 +353,582 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
} }
} }
*/ */
//Modified by RAHUL SHENOY on 11/08/2015 [Site Code validation to happen in Employee code field].End //Modified by RAHUL SHENOY on 11/08/2015 [Site Code validation to happen in Employee code field].End
//Added by Yashwant S.on 18-12-19[Start][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
else if(childNodeName.equalsIgnoreCase("tran_id__bond"))
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][Start] {
empCode = genericUtility.getColumnValue("emp_code", dom1); System.out.println(":::: validation of tran_id__bond ::::");
boolean dupTran=checkPreviousUnconfRec(empCode,editFlag,conn);
if(dupTran) tranId = checkNull(genericUtility.getColumnValue("tran_id", dom));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
if(tranId == null || tranId.trim().length() == 0)
{ {
errCode = "VMEMPBND15"; tranId = "*";
errString = getErrorString("bond_prd", errCode, userId);
break;
} }
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][End]
if(tranIdBond != null && tranIdBond.trim().length() > 0)
}// for loop end {
break; sql = "select count(1) as cnt from employee_bond where tran_id = ? ";
case 2: pstmt = conn.prepareStatement(sql);
parentNodeList = dom.getElementsByTagName("Detail2"); pstmt.setString(1, tranIdBond);
parentNode = parentNodeList.item(0); rs = pstmt.executeQuery();
childNodeList = parentNode.getChildNodes(); if (rs.next())
childNodeListLength = childNodeList.getLength(); {
for(ctr = 0; ctr < childNodeListLength; ctr++) cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF01", userId, "", conn); //Invalid tran ID bond
break;
}
sql = "select emp_code from employee_bond where tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdBond);
rs = pstmt.executeQuery();
if (rs.next())
{
bondEmpCode = checkNull(rs.getString("emp_code"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(!(empCode.trim()).equalsIgnoreCase(bondEmpCode.trim()))
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF02", userId, "", conn); //specified employee code is not present in bond master
break;
}
cnt = 0;
sql="select count(*) as cnt from EMPLOYEE_BOND_DEF where tran_id__bond = ? and tran_id <> ? and confirmed='N' ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdBond);
pstmt.setString(2, tranId);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt > 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF03", userId, "", conn); //Unconfirmed transaction is present
break;
}
}
}
else if(childNodeName.equalsIgnoreCase("tran_id__pvouch"))
{ {
childNode = childNodeList.item(ctr); System.out.println(":::: validation of tran_id__pvouch ::::");
childNodeName = childNode.getNodeName();
//Modified by RAHUL SHENOY on 11/08/2015 [Reference Line Number validation].Start String refNo = "";
tranId = genericUtility.getColumnValue("tran_id", dom1); tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom));
if (childNodeName.equalsIgnoreCase("line_no__ref")) empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
System.out.println("tranIdPvouch ---->"+tranIdPvouch);
if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{ {
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom); sql = "select count(1) as cnt from payr_voucher where tran_id = ?";
pstmt = conn.prepareStatement(sql);
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim(); pstmt.setString(1, tranIdPvouch);
try rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF04", userId, "", conn); //Invalid tran ID voucher
break;
}
sql = "select emp_code, ref_no from payr_voucher where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
rs = pstmt.executeQuery();
if (rs.next())
{ {
System.out.println("The value of lineNoRef is : " + lineNoRef); vouchEmpCode = checkNull(rs.getString("emp_code"));
lineNoRefInt = Integer.parseInt(lineNoRef); refNo = checkNull(rs.getString("REF_NO"));
System.out.println("The value of lineNoRefInt is : " + lineNoRefInt);
} }
catch(Exception e) if (rs != null)
{ {
errCode = "VMEMPBND13"; rs.close();
errString = getErrorString("line_no__ref",errCode,userId); rs = null;
}
break; if (pstmt != null)
{
pstmt.close();
pstmt = null;
} }
if(!(empCode.trim()).equalsIgnoreCase(vouchEmpCode.trim()))
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF05", userId, "", conn); //specified employee code is not present in payroll voucher
break;
}
if(lineNoRefInt < 0) if(refNo != null && refNo.toUpperCase().startsWith("RV-"))
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF15", userId, "", conn); //You can't do recovery against cancel voucher
break;
}
}
}
else if(childNodeName.equalsIgnoreCase("line_no__pvouch"))
{
System.out.println(":::: validation of line_no__pvouch ::::");
tranId = checkNull(genericUtility.getColumnValue("tran_id", dom));
lineNoPvouchStr = checkNull(genericUtility.getColumnValue("line_no__pvouch", dom));
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom));
if( tranId == null || tranId.trim().length() == 0)
{
tranId = "*";
}
if( tranIdBond == null || tranIdBond.trim().length() == 0)
{
tranIdBond = "*";
}
if((tranIdPvouch != null && tranIdPvouch.trim().length() > 0))
{
if(lineNoPvouchStr == null || lineNoPvouchStr.trim().length() == 0)
{ {
errCode = "VMEMPBND11"; errString = itmdbAccess.getErrorString("", "VTEBNDDF06", userId, "", conn); // line no. can't null
errString = getErrorString("line_no__ref",errCode,userId);
break; break;
}else if(lineNoRefInt > 0 ) }
else
{ {
empCode = genericUtility.getColumnValue("emp_code",dom1); try
sql = "select count(*) as ctr from employee_bond where line_no= ? and emp_code = ? "; {
pstmt=conn.prepareStatement(sql); lineNoPvouch = Integer.parseInt(lineNoPvouchStr);
pstmt.setInt(1, lineNoRefInt); }
pstmt.setString(2,empCode); catch (Exception e)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF07", userId, "", conn); // please enter integer
break;
}
sql = "select count(1) as cnt from payr_vouchdet where line_no = ? and tran_id = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setInt(1,lineNoPvouch);
pstmt.setString(2,tranIdPvouch);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if(rs.next()) if(rs.next())
{ {
cnt=0; cnt = rs.getInt("cnt");
cnt = rs.getInt("ctr");
System.out.println("COUNTER VALUE::::["+cnt+"]");
} }
pstmt.close(); if(rs != null)
rs.close();
pstmt = null;
rs = null;
if(cnt == 0)
{ {
errCode = "VMEMPBND12"; rs.close();
errString = getErrorString("line_no__ref",errCode,userId); rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(cnt == 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF08", userId, "", conn); // invalid line no for given tranId
break; break;
} }
//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].Start cnt = 0;
if(checkDuplicateRecordsfromDom(dom2,genericUtility.getColumnValue("line_no__ref",dom),"line_no__ref")) sql="select count(*) as cnt from EMPLOYEE_BOND_DEF where tran_id__pvouch = ? and line_no__pvouch = ? and tran_id <> ? and confirmed = 'N' ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
pstmt.setInt(2, lineNoPvouch);
pstmt.setString(3, tranId);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{ {
errCode = "VMEMPBND14"; rs.close();
errString = getErrorString("line_no__ref",errCode,userId); rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt > 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF09", userId, "", conn); //Unconfirmed transaction is present
break;
}
cnt = 0;
sql="select count(*) as cnt from EMPLOYEE_BOND where tran_id__pvouch = ? and line_no__pvouch = ? and tran_id <> ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
pstmt.setInt(2, lineNoPvouch);
pstmt.setString(3, tranIdBond);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt > 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF13", userId, "", conn); //definition already done
break; break;
}//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].End }
} }
}
}//Modified by RAHUL SHENOY on 11/08/2015 [Reference Line Number validation].End }
else if(childNodeName.equalsIgnoreCase("ad_code"))
// Modified by Piyush on 18/01/2018 [Added else if instead of if] {
// if (childNodeName.equalsIgnoreCase("bond_amt")) System.out.println(":::: validation of ad_code ::::");
else if (childNodeName.equalsIgnoreCase("bond_amt"))
tranId = checkNull(genericUtility.getColumnValue("tran_id", dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
adCode = checkNull(genericUtility.getColumnValue("ad_code", dom));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom));
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom));
System.out.println("tranID from dom -->"+tranId);
if( tranId == null || tranId.trim().length() == 0)
{ {
bondamt = genericUtility.getColumnValue("bond_amt",dom); tranId = "*";
}
if (bondamt == null )
if(adCode == null || adCode.trim().length() == 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF10", userId, "", conn); //please specify adcode
break;
}
else
{
sql = "select count(*) as cnt from allwdedn where ad_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, adCode);
rs = pstmt.executeQuery();
if (rs.next())
{ {
/* cnt = rs.getInt("cnt");
errCode = "VMBAMTNULL"; }
errString = getErrorString("bond_amt",errCode,userId); if (rs != null)
break;
*/
bondamt = "0.0";
}
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].Start
try
{ {
bondamtDouble = Double.parseDouble(bondamt); rs.close();
rs = null;
} }
if (pstmt != null)
catch(Exception e)
{ {
errCode = "VMEMPBND06"; pstmt.close();
errString = getErrorString("bond_amt", errCode, userId); pstmt = null;
break;
} }
if(cnt == 0)
if(bondamtDouble < 0)
{ {
errCode = "VMEMPBND04"; errString = itmdbAccess.getErrorString("", "VTEBNDDF11", userId, "", conn); //adcode not present in allwdedn
errString = getErrorString("bond_amt", errCode, userId);
break; break;
} }
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom); if((tranIdBond == null || tranIdBond.trim().length() == 0) && (tranIdPvouch == null || tranIdPvouch.trim().length() == 0))
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim(); {
System.out.println("empCode in adCode -->"+empCode);
System.out.println("adCode in adCode -->"+adCode);
System.out.println("tranId in adCode -->"+tranId);
cnt = 0;
sql="select count(*) as cnt from EMPLOYEE_BOND_DEF where emp_code = ? and ad_code = ? and tran_id <> ? and confirmed='N'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
pstmt.setString(2, adCode);
pstmt.setString(3, tranId);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt > 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF12", userId, "", conn); //Unconfirmed transaction is present
break;
}
}
}
}
//Added by Yashwant S.on 18-12-19[End][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][Start]
/*empCode = genericUtility.getColumnValue("emp_code", dom1);
boolean dupTran = checkPreviousUnconfRec(empCode,editFlag,conn);
if(dupTran)
{
errCode = "VMEMPBND15";
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmdbAccess.getErrorString("bond_prd", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}*/
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][End]
}// for loop end
break;
case 2:
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
//Modified by RAHUL SHENOY on 11/08/2015 [Reference Line Number validation].Start
tranId = genericUtility.getColumnValue("tran_id", dom1);
if (childNodeName.equalsIgnoreCase("line_no__ref"))
{
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom);
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim();
try
{
System.out.println("The value of lineNoRef is : " + lineNoRef);
lineNoRefInt = Integer.parseInt(lineNoRef); lineNoRefInt = Integer.parseInt(lineNoRef);
System.out.println("The value of lineNoRefInt is : " + lineNoRefInt);
if(bondamtDouble == 0.0 && lineNoRefInt == 0)
{ }
errCode = "VMEMPBND10"; catch(Exception e)
errString = getErrorString("bond_amt", errCode, userId); {
errCode = "VMEMPBND13";
//errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("line_no__ref", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
if(lineNoRefInt < 0)
{
errCode = "VMEMPBND11";
//errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("line_no__ref", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}else if(lineNoRefInt > 0 )
{
empCode = genericUtility.getColumnValue("emp_code",dom1);
sql = "select count(*) as ctr from employee_bond where line_no= ? and emp_code = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setInt(1, lineNoRefInt);
pstmt.setString(2,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt=0;
cnt = rs.getInt("ctr");
System.out.println("COUNTER VALUE::::["+cnt+"]");
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
if(cnt == 0)
{
errCode = "VMEMPBND12";
//errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("line_no__ref", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break; break;
} }
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].End
//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].Start
if(checkDuplicateRecordsfromDom(dom2,genericUtility.getColumnValue("line_no__ref",dom),"line_no__ref"))
{
errCode = "VMEMPBND14";
//errString = getErrorString("line_no__ref",errCode,userId);
errString = itmdbAccess.getErrorString("line_no__ref", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].End
} }
// Modified by Piyush on 18/01/2018 [Added else if instead of if] }//Modified by RAHUL SHENOY on 11/08/2015 [Reference Line Number validation].End
// if (childNodeName.equalsIgnoreCase("bond_prd"))
else if (childNodeName.equalsIgnoreCase("bond_prd"))
// Modified by Piyush on 18/01/2018 [Added else if instead of if]
// if (childNodeName.equalsIgnoreCase("bond_amt"))
else if (childNodeName.equalsIgnoreCase("bond_amt"))
{
bondamt = genericUtility.getColumnValue("bond_amt",dom);
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch",dom1));
if (bondamt == null )
{ {
bondprd = genericUtility.getColumnValue("bond_prd",dom); /*
errCode = "VMBAMTNULL";
bondprd = (bondprd == null ) ? "0" : bondprd.trim() ; errString = getErrorString("bond_amt",errCode,userId);
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start break;
try */
bondamt = "0.0";
}
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].Start
try
{
bondamtDouble = Double.parseDouble(bondamt);
}
catch(Exception e)
{
errCode = "VMEMPBND06";
//errString = getErrorString("bond_amt", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
if(bondamtDouble < 0)
{
errCode = "VMEMPBND04";
//errString = getErrorString("bond_amt", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom);
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim();
lineNoRefInt = Integer.parseInt(lineNoRef);
if(bondamtDouble == 0.0 && lineNoRefInt == 0)
{
errCode = "VMEMPBND10";
//errString = getErrorString("bond_amt", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].End
//Added by Yashwant S.on 18-12-19[Start][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
sql = "select amount from payr_vouchdet where tran_id = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
rs = pstmt.executeQuery();
if(rs.next())
{ {
bondprdInt = Integer.parseInt(bondprd); pvouchAmt = rs.getDouble("amount");
} }
catch(Exception e) if(rs != null)
{ {
errCode = "VMEMPBND05"; rs.close();
errString = getErrorString("bond_prd", errCode, userId); rs = null;
break; }
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
} }
if(bondprdInt < 1)
if(bondamtDouble > pvouchAmt)
{ {
errCode = "VMEMPBND03"; errString = itmdbAccess.getErrorString("", "VTEBNDDF14", userId, "", conn);//amount can't be greter than payr_vochedet
errString = getErrorString("bond_prd", errCode, userId);
break; break;
} }
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start
}
//Added by Yashwant S.on 18-12-19[End][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
}
// Modified by Piyush on 18/01/2018 [Added else if instead of if]
// if (childNodeName.equalsIgnoreCase("bond_prd"))
else if (childNodeName.equalsIgnoreCase("bond_prd"))
{
bondprd = genericUtility.getColumnValue("bond_prd",dom);
bondprd = (bondprd == null ) ? "0" : bondprd.trim() ;
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start
try
{
bondprdInt = Integer.parseInt(bondprd);
}
catch(Exception e)
{
errCode = "VMEMPBND05";
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
}
if(bondprdInt < 1)
{
errCode = "VMEMPBND03";
//errString = getErrorString("bond_prd", errCode, userId);
errString = itmdbAccess.getErrorString("bond_amt", errCode, userId, "", conn);//Modified by yashwant to call 5 parameter method[13-12-19]
break;
} }
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][Start] //Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start
/*empCode = genericUtility.getColumnValue("emp_code", dom1);
}
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][Start]
/*empCode = genericUtility.getColumnValue("emp_code", dom1);
boolean dupTran=duplicateTran(empCode,editFlag,conn); boolean dupTran=duplicateTran(empCode,editFlag,conn);
if(dupTran) if(dupTran)
{ {
...@@ -515,12 +936,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -515,12 +936,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
errString = getErrorString("bond_prd", errCode, userId); errString = getErrorString("bond_prd", errCode, userId);
break; break;
}*/ }*/
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][End] //Added by Suraj [19-09-2015] [to validate for duplicate transaction][End]
}// for loop end }// for loop end
break; break;
} //end switch } //end switch
}//end try }//end try
catch(Exception e) catch(Exception e)
{ {
...@@ -554,23 +975,27 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -554,23 +975,27 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
return errString; return errString;
} }
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
Document dom = null; Document dom = null;
Document dom1 = null; Document dom1 = null;
Document dom2 = null; Document dom2 = null;
String valueXmlString = ""; String valueXmlString = "";
try try
{ {
System.out.println("xmlString -->"+xmlString);
dom = parseString(xmlString); dom = parseString(xmlString);
dom1 = parseString(xmlString1); dom1 = parseString(xmlString1);
System.out.println("xmlString -->"+xmlString);
if (xmlString2.trim().length() > 0 ) if (xmlString2.trim().length() > 0 )
{ {
dom2 = parseString(xmlString2); dom2 = parseString(xmlString2);
System.out.println("xmlString -->"+xmlString);
} }
valueXmlString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams); valueXmlString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams);
} }
catch(Exception e) catch(Exception e)
{ {
...@@ -578,14 +1003,14 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -578,14 +1003,14 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
return valueXmlString; return valueXmlString;
} }
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
StringBuffer valueXmlString = new StringBuffer(); StringBuffer valueXmlString = new StringBuffer();
NodeList parentNodeList = null; NodeList parentNodeList = null;
NodeList childNodeList = null; NodeList childNodeList = null;
Node parentNode = null; Node parentNode = null;
Node childNode = null; Node childNode = null;
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
...@@ -593,7 +1018,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -593,7 +1018,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
int ctr=0; int ctr=0;
String childNodeName = null; String childNodeName = null;
String columnValue = null; String columnValue = null;
//Modified by RAHUL SHENOY on 11/08/2015 [Declaring required variables].Start //Modified by RAHUL SHENOY on 11/08/2015 [Declaring required variables].Start
int childNodeListLength = 0; int childNodeListLength = 0;
int currentFormNo = 0; int currentFormNo = 0;
...@@ -601,18 +1026,36 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -601,18 +1026,36 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
String sql = "",descr = "",empfname = "", empmname = "", emplname = ""; String sql = "",descr = "",empfname = "", empmname = "", emplname = "";
String siteCode =""; String siteCode ="";
//Modified by RAHUL SHENOY on 11/08/2015 [Declaring required variables].End //Modified by RAHUL SHENOY on 11/08/2015 [Declaring required variables].End
ConnDriver connDriver = new ConnDriver(); //Added by Yashwant S.on 13-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
String adCode = "";
String adDescr = "";
String tranIdPvouch = "";
String deptDescr = "";
String siteDescr = "";
String lineNoPvouchStr = "";
int lineNoPvouch = 0;
String tranIdBond = "";
//Added by Yashwant S.on 13-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
String tranDate=""; String tranDate="";
try try
{ {
GenericUtility genericUtility = GenericUtility.getInstance(); //Modified by Yashwant on 13-12-19[START][To define getConnection and E12GenericUtility methods]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//ConnDriver connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
//conn.setAutoCommit(false);
//connDriver=null;
conn = getConnection();
//Modified by Yashwant on 13-12-19[END][To define getConnection and E12GenericUtility methods]
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
Timestamp timestamp = new Timestamp(System.currentTimeMillis()); Timestamp timestamp = new Timestamp(System.currentTimeMillis());
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver=null;
if(objContext != null && objContext.trim().length()>0) if(objContext != null && objContext.trim().length()>0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
...@@ -628,7 +1071,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -628,7 +1071,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
parentNode = parentNodeList.item(0); parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes(); childNodeList = parentNode.getChildNodes();
ctr = 0; ctr = 0;
childNodeListLength = childNodeList.getLength(); childNodeListLength = childNodeList.getLength();
do do
{ {
...@@ -643,49 +1086,93 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -643,49 +1086,93 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
ctr++; ctr++;
}while(ctr < childNodeListLength && !childNodeName.equals(currentColumn)); }while(ctr < childNodeListLength && !childNodeName.equals(currentColumn));
if(currentColumn.trim().equalsIgnoreCase("itm_default")) if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{ {
System.out.println(":::: Inside itm_default ::::");
String confirmed="N"; String confirmed="N";
tranDate = simpleDateFormat.format(timestamp).toString(); tranDate = simpleDateFormat.format(timestamp).toString();
System.out.println("Tran Date 111: "+tranDate.toString()); System.out.println("Tran Date 111: "+tranDate.toString());
valueXmlString.append("<tran_date>").append("<![CDATA["+tranDate.trim()+"]]>").append("</tran_date>"); valueXmlString.append("<tran_date>").append("<![CDATA["+tranDate.trim()+"]]>").append("</tran_date>");
valueXmlString.append("<confirmed>").append("<![CDATA["+confirmed+"]]>").append("</confirmed>"); valueXmlString.append("<confirmed>").append("<![CDATA["+confirmed+"]]>").append("</confirmed>");
//Added by Yashwant S.on 13-12-19[Start][To disable Line No. Voucher][CCF No: IT2018-015 / Request ID: A18CSUN011]
lineNoPvouchStr = checkNull(genericUtility.getColumnValue("line_no__pvouch",dom));
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
//Added by Yashwant S.on 13-12-19[END][To disable Line No. Voucher][CCF No: IT2018-015 / Request ID: A18CSUN011]
} }
//Modified by RAHUL SHENOY on 18/08/2015 [Disabling empCode on Edit if records found for the employee code and transaction ID ].Start //Modified by RAHUL SHENOY on 18/08/2015 [Disabling empCode on Edit if records found for the employee code and transaction ID ].Start
System.out.println("*** Protecting EmpCode if records Exist ***"); //System.out.println("*** Protecting EmpCode if records Exist ***");
if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit")) else if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit"))
{ {
System.out.println(":::: inside itm_defaultedit ::::");
String tranId =""; String tranId ="";
int count1 = 0; int count1 = 0;
tranId = genericUtility.getColumnValue("tran_id", dom1);
empCode = genericUtility.getColumnValue("emp_code", dom1); //Added by Yashwant S.on 17-12-19[START][CCF No: IT2018-015 / Request ID: A18CSUN011]
//tranId = genericUtility.getColumnValue("tran_id", dom1);
//empCode = genericUtility.getColumnValue("emp_code", dom1);
tranId = checkNull(genericUtility.getColumnValue("tran_id", dom1));
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom1));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom1));
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom1));
lineNoPvouchStr = checkNull(genericUtility.getColumnValue("line_no__pvouch", dom1));
adCode = checkNull(genericUtility.getColumnValue("ad_code", dom1));
//Added by Yashwant S.on 17-12-19[END][CCF No: IT2018-015 / Request ID: A18CSUN011]
sql ="select count(1) from employee_bond_def_det where tran_id = ? "; sql ="select count(1) from employee_bond_def_det where tran_id = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId); pstmt.setString(1, tranId);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
while(rs.next()) while(rs.next())
{ {
count1 = rs.getInt(1); count1 = rs.getInt(1);
} }
System.out.println("The value of count1 --->>> "+ count1); System.out.println("The value of count1 --->>> "+ count1);
if(count1 > 0) if(count1 > 0)
{ {
valueXmlString.append("<emp_code protect=\"1\">").append("<![CDATA["+empCode+"]]>").append("</emp_code>"); valueXmlString.append("<emp_code protect=\"1\">").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
//Added by Yashwant S.on 17-12-19[START][CCF No: IT2018-015 / Request ID: A18CSUN011]
valueXmlString.append("<tran_id__bond protect=\"1\">").append("<![CDATA["+tranIdBond+"]]>").append("</tran_id__bond>");
valueXmlString.append("<tran_id__pvouch protect=\"1\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
} }
else
{
if(tranIdBond != null && tranIdBond.trim().length() > 0)
{
System.out.println("--- tranIdBond not null ----");
valueXmlString.append("<tran_id__bond protect=\"0\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<tran_id__pvouch protect=\"1\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
}
else if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
System.out.println("--- tranIdPvouch not null ----");
valueXmlString.append("<tran_id__pvouch protect=\"0\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<tran_id__bond protect=\"1\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"0\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
}
}
//Added by Yashwant S.on 17-12-19[END][CCF No: IT2018-015 / Request ID: A18CSUN011]
} }
//Modified by RAHUL SHENOY on 18/08/2015 [Disabling empCode on Edit if records found for the employee code and transaction ID ].End //Modified by RAHUL SHENOY on 18/08/2015 [Disabling empCode on Edit if records found for the employee code and transaction ID ].End
//Modified by RAHUL SHENOY on 11/08/2015 [siteCode to be fetched by Employee Code since site_code field is non-editable in Form].Start //Modified by RAHUL SHENOY on 11/08/2015 [siteCode to be fetched by Employee Code since site_code field is non-editable in Form].Start
/* /*
else if(currentColumn.trim().equalsIgnoreCase("site_code")) else if(currentColumn.trim().equalsIgnoreCase("site_code"))
{ {
//Modified by RAHUL SHENOY on 11/08/2015 [Declaring siteCode outside so it can be used at other places] //Modified by RAHUL SHENOY on 11/08/2015 [Declaring siteCode outside so it can be used at other places]
//String siteCode = getColumnValue("site_code",dom); //String siteCode = getColumnValue("site_code",dom);
siteCode = getColumnValue("site_code",dom); siteCode = getColumnValue("site_code",dom);
...@@ -707,7 +1194,6 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -707,7 +1194,6 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
//Modified by RAHUL SHENOY on 11/08/2015 [siteCode to be fetched by Employee Code since site_code field is non-editable in Form].End //Modified by RAHUL SHENOY on 11/08/2015 [siteCode to be fetched by Employee Code since site_code field is non-editable in Form].End
else if(currentColumn.trim().equalsIgnoreCase("emp_code")) else if(currentColumn.trim().equalsIgnoreCase("emp_code"))
{ {
empCode = genericUtility.getColumnValue("emp_code",dom); empCode = genericUtility.getColumnValue("emp_code",dom);
//Modified by RAHUL SHENOY on 11/08/2015 [Fetching Employee Site for Employee Code from Employee Master Table] //Modified by RAHUL SHENOY on 11/08/2015 [Fetching Employee Site for Employee Code from Employee Master Table]
// sql = " Select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr from "+ // sql = " Select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr from "+
...@@ -716,11 +1202,11 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -716,11 +1202,11 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
sql = " Select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr,e.emp_site from "+ sql = " Select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr,e.emp_site from "+
" employee e,department d "+ " employee e,department d "+
" where e.dept_code = d.dept_code and e.emp_code = ? "; " where e.dept_code = d.dept_code and e.emp_code = ? ";
pstmt= conn.prepareStatement(sql); pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode); pstmt.setString(1,empCode);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if(rs.next()) if(rs.next())
{ {
empfname = rs.getString(1) == null ? "" : rs.getString(1); empfname = rs.getString(1) == null ? "" : rs.getString(1);
...@@ -728,61 +1214,356 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -728,61 +1214,356 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
emplname = rs.getString(3) == null ? "" : rs.getString(3); emplname = rs.getString(3) == null ? "" : rs.getString(3);
deptCode = rs.getString(4) == null ? "" : rs.getString(4); deptCode = rs.getString(4) == null ? "" : rs.getString(4);
descr = rs.getString(5) == null ? "" : rs.getString(5); descr = rs.getString(5) == null ? "" : rs.getString(5);
//Modified by RAHUL SHENOY on 11/08/2015 [Fetching emp_site from emp_code from employee table] //Modified by RAHUL SHENOY on 11/08/2015 [Fetching emp_site from emp_code from employee table]
siteCode = rs.getString("emp_site") == null ? "" : rs.getString("emp_site"); siteCode = rs.getString("emp_site") == null ? "" : rs.getString("emp_site");
} }
if(rs != null) if(rs != null)
{ {
rs.close(); rs.close();
rs = null; rs = null;
} }
if(pstmt!= null) if(pstmt != null)
{ {
pstmt.close(); pstmt.close();
pstmt= null; pstmt = null;
} }
//Modified by RAHUL SHENOY in 11/08/2015 [Fetching Description for siteCode obtained].Start //Modified by RAHUL SHENOY in 11/08/2015 [Fetching Description for siteCode obtained].Start
sql = "SELECT DESCR FROM SITE WHERE SITE_CODE = ? "; sql = "SELECT DESCR FROM SITE WHERE SITE_CODE = ? ";
pstmt= conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCode); pstmt.setString(1,siteCode);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
while(rs.next()) while(rs.next())
{ {
descr = rs.getString(1) == null ? "" : rs.getString(1); descr = rs.getString(1) == null ? "" : rs.getString(1);
} }
if(rs != null) if(rs != null)
{ {
rs.close(); rs.close();
rs = null; rs = null;
} }
if(pstmt!= null) if(pstmt != null)
{ {
pstmt.close(); pstmt.close();
pstmt= null; pstmt= null;
} }
//Modified by RAHUL SHENOY in 11/08/2015 [Fetching Description for siteCode obtained].End //Modified by RAHUL SHENOY in 11/08/2015 [Fetching Description for siteCode obtained].End
valueXmlString.append("<emp_fname>").append("<![CDATA["+empfname+"]]>").append("</emp_fname>"); valueXmlString.append("<emp_fname>").append("<![CDATA["+empfname+"]]>").append("</emp_fname>");
valueXmlString.append("<emp_mname>").append("<![CDATA["+empmname+"]]>").append("</emp_mname>"); valueXmlString.append("<emp_mname>").append("<![CDATA["+empmname+"]]>").append("</emp_mname>");
valueXmlString.append("<emp_lname>").append("<![CDATA["+emplname+"]]>").append("</emp_lname>"); valueXmlString.append("<emp_lname>").append("<![CDATA["+emplname+"]]>").append("</emp_lname>");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>"); valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
//Modified by RAHUL SHENOY on 11/08/2015 [Displaying Site Code and its Description].Start //Modified by RAHUL SHENOY on 11/08/2015 [Displaying Site Code and its Description].Start
valueXmlString.append("<site_code>").append("<![CDATA["+siteCode+"]]>").append("</site_code>"); valueXmlString.append("<site_code>").append("<![CDATA["+siteCode+"]]>").append("</site_code>");
valueXmlString.append("<site_descr>").append("<![CDATA["+descr.trim()+"]]>").append("</site_descr>"); valueXmlString.append("<site_descr>").append("<![CDATA["+descr.trim()+"]]>").append("</site_descr>");
//Modified by RAHUL SHENOY on 11/08/2015 [Displaying Site Code and its Description].End //Modified by RAHUL SHENOY on 11/08/2015 [Displaying Site Code and its Description].End
valueXmlString.append("<department_descr>").append("<![CDATA["+descr+"]]>").append("</department_descr>"); valueXmlString.append("<department_descr>").append("<![CDATA["+descr+"]]>").append("</department_descr>");
System.out.println("First Name :"+empfname+" Middle Name :"+empmname+" Last Name :"+emplname); System.out.println("First Name :"+empfname+" Middle Name :"+empmname+" Last Name :"+emplname);
System.out.println("Dept code -->>"+deptCode+" descr : "+descr); System.out.println("Dept code -->>"+deptCode+" descr : "+descr);
} }
//Added by Yashwant S.on 13-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
else if(currentColumn.trim().equalsIgnoreCase("tran_id__bond"))
{
System.out.println("::::: Inside tran_id__bond :::::");
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond",dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
if(tranIdBond != null && tranIdBond.trim().length() > 0)
{
sql = "select emp_code, ad_code, tran_id__pvouch, line_no__pvouch from EMPLOYEE_BOND where TRAN_ID = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,tranIdBond);
rs = pstmt.executeQuery();
if(rs.next())
{
empCode = checkNull(rs.getString("emp_code"));
adCode = checkNull(rs.getString("ad_code"));
tranIdPvouch = checkNull(rs.getString("tran_id__pvouch"));
lineNoPvouch = rs.getInt("line_no__pvouch");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = " select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr from "+
" employee e,department d "+
" where e.dept_code = d.dept_code and e.emp_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empfname = checkNull(rs.getString("emp_fname"));
empmname = checkNull(rs.getString("emp_mname"));
emplname = checkNull(rs.getString("emp_lname"));
deptCode = checkNull(rs.getString("dept_code"));
deptDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = "select descr from allwdedn where AD_CODE = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,adCode);
rs = pstmt.executeQuery();
if(rs.next())
{
adDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
valueXmlString.append("<tran_id__bond>").append("<![CDATA["+tranIdBond+"]]>").append("</tran_id__bond>");
valueXmlString.append("<tran_id__pvouch protect=\"1\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouch).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<emp_code>").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
valueXmlString.append("<emp_fname>").append("<![CDATA["+empfname+"]]>").append("</emp_fname>");
valueXmlString.append("<emp_mname>").append("<![CDATA["+empmname+"]]>").append("</emp_mname>");
valueXmlString.append("<emp_lname>").append("<![CDATA["+emplname+"]]>").append("</emp_lname>");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
valueXmlString.append("<department_descr>").append("<![CDATA["+deptDescr+"]]>").append("</department_descr>");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
else
{
valueXmlString.append("<tran_id__bond protect=\"0\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<tran_id__pvouch protect=\"0\"><![CDATA[").append(tranIdPvouch).append("]]></tran_id__pvouch>\r\n");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<emp_code protect=\"0\"><![CDATA[").append(empCode).append("]]></emp_code>\r\n");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
valueXmlString.append("<department_descr>").append("<![CDATA["+deptDescr+"]]>").append("</department_descr>");
valueXmlString.append("<ad_code protect=\"0\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
}
else if(currentColumn.trim().equalsIgnoreCase("tran_id__pvouch"))
{
System.out.println("::::: Inside tran_id__pvouch :::::");
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch",dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
siteCode = checkNull(genericUtility.getColumnValue("site_code",dom));
if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
sql = "select emp_code, site_code from payr_voucher where TRAN_ID = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,tranIdPvouch);
rs = pstmt.executeQuery();
if(rs.next())
{
empCode = checkNull(rs.getString("emp_code"));
siteCode = checkNull(rs.getString("site_code"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = " Select e.emp_fname,e.emp_mname,e.emp_lname,e.dept_code,d.descr from "+
" employee e,department d "+
" where e.dept_code = d.dept_code and e.emp_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
empfname = checkNull(rs.getString("emp_fname"));
empmname = checkNull(rs.getString("emp_mname"));
emplname = checkNull(rs.getString("emp_lname"));
deptCode = checkNull(rs.getString("dept_code"));
deptDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = "SELECT DESCR FROM SITE WHERE SITE_CODE = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,siteCode);
rs = pstmt.executeQuery();
while(rs.next())
{
siteDescr = checkNull(rs.getString("DESCR"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
valueXmlString.append("<emp_code>").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
valueXmlString.append("<emp_fname>").append("<![CDATA["+empfname+"]]>").append("</emp_fname>");
valueXmlString.append("<emp_mname>").append("<![CDATA["+empmname+"]]>").append("</emp_mname>");
valueXmlString.append("<emp_lname>").append("<![CDATA["+emplname+"]]>").append("</emp_lname>");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
valueXmlString.append("<department_descr>").append("<![CDATA["+deptDescr+"]]>").append("</department_descr>");
valueXmlString.append("<site_code>").append("<![CDATA["+siteCode+"]]>").append("</site_code>");
valueXmlString.append("<site_descr>").append("<![CDATA["+siteDescr+"]]>").append("</site_descr>");
valueXmlString.append("<line_no__pvouch protect=\"0\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<tran_id__bond protect=\"1\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<ad_code protect=\"1\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
}
else
{
valueXmlString.append("<emp_code>").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
valueXmlString.append("<dept_code>").append("<![CDATA["+deptCode+"]]>").append("</dept_code>");
valueXmlString.append("<department_descr>").append("<![CDATA["+deptDescr+"]]>").append("</department_descr>");
valueXmlString.append("<site_code>").append("<![CDATA["+siteCode+"]]>").append("</site_code>");
valueXmlString.append("<site_descr>").append("<![CDATA["+siteDescr+"]]>").append("</site_descr>");
valueXmlString.append("<line_no__pvouch protect=\"1\"><![CDATA[").append(lineNoPvouchStr).append("]]></line_no__pvouch>\r\n");
valueXmlString.append("<tran_id__bond protect=\"0\"><![CDATA[").append(tranIdBond).append("]]></tran_id__bond>\r\n");
valueXmlString.append("<ad_code protect=\"0\"><![CDATA[").append(adCode).append("]]></ad_code>\r\n");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
}
else if(currentColumn.trim().equalsIgnoreCase("line_no__pvouch"))
{
System.out.println("::::: Inside line_no__pvouch :::::");
lineNoPvouchStr = checkNull(genericUtility.getColumnValue("line_no__pvouch",dom));
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch",dom));
if (lineNoPvouchStr.trim().length() > 0)
{
lineNoPvouch = Integer.parseInt(lineNoPvouchStr);
}
System.out.println("lineNoPvouch -->"+lineNoPvouch);
sql = "select ad_code from payr_vouchdet where line_no = ? and tran_id = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setInt(1,lineNoPvouch);
pstmt.setString(2,tranIdPvouch);
rs = pstmt.executeQuery();
if(rs.next())
{
adCode = checkNull(rs.getString("ad_code"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
sql = "select descr from allwdedn where ad_code = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,adCode);
rs = pstmt.executeQuery();
if(rs.next())
{
adDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
valueXmlString.append("<line_no__pvouch>").append("<![CDATA["+lineNoPvouchStr+"]]>").append("</line_no__pvouch>");
valueXmlString.append("<ad_code>").append("<![CDATA["+adCode+"]]>").append("</ad_code>");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
else if(currentColumn.trim().equalsIgnoreCase("ad_code"))
{
System.out.println("::::: Inside ad_code :::::");
adCode = checkNull(genericUtility.getColumnValue("ad_code",dom));
System.out.println("adCode -->"+adCode);
sql = "select descr from allwdedn where AD_CODE = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,adCode);
rs = pstmt.executeQuery();
if(rs.next())
{
adDescr = checkNull(rs.getString("descr"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
valueXmlString.append("<ad_code>").append("<![CDATA["+adCode+"]]>").append("</ad_code>");
valueXmlString.append("<allwdedn_descr>").append("<![CDATA["+adDescr+"]]>").append("</allwdedn_descr>");
}
//Added by Yashwant S. on 13-12-19[END][CCF No: IT2018-015 / Request ID: A18CSUN011]
valueXmlString.append("</Detail1>"); valueXmlString.append("</Detail1>");
break; break;
//Modified by RAHUL SHENOY on 11/08/2015 [Case 2 for item changes in Form 2].Start //Modified by RAHUL SHENOY on 11/08/2015 [Case 2 for item changes in Form 2].Start
...@@ -790,17 +1571,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -790,17 +1571,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
//Modified by RAHUL SHENOY on 18/08/2015 [Disable editing in employee code on loading Detail2].Start //Modified by RAHUL SHENOY on 18/08/2015 [Disable editing in employee code on loading Detail2].Start
empCode = genericUtility.getColumnValue("emp_code",dom1 ); empCode = genericUtility.getColumnValue("emp_code",dom1 );
//NOT WORKING //NOT WORKING
System.out.println("*** Protecting EmpCode ***"); System.out.println("*** Protecting EmpCode ***");
valueXmlString.append("<Detail1>\r\n"); valueXmlString.append("<Detail1>\r\n");
valueXmlString.append("<emp_code protect=\"1\">").append("<![CDATA["+empCode+"]]>").append("</emp_code>"); valueXmlString.append("<emp_code protect=\"1\">").append("<![CDATA["+empCode+"]]>").append("</emp_code>");
valueXmlString.append("</Detail1>\r\n"); valueXmlString.append("</Detail1>\r\n");
//Modified by RAHUL SHENOY on 18/08/2015 [Disable editing in employee code on loading Detail2].End //Modified by RAHUL SHENOY on 18/08/2015 [Disable editing in employee code on loading Detail2].End
valueXmlString.append("<Detail2>"); valueXmlString.append("<Detail2>");
parentNodeList = dom.getElementsByTagName("Detail2"); parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0); parentNode = parentNodeList.item(0);
...@@ -822,12 +1603,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -822,12 +1603,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
ctr++; ctr++;
}while(ctr < childNodeListLength && !childNodeName.equals(currentColumn)); }while(ctr < childNodeListLength && !childNodeName.equals(currentColumn));
if(currentColumn.trim().equalsIgnoreCase("itm_default")) if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{ {
valueXmlString.append("<line_no__ref>").append("<![CDATA[0]]>").append("</line_no__ref>"); valueXmlString.append("<line_no__ref>").append("<![CDATA[0]]>").append("</line_no__ref>");
} }
// Modified by Piyush on 18/01/2018 [Added else if instead of if] // Modified by Piyush on 18/01/2018 [Added else if instead of if]
//if(currentColumn.trim().equalsIgnoreCase("line_no__ref")) //if(currentColumn.trim().equalsIgnoreCase("line_no__ref"))
else if(currentColumn.trim().equalsIgnoreCase("line_no__ref")) else if(currentColumn.trim().equalsIgnoreCase("line_no__ref"))
...@@ -835,15 +1616,15 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -835,15 +1616,15 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
lineNoRef = genericUtility.getColumnValue("line_no__ref",dom); lineNoRef = genericUtility.getColumnValue("line_no__ref",dom);
empCode = genericUtility.getColumnValue("emp_code",dom1); empCode = genericUtility.getColumnValue("emp_code",dom1);
try{ try{
lineNoRefInt = Integer.parseInt(lineNoRef); lineNoRefInt = Integer.parseInt(lineNoRef);
} }
catch(Exception e) catch(Exception e)
{ {
lineNoRefInt = 0; lineNoRefInt = 0;
} }
if(lineNoRefInt != 0) if(lineNoRefInt != 0)
{ {
sql = "select bond_prd,bond_amt from employee_bond where emp_code = ? and line_no = ? "; sql = "select bond_prd,bond_amt from employee_bond where emp_code = ? and line_no = ? ";
...@@ -856,7 +1637,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -856,7 +1637,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
bondPrd = rs.getString("bond_prd") == null ? "" : rs.getString("bond_prd"); bondPrd = rs.getString("bond_prd") == null ? "" : rs.getString("bond_prd");
bondAmt = rs.getString("bond_amt") == null ? "" : rs.getString("bond_amt"); bondAmt = rs.getString("bond_amt") == null ? "" : rs.getString("bond_amt");
} }
if(rs != null) if(rs != null)
{ {
rs.close(); rs.close();
...@@ -873,18 +1654,19 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -873,18 +1654,19 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
bondPrd = "0"; bondPrd = "0";
bondAmt = "0"; bondAmt = "0";
} }
valueXmlString.append("<bond_prd__curr>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd__curr>"); valueXmlString.append("<bond_prd__curr>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd__curr>");
valueXmlString.append("<bond_prd>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd>"); valueXmlString.append("<bond_prd>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd>");
valueXmlString.append("<bond_amt__curr>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt__curr>"); valueXmlString.append("<bond_amt__curr>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt__curr>");
valueXmlString.append("<bond_amt>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt>"); valueXmlString.append("<bond_amt>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt>");
} }
// Modified by Piyush on 18/01/2018 [To set 0 amount in case of bond amount is null or empty].Start // Modified by Piyush on 18/01/2018 [To set 0 amount in case of bond amount is null or empty].Start
else if (currentColumn.trim().equalsIgnoreCase("bond_amt")) else if (currentColumn.trim().equalsIgnoreCase("bond_amt"))
{ {
String bondAmtStr = genericUtility.getColumnValue("bond_amt",dom); String bondAmtStr = genericUtility.getColumnValue("bond_amt",dom);
if ( bondAmtStr == null || bondAmtStr.trim().length() == 0) if ( bondAmtStr == null || bondAmtStr.trim().length() == 0)
{ {
bondAmtStr = "0.00"; bondAmtStr = "0.00";
...@@ -897,7 +1679,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -897,7 +1679,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
//Modified by RAHUL SHENOY on 11/08/2015 [Case 2 for item changes in Form 2].End //Modified by RAHUL SHENOY on 11/08/2015 [Case 2 for item changes in Form 2].End
}// end switch }// end switch
valueXmlString.append("</Root>"); valueXmlString.append("</Root>");
} }
catch(Exception e) catch(Exception e)
{ {
...@@ -934,32 +1716,30 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -934,32 +1716,30 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
//Modified by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].Start //Modified by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].Start
private boolean checkDuplicateRecordsfromDom(Document dom,String lineNoref,String field) private boolean checkDuplicateRecordsfromDom(Document dom,String lineNoref,String field)
{ {
NodeList parentList = null; NodeList parentList = null;
NodeList childList = null; NodeList childList = null;
Node parentNode = null; Node parentNode = null;
Node childNode = null; Node childNode = null;
String domValue= ""; String domValue= "";
int domValueInt =0; int domValueInt =0;
int prntCtrRec = 0; int prntCtrRec = 0;
ArrayList<String> arrayList = new ArrayList<String>(); ArrayList<String> arrayList = new ArrayList<String>();
boolean isDuplRecord = false; boolean isDuplRecord = false;
try { try {
System.out.println("MODIFIED BZY SURAJ"); System.out.println("MODIFIED BZY SURAJ");
System.out.println("********---- Entering the Method : checkDuplicateRecordsfromDom for the field ["+field +"] ---- ********"); System.out.println("********---- Entering the Method : checkDuplicateRecordsfromDom for the field ["+field +"] ---- ********");
parentList = dom.getElementsByTagName("Detail2"); parentList = dom.getElementsByTagName("Detail2");
int parentNodeListLength = parentList.getLength(); int parentNodeListLength = parentList.getLength();
System.out.println(" getValidDateFromDom parentList.getLength() ["+parentList.getLength()+"]"); System.out.println(" getValidDateFromDom parentList.getLength() ["+parentList.getLength()+"]");
for (int prntCtr = 0; prntCtr < parentNodeListLength; prntCtr++ ) for (int prntCtr = 0; prntCtr < parentNodeListLength; prntCtr++ )
{ {
parentNode = parentList.item(prntCtr); parentNode = parentList.item(prntCtr);
...@@ -971,12 +1751,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -971,12 +1751,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
{ {
childNode = childList.item(ctr); childNode = childList.item(ctr);
System.out.println("childNode.getNodeName() ....["+childNode.getNodeName()+"]"); System.out.println("childNode.getNodeName() ....["+childNode.getNodeName()+"]");
//Modified by suraj [To allow add option after default] [Start] //Modified by suraj [To allow add option after default] [Start]
if(childNode != null && childNode.getNodeName().equalsIgnoreCase("attribute")) if(childNode != null && childNode.getNodeName().equalsIgnoreCase("attribute"))
{ {
String updateFlag = ""; String updateFlag = "";
updateFlag = childNode.getAttributes().getNamedItem("updateFlag").getNodeValue(); updateFlag = childNode.getAttributes().getNamedItem("updateFlag").getNodeValue();
System.out.println("[getPlaceOfWorkValueFromDom][updateFlag]" +updateFlag); System.out.println("[getPlaceOfWorkValueFromDom][updateFlag]" +updateFlag);
if (updateFlag.equalsIgnoreCase("D")) if (updateFlag.equalsIgnoreCase("D"))
{ {
...@@ -984,18 +1764,18 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -984,18 +1764,18 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
continue; continue;
} }
if ( childNode != null && childNode.getFirstChild() != null && if ( childNode != null && childNode.getFirstChild() != null &&
childNode.getNodeName().equalsIgnoreCase(field) ) childNode.getNodeName().equalsIgnoreCase(field) )
{ {
System.out.println("*** The field for checking duplicate records is ["+ field +"] ***"); System.out.println("*** The field for checking duplicate records is ["+ field +"] ***");
domValue= childNode.getFirstChild().getNodeValue().trim(); domValue= childNode.getFirstChild().getNodeValue().trim();
System.out.println("Value in Dom......["+domValue+"]"); System.out.println("Value in Dom......["+domValue+"]");
if(arrayList.contains(domValue)) if(arrayList.contains(domValue))
{ {
isDuplRecord = true; isDuplRecord = true;
...@@ -1003,10 +1783,10 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -1003,10 +1783,10 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
else else
{ {
arrayList.add(domValue); arrayList.add(domValue);
System.out.println("lineNoRefList add ["+arrayList+"]"); System.out.println("lineNoRefList add ["+arrayList+"]");
} }
//Modified by suraj [To allow add option after default] [End] //Modified by suraj [To allow add option after default] [End]
} }
...@@ -1021,8 +1801,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -1021,8 +1801,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
return isDuplRecord; return isDuplRecord;
} }
//Modified by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].End //Modified by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].End
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][Start] //Added by Suraj [19-09-2015] [to validate for duplicate transaction][Start]
private boolean checkPreviousUnconfRec(String empCode,String editFlag,Connection conn) //Method to check duplicate transaction private boolean checkPreviousUnconfRec(String empCode,String editFlag,Connection conn) //Method to check duplicate transaction
{ {
int ctr=0; int ctr=0;
ResultSet rs=null; ResultSet rs=null;
...@@ -1033,10 +1813,10 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -1033,10 +1813,10 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
{ {
if(editFlag != null && editFlag.equalsIgnoreCase("A")) if(editFlag != null && editFlag.equalsIgnoreCase("A"))
{ {
String sqlDup="select count(*) as cnt from EMPLOYEE_BOND_DEF where emp_code=? and confirmed='N'"; String sqlDup = "select count(*) as cnt from EMPLOYEE_BOND_DEF where emp_code = ? and confirmed = 'N'";
pstmt=conn.prepareStatement(sqlDup); pstmt = conn.prepareStatement(sqlDup);
pstmt.setString(1,empCode); pstmt.setString(1, empCode);
rs=pstmt.executeQuery(); rs = pstmt.executeQuery();
while(rs.next()) while(rs.next())
{ {
ctr=rs.getInt("cnt"); ctr=rs.getInt("cnt");
...@@ -1054,8 +1834,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -1054,8 +1834,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
if(ctr > 0) if(ctr > 0)
{ {
System.out.println("Entered in duplicateTran where duplication is true"); System.out.println("Entered in duplicateTran where duplication is true");
isDup=true; isDup = true;
} }
} }
} }
catch(Exception e) catch(Exception e)
...@@ -1064,5 +1844,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -1064,5 +1844,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
} }
return isDup; return isDup;
} }
//Added by Suraj [19-09-2015] [to validate for duplicate transaction][End] //Added by Suraj [19-09-2015] [to validate for duplicate transaction][End]
//Added by Yashwant S. on 13-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
//Added by Yashwant S. on 13-12-19[END][CCF No: IT2018-015 / Request ID: A18CSUN011]
}//end class }//end class
package ibase.webitm.ejb.adm; package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.dis.DistCommon;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import org.w3c.dom.*;
//import javax.ejb.EJBObject; import javax.ejb.Local;
import org.w3c.dom.Document;
import ibase.webitm.ejb.*; //import javax.ejb.EJBObject;
import ibase.webitm.utility.ITMException; import ibase.webitm.ejb.ValidatorLocal;
import javax.ejb.Local; import ibase.webitm.utility.ITMException;
@Local
public interface EmpBondDefinitionLocal extends ValidatorLocal { public interface EmpBondDefinitionLocal extends ValidatorLocal {
public String wfValData() throws RemoteException,ITMException; public String wfValData() throws RemoteException,ITMException;
......
...@@ -293,9 +293,7 @@ public class EmpBondDefinitionPrs extends ValidatorEJB implements EmpBondDefinit ...@@ -293,9 +293,7 @@ public class EmpBondDefinitionPrs extends ValidatorEJB implements EmpBondDefinit
//Added by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].Start //Added by RAHUL SHENOY on 21/08/2015 [Validation for duplicate value in the same transaction].Start
private boolean checkDuplicateBondPeriod(Document dom) private boolean checkDuplicateBondPeriod(Document dom)
{
{
NodeList parentList = null; NodeList parentList = null;
NodeList childList = null; NodeList childList = null;
Node parentNode = null; Node parentNode = null;
......
package ibase.webitm.ejb.adm; package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.dis.DistCommon;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import org.w3c.dom.*;
//import javax.ejb.EJBObject; import javax.ejb.Remote;
import org.w3c.dom.Document;
import ibase.webitm.ejb.*; //import javax.ejb.EJBObject;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; // added for ejb3
@Remote
public interface EmpBondDefinitionRemote extends ValidatorLocal{ public interface EmpBondDefinitionRemote extends ValidatorLocal{
public String wfValData() throws RemoteException,ITMException; public String wfValData() throws RemoteException,ITMException;
......
...@@ -5,6 +5,7 @@ import java.sql.PreparedStatement; ...@@ -5,6 +5,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date;
import javax.ejb.Stateless; import javax.ejb.Stateless;
...@@ -22,20 +23,20 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -22,20 +23,20 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
{ {
String loginEmpCode=""; String loginEmpCode="";
int updcnt1=0; int updcnt1=0;
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{ {
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
String retString = ""; String retString = "";
try try
{ {
Connection conn=null; Connection conn=null;
retString = confirm( tranId, xtraParams, forcedFlag, conn); retString = confirm( tranId, xtraParams, forcedFlag, conn);
} }
catch(Exception e) catch(Exception e)
{ {
...@@ -45,17 +46,17 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -45,17 +46,17 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
} }
return retString; return retString;
} }
public String confirm( String tranId, String xtraParams, String forcedFlag, Connection conn) public String confirm( String tranId, String xtraParams, String forcedFlag, Connection conn)
{ {
System.out.println("--------------confirm method of EmpBondDefConfirm ------------- "); System.out.println("--------------confirm method of EmpBondDefConfirm ------------- ");
ResultSet rs = null; ResultSet rs = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
conn = null; conn = null;
ITMDBAccessEJB itmdbAccess=new ITMDBAccessEJB(); ITMDBAccessEJB itmdbAccess=new ITMDBAccessEJB();
String retString = "",errString=""; String retString = "",errString="";
String sql = "",empcode="",confirmed=""; String sql = "",empcode="",confirmed="";
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
String empCode = "",tranIdBond= "", tranIdPvouch="", adCode="", keyString=""; String empCode = "",tranIdBond= "", tranIdPvouch="", adCode="", keyString="";
String xmlValues = "" ,lsEmpSite = "", refSerBond = "", userId = ""; String xmlValues = "" ,lsEmpSite = "", refSerBond = "", userId = "";
...@@ -64,36 +65,66 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -64,36 +65,66 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
PreparedStatement pstmt1 = null; PreparedStatement pstmt1 = null;
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
//Added by Yashwant S.on 18-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
Timestamp changeDate = null;
String chgUser = "";
String chgTerm = "";
String refNo = "";
//Added by Yashwant S.on 18-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
double bondamt=0.0; double bondamt=0.0;
int lineno=0,bondprd=0,updCnt=0; int lineno=0,bondprd=0,updCnt=0;
//Modified by Rahul Shenoy on 14/08/2015 [Declaration for inserting when value of line_no__ref is 0].Start //Modified by Rahul Shenoy on 14/08/2015 [Declaration for inserting when value of line_no__ref is 0].Start
String sqlInsert ="",sqlMaxLineNo =""; String sqlInsert ="",sqlMaxLineNo ="";
int maxLineNumber = 0,insertCnt = 0; int maxLineNumber = 0,insertCnt = 0;
PreparedStatement pstmtMax = null,pstmtInsert = null; PreparedStatement pstmtMax = null,pstmtInsert = null;
ResultSet rsMax=null; ResultSet rsMax=null;
//Modified by Rahul Shenoy on 14/08/2015 [Declaration for inserting when value of line_no__ref is 0].End //Modified by Rahul Shenoy on 14/08/2015 [Declaration for inserting when value of line_no__ref is 0].End
try try
{ {
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//loginEmpCode = GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode"); //loginEmpCode = GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginEmpCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode")); loginEmpCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode"));
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode")); userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"));
if (userId == null || userId.trim().length() == 0) if (userId == null || userId.trim().length() == 0)
{ {
userId = "SYSTEM"; userId = "SYSTEM";
} }
//Added by Yashwant S.on 23-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
Date todate = new Date();
changeDate =new java.sql.Timestamp(todate.getTime());
System.out.println("changeDate -->"+changeDate);
chgUser = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"chg_user");
chgTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"chg_term");
System.out.println("chgUser -->"+chgUser);
System.out.println("chgTerm -->"+chgTerm);
if(chgUser == null || chgUser.trim().length() == 0)
{
chgUser = "SYSTEM";
}
if(chgTerm == null || chgTerm.trim().length() == 0)
{
chgTerm = "SYSTEM";
}
//Added by Yashwant S.on 23-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
/*ConnDriver connDriver = new ConnDriver(); /*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverValidator");*/ conn = connDriver.getConnectDB("DriverValidator");*/
conn=getConnection(); conn=getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
sql = "select Key_String, ref_ser from transetup where tran_window = ? "; sql = "select Key_String, ref_ser from transetup where tran_window = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, "w_employee_bond"); pstmt.setString(1, "w_employee_bond");
...@@ -112,10 +143,10 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -112,10 +143,10 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
errString = itmdbAccess.getErrorString("", "VTEBNDDF51", "", "", conn); errString = itmdbAccess.getErrorString("", "VTEBNDDF51", "", "", conn);
conn.rollback(); conn.rollback();
return errString; return errString;
} }
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
//sql = "SELECT CONFIRMED FROM EMPLOYEE_BOND_DEF WHERE TRAN_ID = ?"; //sql = "SELECT CONFIRMED FROM EMPLOYEE_BOND_DEF WHERE TRAN_ID = ?";
sql = "SELECT CONFIRMED , EMP_CODE , TRAN_ID__BOND , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE FROM EMPLOYEE_BOND_DEF WHERE TRAN_ID = ? FOR UPDATE NOWAIT ";// Modified by Dipesh P on [17/12/2019] [CCF No: IT2018-015][Request ID: A19ISUN011] sql = "SELECT CONFIRMED , EMP_CODE , TRAN_ID__BOND , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE FROM EMPLOYEE_BOND_DEF WHERE TRAN_ID = ? FOR UPDATE NOWAIT ";// Modified by Dipesh P on [17/12/2019] [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
...@@ -125,13 +156,13 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -125,13 +156,13 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
{ {
confirmed =rs.getString("CONFIRMED")==null ? "":rs.getString("CONFIRMED"); confirmed =rs.getString("CONFIRMED")==null ? "":rs.getString("CONFIRMED");
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
empCode =rs.getString("EMP_CODE")==null ? "":rs.getString("EMP_CODE"); empCode =rs.getString("EMP_CODE")==null ? "":rs.getString("EMP_CODE");
tranIdBond =rs.getString("TRAN_ID__BOND")==null ? "":rs.getString("TRAN_ID__BOND"); tranIdBond =rs.getString("TRAN_ID__BOND")==null ? "":rs.getString("TRAN_ID__BOND");
tranIdPvouch =rs.getString("TRAN_ID__PVOUCH")==null ? "":rs.getString("TRAN_ID__PVOUCH"); tranIdPvouch =rs.getString("TRAN_ID__PVOUCH")==null ? "":rs.getString("TRAN_ID__PVOUCH");
lineNoPvouch =rs.getInt("LINE_NO__PVOUCH"); lineNoPvouch =rs.getInt("LINE_NO__PVOUCH");
adCode =rs.getString("AD_CODE")==null ? "":rs.getString("AD_CODE"); adCode =rs.getString("AD_CODE")==null ? "":rs.getString("AD_CODE");
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
} }
if( pstmt != null ) if( pstmt != null )
...@@ -150,7 +181,35 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -150,7 +181,35 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
conn.rollback(); conn.rollback();
return errString; return errString;
} }
//Added by Yashwant S.on 27-12-19[Start][Validation against cancel voucher][CCF No: IT2018-015 / Request ID: A18CSUN011]
else if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
sql = "select REF_NO from PAYR_VOUCHER where TRAN_ID = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
rs = pstmt.executeQuery();
if (rs.next())
{
refNo = checkNull(rs.getString("REF_NO"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(refNo != null && refNo.toUpperCase().startsWith("RV-"))
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF15", userId, "", conn); //You can't do recovery against cancel voucher
return errString;
}
}
//Added by Yashwant S.on 27-12-19[Start][Validation against cancel voucher][CCF No: IT2018-015 / Request ID: A18CSUN011]
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
if (tranIdBond == null || tranIdBond.trim().length() == 0) if (tranIdBond == null || tranIdBond.trim().length() == 0)
{ {
...@@ -172,26 +231,26 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -172,26 +231,26 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
conn.rollback(); conn.rollback();
return errString; return errString;
} }
} }
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
// Modified by Piyush on 16/07/2015 [To establish join between header and detail] // Modified by Piyush on 16/07/2015 [To establish join between header and detail]
/* /*
sql="select ed.tran_id,e.emp_code,ed.line_no,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+ sql="select ed.tran_id,e.emp_code,ed.line_no,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+
" where ed.tran_id=?"; " where ed.tran_id=?";
*/ */
//Modified by RAHUL SHENOY on 14/08/2015 [Reference Line Number(line_no__ref) needs to be updated instead of Line Number from employee_bond_def_det table] //Modified by RAHUL SHENOY on 14/08/2015 [Reference Line Number(line_no__ref) needs to be updated instead of Line Number from employee_bond_def_det table]
/* /*
sql="select ed.tran_id,e.emp_code,ed.line_no,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+ sql="select ed.tran_id,e.emp_code,ed.line_no,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+
" where e.tran_id = ed.tran_id and e.tran_id=?"; " where e.tran_id = ed.tran_id and e.tran_id=?";
*/ */
/*ResultSet rs1 = null; /*ResultSet rs1 = null;
PreparedStatement pstmt1 = null; PreparedStatement pstmt1 = null;
*/ */
/* /*
while(rs.next()) while(rs.next())
{ {
...@@ -199,57 +258,61 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -199,57 +258,61 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
bondamt=rs.getDouble("bond_amt"); bondamt=rs.getDouble("bond_amt");
bondprd=rs.getInt("bond_prd"); bondprd=rs.getInt("bond_prd");
empcode=rs.getString("emp_code"); empcode=rs.getString("emp_code");
sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ?"; sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1, bondamt); pstmt.setDouble(1, bondamt);
pstmt.setInt(2, bondprd); pstmt.setInt(2, bondprd);
pstmt.setInt(3, lineno); pstmt.setInt(3, lineno);
pstmt.setString(4,empcode); pstmt.setString(4,empcode);
updCnt = pstmt.executeUpdate(); updCnt = pstmt.executeUpdate();
pstmt.clearParameters(); pstmt.clearParameters();
}*/ }*/
sql="select ed.tran_id,e.emp_code,ed.line_no__ref,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+ sql="select ed.tran_id,e.emp_code,ed.line_no__ref,ed.bond_amt,ed.bond_prd from employee_bond_def_det ed,employee_bond_def e "+
" where e.tran_id = ed.tran_id and e.tran_id=?"; " where e.tran_id = ed.tran_id and e.tran_id=?";
pstmt1 = conn.prepareStatement(sql); pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, tranId); pstmt1.setString(1, tranId);
rs1 = pstmt1.executeQuery(); rs1 = pstmt1.executeQuery();
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ?"; //sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ?";
sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ? and tran_id = ?"; sql="update employee_bond set bond_amt = ?,bond_prd = ? where line_no = ? and emp_code = ? and tran_id = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
//sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT) values ( ? , ? , ? , ? )"; //sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT) values ( ? , ? , ? , ? )";
sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT , TRAN_ID , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE) values ( ? , ? , ? , ? , ? , ? , ? , ?)";
pstmtInsert = conn.prepareStatement(sqlInsert);
//Added by Yashwant S.on 23-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
//sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT , TRAN_ID , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE) values ( ? , ? , ? , ? , ? , ? , ? , ?)";
sqlInsert = "Insert into employee_bond ( EMP_CODE , LINE_NO , BOND_PRD , BOND_AMT , TRAN_ID , TRAN_ID__PVOUCH , LINE_NO__PVOUCH , AD_CODE, CHG_DATE, CHG_USER, CHG_TERM) values ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
//Added by Yashwant S.on 23-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
pstmtInsert = conn.prepareStatement(sqlInsert);
//sqlMaxLineNo="select max(line_no) as max_line_no from employee_bond where emp_code = ? "; //sqlMaxLineNo="select max(line_no) as max_line_no from employee_bond where emp_code = ? ";
sqlMaxLineNo="select max(line_no) as max_line_no from employee_bond where emp_code = ? and tran_id = ?"; sqlMaxLineNo="select max(line_no) as max_line_no from employee_bond where emp_code = ? and tran_id = ?";
pstmtMax = conn.prepareStatement(sqlMaxLineNo); pstmtMax = conn.prepareStatement(sqlMaxLineNo);
// Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
int totUpdCnt = 0; int totUpdCnt = 0;
while(rs1.next()) while(rs1.next())
{ {
System.out.println("*** Entering the ResultSet [rs] ***"); System.out.println("*** Entering the ResultSet [rs] ***");
lineno=rs1.getInt("line_no__ref"); lineno=rs1.getInt("line_no__ref");
bondamt=rs1.getDouble("bond_amt"); bondamt=rs1.getDouble("bond_amt");
bondprd=rs1.getInt("bond_prd"); bondprd=rs1.getInt("bond_prd");
empcode=rs1.getString("emp_code"); empcode=rs1.getString("emp_code");
//Modified by Rahul Shenoy on 14/08/2015 [Inserting where line_no__ref is 0 and updating when it is not 0 to the Employee_Bond table] //Modified by Rahul Shenoy on 14/08/2015 [Inserting where line_no__ref is 0 and updating when it is not 0 to the Employee_Bond table]
if(lineno == 0) if(lineno == 0)
{ {
System.out.println("*** Line Number is found to be 0 ***"); System.out.println("*** Line Number is found to be 0 ***");
//For Obtaining the available maximum line number for inserting into the master //For Obtaining the available maximum line number for inserting into the master
pstmtMax.setString(1, empcode); pstmtMax.setString(1, empcode);
// Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [17/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmtMax.setString(2, tranIdBond); pstmtMax.setString(2, tranIdBond);
...@@ -258,12 +321,12 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -258,12 +321,12 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//pstmtMax.clearParameters(); //pstmtMax.clearParameters();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
while(rsMax.next()) while(rsMax.next())
{ {
maxLineNumber = rsMax.getInt("max_line_no"); maxLineNumber = rsMax.getInt("max_line_no");
} }
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
if (rsMax != null) if (rsMax != null)
{ {
...@@ -272,7 +335,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -272,7 +335,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
} }
pstmtMax.clearParameters(); pstmtMax.clearParameters();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
if(maxLineNumber == 0) if(maxLineNumber == 0)
{ {
System.out.println("*** No record present in the table for the given employee ***"); System.out.println("*** No record present in the table for the given employee ***");
...@@ -282,16 +345,16 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -282,16 +345,16 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
{ {
maxLineNumber = maxLineNumber + 1; maxLineNumber = maxLineNumber + 1;
} }
System.out.println("Available Max Line Number for inserting data :["+ maxLineNumber +"]"); System.out.println("Available Max Line Number for inserting data :["+ maxLineNumber +"]");
//For inserting the obtained values for 0 value of lineno //For inserting the obtained values for 0 value of lineno
pstmtInsert.setString(1, empcode); pstmtInsert.setString(1, empcode);
pstmtInsert.setInt(2, maxLineNumber); pstmtInsert.setInt(2, maxLineNumber);
pstmtInsert.setInt(3, bondprd); pstmtInsert.setInt(3, bondprd);
pstmtInsert.setDouble(4, bondamt); pstmtInsert.setDouble(4, bondamt);
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmtInsert.setString(5, tranIdBond); pstmtInsert.setString(5, tranIdBond);
pstmtInsert.setString(6, tranIdPvouch); pstmtInsert.setString(6, tranIdPvouch);
...@@ -299,98 +362,105 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -299,98 +362,105 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
pstmtInsert.setString(8, adCode); pstmtInsert.setString(8, adCode);
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
//Added by Yashwant S.on 23-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
pstmtInsert.setTimestamp(9, changeDate);
pstmtInsert.setString(10, chgUser);
pstmtInsert.setString(11, chgTerm);
//Added by Yashwant S.on 23-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
insertCnt = pstmtInsert.executeUpdate(); insertCnt = pstmtInsert.executeUpdate();
totUpdCnt = totUpdCnt + insertCnt; totUpdCnt = totUpdCnt + insertCnt;
System.out.println("Value of insertCnt is : ["+insertCnt+"]"); System.out.println("Value of insertCnt is : ["+insertCnt+"]");
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmtInsert.clearParameters(); pstmtInsert.clearParameters();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
} }
else else
{ {
//For updating values if line Number is not zero //For updating values if line Number is not zero
System.out.println("*** Line Number is found to be "+ lineno +" ***"); System.out.println("*** Line Number is found to be "+ lineno +" ***");
pstmt.setDouble(1, bondamt); pstmt.setDouble(1, bondamt);
pstmt.setInt(2, bondprd); pstmt.setInt(2, bondprd);
pstmt.setInt(3, lineno); pstmt.setInt(3, lineno);
pstmt.setString(4,empcode); pstmt.setString(4,empcode);
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
pstmt.setString(5,tranIdBond); pstmt.setString(5,tranIdBond);
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
updCnt = pstmt.executeUpdate(); updCnt = pstmt.executeUpdate();
totUpdCnt = totUpdCnt + updCnt; totUpdCnt = totUpdCnt + updCnt;
System.out.println("Value of updCnt is : ["+updCnt+"]"); System.out.println("Value of updCnt is : ["+updCnt+"]");
pstmt.clearParameters(); pstmt.clearParameters();
} }
//Modified by Rahul Shenoy on 14/08/2015 [Inserting where line_no__ref is 0 and updating when it is not 0 to the Employee_Bond table] //Modified by Rahul Shenoy on 14/08/2015 [Inserting where line_no__ref is 0 and updating when it is not 0 to the Employee_Bond table]
} }
/*if ( rsMax != null ) /*if ( rsMax != null )
{ {
rsMax.close(); rsMax.close();
rsMax = null; rsMax = null;
}*/ }*/
if ( rs1 != null ) if ( rs1 != null )
{ {
rs1.close(); rs1.close();
rs1 = null; rs1 = null;
} }
if( pstmtInsert != null ) if( pstmtInsert != null )
{ {
pstmtInsert.close(); pstmtInsert.close();
pstmtInsert = null; pstmtInsert = null;
} }
if( pstmtMax != null ) if( pstmtMax != null )
{ {
pstmtMax.close(); pstmtMax.close();
pstmtMax = null; pstmtMax = null;
} }
if( pstmt1 != null ) if( pstmt1 != null )
{ {
pstmt1.close(); pstmt1.close();
pstmt1 = null; pstmt1 = null;
} }
if( pstmt != null ) if( pstmt != null )
{ {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
//Added by RAHUL SHENOY on 21/08/2015 [Confirming the update].Start //Added by RAHUL SHENOY on 21/08/2015 [Confirming the update].Start
int count=0; int count=0;
String sqlConfirm = "UPDATE EMPLOYEE_BOND_DEF SET CONFIRMED = ? ,CONF_DATE = ?,EMP_CODE__APRV=? WHERE TRAN_ID = ?"; String sqlConfirm = "UPDATE EMPLOYEE_BOND_DEF SET CONFIRMED = ? ,CONF_DATE = ?,EMP_CODE__APRV=? WHERE TRAN_ID = ?";
pstmt1 = conn.prepareStatement( sqlConfirm ); pstmt1 = conn.prepareStatement( sqlConfirm );
pstmt1.setString(1, "Y"); pstmt1.setString(1, "Y");
pstmt1.setTimestamp(2, this.getCurrdateAppFormat()); pstmt1.setTimestamp(2, this.getCurrdateAppFormat());
pstmt1.setString(3, loginEmpCode); pstmt1.setString(3, loginEmpCode);
pstmt1.setString(4, tranId); pstmt1.setString(4, tranId);
updcnt1 = pstmt1.executeUpdate(); updcnt1 = pstmt1.executeUpdate();
System.out.println("confirm updated -------->>>>>>>>>updCount :"+count); System.out.println("confirm updated -------->>>>>>>>>updCount :"+count);
//Added by RAHUL SHENOY on 21/08/2015 [Confirming the update].End //Added by RAHUL SHENOY on 21/08/2015 [Confirming the update].End
//Modified by RAHUL SHENOY on 17/08/2015 [Displaying the Insert Count] //Modified by RAHUL SHENOY on 17/08/2015 [Displaying the Insert Count]
//System.out.println("UPDATE COUNT --updCnt-->>"+updCnt+" updcnt1 -->>"+updcnt1); //System.out.println("UPDATE COUNT --updCnt-->>"+updCnt+" updcnt1 -->>"+updcnt1);
System.out.println("UPDATE COUNT --updCnt-->>"+updCnt+" insertCnt -->>"+ insertCnt+" updcnt1 -->>"+updcnt1); System.out.println("UPDATE COUNT --updCnt-->>"+updCnt+" insertCnt -->>"+ insertCnt+" updcnt1 -->>"+updcnt1);
if (totUpdCnt > 0 && updcnt1 >0 ) if (totUpdCnt > 0 && updcnt1 >0 )
{ {
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
...@@ -399,10 +469,10 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -399,10 +469,10 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
conn.commit(); conn.commit();
System.out.println("Bond amount and bond period updated successfully......."); System.out.println("Bond amount and bond period updated successfully.......");
}else }else
{ {
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
// retString=new ITMDBAccessEJB().getErrorString("", "VCONFUSUC", "", "", conn); // retString=new ITMDBAccessEJB().getErrorString("", "VCONFUSUC", "", "", conn);
retString=itmdbAccess.getErrorString("", "VCONFUSUC", "", "", conn); retString=itmdbAccess.getErrorString("", "VCONFUSUC", "", "", conn);
...@@ -410,7 +480,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -410,7 +480,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
conn.rollback(); conn.rollback();
System.out.println("Not Updated Bond amount and bond period........"); System.out.println("Not Updated Bond amount and bond period........");
} }
} }
catch(Exception e) catch(Exception e)
{ {
...@@ -423,7 +493,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -423,7 +493,7 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
} }
e.printStackTrace(); e.printStackTrace();
System.out.println("Exception ::"+e.getMessage()); System.out.println("Exception ::"+e.getMessage());
} }
finally finally
{ {
...@@ -435,26 +505,26 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -435,26 +505,26 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
rs1.close(); rs1.close();
rs1 = null; rs1 = null;
} }
if( pstmtInsert != null ) if( pstmtInsert != null )
{ {
pstmtInsert.close(); pstmtInsert.close();
pstmtInsert = null; pstmtInsert = null;
} }
if( pstmtMax != null ) if( pstmtMax != null )
{ {
pstmtMax.close(); pstmtMax.close();
pstmtMax = null; pstmtMax = null;
} }
if( pstmt1 != null ) if( pstmt1 != null )
{ {
pstmt1.close(); pstmt1.close();
pstmt1 = null; pstmt1 = null;
} }
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
if(pstmt != null) if(pstmt != null)
{ {
pstmt.close(); pstmt.close();
...@@ -465,24 +535,24 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -465,24 +535,24 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
conn.close(); conn.close();
conn=null; conn=null;
} }
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println(e.getMessage()); System.out.println(e.getMessage());
e.printStackTrace(); e.printStackTrace();
} }
} }
System.out.println("Returning Result ::"+retString); System.out.println("Returning Result ::"+retString);
return retString; return retString;
} }
//Modified by RAHUL SHENOY on 21/08/2015 [Placing the update Confirm functionality inside the Action Handler method].Start //Modified by RAHUL SHENOY on 21/08/2015 [Placing the update Confirm functionality inside the Action Handler method].Start
/* /*
public int updateConfirm(Connection conn,String tranId) public int updateConfirm(Connection conn,String tranId)
{ {
PreparedStatement pstmt1=null; PreparedStatement pstmt1=null;
int count=0; int count=0;
...@@ -494,11 +564,11 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -494,11 +564,11 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
pstmt1.setTimestamp(2, this.getCurrdateAppFormat()); pstmt1.setTimestamp(2, this.getCurrdateAppFormat());
pstmt1.setString(3, loginEmpCode); pstmt1.setString(3, loginEmpCode);
pstmt1.setString(4, tranId); pstmt1.setString(4, tranId);
count = pstmt1.executeUpdate(); count = pstmt1.executeUpdate();
System.out.println("confirm updated -------->>>>>>>>>updCount :"+count); System.out.println("confirm updated -------->>>>>>>>>updCount :"+count);
} }
catch(Exception e) catch(Exception e)
{ {
...@@ -519,54 +589,53 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -519,54 +589,53 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
pstmt1.close(); pstmt1.close();
pstmt1 = null; pstmt1 = null;
} }
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println(e.getMessage()); System.out.println(e.getMessage());
e.printStackTrace(); e.printStackTrace();
} }
return count; return count;
} }
*/ */
//Modified by RAHUL SHENOY on 21/08/2015 [Placing the update Confirm functionality inside the Action Handler method].End //Modified by RAHUL SHENOY on 21/08/2015 [Placing the update Confirm functionality inside the Action Handler method].End
private java.sql.Timestamp getCurrdateAppFormat() private java.sql.Timestamp getCurrdateAppFormat()
{ {
// Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]Start [CCF No: IT2018-015][Request ID: A19ISUN011]
//GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011] // Modified by Dipesh P on [19/12/2019]End [CCF No: IT2018-015][Request ID: A19ISUN011]
Timestamp timestamp = null; Timestamp timestamp = null;
try try
{
java.util.Date date = null;
timestamp = new Timestamp(System.currentTimeMillis());
SimpleDateFormat simpledateformat = new SimpleDateFormat(genericUtility.getDBDateFormat());
date = simpledateformat.parse(timestamp.toString());
timestamp = Timestamp.valueOf(simpledateformat.format(date).toString() + " 00:00:00.0");
}
catch(Exception exception)
{
System.out.println("Exception in [EmpBondDefConfirm] getCurrdateAppFormat " + exception.getMessage());
}
return timestamp;
}
private String checkNull( String input )
{ {
if (input == null) java.util.Date date = null;
{ timestamp = new Timestamp(System.currentTimeMillis());
input = ""; SimpleDateFormat simpledateformat = new SimpleDateFormat(genericUtility.getDBDateFormat());
} date = simpledateformat.parse(timestamp.toString());
else timestamp = Timestamp.valueOf(simpledateformat.format(date).toString() + " 00:00:00.0");
{
input = input.trim();
}
return input;
} }
catch(Exception exception)
{
System.out.println("Exception in [EmpBondDefConfirm] getCurrdateAppFormat " + exception.getMessage());
}
return timestamp;
}
private String checkNull( String input )
{
if (input == null)
{
input = "";
}
else
{
input = input.trim();
}
return input;
}
} }
\ No newline at end of file
package ibase.webitm.ejb.adm.adv; package ibase.webitm.ejb.adm.adv;
import java.io.StringWriter; //import java.io.StringWriter;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.util.ArrayList; //import java.util.ArrayList;
import javax.ejb.Stateless; import javax.ejb.Stateless;
import javax.xml.transform.OutputKeys; //import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer; //import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException; //import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory; //import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource; //import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult; //import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList; import org.w3c.dom.NodeList;
import ibase.system.config.ConnDriver; //import ibase.system.config.ConnDriver;
import ibase.webitm.utility.GenericUtility; import ibase.utility.E12GenericUtility;
//import ibase.webitm.utility.GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB; import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
...@@ -31,15 +32,19 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -31,15 +32,19 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
public String actionHandler(String actionType, String xmlString, String objContext, String xtraParams) throws RemoteException, ITMException public String actionHandler(String actionType, String xmlString, String objContext, String xtraParams) throws RemoteException, ITMException
{ {
Document dom = null; Document dom = null;
GenericUtility genericUtility = GenericUtility.getInstance(); //Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
String retString = ""; String retString = "";
try try
{ {
dom = genericUtility.parseString(xmlString); dom = genericUtility.parseString(xmlString);
retString = actionHandler(actionType, dom, objContext, xtraParams); retString = actionHandler(actionType, dom, objContext, xtraParams);
} }
catch (Exception ex) catch (Exception ex)
{ {
...@@ -47,27 +52,36 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -47,27 +52,36 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
ex.printStackTrace(); ex.printStackTrace();
throw new ITMException(ex); throw new ITMException(ex);
} }
return retString; return retString;
} }
private String actionHandler(String actionType, Document dom, String objContext, String xtraParams) throws ITMException private String actionHandler(String actionType, Document dom, String objContext, String xtraParams) throws ITMException
{ {
System.out.println(":::: Inside Default ::::");
String sql = "", childNodeName = ""; String sql = "", childNodeName = "";
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
ConnDriver connDriver = new ConnDriver(); //ConnDriver connDriver = new ConnDriver();
NodeList parentNodeList = null, childNodeList = null; NodeList parentNodeList = null, childNodeList = null;
Node parentNode = null, childNode = null; Node parentNode = null, childNode = null;
//Added by RAHUL SHENOY on 19/08/2015 //Added by RAHUL SHENOY on 19/08/2015
NodeList parentNodeListDet2 = null; NodeList parentNodeListDet2 = null;
int bondAmt=0,bondPrd=0; int bondAmt=0,bondPrd=0;
GenericUtility genericUtility;
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
//GenericUtility genericUtility;
E12GenericUtility genericUtility = null;
String tranIdBond = "";
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
StringBuffer valueXmlBuff; StringBuffer valueXmlBuff;
String retString = "",empcode="", userId = ""; String retString = "",empcode="", userId = "";
ValidatorEJB validatorEJB; ValidatorEJB validatorEJB;
int lineNo=0; int lineNo=0;
...@@ -78,17 +92,20 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -78,17 +92,20 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
validatorEJB = new ValidatorEJB(); validatorEJB = new ValidatorEJB();
userId = validatorEJB.getValueFromXTRA_PARAMS(xtraParams, "loginCode"); userId = validatorEJB.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
valueXmlBuff = new StringBuffer(); valueXmlBuff = new StringBuffer();
genericUtility = GenericUtility.getInstance();
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
//genericUtility = GenericUtility.getInstance();
genericUtility = new E12GenericUtility();
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
valueXmlBuff.append("<?xml version=\"1.0\"?>\r\n"); valueXmlBuff.append("<?xml version=\"1.0\"?>\r\n");
valueXmlBuff.append("<Root>\r\n"); valueXmlBuff.append("<Root>\r\n");
parentNodeList = dom.getElementsByTagName("Detail1"); parentNodeList = dom.getElementsByTagName("Detail1");
//loginEmpCode = GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode"); //loginEmpCode = GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
for (int i = 0; i < parentNodeList.getLength(); i++) for (int i = 0; i < parentNodeList.getLength(); i++)
{ {
parentNode = parentNodeList.item(i); parentNode = parentNodeList.item(i);
...@@ -100,14 +117,16 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -100,14 +117,16 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
} }
} }
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
conn = connDriver.getConnectDB("DriverITM"); /*conn = connDriver.getConnectDB("DriverITM");
connDriver = null;*/
conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; //Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
//Modified by RAHUL SHENOY on 19/08/2015 [Fetch and display data only if no rows are present in detail2].Start //Modified by RAHUL SHENOY on 19/08/2015 [Fetch and display data only if no rows are present in detail2].Start
parentNodeListDet2 = dom.getElementsByTagName("Detail2"); parentNodeListDet2 = dom.getElementsByTagName("Detail2");
totalRowCnt = parentNodeListDet2.getLength(); totalRowCnt = parentNodeListDet2.getLength();
if (totalRowCnt > 0) if (totalRowCnt > 0)
...@@ -118,67 +137,73 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -118,67 +137,73 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
if(totalRowCnt == 0) if(totalRowCnt == 0)
{ {
System.out.println("*** ParentNodeListDet2 Length==>>" + parentNodeListDet2.getLength() +" ***"); System.out.println("*** ParentNodeListDet2 Length==>>" + parentNodeListDet2.getLength() +" ***");
//Added by Yashwant S. on 19-12-19[Start][Added TranId Bond][CCF No: IT2018-015 / Request ID: A18CSUN011]
//empcode = genericUtility.getColumnValue("emp_code",dom);
empcode = checkNull(genericUtility.getColumnValue("emp_code", dom, "1"));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom, "1"));
empcode = genericUtility.getColumnValue("emp_code",dom); if((empcode != null && empcode.trim().length() > 0) && (tranIdBond != null && tranIdBond.trim().length() > 0))
sql="select line_no,bond_prd,bond_amt from employee_bond where emp_code= ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empcode);
rs = pstmt.executeQuery();
while (rs.next())
{ {
// lineNo++; //sql="select line_no,bond_prd,bond_amt from employee_bond where emp_code= ? ";
lineNo=rs.getInt("LINE_NO"); sql = "select line_no, bond_prd, bond_amt from employee_bond where emp_code = ? and tran_id = ? order by bond_prd ";
bondAmt = rs.getInt("BOND_AMT"); pstmt = conn.prepareStatement(sql);
bondPrd = rs.getInt("BOND_PRD"); pstmt.setString(1, empcode);
pstmt.setString(2, tranIdBond);
//Added by Yashwant S. on 19-12-19[End][Added TranId Bond][CCF No: IT2018-015 / Request ID: A18CSUN011]
valueXmlBuff.append("<Detail>\r\n"); rs = pstmt.executeQuery();
//Modified by RAHUL SHENOY on 12/08/2015 [Line number increment provided by Framework]
//valueXmlBuff.append("<line_no>").append("<![CDATA["+lineNo+"]]>").append("</line_no>"); while (rs.next())
{
//Modified by RAHUL SHENOY on 11/08/2015 [Display Line Number in the newly added line_no__ref field].Start // lineNo++;
valueXmlBuff.append("<line_no__ref>").append("<![CDATA["+lineNo+"]]>").append("</line_no__ref>"); lineNo = rs.getInt("LINE_NO");
//Modified by RAHUL SHENOY on 11/08/2015 [Display Line Number in the newly added line_no__ref field].End bondAmt = rs.getInt("BOND_AMT");
bondPrd = rs.getInt("BOND_PRD");
valueXmlBuff.append("<bond_amt__curr>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt__curr>");
valueXmlBuff.append("<bond_prd__curr>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd__curr>");
valueXmlBuff.append("<Detail>\r\n");
valueXmlBuff.append("<bond_amt>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt>"); //Modified by RAHUL SHENOY on 12/08/2015 [Line number increment provided by Framework]
valueXmlBuff.append("<bond_prd>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd>"); //valueXmlBuff.append("<line_no>").append("<![CDATA["+lineNo+"]]>").append("</line_no>");
valueXmlBuff.append("</Detail>\r\n"); //Modified by RAHUL SHENOY on 11/08/2015 [Display Line Number in the newly added line_no__ref field].Start
valueXmlBuff.append("<line_no__ref>").append("<![CDATA["+lineNo+"]]>").append("</line_no__ref>");
System.out.println("------->>>>Line no :"+lineNo+" Bond Amt :"+bondAmt+" bond period : "+bondPrd); //Modified by RAHUL SHENOY on 11/08/2015 [Display Line Number in the newly added line_no__ref field].End
} valueXmlBuff.append("<bond_amt__curr>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt__curr>");
valueXmlBuff.append("<bond_prd__curr>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd__curr>");
valueXmlBuff.append("<bond_amt>").append("<![CDATA["+bondAmt+"]]>").append("</bond_amt>");
valueXmlBuff.append("<bond_prd>").append("<![CDATA["+bondPrd+"]]>").append("</bond_prd>");
valueXmlBuff.append("</Detail>\r\n");
System.out.println("------->>>>Line no :"+lineNo+" Bond Amt :"+bondAmt+" bond period : "+bondPrd);
}
}//End If
} }
valueXmlBuff.append("</Root>\r\n"); valueXmlBuff.append("</Root>\r\n");
//Modified by RAHUL SHENOY on 19/08/2015 [Fetch and display data only if no rows are present in detail2].End //Modified by RAHUL SHENOY on 19/08/2015 [Fetch and display data only if no rows are present in detail2].End
if (pstmt != null) if (pstmt != null)
{ {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
if (rs != null) if (rs != null)
{ {
rs.close(); rs.close();
pstmt = null; pstmt = null;
} }
System.out.println("ValueXmlBuff found to be ::::::::::::::::::::\n"+valueXmlBuff.toString()+"\n\n"); System.out.println("ValueXmlBuff found to be ::::::::::::::::::::\n"+valueXmlBuff.toString()+"\n\n");
retString = valueXmlBuff.toString(); retString = valueXmlBuff.toString();
System.out.println("Return String ..in deafault EJB ----------->>>>>>>>>>> \n" + retString); System.out.println("Return String ..in deafault EJB ----------->>>>>>>>>>> \n" + retString);
return retString; return retString;
} }
catch (Exception e) catch (Exception e)
{ {
...@@ -208,7 +233,7 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -208,7 +233,7 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
} }
//return retString; //return retString;
} }
//Added by RAHUL SHENOY on 20/08/2015 [Getting the deleted Row count].Start //Added by RAHUL SHENOY on 20/08/2015 [Getting the deleted Row count].Start
private int getDeletedRowCnt(Document dom,String currentForm) private int getDeletedRowCnt(Document dom,String currentForm)
{ {
...@@ -216,17 +241,17 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -216,17 +241,17 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
NodeList childList = null; NodeList childList = null;
Node parentNode = null; Node parentNode = null;
Node childNode = null; Node childNode = null;
int delRowCount = 0; int delRowCount = 0;
System.out.println("**** Inside the Method :::: getDeletedRowCount ****"); System.out.println("**** Inside the Method :::: getDeletedRowCount ****");
try try
{ {
parentList = dom.getElementsByTagName("Detail"+currentForm); parentList = dom.getElementsByTagName("Detail"+currentForm);
int parentNodeListLength = parentList.getLength(); int parentNodeListLength = parentList.getLength();
System.out.println("document"+parentNodeListLength); System.out.println("document"+parentNodeListLength);
for(int prntCtr = 0; prntCtr < parentNodeListLength; prntCtr++ ) for(int prntCtr = 0; prntCtr < parentNodeListLength; prntCtr++ )
{ {
parentNode = parentList.item(prntCtr); parentNode = parentList.item(prntCtr);
...@@ -235,12 +260,12 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -235,12 +260,12 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
for (int ctr = 0; ctr < childList.getLength(); ctr++) for (int ctr = 0; ctr < childList.getLength(); ctr++)
{ {
childNode = childList.item(ctr); childNode = childList.item(ctr);
if(childNode != null && childNode.getNodeName().equalsIgnoreCase("attribute")) if(childNode != null && childNode.getNodeName().equalsIgnoreCase("attribute"))
{ {
String updateFlag = ""; String updateFlag = "";
updateFlag = childNode.getAttributes().getNamedItem("updateFlag").getNodeValue(); updateFlag = childNode.getAttributes().getNamedItem("updateFlag").getNodeValue();
System.out.println("[getPlaceOfWorkValueFromDom][updateFlag]" +updateFlag); System.out.println("[getPlaceOfWorkValueFromDom][updateFlag]" +updateFlag);
if (updateFlag.equalsIgnoreCase("D")) if (updateFlag.equalsIgnoreCase("D"))
{ {
...@@ -260,5 +285,17 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -260,5 +285,17 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
return delRowCount; return delRowCount;
} }
//Added by RAHUL SHENOY on 20/08/2015 [Getting the deleted Row count].End //Added by RAHUL SHENOY on 20/08/2015 [Getting the deleted Row count].End
//Added by Yashwant S. on 19-12-19[Start][CCF No: IT2018-015 / Request ID: A18CSUN011]
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
//Added by Yashwant S. on 19-12-19[End][CCF No: IT2018-015 / Request ID: A18CSUN011]
} }
\ No newline at end of file
package ibase.webitm.ejb.adm.adv; package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import javax.ejb.Remote;
import javax.ejb.Local;
import ibase.webitm.ejb.ActionHandlerLocal; import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.ejb.ActionHandlerRemote;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
@Local
public interface EmpBondDefaultLocal extends ActionHandlerLocal public interface EmpBondDefaultLocal extends ActionHandlerLocal
{ {
public String actionHandler(String actionType, String xmlString, String objContext, String xtraParams) throws RemoteException, ITMException; public String actionHandler(String actionType, String xmlString, String objContext, String xtraParams) throws RemoteException, ITMException;
......
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