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');
...@@ -83,6 +83,10 @@ ...@@ -83,6 +83,10 @@
<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>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
...@@ -106,7 +110,7 @@ ...@@ -106,7 +110,7 @@
<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>
...@@ -119,9 +123,33 @@ ...@@ -119,9 +123,33 @@
<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>
<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> <table_column>
<update>employee_bond_def</update> <type size="15">char</type>
<updatewhere>1</updatewhere> <updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>dept_code</name>
<dbname>employee.dept_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ad_code</name>
<dbname>employee_bond_def.ad_code</dbname>
</table_column>
<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>
<update>EMPLOYEE_BOND_DEF</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>From</name> <name>From</name>
...@@ -166,7 +194,7 @@ ...@@ -166,7 +194,7 @@
<text>Confirmed by</text> <text>Confirmed by</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>531</x> <x>852</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>92</width> <width>92</width>
...@@ -278,7 +306,7 @@ ...@@ -278,7 +306,7 @@
<text>Confirmed</text> <text>Confirmed</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>331</x> <x>652</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>64</width> <width>64</width>
...@@ -306,7 +334,7 @@ ...@@ -306,7 +334,7 @@
<text>Confirmed on</text> <text>Confirmed on</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>397</x> <x>718</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>132</width> <width>132</width>
...@@ -334,7 +362,7 @@ ...@@ -334,7 +362,7 @@
<text>Change User</text> <text>Change User</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>625</x> <x>946</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>81</width> <width>81</width>
...@@ -362,7 +390,7 @@ ...@@ -362,7 +390,7 @@
<text>Change Term</text> <text>Change Term</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>708</x> <x>1029</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
...@@ -390,10 +418,10 @@ ...@@ -390,10 +418,10 @@
<text>Change Date</text> <text>Change Date</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>806</x> <x>1127</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>80</width> <width>70</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -412,6 +440,118 @@ ...@@ -412,6 +440,118 @@
<color>553648127</color> <color>553648127</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Emp Fname</text>
<border>6</border>
<color>33554432</color>
<x>331</x>
<y>2</y>
<height>17</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text> Emp Lname</text>
<border>6</border>
<color>33554432</color>
<x>406</x>
<y>2</y>
<height>17</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text> Dept Code</text>
<border>6</border>
<color>33554432</color>
<x>570</x>
<y>2</y>
<height>17</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Ad Code</text>
<border>0</border>
<color>33554432</color>
<x>481</x>
<y>2</y>
<height>17</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ad_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -430,7 +570,7 @@ ...@@ -430,7 +570,7 @@
<name>tran_id</name> <name>tran_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -506,7 +646,7 @@ ...@@ -506,7 +646,7 @@
<name>site_code</name> <name>site_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>5</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -544,7 +684,7 @@ ...@@ -544,7 +684,7 @@
<name>emp_code</name> <name>emp_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -568,25 +708,23 @@ ...@@ -568,25 +708,23 @@
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>5</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>50</tabsequence> <tabsequence>90</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>331</x> <x>652</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>64</width> <width>64</width>
<format>[general]</format> <format>[Yes/No]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed</name> <name>confirmed</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="ddlb">
<limit>0</limit> <limit>1</limit>
<allowedit>no</allowedit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -606,10 +744,10 @@ ...@@ -606,10 +744,10 @@
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>60</tabsequence> <tabsequence>100</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>397</x> <x>718</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>132</width> <width>132</width>
...@@ -644,10 +782,10 @@ ...@@ -644,10 +782,10 @@
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>7</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>70</tabsequence> <tabsequence>110</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>531</x> <x>852</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>92</width> <width>92</width>
...@@ -658,7 +796,7 @@ ...@@ -658,7 +796,7 @@
<name>emp_code__aprv</name> <name>emp_code__aprv</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -682,10 +820,10 @@ ...@@ -682,10 +820,10 @@
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>80</tabsequence> <tabsequence>120</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>625</x> <x>946</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>81</width> <width>81</width>
...@@ -720,10 +858,10 @@ ...@@ -720,10 +858,10 @@
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>90</tabsequence> <tabsequence>130</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>708</x> <x>1029</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
...@@ -758,13 +896,13 @@ ...@@ -758,13 +896,13 @@
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>100</tabsequence> <tabsequence>140</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>806</x> <x>1127</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>80</width> <width>70</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -790,6 +928,150 @@ ...@@ -790,6 +928,150 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </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> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<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>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<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>
...@@ -172,24 +172,82 @@ ...@@ -172,24 +172,82 @@
<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>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id__bond</name>
<dbname>employee_bond_def.tran_id__bond</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id__pvouch</name>
<dbname>employee_bond_def.tran_id__pvouch</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__pvouch</name>
<dbname>employee_bond_def.line_no__pvouch</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ad_code</name>
<dbname>employee_bond_def.ad_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>allwdedn_descr</name>
<dbname>allwdedn.descr</dbname>
</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; ) 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>
<update>EMPLOYEE_BOND_DEF</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>tran_id</name> <name>tran_id</name>
<type>string</type> <type>string</type>
</argument> </argument>
</TableDefinition> </TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>3</x>
<y>6</y>
<height>286</height>
<width>560</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<GroupBox> <GroupBox>
<band>Detail</band> <band>Detail</band>
<text>Others</text> <text>Others</text>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>3</x> <x>3</x>
<y>172</y> <y>302</y>
<height>100</height> <height>74</height>
<width>516</width> <width>560</width>
<name>gb_2</name> <name>gb_2</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
...@@ -208,17 +266,17 @@ ...@@ -208,17 +266,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change Term:</text> <text>Transaction Id:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>341</x> <x>25</x>
<y>194</y> <y>38</y>
<height>16</height> <height>16</height>
<width>97</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>tran_id_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -235,23 +293,23 @@ ...@@ -235,23 +293,23 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>1</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>442</x> <x>127</x>
<y>194</y> <y>38</y>
<height>16</height> <height>16</height>
<width>65</width> <width>108</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>tran_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>15</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -274,17 +332,17 @@ ...@@ -274,17 +332,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change Date:</text> <text>Employee:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>25</x>
<y>215</y> <y>59</y>
<height>16</height> <height>16</height>
<width>97</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>emp_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -301,25 +359,28 @@ ...@@ -301,25 +359,28 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>33554432</color>
<x>109</x> <x>127</x>
<y>215</y> <y>59</y>
<height>16</height> <height>16</height>
<width>86</width> <width>86</width>
<format>dd/mm/yy</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>emp_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<mask>dd/mm/yy</mask> <limit>10</limit>
<imemode>0</imemode> <case>upper</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -330,49 +391,69 @@ ...@@ -330,49 +391,69 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<GroupBox> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<text>Basic</text> <id>11</id>
<border>2</border> <alignment>0</alignment>
<color>33554432</color> <tabsequence>32766</tabsequence>
<x>3</x> <border>5</border>
<y>6</y> <color>255</color>
<height>156</height> <x>219</x>
<width>516</width> <y>59</y>
<name>gb_1</name> <height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</GroupBox> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>12</id>
<text>Confirmed:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>33554432</color> <border>5</border>
<x>8</x> <color>255</color>
<y>109</y> <x>322</x>
<y>59</y>
<height>16</height> <height>16</height>
<width>97</width> <width>98</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed_t</name> <name>emp_mname</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -385,22 +466,30 @@ ...@@ -385,22 +466,30 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>13</id>
<text>Approved by:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>33554432</color> <border>5</border>
<x>8</x> <color>255</color>
<y>130</y> <x>425</x>
<y>59</y>
<height>16</height> <height>16</height>
<width>97</width> <width>98</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__aprv_t</name> <name>emp_lname</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -413,21 +502,21 @@ ...@@ -413,21 +502,21 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Transaction Id:</text> <text>Tran Id Bond :</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>25</x>
<y>25</y> <y>81</y>
<height>16</height> <height>16</height>
<width>97</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>tran_id__bond_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -438,33 +527,31 @@ ...@@ -438,33 +527,31 @@
<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> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>20</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>110</x> <x>127</x>
<y>25</y> <y>81</y>
<height>16</height> <height>16</height>
<width>108</width> <width>108</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id</name> <name>tran_id__bond</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -483,17 +570,17 @@ ...@@ -483,17 +570,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Date:</text> <text>Tran Id Vocher :</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>336</x> <x>25</x>
<y>25</y> <y>102</y>
<height>16</height> <height>16</height>
<width>102</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date_t</name> <name>tran_id__pvouch_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -504,31 +591,32 @@ ...@@ -504,31 +591,32 @@
<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> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>21</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>20</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>442</x> <x>127</x>
<y>25</y> <y>102</y>
<height>16</height> <height>16</height>
<width>65</width> <width>108</width>
<format>dd/mm/yy</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date</name> <name>tran_id__pvouch</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<mask>dd/mm/yy</mask> <limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -546,17 +634,17 @@ ...@@ -546,17 +634,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Site Code:</text> <text>Line No Vocher :</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>25</x>
<y>46</y> <y>123</y>
<height>16</height> <height>16</height>
<width>97</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code_t</name> <name>line_no__pvouch_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -567,33 +655,31 @@ ...@@ -567,33 +655,31 @@
<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> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>22</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>134217857</color> <color>255</color>
<x>110</x> <x>127</x>
<y>46</y> <y>123</y>
<height>16</height> <height>16</height>
<width>86</width> <width>108</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code</name> <name>line_no__pvouch</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>5</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -606,23 +692,23 @@ ...@@ -606,23 +692,23 @@
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>553648127</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Employee:</text> <text>Ad Code :</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>25</x>
<y>67</y> <y>144</y>
<height>16</height> <height>16</height>
<width>97</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code_t</name> <name>ad_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -633,26 +719,26 @@ ...@@ -633,26 +719,26 @@
<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> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>11</id> <id>23</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>202</x> <x>127</x>
<y>67</y> <y>145</y>
<height>16</height> <height>16</height>
<width>98</width> <width>108</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_fname</name> <name>ad_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -675,20 +761,20 @@ ...@@ -675,20 +761,20 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>12</id> <id>24</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>305</x> <x>127</x>
<y>67</y> <y>167</y>
<height>16</height> <height>16</height>
<width>98</width> <width>108</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_mname</name> <name>allwdedn_descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -712,17 +798,17 @@ ...@@ -712,17 +798,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Department:</text> <text>Site Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>24</x>
<y>88</y> <y>188</y>
<height>16</height> <height>16</height>
<width>97</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>dept_code_t</name> <name>site_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -739,24 +825,24 @@ ...@@ -739,24 +825,24 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>134217857</color>
<x>110</x> <x>126</x>
<y>67</y> <y>188</y>
<height>16</height> <height>16</height>
<width>86</width> <width>86</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code</name> <name>site_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>5</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -771,29 +857,193 @@ ...@@ -771,29 +857,193 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>553648127</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>14</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>110</x> <x>218</x>
<y>109</y> <y>188</y>
<height>16</height>
<width>305</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Department:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>210</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code_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>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>210</y>
<height>16</height> <height>16</height>
<width>86</width> <width>86</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>218</x>
<y>210</y>
<height>16</height>
<width>305</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>department_descr</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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>231</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>126</x>
<y>231</y>
<height>16</height>
<width>86</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name> <name>confirmed</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb"> <EditStyle style="ddlb">
<limit>0</limit> <limit>1</limit>
<allowedit>no</allowedit> <allowedit>no</allowedit>
<case>any</case> <case>any</case>
<imemode>0</imemode> <imemode>0</imemode>
...@@ -817,8 +1067,8 @@ ...@@ -817,8 +1067,8 @@
<text>Confirmed on:</text> <text>Confirmed on:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>330</x> <x>345</x>
<y>109</y> <y>231</y>
<height>16</height> <height>16</height>
<width>108</width> <width>108</width>
<html> <html>
...@@ -846,8 +1096,8 @@ ...@@ -846,8 +1096,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>442</x> <x>458</x>
<y>109</y> <y>231</y>
<height>16</height> <height>16</height>
<width>65</width> <width>65</width>
<format>dd/mm/yy</format> <format>dd/mm/yy</format>
...@@ -856,10 +1106,13 @@ ...@@ -856,10 +1106,13 @@
</html> </html>
<name>conf_date</name> <name>conf_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<mask>dd/mm/yy</mask> <limit>0</limit>
<imemode>0</imemode> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -874,6 +1127,34 @@ ...@@ -874,6 +1127,34 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Approved by:</text>
<border>0</border>
<color>33554432</color>
<x>24</x>
<y>252</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_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> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>7</id>
...@@ -881,8 +1162,8 @@ ...@@ -881,8 +1162,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>110</x> <x>126</x>
<y>130</y> <y>252</y>
<height>16</height> <height>16</height>
<width>86</width> <width>86</width>
<format>[general]</format> <format>[general]</format>
...@@ -919,8 +1200,8 @@ ...@@ -919,8 +1200,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>202</x> <x>218</x>
<y>130</y> <y>252</y>
<height>16</height> <height>16</height>
<width>98</width> <width>98</width>
<format>[general]</format> <format>[general]</format>
...@@ -955,8 +1236,8 @@ ...@@ -955,8 +1236,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>305</x> <x>321</x>
<y>130</y> <y>252</y>
<height>16</height> <height>16</height>
<width>98</width> <width>98</width>
<format>[general]</format> <format>[general]</format>
...@@ -991,8 +1272,8 @@ ...@@ -991,8 +1272,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>409</x> <x>425</x>
<y>130</y> <y>252</y>
<height>16</height> <height>16</height>
<width>98</width> <width>98</width>
<format>[general]</format> <format>[general]</format>
...@@ -1022,25 +1303,27 @@ ...@@ -1022,25 +1303,27 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>15</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>110</x> <x>126</x>
<y>88</y> <y>326</y>
<height>16</height> <height>16</height>
<width>86</width> <width>86</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>dept_code</name> <name>chg_user</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -1052,26 +1335,26 @@ ...@@ -1052,26 +1335,26 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>13</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>409</x> <x>126</x>
<y>67</y> <y>347</y>
<height>16</height> <height>16</height>
<width>98</width> <width>86</width>
<format>[general]</format> <format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_lname</name> <name>chg_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -1094,25 +1377,27 @@ ...@@ -1094,25 +1377,27 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>202</x> <x>454</x>
<y>88</y> <y>326</y>
<height>16</height> <height>16</height>
<width>305</width> <width>65</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>department_descr</name> <name>chg_term</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>15</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -1124,33 +1409,25 @@ ...@@ -1124,33 +1409,25 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>14</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Change User:</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>33554432</color>
<color>255</color> <x>24</x>
<x>202</x> <y>326</y>
<y>46</y>
<height>16</height> <height>16</height>
<width>305</width> <width>97</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_descr</name> <name>chg_user_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -1163,21 +1440,49 @@ ...@@ -1163,21 +1440,49 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change User:</text> <text>Change Date:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>24</x>
<y>194</y> <y>347</y>
<height>16</height> <height>16</height>
<width>97</width> <width>97</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <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> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -1194,28 +1499,25 @@ ...@@ -1194,28 +1499,25 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>2</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>109</x> <x>415</x>
<y>194</y> <y>39</y>
<height>16</height> <height>16</height>
<width>86</width> <width>108</width>
<format>[general]</format> <format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>tran_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="editmask">
<limit>10</limit> <mask>dd/mm/yy</mask>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -1230,6 +1532,34 @@ ...@@ -1230,6 +1532,34 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </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> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -30,6 +30,10 @@ ...@@ -30,6 +30,10 @@
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Header>
<height>2</height>
<color>536870912</color>
</Header>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
...@@ -39,7 +43,7 @@ ...@@ -39,7 +43,7 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>206</height> <height>378</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
...@@ -104,9 +108,9 @@ ...@@ -104,9 +108,9 @@
<text>Basic</text> <text>Basic</text>
<border>2</border> <border>2</border>
<color>0</color> <color>0</color>
<x>9</x> <x>10</x>
<y>0</y> <y>22</y>
<height>199</height> <height>149</height>
<width>523</width> <width>523</width>
<name>gb_1</name> <name>gb_1</name>
<visible>1</visible> <visible>1</visible>
...@@ -162,44 +166,6 @@ ...@@ -162,44 +166,6 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>153</x>
<y>123</y>
<height>16</height>
<width>108</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</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> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>4</id>
...@@ -294,34 +260,6 @@ ...@@ -294,34 +260,6 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>56</x>
<y>123</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_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> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -381,17 +319,17 @@ ...@@ -381,17 +319,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Line No:</text> <text>Line No Reference:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>83</x> <x>275</x>
<y>60</y> <y>60</y>
<height>16</height> <height>16</height>
<width>66</width> <width>139</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no_t</name> <name>line_no__ref_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -408,27 +346,27 @@ ...@@ -408,27 +346,27 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>7</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>0</color>
<x>153</x> <x>418</x>
<y>60</y> <y>60</y>
<height>16</height> <height>16</height>
<width>72</width> <width>72</width>
<format>[general]</format> <format>##0</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no</name> <name>line_no__ref</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>3</limit>
<case>any</case> <case>any</case>
<format>##0</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>no</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -440,25 +378,35 @@ ...@@ -440,25 +378,35 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id>
<alignment>1</alignment> <alignment>1</alignment>
<text>Line No Reference:</text> <tabsequence>32766</tabsequence>
<border>0</border> <border>5</border>
<color>33554432</color> <color>255</color>
<x>274</x> <x>417</x>
<y>60</y> <y>81</y>
<height>16</height> <height>16</height>
<width>139</width> <width>72</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>t_1</name> <name>bond_amt__curr</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -471,30 +419,31 @@ ...@@ -471,30 +419,31 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>5</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>10</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>417</x> <x>417</x>
<y>60</y> <y>102</y>
<height>16</height> <height>16</height>
<width>72</width> <width>72</width>
<format>##0</format> <format>##,###,##0.00</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no__ref</name> <name>bond_amt</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>3</limit> <limit>13</limit>
<case>any</case> <case>any</case>
<format>##0</format> <format>##,###,##0.00</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -512,23 +461,23 @@ ...@@ -512,23 +461,23 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>1</id>
<alignment>1</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>417</x> <x>152</x>
<y>81</y> <y>123</y>
<height>16</height> <height>16</height>
<width>72</width> <width>108</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_amt__curr</name> <name>tran_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -548,27 +497,82 @@ ...@@ -548,27 +497,82 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>55</x>
<y>123</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_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>Line No:</text>
<border>0</border>
<color>33554432</color>
<x>84</x>
<y>59</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_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> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>2</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>30</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>417</x> <x>154</x>
<y>102</y> <y>59</y>
<height>16</height> <height>16</height>
<width>72</width> <width>72</width>
<format>##,###,##0.00</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>bond_amt</name> <name>line_no</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>13</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<format>##,###,##0.00</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -583,8 +587,8 @@ ...@@ -583,8 +587,8 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<HtmlTable> <HtmlTable>
......
...@@ -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;
...@@ -47,11 +42,11 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -47,11 +42,11 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
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");
...@@ -162,20 +157,38 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -162,20 +157,38 @@ 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);
...@@ -194,18 +207,19 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -194,18 +207,19 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
childNode = childNodeList.item(ctr); childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
if (childNodeName.equalsIgnoreCase("emp_code")) if(childNodeName.equalsIgnoreCase("emp_code"))
{ {
empCode = getColumnValue("emp_code",dom); empCode = getColumnValue("emp_code",dom);
if (empCode == null || empCode.trim().length() == 0 ) if (empCode == null || empCode.trim().length() == 0 )
{ {
errCode = "VNULEMPC"; errCode = "VNULEMPC";
errString = getErrorString("emp_code",errCode,userId); //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; break;
}else }
else
{ {
sql = "select count(1) from employee where emp_code = ? "; sql = "select count(1) from employee where emp_code = ? ";
pstmt=conn.prepareStatement(sql); pstmt=conn.prepareStatement(sql);
pstmt.setString(1,empCode); pstmt.setString(1,empCode);
...@@ -218,11 +232,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -218,11 +232,12 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
rs.close(); rs.close();
pstmt = null; pstmt = null;
rs = null; rs = null;
if(cnt == 0) if(cnt == 0)
{ {
errCode = "VMEMPCD1"; errCode = "VMEMPCD1";
errString = getErrorString("emp_code",errCode,userId); //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; break;
} }
...@@ -238,7 +253,6 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -238,7 +253,6 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
empSiteDB = rs.getString("emp_site") == null ? "" : rs.getString("emp_site").trim(); empSiteDB = rs.getString("emp_site") == null ? "" : rs.getString("emp_site").trim();
cnt = rs.getInt("cnt"); cnt = rs.getInt("cnt");
} }
if(rs != null) if(rs != null)
{ {
rs.close(); rs.close();
...@@ -253,19 +267,22 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -253,19 +267,22 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
if(cnt == 0) if(cnt == 0)
{ {
errCode = "VMEMPCD1"; errCode = "VMEMPCD1";
errString = getErrorString("emp_code",errCode,userId); //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; 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]
siteCode = genericUtility.getColumnValue("site_code",dom);
if(! siteCode.trim().equalsIgnoreCase(loginSite.trim())) if(!siteCode.trim().equalsIgnoreCase(loginSite.trim()))
{ {
System.out.println("Value of Site Code is : " + siteCode.trim()); System.out.println("Value of Site Code is : " + siteCode.trim());
System.out.println("Value of Login Site is : " + loginSite.trim()); System.out.println("Value of Login Site is : " + loginSite.trim());
errCode = "VMEMPBND01"; errCode = "VMEMPBND01";
errString = getErrorString("emp_code",errCode,userId); //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; break;
} }
...@@ -293,14 +310,14 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -293,14 +310,14 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
if(empStatus != null && empStatus.equalsIgnoreCase("S")) if(empStatus != null && empStatus.equalsIgnoreCase("S"))
{ {
errCode ="VMEMPBND08"; errCode ="VMEMPBND08";
errString = getErrorString("emp_code",errCode,userId); //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; 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].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"))
...@@ -339,17 +356,382 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -339,17 +356,382 @@ 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"))
{
System.out.println(":::: validation of tran_id__bond ::::");
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)
{
tranId = "*";
}
if(tranIdBond != null && tranIdBond.trim().length() > 0)
{
sql = "select count(1) as cnt from employee_bond where tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, 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("", "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"))
{
System.out.println(":::: validation of tran_id__pvouch ::::");
String refNo = "";
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch", dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
System.out.println("tranIdPvouch ---->"+tranIdPvouch);
if(tranIdPvouch != null && tranIdPvouch.trim().length() > 0)
{
sql = "select count(1) as cnt from payr_voucher where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdPvouch);
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())
{
vouchEmpCode = checkNull(rs.getString("emp_code"));
refNo = checkNull(rs.getString("REF_NO"));
}
if (rs != null)
{
rs.close();
rs = null;
}
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(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)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF06", userId, "", conn); // line no. can't null
break;
}
else
{
try
{
lineNoPvouch = Integer.parseInt(lineNoPvouchStr);
}
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();
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("", "VTEBNDDF08", userId, "", conn); // invalid line no for given tranId
break;
}
cnt = 0;
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)
{
rs.close();
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;
}
}
}
}
else if(childNodeName.equalsIgnoreCase("ad_code"))
{
System.out.println(":::: validation of ad_code ::::");
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)
{
tranId = "*";
}
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");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errString = itmdbAccess.getErrorString("", "VTEBNDDF11", userId, "", conn); //adcode not present in allwdedn
break;
}
if((tranIdBond == null || tranIdBond.trim().length() == 0) && (tranIdPvouch == null || tranIdPvouch.trim().length() == 0))
{
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] //Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][Start]
empCode = genericUtility.getColumnValue("emp_code", dom1); /*empCode = genericUtility.getColumnValue("emp_code", dom1);
boolean dupTran=checkPreviousUnconfRec(empCode,editFlag,conn); boolean dupTran = checkPreviousUnconfRec(empCode,editFlag,conn);
if(dupTran) if(dupTran)
{ {
errCode = "VMEMPBND15"; errCode = "VMEMPBND15";
errString = getErrorString("bond_prd", errCode, userId); //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; break;
} }*/
//Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][End] //Added by Suraj [22-09-2015] [to validate for previous unconfirmed transaction][End]
}// for loop end }// for loop end
...@@ -380,16 +762,16 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -380,16 +762,16 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
catch(Exception e) catch(Exception e)
{ {
errCode = "VMEMPBND13"; errCode = "VMEMPBND13";
errString = getErrorString("line_no__ref",errCode,userId); //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;
} }
if(lineNoRefInt < 0) if(lineNoRefInt < 0)
{ {
errCode = "VMEMPBND11"; errCode = "VMEMPBND11";
errString = getErrorString("line_no__ref",errCode,userId); //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;
}else if(lineNoRefInt > 0 ) }else if(lineNoRefInt > 0 )
{ {
...@@ -412,7 +794,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -412,7 +794,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
if(cnt == 0) if(cnt == 0)
{ {
errCode = "VMEMPBND12"; errCode = "VMEMPBND12";
errString = getErrorString("line_no__ref",errCode,userId); //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;
} }
...@@ -420,7 +803,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -420,7 +803,8 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
if(checkDuplicateRecordsfromDom(dom2,genericUtility.getColumnValue("line_no__ref",dom),"line_no__ref")) if(checkDuplicateRecordsfromDom(dom2,genericUtility.getColumnValue("line_no__ref",dom),"line_no__ref"))
{ {
errCode = "VMEMPBND14"; errCode = "VMEMPBND14";
errString = getErrorString("line_no__ref",errCode,userId); //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 18/08/2015 [Checking duplicate records from lineNoRef in dom].End }//Modified by RAHUL SHENOY on 18/08/2015 [Checking duplicate records from lineNoRef in dom].End
} }
...@@ -433,6 +817,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -433,6 +817,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
else if (childNodeName.equalsIgnoreCase("bond_amt")) else if (childNodeName.equalsIgnoreCase("bond_amt"))
{ {
bondamt = genericUtility.getColumnValue("bond_amt",dom); bondamt = genericUtility.getColumnValue("bond_amt",dom);
tranIdPvouch = checkNull(genericUtility.getColumnValue("tran_id__pvouch",dom1));
if (bondamt == null ) if (bondamt == null )
{ {
...@@ -453,14 +838,16 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -453,14 +838,16 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
catch(Exception e) catch(Exception e)
{ {
errCode = "VMEMPBND06"; errCode = "VMEMPBND06";
errString = getErrorString("bond_amt", errCode, userId); //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; break;
} }
if(bondamtDouble < 0) if(bondamtDouble < 0)
{ {
errCode = "VMEMPBND04"; errCode = "VMEMPBND04";
errString = getErrorString("bond_amt", errCode, userId); //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; break;
} }
...@@ -468,13 +855,45 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -468,13 +855,45 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim(); lineNoRef = lineNoRef == null || lineNoRef.trim().length() == 0?"0":lineNoRef.trim();
lineNoRefInt = Integer.parseInt(lineNoRef); lineNoRefInt = Integer.parseInt(lineNoRef);
if(bondamtDouble == 0.0 && lineNoRefInt == 0) 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())
{
pvouchAmt = rs.getDouble("amount");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt!= null)
{
pstmt.close();
pstmt= null;
}
if(bondamtDouble > pvouchAmt)
{ {
errCode = "VMEMPBND10"; errString = itmdbAccess.getErrorString("", "VTEBNDDF14", userId, "", conn);//amount can't be greter than payr_vochedet
errString = getErrorString("bond_amt", errCode, userId);
break; break;
} }
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond Amount Validations].End
}
//Added by Yashwant S.on 18-12-19[End][Added Validation][CCF No: IT2018-015 / Request ID: A18CSUN011]
} }
...@@ -494,13 +913,15 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -494,13 +913,15 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
catch(Exception e) catch(Exception e)
{ {
errCode = "VMEMPBND05"; errCode = "VMEMPBND05";
errString = getErrorString("bond_prd", errCode, userId); //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; break;
} }
if(bondprdInt < 1) if(bondprdInt < 1)
{ {
errCode = "VMEMPBND03"; errCode = "VMEMPBND03";
errString = getErrorString("bond_prd", errCode, userId); //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; break;
} }
//Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start //Modified by Rahul Shenoy on 11/08/2015 [Revised Bond period Validations].Start
...@@ -564,13 +985,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -564,13 +985,17 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
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)
{ {
...@@ -602,17 +1027,35 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -602,17 +1027,35 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
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);
...@@ -646,21 +1089,38 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -646,21 +1089,38 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
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);
...@@ -677,8 +1137,35 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -677,8 +1137,35 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
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
...@@ -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 "+
...@@ -737,17 +1223,15 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -737,17 +1223,15 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
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())
...@@ -760,7 +1244,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -760,7 +1244,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
rs.close(); rs.close();
rs = null; rs = null;
} }
if(pstmt!= null) if(pstmt != null)
{ {
pstmt.close(); pstmt.close();
pstmt= null; pstmt= null;
...@@ -780,9 +1264,306 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -780,9 +1264,306 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
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
...@@ -885,6 +1666,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -885,6 +1666,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition
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";
...@@ -935,9 +1717,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -935,9 +1717,7 @@ 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;
...@@ -1021,7 +1801,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -1021,7 +1801,7 @@ 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;
...@@ -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,7 +1834,7 @@ public class EmpBondDefinition extends ValidatorEJB implements EmpBondDefinition ...@@ -1054,7 +1834,7 @@ 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;
} }
} }
} }
...@@ -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.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
@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;
...@@ -65,6 +66,14 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -65,6 +66,14 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
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;
...@@ -88,6 +97,28 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -88,6 +97,28 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
{ {
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();
...@@ -150,6 +181,34 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -150,6 +181,34 @@ 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)
...@@ -225,7 +284,11 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -225,7 +284,11 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
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 ( ? , ? , ? , ? , ? , ? , ? , ?)";
//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); 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 = ? ";
...@@ -299,6 +362,13 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -299,6 +362,13 @@ 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+"]");
...@@ -569,4 +639,3 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon ...@@ -569,4 +639,3 @@ public class EmpBondDefConfirm extends ActionHandlerEJB implements EmpBondDefCon
} }
\ 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,7 +32,11 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -31,7 +32,11 @@ 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
...@@ -53,11 +58,13 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -53,11 +58,13 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
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;
...@@ -65,9 +72,16 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -65,9 +72,16 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
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,8 +92,11 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -78,8 +92,11 @@ 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");
...@@ -101,10 +118,12 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -101,10 +118,12 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
} }
} }
//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
...@@ -119,18 +138,25 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -119,18 +138,25 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
{ {
System.out.println("*** ParentNodeListDet2 Length==>>" + parentNodeListDet2.getLength() +" ***"); System.out.println("*** ParentNodeListDet2 Length==>>" + parentNodeListDet2.getLength() +" ***");
empcode = genericUtility.getColumnValue("emp_code",dom); //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);
sql="select line_no,bond_prd,bond_amt from employee_bond where emp_code= ? "; empcode = checkNull(genericUtility.getColumnValue("emp_code", dom, "1"));
tranIdBond = checkNull(genericUtility.getColumnValue("tran_id__bond", dom, "1"));
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= ? ";
sql = "select line_no, bond_prd, bond_amt from employee_bond where emp_code = ? and tran_id = ? order by bond_prd ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empcode); 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]
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
while (rs.next()) while (rs.next())
{ {
// lineNo++; // lineNo++;
lineNo=rs.getInt("LINE_NO"); lineNo = rs.getInt("LINE_NO");
bondAmt = rs.getInt("BOND_AMT"); bondAmt = rs.getInt("BOND_AMT");
bondPrd = rs.getInt("BOND_PRD"); bondPrd = rs.getInt("BOND_PRD");
...@@ -152,9 +178,8 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -152,9 +178,8 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
valueXmlBuff.append("</Detail>\r\n"); valueXmlBuff.append("</Detail>\r\n");
System.out.println("------->>>>Line no :"+lineNo+" Bond Amt :"+bondAmt+" bond period : "+bondPrd); System.out.println("------->>>>Line no :"+lineNo+" Bond Amt :"+bondAmt+" bond period : "+bondPrd);
} }
}//End If
} }
valueXmlBuff.append("</Root>\r\n"); valueXmlBuff.append("</Root>\r\n");
...@@ -261,4 +286,16 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL ...@@ -261,4 +286,16 @@ public class EmpBondDefault extends ActionHandlerEJB implements EmpBondDefaultL
} }
//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