Commit e849c126 authored by sgadve's avatar sgadve

migrating the employeetransferSql form NVO to JB

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@207295 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 331a1632
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_emptransfersql','2','2','A','seq10',null,null,null,null,null,'Y',to_date('08-11-13','DD-MM-RR'),'Nikhil ','payroll ','0','SITE_CODE',null,null,'Y',null,null,'N','N',null,'pay_table',null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,null,null,null,null,'PAYTBL','F',null,null,null,null,null,null,null,null,null,null,'0',null,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,'Y',null,null,null,null,null,null,null,null,null,null,null,null,null,null,'compact',null,null,null,null,null,null,null);
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) values ('ADM',2,1,17,0,0,'w_emptransfersql','X. Employee Transfer SQLs','SQLs for transfering data for employee transfered','ADM.2.1.17.0.0',null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,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_emptransfersql','empty transfer sql','emptransfersql',null,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,null,null,null,null,null);
insert into obj_itemchange (obj_name,field_name,form_no,mandatory) values ('emptransfersql','table_name','1','Y');
insert into obj_itemchange (obj_name,field_name,form_no,mandatory) values ('emptransfersql','itm_default','1','Y');
update transetup set tran_id_col='' where tran_window='w_emptransfersql';
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emptransfersql','pre_validate','1','prv_default_ejb',null,'0',sysdate,'BASE','BASE','2','JB','ibase.webitm.ejb.adm.EmpTransferSqlIc',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emptransfersql','post_item_change','1','poic_default_ejb',null,'0',sysdate,'BASE','BASE','2','JB','ibase.webitm.ejb.adm.EmpTransferSqlIc',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 ('TABLE_NAME','W_EMPTRANSFERSQL','select TABLE_NAME from transetup where TABLE_NAME is not null',null,'Table Name',null,null,to_date('13-09-18','DD-MM-RR'),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);
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 ('VTTABNAME','Table name already exists','Invalid Table name,table name already exists','E','Y',null,null,null,sysdate,'TSD','TSD',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 ('VTSQLSELE','Please check the SQL','Incorrect SQL please check the SQL','E','Y',null,null,null,sysdate,'TSD','TSD',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 ('VTWHERECON','Incorrect where condition','Incorrect where condition please check the SQL','E','Y',null,null,null,sysdate,'TSD','TSD',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 ('VTWHERECLA','Where clause cannot be null','where clause cannot be null if the confirm condition has been specified','E','Y',null,null,null,sysdate,'TSD','TSD',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 ('VTTABNULL','Table name cannot be blank','Table name cannot be blank','E','Y',null,null,null,sysdate,'TSD','TSD',null,null);
-----------------------------------------given entry for the release
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>0</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>1073741824</color> <color>79741120</color>
<processing>1</processing> <processing>1</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>110</left>
<right>24</right> <right>110</right>
<top>24</top> <top>96</top>
<bottom>24</bottom> <bottom>96</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>20</height> <height>80</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>23</height> <height>92</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>table_no</name> <name>table_no</name>
<dbname>emptransfersql.table_no</dbname> <dbname>emptransfersql.table_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="30">char</type> <type size="30">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>table_name</name> <name>table_name</name>
<dbname>emptransfersql.table_name</dbname> <dbname>emptransfersql.table_name</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="100">char</type> <type size="100">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>prim_key</name> <name>prim_key</name>
<dbname>emptransfersql.prim_key</dbname> <dbname>emptransfersql.prim_key</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="2000">char</type> <type size="2000">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>sqlselect</name> <name>sqlselect</name>
<dbname>emptransfersql.sqlselect</dbname> <dbname>emptransfersql.sqlselect</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>tran_no_fld</name> <name>numrows</name>
<dbname>emptransfersql.tran_no_fld</dbname> <dbname>emptransfersql.numrows</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>tran_no_fld_val</name> <name>confirm_condition</name>
<dbname>emptransfersql.tran_no_fld_val</dbname> <dbname>emptransfersql.confirm_condition</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type size="500">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>numrows</name> <name>where_cond</name>
<dbname>emptransfersql.numrows</dbname> <dbname>emptransfersql.where_cond</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="300">char</type> <type size="15">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>confirm_condition</name> <name>tran_no_fld</name>
<dbname>emptransfersql.confirm_condition</dbname> <dbname>emptransfersql.tran_no_fld</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="500">char</type> <type size="15">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>where_cond</name> <name>tran_no_fld_val</name>
<dbname>emptransfersql.where_cond</dbname> <dbname>emptransfersql.tran_no_fld_val</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_user</name> <name>chg_user</name>
<dbname>emptransfersql.chg_user</dbname> <dbname>emptransfersql.chg_user</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_date</name> <name>chg_date</name>
<dbname>emptransfersql.chg_date</dbname> <dbname>emptransfersql.chg_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="300">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
<dbname>emptransfersql.chg_term</dbname> <dbname>emptransfersql.chg_term</dbname>
</table_column> </table_column>
<table_column> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;emptransfersql&quot; ) COLUMN(NAME=&quot;emptransfersql.table_no&quot;) COLUMN(NAME=&quot;emptransfersql.table_name&quot;) COLUMN(NAME=&quot;emptransfersql.prim_key&quot;) COLUMN(NAME=&quot;emptransfersql.sqlselect&quot;) COLUMN(NAME=&quot;emptransfersql.numrows&quot;) COLUMN(NAME=&quot;emptransfersql.confirm_condition&quot;) COLUMN(NAME=&quot;emptransfersql.where_cond&quot;) COLUMN(NAME=&quot;emptransfersql.tran_no_fld&quot;) COLUMN(NAME=&quot;emptransfersql.tran_no_fld_val&quot;) COLUMN(NAME=&quot;emptransfersql.chg_user&quot;) COLUMN(NAME=&quot;emptransfersql.chg_date&quot;) COLUMN(NAME=&quot;emptransfersql.chg_term&quot;)) </retrieve>
<type size="1">char</type> <update>EMPTRANSFERSQL</update>
<update>yes</update> <updatewhere>0</updatewhere>
<updatewhereclause>yes</updatewhereclause> <updatekeyinplace>no</updatekeyinplace>
<name>sql_flag</name> </TableDefinition>
<dbname>emptransfersql.sql_flag</dbname> <TextObject>
</table_column> <band>Header</band>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;emptransfersql&quot; ) COLUMN(NAME=&quot;emptransfersql.table_no&quot;) COLUMN(NAME=&quot;emptransfersql.table_name&quot;) COLUMN(NAME=&quot;emptransfersql.prim_key&quot;) COLUMN(NAME=&quot;emptransfersql.sqlselect&quot;) COLUMN(NAME=&quot;emptransfersql.tran_no_fld&quot;) COLUMN(NAME=&quot;emptransfersql.tran_no_fld_val&quot;) COLUMN(NAME=&quot;emptransfersql.numrows&quot;) COLUMN(NAME=&quot;emptransfersql.confirm_condition&quot;) COLUMN(NAME=&quot;emptransfersql.where_cond&quot;) COLUMN(NAME=&quot;emptransfersql.chg_user&quot;) COLUMN(NAME=&quot;emptransfersql.chg_date&quot;) COLUMN(NAME=&quot;emptransfersql.chg_term&quot;) COLUMN(NAME=&quot;emptransfersql.sql_flag&quot;)) </retrieve> <alignment>2</alignment>
<update>EMPTRANSFERSQL</update> <text>Table No</text>
<updatewhere>0</updatewhere> <border>6</border>
<updatekeyinplace>no</updatekeyinplace> <color>0</color>
</TableDefinition> <x>9</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>274</width>
<text>Table No</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>2</x> <name>table_no_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>49</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>table_no_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>2</alignment>
<mode>1</mode> <text>Table Name</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>293</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>709</width>
<text>Table Name</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>53</x> <name>table_name_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>121</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>table_name_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>2</alignment>
<mode>1</mode> <text>Primary Key</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>1010</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>2309</width>
<text>Prim Key</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>176</x> <name>prim_key_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>241</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>prim_key_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>2</alignment>
<mode>1</mode> <text>Sqlselect</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>3328</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>4759</width>
<text>Tran No Fld</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>612</x> <name>sqlselect_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>96</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>tran_no_fld_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>2</alignment>
<mode>1</mode> <text>Tran No Fld</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>8096</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>366</width>
<text>Tran No Fld Val</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>710</x> <name>tran_no_fld_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>96</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>tran_no_fld_val_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>2</alignment>
<mode>1</mode> <text>Tran No Fld Val</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>8471</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>384</width>
<text>Numrows</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>808</x> <name>tran_no_fld_val_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>72</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>numrows_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>2</alignment>
<mode>1</mode> <text>Numrows</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>8864</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>274</width>
<text>Confirm Condition</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>882</x> <name>numrows_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>281</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>confirm_condition_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>2</alignment>
<mode>1</mode> <text>Confirm Condition</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>9147</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>2743</width>
<text>Where Cond</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>1165</x> <name>confirm_condition_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>335</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>where_cond_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>2</alignment>
<mode>1</mode> <text>Where Cond</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>11899</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>2734</width>
<text>Chg User</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>1502</x> <name>where_cond_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>66</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>chg_user_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>0</alignment>
<mode>1</mode> <text>Chg User</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>14642</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>338</width>
<text>Chg Date</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>1570</x> <name>chg_user_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>132</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>chg_date_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>0</alignment>
<mode>1</mode> <text>Chg Date</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>14990</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>507</width>
<text>Chg Term</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>1704</x> <name>chg_date_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>96</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>chg_term_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>0</alignment>
<mode>1</mode> <text>Chg Term</text>
<color>536870912</color> <border>6</border>
</background> <color>0</color>
</TextObject> <x>15506</x>
<TextObject> <y>8</y>
<band>Header</band> <height>64</height>
<alignment>2</alignment> <width>334</width>
<text>Sql Flag</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>1802</x> <name>chg_term_t</name>
<y>2</y> <visible>1</visible>
<height>16</height> <font>
<width>48</width> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>sql_flag_t</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<font> </font>
<face>Arial</face> <background>
<height>-10</height> <mode>2</mode>
<weight>400</weight> <color>79741120</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <ColumnObject>
</font> <band>Detail</band>
<background> <id>1</id>
<mode>1</mode> <alignment>1</alignment>
<color>536870912</color> <tabsequence>10</tabsequence>
</background> <border>5</border>
</TextObject> <color>0</color>
<TextObject> <x>9</x>
<band>Header</band> <y>8</y>
<alignment>2</alignment> <height>76</height>
<text>Sqlselect</text> <width>274</width>
<border>0</border> <format>[general]</format>
<color>33554432</color> <html>
<x>419</x> <valueishtml>0</valueishtml>
<y>2</y> </html>
<height>16</height> <name>table_no</name>
<width>191</width> <visible>1</visible>
<html> <EditStyle style="edit">
<valueishtml>0</valueishtml> <limit>0</limit>
</html> <case>any</case>
<name>sqlselect_t</name> <focusrectangle>no</focusrectangle>
<visible>1</visible> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Arial</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>2</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>1</mode> <charset>0</charset>
<color>536870912</color> </font>
</background> <background>
</TextObject> <mode>2</mode>
<ColumnObject> <color>1090519039</color>
<band>Detail</band> </background>
<id>1</id> </ColumnObject>
<alignment>1</alignment> <ColumnObject>
<tabsequence>10</tabsequence> <band>Detail</band>
<border>0</border> <id>2</id>
<color>33554432</color> <alignment>0</alignment>
<x>2</x> <tabsequence>20</tabsequence>
<y>2</y> <border>5</border>
<height>19</height> <color>0</color>
<width>49</width> <x>293</x>
<format>[general]</format> <y>8</y>
<html> <height>76</height>
<valueishtml>0</valueishtml> <width>709</width>
</html> <format>[general]</format>
<name>table_no</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>0</limit> <name>table_name</name>
<case>any</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>30</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Arial</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>2</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>1</mode> <charset>0</charset>
<color>536870912</color> </font>
</background> <background>
</ColumnObject> <mode>2</mode>
<ColumnObject> <color>1090519039</color>
<band>Detail</band> </background>
<id>2</id> </ColumnObject>
<alignment>0</alignment> <ColumnObject>
<tabsequence>20</tabsequence> <band>Detail</band>
<border>0</border> <id>3</id>
<color>33554432</color> <alignment>0</alignment>
<x>53</x> <tabsequence>30</tabsequence>
<y>2</y> <border>5</border>
<height>19</height> <color>0</color>
<width>121</width> <x>1010</x>
<format>[general]</format> <y>8</y>
<html> <height>76</height>
<valueishtml>0</valueishtml> <width>2309</width>
</html> <format>[general]</format>
<name>table_name</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>30</limit> <name>prim_key</name>
<case>any</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>100</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Arial</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>2</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>1</mode> <charset>0</charset>
<color>536870912</color> </font>
</background> <background>
</ColumnObject> <mode>2</mode>
<ColumnObject> <color>1090519039</color>
<band>Detail</band> </background>
<id>3</id> </ColumnObject>
<alignment>0</alignment> <ColumnObject>
<tabsequence>30</tabsequence> <band>Detail</band>
<border>0</border> <id>4</id>
<color>33554432</color> <alignment>0</alignment>
<x>176</x> <tabsequence>40</tabsequence>
<y>2</y> <border>5</border>
<height>19</height> <color>0</color>
<width>241</width> <x>3328</x>
<format>[general]</format> <y>8</y>
<html> <height>76</height>
<valueishtml>0</valueishtml> <width>4759</width>
</html> <format>[general]</format>
<name>prim_key</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>100</limit> <name>sqlselect</name>
<case>any</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>1500</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Arial</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>2</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>1</mode> <charset>0</charset>
<color>536870912</color> </font>
</background> <background>
</ColumnObject> <mode>2</mode>
<ColumnObject> <color>1090519039</color>
<band>Detail</band> </background>
<id>5</id> </ColumnObject>
<alignment>0</alignment> <ColumnObject>
<tabsequence>50</tabsequence> <band>Detail</band>
<border>0</border> <id>8</id>
<color>33554432</color> <alignment>0</alignment>
<x>612</x> <tabsequence>50</tabsequence>
<y>2</y> <border>5</border>
<height>19</height> <color>0</color>
<width>96</width> <x>8096</x>
<format>[general]</format> <y>8</y>
<html> <height>76</height>
<valueishtml>0</valueishtml> <width>366</width>
</html> <format>[general]</format>
<name>tran_no_fld</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>15</limit> <name>tran_no_fld</name>
<case>any</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>15</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Arial</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>2</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>1</mode> <charset>0</charset>
<color>536870912</color> </font>
</background> <background>
</ColumnObject> <mode>2</mode>
<ColumnObject> <color>1090519039</color>
<band>Detail</band> </background>
<id>6</id> </ColumnObject>
<alignment>0</alignment> <ColumnObject>
<tabsequence>60</tabsequence> <band>Detail</band>
<border>0</border> <id>9</id>
<color>33554432</color> <alignment>0</alignment>
<x>710</x> <tabsequence>60</tabsequence>
<y>2</y> <border>5</border>
<height>19</height> <color>0</color>
<width>96</width> <x>8471</x>
<format>[general]</format> <y>8</y>
<html> <height>76</height>
<valueishtml>0</valueishtml> <width>384</width>
</html> <format>[general]</format>
<name>tran_no_fld_val</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>15</limit> <name>tran_no_fld_val</name>
<case>any</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>15</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Arial</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>2</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>1</mode> <charset>0</charset>
<color>536870912</color> </font>
</background> <background>
</ColumnObject> <mode>2</mode>
<ColumnObject> <color>1090519039</color>
<band>Detail</band> </background>
<id>7</id> </ColumnObject>
<alignment>1</alignment> <ColumnObject>
<tabsequence>70</tabsequence> <band>Detail</band>
<border>0</border> <id>5</id>
<color>33554432</color> <alignment>1</alignment>
<x>808</x> <tabsequence>70</tabsequence>
<y>2</y> <border>5</border>
<height>19</height> <color>0</color>
<width>72</width> <x>8864</x>
<format>[general]</format> <y>8</y>
<html> <height>76</height>
<valueishtml>0</valueishtml> <width>274</width>
</html> <format>[general]</format>
<name>numrows</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>0</limit> <name>numrows</name>
<case>any</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>0</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Arial</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>2</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>1</mode> <charset>0</charset>
<color>536870912</color> </font>
</background> <background>
</ColumnObject> <mode>2</mode>
<ColumnObject> <color>1090519039</color>
<band>Detail</band> </background>
<id>8</id> </ColumnObject>
<alignment>0</alignment> <ColumnObject>
<tabsequence>80</tabsequence> <band>Detail</band>
<border>0</border> <id>6</id>
<color>33554432</color> <alignment>0</alignment>
<x>882</x> <tabsequence>80</tabsequence>
<y>2</y> <border>5</border>
<height>19</height> <color>0</color>
<width>281</width> <x>9147</x>
<format>[general]</format> <y>8</y>
<html> <height>76</height>
<valueishtml>0</valueishtml> <width>2743</width>
</html> <format>[general]</format>
<name>confirm_condition</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>300</limit> <name>confirm_condition</name>
<case>any</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>300</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <focusrectangle>no</focusrectangle>
</EditStyle> <autoselect>yes</autoselect>
<font> <autohscroll>yes</autohscroll>
<face>Arial</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>2</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>1</mode> <charset>0</charset>
<color>536870912</color> </font>
</background> <background>
</ColumnObject> <mode>2</mode>
<ColumnObject> <color>1090519039</color>
<band>Detail</band> </background>
<id>9</id> </ColumnObject>
<alignment>0</alignment> <ColumnObject>
<tabsequence>90</tabsequence> <band>Detail</band>
<border>0</border> <id>7</id>
<color>33554432</color> <alignment>0</alignment>
<x>1165</x> <tabsequence>32766</tabsequence>
<y>2</y> <border>5</border>
<height>19</height> <color>0</color>
<width>335</width> <x>11899</x>
<format>[general]</format> <y>12</y>
<html> <height>64</height>
<valueishtml>0</valueishtml> <width>2734</width>
</html> <format>[general]</format>
<name>where_cond</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>500</limit> <name>where_cond</name>
<case>any</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <EditStyle style="edit">
<autoselect>yes</autoselect> <limit>0</limit>
<autohscroll>yes</autohscroll> <case>any</case>
<imemode>0</imemode> <autoselect>yes</autoselect>
</EditStyle> <imemode>0</imemode>
<font> </EditStyle>
<face>Arial</face> <font>
<height>-10</height> <face>Times New Roman</face>
<weight>400</weight> <height>-10</height>
<family>2</family> <weight>400</weight>
<pitch>2</pitch> <family>1</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>1</mode> <background>
<color>536870912</color> <mode>2</mode>
</background> <color>1090519039</color>
</ColumnObject> </background>
<ColumnObject> </ColumnObject>
<band>Detail</band> <ColumnObject>
<id>10</id> <band>Detail</band>
<alignment>0</alignment> <id>10</id>
<tabsequence>100</tabsequence> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>33554432</color> <border>5</border>
<x>1502</x> <color>0</color>
<y>2</y> <x>14642</x>
<height>19</height> <y>12</y>
<width>66</width> <height>64</height>
<format>[general]</format> <width>338</width>
<html> <format>[general]</format>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>chg_user</name> </html>
<visible>1</visible> <name>chg_user</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>10</limit> <EditStyle style="edit">
<case>any</case> <limit>0</limit>
<focusrectangle>no</focusrectangle> <case>any</case>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <imemode>0</imemode>
<imemode>0</imemode> </EditStyle>
</EditStyle> <font>
<font> <face>Times New Roman</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>1090519039</color>
<color>536870912</color> </background>
</background> </ColumnObject>
</ColumnObject> <ColumnObject>
<ColumnObject> <band>Detail</band>
<band>Detail</band> <id>11</id>
<id>11</id> <alignment>0</alignment>
<alignment>0</alignment> <tabsequence>32766</tabsequence>
<tabsequence>110</tabsequence> <border>5</border>
<border>0</border> <color>0</color>
<color>33554432</color> <x>14990</x>
<x>1570</x> <y>12</y>
<y>2</y> <height>64</height>
<height>19</height> <width>507</width>
<width>132</width> <format>dd/mm/yy</format>
<format>[shortdate] [time]</format> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>chg_date</name>
<name>chg_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> </EditStyle>
<autoselect>yes</autoselect> <font>
<autohscroll>yes</autohscroll> <face>Times New Roman</face>
<imemode>0</imemode> <height>-10</height>
</EditStyle> <weight>400</weight>
<font> <family>1</family>
<face>Arial</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>2</family> <background>
<pitch>2</pitch> <mode>2</mode>
<charset>0</charset> <color>1090519039</color>
</font> </background>
<background> </ColumnObject>
<mode>1</mode> <ColumnObject>
<color>536870912</color> <band>Detail</band>
</background> <id>12</id>
</ColumnObject> <alignment>0</alignment>
<ColumnObject> <tabsequence>32766</tabsequence>
<band>Detail</band> <border>5</border>
<id>12</id> <color>0</color>
<alignment>0</alignment> <x>15506</x>
<tabsequence>120</tabsequence> <y>12</y>
<border>0</border> <height>64</height>
<color>33554432</color> <width>334</width>
<x>1704</x> <format>[general]</format>
<y>2</y> <html>
<height>19</height> <valueishtml>0</valueishtml>
<width>96</width> </html>
<format>[general]</format> <name>chg_term</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <EditStyle style="edit">
</html> <limit>0</limit>
<name>chg_term</name> <case>any</case>
<visible>1</visible> <autoselect>yes</autoselect>
<EditStyle style="edit"> <imemode>0</imemode>
<limit>15</limit> </EditStyle>
<case>any</case> <font>
<focusrectangle>no</focusrectangle> <face>Times New Roman</face>
<autoselect>yes</autoselect> <height>-10</height>
<autohscroll>yes</autohscroll> <weight>400</weight>
<imemode>0</imemode> <family>1</family>
</EditStyle> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Arial</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>2</mode>
<family>2</family> <color>1090519039</color>
<pitch>2</pitch> </background>
<charset>0</charset> </ColumnObject>
</font> <HtmlTable>
<background> <border>1</border>
<mode>1</mode> </HtmlTable>
<color>536870912</color> <HtmlGen>
</background> <clientevents>1</clientevents>
</ColumnObject> <clientvalidation>1</clientvalidation>
<ColumnObject> <clientcomputedfields>1</clientcomputedfields>
<band>Detail</band> <clientformatting>0</clientformatting>
<id>13</id> <clientscriptable>0</clientscriptable>
<alignment>0</alignment> <generatejavascript>1</generatejavascript>
<tabsequence>130</tabsequence> <encodeselflinkargs>1</encodeselflinkargs>
<border>0</border> <netscapelayers>0</netscapelayers>
<color>33554432</color> </HtmlGen>
<x>1802</x> <Export.XML>
<y>2</y> <headgroups>1</headgroups>
<height>19</height> <includewhitespace>0</includewhitespace>
<width>48</width> <metadatatype>0</metadatatype>
<format>[general]</format> <savemetadata>0</savemetadata>
<html> </Export.XML>
<valueishtml>0</valueishtml> <Import.XML>
</html> </Import.XML>
<name>sql_flag</name> <Export.PDF>
<visible>1</visible> <method>0</method>
<EditStyle style="edit"> <distill.custompostscript>0</distill.custompostscript>
<limit>1</limit> <xslfop.print>0</xslfop.print>
<case>any</case> </Export.PDF>
<focusrectangle>no</focusrectangle> </Sybase_eDataWindow>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>0</border>
<color>33554432</color>
<x>419</x>
<y>2</y>
<height>19</height>
<width>191</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sqlselect</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>2000</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>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>1073741824</color> <color>79741120</color>
<processing>0</processing> <processing>0</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Header> <Summary>
<height>5</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Header> </Summary>
<Summary> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Footer>
<Footer> <Detail>
<height>0</height> <height>594</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Detail>
<Detail> <TableDefinition>
<height>631</height> <table_column>
<color>536870912</color> <type precision="0">decimal</type>
</Detail> <update>yes</update>
<TableDefinition> <updatewhereclause>yes</updatewhereclause>
<table_column> <key>yes</key>
<type precision="0">decimal</type> <name>table_no</name>
<update>yes</update> <dbname>emptransfersql.table_no</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<key>yes</key> <table_column>
<name>table_no</name> <type size="30">char</type>
<dbname>emptransfersql.table_no</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>table_name</name>
<type size="30">char</type> <dbname>emptransfersql.table_name</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>table_name</name> <type size="100">char</type>
<dbname>emptransfersql.table_name</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>prim_key</name>
<type size="100">char</type> <dbname>emptransfersql.prim_key</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>prim_key</name> <type size="2000">char</type>
<dbname>emptransfersql.prim_key</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>sqlselect</name>
<type size="2000">char</type> <dbname>emptransfersql.sqlselect</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>sqlselect</name> <type size="300">char</type>
<dbname>emptransfersql.sqlselect</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>confirm_condition</name>
<type size="300">char</type> <dbname>emptransfersql.confirm_condition</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>confirm_condition</name> <type size="500">char</type>
<dbname>emptransfersql.confirm_condition</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>where_cond</name>
<type size="500">char</type> <dbname>emptransfersql.where_cond</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>where_cond</name> <type size="10">char</type>
<dbname>emptransfersql.where_cond</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>chg_user</name>
<type size="1">char</type> <dbname>emptransfersql.chg_user</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<name>sql_flag</name> <type>datetime</type>
<dbname>emptransfersql.sql_flag</dbname> <update>yes</update>
<values> <updatewhereclause>yes</updatewhereclause>
<item display="Delete &amp; Insert" data="D"/> <name>chg_date</name>
<item display="Insert" data="I"/> <dbname>emptransfersql.chg_date</dbname>
</values> </table_column>
</table_column> <table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;emptransfersql&quot; ) COLUMN(NAME=&quot;emptransfersql.table_no&quot;) COLUMN(NAME=&quot;emptransfersql.table_name&quot;) COLUMN(NAME=&quot;emptransfersql.prim_key&quot;) COLUMN(NAME=&quot;emptransfersql.sqlselect&quot;) COLUMN(NAME=&quot;emptransfersql.confirm_condition&quot;) COLUMN(NAME=&quot;emptransfersql.where_cond&quot;) COLUMN(NAME=&quot;emptransfersql.sql_flag&quot;)WHERE( EXP1 =&quot;~&quot;EMPTRANSFERSQL~&quot;.~&quot;TABLE_NO~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:table_no&quot; ) ) ARG(NAME = &quot;table_no&quot; TYPE = number) </retrieve> <type size="300">char</type>
<update>EMPTRANSFERSQL</update> <update>yes</update>
<updatewhere>1</updatewhere> <updatewhereclause>yes</updatewhereclause>
<updatekeyinplace>no</updatekeyinplace> <name>chg_term</name>
<argument> <dbname>emptransfersql.chg_term</dbname>
<name>table_no</name> </table_column>
<type>number</type> <table_column>
</argument> <type size="1">char</type>
</TableDefinition> <update>yes</update>
<GroupBox> <updatewhereclause>yes</updatewhereclause>
<band>Detail</band> <name>sql_flag</name>
<text>Employee Transfer SQL</text> <dbname>emptransfersql.sql_flag</dbname>
<border>2</border> <values>
<color>33554432</color> <item display="Delete and Insert" data="D"/>
<x>1</x> <item display="Insert" data="I"/>
<y>0</y> </values>
<height>354</height> </table_column>
<width>827</width> <table_column>
<name>gb_1</name> <type size="1">char</type>
<visible>1</visible> <updatewhereclause>yes</updatewhereclause>
<hidesnaked>1</hidesnaked> <name>table_name_old</name>
<font> <dbname>table_name_old</dbname>
<face>Arial</face> </table_column>
<height>-12</height> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;emptransfersql&quot; ) COLUMN(NAME=&quot;emptransfersql.table_no&quot;) COLUMN(NAME=&quot;emptransfersql.table_name&quot;) COLUMN(NAME=&quot;emptransfersql.prim_key&quot;) COLUMN(NAME=&quot;emptransfersql.sqlselect&quot;) COLUMN(NAME=&quot;emptransfersql.confirm_condition&quot;) COLUMN(NAME=&quot;emptransfersql.where_cond&quot;) COLUMN(NAME=&quot;emptransfersql.chg_user&quot;) COLUMN(NAME=&quot;emptransfersql.chg_date&quot;) COLUMN(NAME=&quot;emptransfersql.chg_term&quot;) COLUMN(NAME=&quot;emptransfersql.sql_flag&quot;) COMPUTE(NAME=&quot;&apos; &apos; as table_name_old&quot;)WHERE( EXP1 =&quot;emptransfersql.table_no&quot; OP =&quot;=&quot; EXP2 =&quot;:ll_tno&quot; ) ) ARG(NAME = &quot;ll_tno&quot; TYPE = number) </retrieve>
<weight>400</weight> <update>EMPTRANSFERSQL</update>
<family>2</family> <updatewhere>0</updatewhere>
<pitch>2</pitch> <updatekeyinplace>no</updatekeyinplace>
<charset>0</charset> <argument>
</font> <name>ll_tno</name>
<background> <type>number</type>
<mode>2</mode> </argument>
<color>1073741824</color> <sort>
</background> <expression>table_no A</expression>
</GroupBox> </sort>
<TextObject> </TableDefinition>
<band>Detail</band> <GroupBox>
<alignment>1</alignment> <band>Detail</band>
<text>Table No:</text> <text>Others</text>
<border>0</border> <border>2</border>
<color>33554432</color> <color>0</color>
<x>37</x> <x>9</x>
<y>19</y> <y>479</y>
<height>16</height> <height>61</height>
<width>106</width> <width>602</width>
<html> <name>gb_2</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>table_no_t</name> <face>Liberation Sans</face>
<visible>1</visible> <height>-10</height>
<font> <weight>400</weight>
<face>Arial</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>2</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>553648127</color>
<background> </background>
<mode>1</mode> </GroupBox>
<color>536870912</color> <GroupBox>
</background> <band>Detail</band>
</TextObject> <text>Basic</text>
<ColumnObject> <border>2</border>
<band>Detail</band> <color>0</color>
<id>1</id> <x>6</x>
<alignment>1</alignment> <y>2</y>
<tabsequence>32766</tabsequence> <height>465</height>
<border>5</border> <width>606</width>
<color>33554432</color> <name>gb_1</name>
<x>147</x> <visible>1</visible>
<y>17</y> <font>
<height>19</height> <face>Liberation Sans</face>
<width>180</width> <height>-12</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>table_no</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>1</mode>
<limit>0</limit> <color>553648127</color>
<case>any</case> </background>
<focusrectangle>no</focusrectangle> </GroupBox>
<autoselect>yes</autoselect> <TextObject>
<autohscroll>yes</autohscroll> <band>Detail</band>
<imemode>0</imemode> <alignment>0</alignment>
</EditStyle> <text>Edit sql :</text>
<font> <border>0</border>
<face>Arial</face> <color>0</color>
<height>-10</height> <x>8</x>
<weight>400</weight> <y>150</y>
<family>2</family> <height>16</height>
<pitch>2</pitch> <width>50</width>
<charset>0</charset> <html>
</font> <valueishtml>0</valueishtml>
<background> </html>
<mode>1</mode> <name>t_1</name>
<color>536870912</color> <visible>1</visible>
</background> <font>
</ColumnObject> <face>Times New Roman</face>
<ColumnObject> <height>-10</height>
<band>Detail</band> <weight>400</weight>
<id>3</id> <family>1</family>
<alignment>0</alignment> <pitch>2</pitch>
<tabsequence>20</tabsequence> <charset>0</charset>
<border>5</border> </font>
<color>33554432</color> <background>
<x>147</x> <mode>2</mode>
<y>43</y> <color>12632256</color>
<height>19</height> </background>
<width>483</width> </TextObject>
<format>[general]</format> <TextObject>
<html> <band>Detail</band>
<valueishtml>0</valueishtml> <alignment>0</alignment>
</html> <text>Change User:</text>
<name>prim_key</name> <border>0</border>
<visible>1</visible> <color>0</color>
<EditStyle style="edit"> <x>18</x>
<limit>100</limit> <y>501</y>
<case>any</case> <height>15</height>
<focusrectangle>no</focusrectangle> <width>99</width>
<autoselect>yes</autoselect> <html>
<autohscroll>yes</autohscroll> <valueishtml>0</valueishtml>
<imemode>0</imemode> </html>
</EditStyle> <name>chg_user_t</name>
<font> <visible>1</visible>
<face>Arial</face> <font>
<height>-10</height> <face>Times New Roman</face>
<weight>400</weight> <height>-10</height>
<family>2</family> <weight>400</weight>
<pitch>2</pitch> <family>1</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>1</mode> <background>
<color>536870912</color> <mode>2</mode>
</background> <color>79741120</color>
</ColumnObject> </background>
<TextObject> </TextObject>
<band>Detail</band> <ColumnObject>
<alignment>1</alignment> <band>Detail</band>
<text>Prim Key:</text> <id>7</id>
<border>0</border> <alignment>0</alignment>
<color>33554432</color> <tabsequence>32766</tabsequence>
<x>36</x> <border>0</border>
<y>44</y> <color>0</color>
<height>16</height> <x>120</x>
<width>106</width> <y>501</y>
<html> <height>16</height>
<valueishtml>0</valueishtml> <width>51</width>
</html> <format>[general]</format>
<name>prim_key_t</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<font> </html>
<face>Arial</face> <name>chg_user</name>
<height>-10</height> <visible expression="0">1</visible>
<weight>400</weight> <EditStyle style="edit">
<family>2</family> <limit>0</limit>
<pitch>2</pitch> <case>any</case>
<charset>0</charset> <autoselect>yes</autoselect>
</font> <imemode>0</imemode>
<background> </EditStyle>
<mode>1</mode> <font>
<color>536870912</color> <face>Times New Roman</face>
</background> <height>-10</height>
</TextObject> <weight>400</weight>
<TextObject> <family>1</family>
<band>Detail</band> <pitch>2</pitch>
<alignment>1</alignment> <charset>0</charset>
<text>Sqlselect:</text> </font>
<border>0</border> <background>
<color>33554432</color> <mode>2</mode>
<x>35</x> <color>16777215</color>
<y>74</y> </background>
<height>16</height> </ColumnObject>
<width>106</width> <TextObject>
<html> <band>Detail</band>
<valueishtml>0</valueishtml> <alignment>0</alignment>
</html> <text>Change Term:</text>
<name>sqlselect_t</name> <border>0</border>
<visible>1</visible> <color>0</color>
<font> <x>404</x>
<face>Arial</face> <y>501</y>
<height>-10</height> <height>15</height>
<weight>400</weight> <width>99</width>
<family>2</family> <html>
<pitch>2</pitch> <valueishtml>0</valueishtml>
<charset>0</charset> </html>
</font> <name>chg_term_t</name>
<background> <visible>1</visible>
<mode>1</mode> <font>
<color>536870912</color> <face>Times New Roman</face>
</background> <height>-10</height>
</TextObject> <weight>400</weight>
<ColumnObject> <family>1</family>
<band>Detail</band> <pitch>2</pitch>
<id>4</id> <charset>0</charset>
<alignment>0</alignment> </font>
<tabsequence>30</tabsequence> <background>
<border>5</border> <mode>2</mode>
<color>33554432</color> <color>79741120</color>
<x>147</x> </background>
<y>72</y> </TextObject>
<height>114</height> <ColumnObject>
<width>483</width> <band>Detail</band>
<format>[general]</format> <id>9</id>
<html> <alignment>0</alignment>
<valueishtml>0</valueishtml> <tabsequence>32766</tabsequence>
</html> <border>0</border>
<name>sqlselect</name> <color>0</color>
<visible>1</visible> <x>507</x>
<EditStyle style="edit"> <y>501</y>
<limit>2000</limit> <height>16</height>
<case>any</case> <width>76</width>
<focusrectangle>no</focusrectangle> <format>[general]</format>
<autoselect>yes</autoselect> <html>
<autohscroll>yes</autohscroll> <valueishtml>0</valueishtml>
<imemode>0</imemode> </html>
</EditStyle> <name>chg_term</name>
<font> <visible expression="0">1</visible>
<face>Arial</face> <EditStyle style="edit">
<height>-10</height> <limit>0</limit>
<weight>400</weight> <case>any</case>
<family>2</family> <autoselect>yes</autoselect>
<pitch>2</pitch> <imemode>0</imemode>
<charset>0</charset> </EditStyle>
</font> <font>
<background> <face>Times New Roman</face>
<mode>1</mode> <height>-10</height>
<color>536870912</color> <weight>400</weight>
</background> <family>1</family>
</ColumnObject> <pitch>2</pitch>
<TextObject> <charset>0</charset>
<band>Detail</band> </font>
<alignment>1</alignment> <background>
<text>Table Name:</text> <mode>2</mode>
<border>0</border> <color>16777215</color>
<color>33554432</color> </background>
<x>341</x> </ColumnObject>
<y>18</y> <ColumnObject>
<height>16</height> <band>Detail</band>
<width>79</width> <id>8</id>
<html> <alignment>0</alignment>
<valueishtml>0</valueishtml> <tabsequence>32766</tabsequence>
</html> <border>0</border>
<name>table_name_t</name> <color>0</color>
<visible>1</visible> <x>298</x>
<font> <y>501</y>
<face>Arial</face> <height>16</height>
<height>-10</height> <width>70</width>
<weight>400</weight> <format>[shortdate] [time]</format>
<family>2</family> <html>
<pitch>2</pitch> <valueishtml>0</valueishtml>
<charset>0</charset> </html>
</font> <name>chg_date</name>
<background> <visible expression="0">1</visible>
<mode>1</mode> <EditStyle style="edit">
<color>536870912</color> <limit>0</limit>
</background> <case>any</case>
</TextObject> <autoselect>yes</autoselect>
<ColumnObject> <imemode>0</imemode>
<band>Detail</band> </EditStyle>
<id>2</id> <font>
<alignment>0</alignment> <face>Times New Roman</face>
<tabsequence>10</tabsequence> <height>-10</height>
<border>5</border> <weight>400</weight>
<color>33554432</color> <family>1</family>
<x>429</x> <pitch>2</pitch>
<y>16</y> <charset>0</charset>
<height>19</height> </font>
<width>200</width> <background>
<format>[general]</format> <mode>2</mode>
<html> <color>16777215</color>
<valueishtml>0</valueishtml> </background>
</html> </ColumnObject>
<name>table_name</name> <TextObject>
<visible>1</visible> <band>Detail</band>
<EditStyle style="edit"> <alignment>0</alignment>
<limit>30</limit> <text>Change Date:</text>
<case>any</case> <border>0</border>
<focusrectangle>no</focusrectangle> <color>0</color>
<autoselect>yes</autoselect> <x>195</x>
<autohscroll>yes</autohscroll> <y>501</y>
<imemode>0</imemode> <height>15</height>
</EditStyle> <width>99</width>
<font> <html>
<face>Arial</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>chg_date_t</name>
<family>2</family> <visible>1</visible>
<pitch>2</pitch> <font>
<charset>0</charset> <face>Times New Roman</face>
</font> <height>-10</height>
<background> <weight>400</weight>
<mode>1</mode> <family>1</family>
<color>536870912</color> <pitch>2</pitch>
</background> <charset>0</charset>
</ColumnObject> </font>
<TextObject> <background>
<band>Detail</band> <mode>2</mode>
<alignment>1</alignment> <color>79741120</color>
<text>Confirm Condition:</text> </background>
<border>0</border> </TextObject>
<color>33554432</color> <TextObject>
<x>12</x> <band>Detail</band>
<y>195</y> <alignment>1</alignment>
<height>16</height> <text>Table Name:</text>
<width>127</width> <border>0</border>
<html> <color>0</color>
<valueishtml>0</valueishtml> <x>264</x>
</html> <y>22</y>
<name>confirm_condition_t</name> <height>16</height>
<visible>1</visible> <width>101</width>
<font> <html>
<face>Arial</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>table_name_t</name>
<family>2</family> <visible>1</visible>
<pitch>2</pitch> <font>
<charset>0</charset> <face>Times New Roman</face>
</font> <height>-10</height>
<background> <weight>400</weight>
<mode>1</mode> <family>1</family>
<color>536870912</color> <pitch>2</pitch>
</background> <charset>0</charset>
</TextObject> </font>
<TextObject> <background>
<band>Detail</band> <mode>1</mode>
<alignment>1</alignment> <color>536870912</color>
<text>Where Cond:</text> </background>
<border>0</border> </TextObject>
<color>33554432</color> <ColumnObject>
<x>33</x> <band>Detail</band>
<y>221</y> <id>2</id>
<height>16</height> <alignment>0</alignment>
<width>106</width> <tabsequence>10</tabsequence>
<html> <border>5</border>
<valueishtml>0</valueishtml> <color>0</color>
</html> <x>369</x>
<name>where_cond_t</name> <y>22</y>
<visible>1</visible> <height>19</height>
<font> <width>224</width>
<face>Arial</face> <format>[general]</format>
<height>-10</height> <html>
<weight>400</weight> <valueishtml>0</valueishtml>
<family>2</family> </html>
<pitch>2</pitch> <name>table_name</name>
<charset>0</charset> <visible>1</visible>
</font> <EditStyle style="edit">
<background> <limit>30</limit>
<mode>1</mode> <case>upper</case>
<color>536870912</color> <focusrectangle>no</focusrectangle>
</background> <autoselect>yes</autoselect>
</TextObject> <autohscroll>yes</autohscroll>
<TextObject> <imemode>0</imemode>
<band>Detail</band> </EditStyle>
<alignment>1</alignment> <font>
<text>Delete Flag:</text> <face>Times New Roman</face>
<border>0</border> <height>-10</height>
<color>33554432</color> <weight>400</weight>
<x>32</x> <family>1</family>
<y>278</y> <pitch>2</pitch>
<height>22</height> <charset>0</charset>
<width>106</width> </font>
<html> <background>
<valueishtml>0</valueishtml> <mode>2</mode>
</html> <color>16777215</color>
<name>sql_flag_t</name> </background>
<visible>1</visible> </ColumnObject>
<font> <ColumnObject>
<face>Arial</face> <band>Detail</band>
<height>-10</height> <id>5</id>
<weight>400</weight> <alignment>0</alignment>
<family>2</family> <tabsequence>40</tabsequence>
<pitch>2</pitch> <border>5</border>
<charset>0</charset> <color>0</color>
</font> <x>115</x>
<background> <y>367</y>
<mode>1</mode> <height>19</height>
<color>536870912</color> <width>479</width>
</background> <format>[general]</format>
</TextObject> <html>
<ColumnObject> <valueishtml>0</valueishtml>
<band>Detail</band> </html>
<id>7</id> <name>confirm_condition</name>
<alignment>0</alignment> <visible>1</visible>
<tabsequence>60</tabsequence> <EditStyle style="edit">
<border>5</border> <limit>300</limit>
<color>33554432</color> <case>any</case>
<x>147</x> <focusrectangle>no</focusrectangle>
<y>280</y> <autoselect>yes</autoselect>
<height>19</height> <autohscroll>yes</autohscroll>
<width>180</width> <imemode>0</imemode>
<format>[general]</format> </EditStyle>
<html> <font>
<valueishtml>0</valueishtml> <face>Times New Roman</face>
</html> <height>-10</height>
<name>sql_flag</name> <weight>400</weight>
<visible>1</visible> <family>1</family>
<EditStyle style="ddlb"> <pitch>2</pitch>
<limit>0</limit> <charset>0</charset>
<allowedit>no</allowedit> </font>
<case>any</case> <background>
<imemode>0</imemode> <mode>2</mode>
</EditStyle> <color>16777215</color>
<font> </background>
<face>Arial</face> </ColumnObject>
<height>-10</height> <ButtonObject>
<weight>400</weight> <band>Detail</band>
<family>2</family> <text>none</text>
<pitch>2</pitch> <filename>C:\appl\ITM2\BMP\Edit.bmp</filename>
<charset>0</charset> <enabled>yes</enabled>
</font> <action>0</action>
<background> <border>0</border>
<mode>1</mode> <color>0</color>
<color>536870912</color> <x>74</x>
</background> <y>115</y>
</ColumnObject> <height>24</height>
<ColumnObject> <width>24</width>
<band>Detail</band> <vtextalign>0</vtextalign>
<id>6</id> <htextalign>0</htextalign>
<alignment>0</alignment> <name>cb_edit</name>
<tabsequence>50</tabsequence> <visible>1</visible>
<border>5</border> <font>
<color>33554432</color> <face>Arial</face>
<x>147</x> <height>-12</height>
<y>221</y> <weight>400</weight>
<height>51</height> <family>2</family>
<width>484</width> <pitch>2</pitch>
<format>[general]</format> <charset>0</charset>
<html> </font>
<valueishtml>0</valueishtml> <background>
</html> <mode>2</mode>
<name>where_cond</name> <color>12632256</color>
<visible>1</visible> </background>
<EditStyle style="edit"> </ButtonObject>
<limit>500</limit> <ColumnObject>
<case>any</case> <band>Detail</band>
<focusrectangle>no</focusrectangle> <id>1</id>
<autoselect>yes</autoselect> <alignment>1</alignment>
<autohscroll>yes</autohscroll> <tabsequence>32766</tabsequence>
<imemode>0</imemode> <border>5</border>
</EditStyle> <color>255</color>
<font> <x>116</x>
<face>Arial</face> <y>22</y>
<height>-10</height> <height>19</height>
<weight>400</weight> <width>141</width>
<family>2</family> <format>[general]</format>
<pitch>2</pitch> <html>
<charset>0</charset> <valueishtml>0</valueishtml>
</font> </html>
<background> <name>table_no</name>
<mode>1</mode> <visible>1</visible>
<color>536870912</color> <EditStyle style="edit">
</background> <limit>0</limit>
</ColumnObject> <case>any</case>
<ColumnObject> <focusrectangle>no</focusrectangle>
<band>Detail</band> <autoselect>yes</autoselect>
<id>5</id> <autohscroll>yes</autohscroll>
<alignment>0</alignment> <imemode>0</imemode>
<tabsequence>40</tabsequence> </EditStyle>
<border>5</border> <font>
<color>33554432</color> <face>Times New Roman</face>
<x>147</x> <height>-10</height>
<y>194</y> <weight>400</weight>
<height>19</height> <family>1</family>
<width>483</width> <pitch>2</pitch>
<format>[general]</format> <charset>0</charset>
<html> </font>
<valueishtml>0</valueishtml> <background>
</html> <mode>2</mode>
<name>confirm_condition</name> <color>79741120</color>
<visible>1</visible> </background>
<EditStyle style="edit"> </ColumnObject>
<limit>300</limit> <ColumnObject>
<case>any</case> <band>Detail</band>
<focusrectangle>no</focusrectangle> <id>3</id>
<autoselect>yes</autoselect> <alignment>0</alignment>
<autohscroll>yes</autohscroll> <tabsequence>20</tabsequence>
<imemode>0</imemode> <border>5</border>
</EditStyle> <color>0</color>
<font> <x>116</x>
<face>Arial</face> <y>50</y>
<height>-10</height> <height>19</height>
<weight>400</weight> <width>479</width>
<family>2</family> <format>[general]</format>
<pitch>2</pitch> <html>
<charset>0</charset> <valueishtml>0</valueishtml>
</font> </html>
<background> <name>prim_key</name>
<mode>1</mode> <visible>1</visible>
<color>536870912</color> <EditStyle style="edit">
</background> <limit>100</limit>
</ColumnObject> <case>any</case>
<HtmlTable> <focusrectangle>no</focusrectangle>
<border>1</border> <autoselect>yes</autoselect>
</HtmlTable> <autohscroll>yes</autohscroll>
<HtmlGen> <imemode>0</imemode>
<clientevents>1</clientevents> </EditStyle>
<clientvalidation>1</clientvalidation> <font>
<clientcomputedfields>1</clientcomputedfields> <face>Times New Roman</face>
<clientformatting>0</clientformatting> <height>-10</height>
<clientscriptable>0</clientscriptable> <weight>400</weight>
<generatejavascript>1</generatejavascript> <family>1</family>
<encodeselflinkargs>1</encodeselflinkargs> <pitch>2</pitch>
<netscapelayers>0</netscapelayers> <charset>0</charset>
</HtmlGen> </font>
<Export.XML> <background>
<headgroups>1</headgroups> <mode>2</mode>
<includewhitespace>0</includewhitespace> <color>16777215</color>
<metadatatype>0</metadatatype> </background>
<savemetadata>0</savemetadata> </ColumnObject>
</Export.XML> <ColumnObject>
<Import.XML> <band>Detail</band>
</Import.XML> <id>4</id>
<Export.PDF> <alignment>0</alignment>
<method>0</method> <tabsequence>30</tabsequence>
<distill.custompostscript>0</distill.custompostscript> <border>5</border>
<xslfop.print>0</xslfop.print> <color>0</color>
</Export.PDF> <x>116</x>
</Sybase_eDataWindow> <y>75</y>
<height>284</height>
<width>479</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sqlselect</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>4000</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autovscroll>yes</autovscroll>
<imemode>0</imemode>
<vscrollbar>yes</vscrollbar>
</EditStyle>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>116</x>
<y>394</y>
<height>37</height>
<width>479</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>where_cond</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>116</x>
<y>440</y>
<height>16</height>
<width>99</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sql_flag</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Table No:</text>
<border>0</border>
<color>0</color>
<x>11</x>
<y>22</y>
<height>16</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>table_no_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Primary Key:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>50</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prim_key_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Sqlselect:</text>
<border>0</border>
<color>0</color>
<x>10</x>
<y>75</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sqlselect_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirm Condition:</text>
<border>0</border>
<color>0</color>
<x>11</x>
<y>366</y>
<height>16</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirm_condition_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Where Condition :</text>
<border>0</border>
<color>0</color>
<x>13</x>
<y>396</y>
<height>16</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>where_cond_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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Delete Flag :</text>
<border>0</border>
<color>0</color>
<x>14</x>
<y>441</y>
<height>16</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sql_flag_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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Old Table Name:</text>
<border>0</border>
<color>0</color>
<x>376</x>
<y>440</y>
<height>15</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>table_name_old_t</name>
<visible>0</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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>0</border>
<color>0</color>
<x>479</x>
<y>440</y>
<height>15</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>table_name_old</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
...@@ -28,7 +28,7 @@ import ibase.webitm.utility.ITMException; ...@@ -28,7 +28,7 @@ import ibase.webitm.utility.ITMException;
public class AttdMonIC extends ValidatorEJB public class AttdMonIC extends ValidatorEJB
{ {
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
Document dom = null; Document dom = null;
...@@ -78,12 +78,12 @@ public class AttdMonIC extends ValidatorEJB ...@@ -78,12 +78,12 @@ public class AttdMonIC extends ValidatorEJB
userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode"); userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
userInfo=getUserInfo(); userInfo=getUserInfo();
siteCode=userInfo.getSiteCode(); siteCode=userInfo.getSiteCode();
if(objContext != null && objContext.trim().length()>0) if(objContext != null && objContext.trim().length()>0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
} }
String empCode="", prdCode="",workSite="",propDays="",paidDays="",joinDateStr=""; String empCode="", prdCode="",workSite="",propDays="",paidDays="",joinDateStr="";
String dateJoin="",relDate="",status="",workDays="",woffDays="",lvesTaken="",reliveDateStr=""; String dateJoin="",relDate="",status="",workDays="",woffDays="",lvesTaken="",reliveDateStr="";
double workDay=0,woffDay=0,lveTaken=0; double workDay=0,woffDay=0,lveTaken=0;
...@@ -91,7 +91,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -91,7 +91,7 @@ public class AttdMonIC extends ValidatorEJB
double propDaysDbl =0,paidDaysDbl=0; double propDaysDbl =0,paidDaysDbl=0;
SimpleDateFormat sdfDB = new SimpleDateFormat(genericUtility.getDBDateFormat()); SimpleDateFormat sdfDB = new SimpleDateFormat(genericUtility.getDBDateFormat());
SimpleDateFormat sdfApplFormat = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdfApplFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
switch(currentFormNo) switch(currentFormNo)
{ {
case 1: case 1:
...@@ -370,7 +370,15 @@ public class AttdMonIC extends ValidatorEJB ...@@ -370,7 +370,15 @@ public class AttdMonIC extends ValidatorEJB
} }
else if(workDays.length() > 0) else if(workDays.length() > 0)
{ {
workDay = Double.parseDouble(workDays); try
{
workDay = Double.parseDouble(workDays);
}
catch(Exception e)
{
errCode = genericUtility.getErrorString("work_days", "VTMONATD11", userId);
break;
}
if(workDay < 0) if(workDay < 0)
{ {
errCode = genericUtility.getErrorString("work_days", "VTMONATD04", userId); errCode = genericUtility.getErrorString("work_days", "VTMONATD04", userId);
...@@ -388,7 +396,15 @@ public class AttdMonIC extends ValidatorEJB ...@@ -388,7 +396,15 @@ public class AttdMonIC extends ValidatorEJB
} }
else if(woffDays.length() > 0) else if(woffDays.length() > 0)
{ {
woffDay = Double.parseDouble(woffDays); try
{
woffDay = Double.parseDouble(woffDays);
}
catch(Exception e)
{
errCode = genericUtility.getErrorString("woff_days", "VTMONATD12", userId);
break;
}
if(woffDay < 0) if(woffDay < 0)
{ {
errCode = genericUtility.getErrorString("woff_days", "VTMONATD06", userId); errCode = genericUtility.getErrorString("woff_days", "VTMONATD06", userId);
...@@ -406,7 +422,15 @@ public class AttdMonIC extends ValidatorEJB ...@@ -406,7 +422,15 @@ public class AttdMonIC extends ValidatorEJB
} }
if(lvesTaken.length() > 0) if(lvesTaken.length() > 0)
{ {
lveTaken = Double.parseDouble(lvesTaken); try
{
lveTaken = Double.parseDouble(lvesTaken);
}
catch(Exception e)
{
errCode = genericUtility.getErrorString("lves_taken", "VTMONATD13", userId);
break;
}
if(lveTaken < 0) if(lveTaken < 0)
{ {
errCode = genericUtility.getErrorString("lves_taken", "VTMONATD08", userId); errCode = genericUtility.getErrorString("lves_taken", "VTMONATD08", userId);
...@@ -479,7 +503,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -479,7 +503,7 @@ public class AttdMonIC extends ValidatorEJB
} }
return errCode; return errCode;
} }
public String itemChanged(String xmlString, String xmlStringHdr, String xmlStringAll, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException public String itemChanged(String xmlString, String xmlStringHdr, String xmlStringAll, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
Document dom = null, domHdr = null, domAll = null; Document dom = null, domHdr = null, domAll = null;
...@@ -507,7 +531,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -507,7 +531,7 @@ public class AttdMonIC extends ValidatorEJB
} }
return valueXmlString; return valueXmlString;
} }
public String itemChanged(Document dom, Document domHdr , Document domAll ,String objContext,String currentColumn, String editFlag ,String xtraParams) throws RemoteException public String itemChanged(Document dom, Document domHdr , Document domAll ,String objContext,String currentColumn, String editFlag ,String xtraParams) throws RemoteException
{ {
StringBuffer valueXmlString = new StringBuffer(); StringBuffer valueXmlString = new StringBuffer();
...@@ -521,7 +545,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -521,7 +545,7 @@ public class AttdMonIC extends ValidatorEJB
try try
{ {
con = getConnection(); con = getConnection();
String sql="",empCode="",empFname="",empLname="",status="",prdCode=""; String sql="",empCode="",empFname="",empLname="",status="",prdCode="",errCode="";
Date reliveDate = null,dateJoin=null; Date reliveDate = null,dateJoin=null;
String workDays="",woffDays="",lvesTaken="",withHeld=""; String workDays="",woffDays="",lvesTaken="",withHeld="";
double workDayCnt=0,woffDaysCnt=0,lvesTakenCnt=0; double workDayCnt=0,woffDaysCnt=0,lvesTakenCnt=0;
...@@ -529,15 +553,15 @@ public class AttdMonIC extends ValidatorEJB ...@@ -529,15 +553,15 @@ public class AttdMonIC extends ValidatorEJB
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
} }
String userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
logInEmpCode = getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode"); logInEmpCode = getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginSite = getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode"); loginSite = getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
SimpleDateFormat sdfApplFormat = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdfApplFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
BaseLogger.log("3", null, null, "["+this.getClass().getSimpleName()+"] [itemChanged(D)]:currentFormNo:"+currentFormNo); BaseLogger.log("3", null, null, "["+this.getClass().getSimpleName()+"] [itemChanged(D)]:currentFormNo:"+currentFormNo);
valueXmlString = new StringBuffer("<?xml version=\"1.0\" encoding=''?>\r\n<Root>\r\n<header>\r\n<editFlag>"); valueXmlString = new StringBuffer("<?xml version=\"1.0\" encoding=''?>\r\n<Root>\r\n<header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</header>\r\n"); valueXmlString.append(editFlag).append("</editFlag>\r\n</header>\r\n");
switch(currentFormNo) switch(currentFormNo)
{ {
case 1: case 1:
...@@ -559,7 +583,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -559,7 +583,7 @@ public class AttdMonIC extends ValidatorEJB
if("emp_code".equalsIgnoreCase(currentColumn)) if("emp_code".equalsIgnoreCase(currentColumn))
{ {
empCode = E12GenericUtility.checkNull(genericUtility.getColumnValue("emp_code", dom)); empCode = E12GenericUtility.checkNull(genericUtility.getColumnValue("emp_code", dom));
sql="select emp_lname, emp_fname, date_join, relieve_date, status from employee where emp_code=?"; sql="select emp_lname, emp_fname, date_join, relieve_date, status,with_held from employee where emp_code=?";
pStmt = con.prepareStatement(sql); pStmt = con.prepareStatement(sql);
pStmt.setString(1, empCode); pStmt.setString(1, empCode);
rs = pStmt.executeQuery(); rs = pStmt.executeQuery();
...@@ -570,6 +594,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -570,6 +594,7 @@ public class AttdMonIC extends ValidatorEJB
dateJoin = rs.getDate("date_join"); dateJoin = rs.getDate("date_join");
reliveDate = rs.getDate("relieve_date"); reliveDate = rs.getDate("relieve_date");
status = E12GenericUtility.checkNull(rs.getString("status")); status = E12GenericUtility.checkNull(rs.getString("status"));
withHeld = E12GenericUtility.checkNull(rs.getString("with_held"));
} }
if(rs!=null) if(rs!=null)
{ {
...@@ -583,6 +608,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -583,6 +608,7 @@ public class AttdMonIC extends ValidatorEJB
} }
valueXmlString.append("<emp_lname><![CDATA[").append(empLname).append("]]></emp_lname>"); valueXmlString.append("<emp_lname><![CDATA[").append(empLname).append("]]></emp_lname>");
valueXmlString.append("<emp_fname><![CDATA[").append(empFname).append("]]></emp_fname>"); valueXmlString.append("<emp_fname><![CDATA[").append(empFname).append("]]></emp_fname>");
valueXmlString.append("<with_held><![CDATA[").append(withHeld).append("]]></with_held>");
if(dateJoin!=null) if(dateJoin!=null)
{ {
valueXmlString.append("<date_join><![CDATA[").append(sdfApplFormat.format(dateJoin)).append("]]></date_join>"); valueXmlString.append("<date_join><![CDATA[").append(sdfApplFormat.format(dateJoin)).append("]]></date_join>");
...@@ -594,7 +620,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -594,7 +620,7 @@ public class AttdMonIC extends ValidatorEJB
valueXmlString.append("<status><![CDATA[").append(status).append("]]></status>"); valueXmlString.append("<status><![CDATA[").append(status).append("]]></status>");
} }
else if("work_days".equalsIgnoreCase(currentColumn)|| "woff_days".equalsIgnoreCase(currentColumn) else if("work_days".equalsIgnoreCase(currentColumn)|| "woff_days".equalsIgnoreCase(currentColumn)
|| "lves_taken".equalsIgnoreCase(currentColumn)) || "lves_taken".equalsIgnoreCase(currentColumn))
{ {
workDays = E12GenericUtility.checkNull(genericUtility.getColumnValue("work_days", dom)); workDays = E12GenericUtility.checkNull(genericUtility.getColumnValue("work_days", dom));
woffDays = E12GenericUtility.checkNull(genericUtility.getColumnValue("woff_days", dom)); woffDays = E12GenericUtility.checkNull(genericUtility.getColumnValue("woff_days", dom));
...@@ -607,7 +633,18 @@ public class AttdMonIC extends ValidatorEJB ...@@ -607,7 +633,18 @@ public class AttdMonIC extends ValidatorEJB
} }
else else
{ {
workDayCnt = Double.parseDouble(workDays); try
{
workDayCnt = Double.parseDouble(workDays);
}
catch(Exception e)
{
errCode = genericUtility.getErrorString("", "VTMONATD11", userId);
valueXmlString.append(errCode);
valueXmlString.append("</Detail1>\r\n");
valueXmlString.append("</Root>\r\n");
break;
}
} }
if(woffDays.length() <= 0) if(woffDays.length() <= 0)
{ {
...@@ -616,7 +653,18 @@ public class AttdMonIC extends ValidatorEJB ...@@ -616,7 +653,18 @@ public class AttdMonIC extends ValidatorEJB
} }
else else
{ {
woffDaysCnt = Double.parseDouble(woffDays); try
{
woffDaysCnt = Double.parseDouble(woffDays);
}
catch(Exception e)
{
errCode = genericUtility.getErrorString("", "VTMONATD13", userId);
valueXmlString.append(errCode);
valueXmlString.append("</Detail1>\r\n");
valueXmlString.append("</Root>\r\n");
break;
}
workDayCnt =workDayCnt+woffDaysCnt; workDayCnt =workDayCnt+woffDaysCnt;
} }
if(lvesTaken.length() <= 0) if(lvesTaken.length() <= 0)
...@@ -626,7 +674,18 @@ public class AttdMonIC extends ValidatorEJB ...@@ -626,7 +674,18 @@ public class AttdMonIC extends ValidatorEJB
} }
else else
{ {
lvesTakenCnt = Double.parseDouble(lvesTaken); try
{
lvesTakenCnt = Double.parseDouble(lvesTaken);
}
catch(Exception e)
{
errCode = genericUtility.getErrorString("", "VTMONATD12", userId);
valueXmlString.append(errCode);
valueXmlString.append("</Detail1>\r\n");
valueXmlString.append("</Root>\r\n");
break;
}
workDayCnt = workDayCnt+lvesTakenCnt; workDayCnt = workDayCnt+lvesTakenCnt;
} }
if(withHeld.equalsIgnoreCase("Y")) if(withHeld.equalsIgnoreCase("Y"))
...@@ -637,7 +696,7 @@ public class AttdMonIC extends ValidatorEJB ...@@ -637,7 +696,7 @@ public class AttdMonIC extends ValidatorEJB
{ {
valueXmlString.append("<paid_days><![CDATA[").append(workDayCnt).append("]]></paid_days>"); valueXmlString.append("<paid_days><![CDATA[").append(workDayCnt).append("]]></paid_days>");
} }
} }
valueXmlString.append("</Detail1>\r\n"); valueXmlString.append("</Detail1>\r\n");
valueXmlString.append("</Root>\r\n"); valueXmlString.append("</Root>\r\n");
...@@ -674,5 +733,5 @@ public class AttdMonIC extends ValidatorEJB ...@@ -674,5 +733,5 @@ public class AttdMonIC extends ValidatorEJB
} }
return valueXmlString.toString(); return valueXmlString.toString();
} }
} }
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.BaseLogger;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
public class EmpTransferSqlIc extends ValidatorEJB
{
E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = "";
try
{
if(xmlString != null && xmlString.trim().length() > 0)
{
dom = genericUtility.parseString(xmlString);
}
if(xmlString1 != null && xmlString1.trim().length() > 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if(xmlString2 != null && xmlString2.trim().length() > 0)
{
dom2 = genericUtility.parseString(xmlString2);
}
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
}
catch(Exception e)
{
BaseLogger.log("0", null, null, "Exception EmpTransferSqlIc : [wfValData(S)] " + e.getMessage());
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
return errString;
}
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
NodeList parentNodeList = null , childNodeList = null;
Node parentNode = null , childNode = null;
String childNodeName = "" , errCode = "", userId = "";
Connection conn = null;
PreparedStatement pStmt = null;
ResultSet rs = null;
ITMDBAccessEJB itmdbAccessEJB = new ITMDBAccessEJB();
int currentFormNo = 0, childNodeListLen = 0 , columnCtr = 0 , rowCnt = 0;
try
{
conn = getConnection();
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
String whereCondition = "", tableName = "", confirmCondition = "" , sql = "", loginSite = "", maxEmpCode = "", sqlSelect = "", tableNo = "";
loginSite = getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
switch(currentFormNo)
{
case 1:
parentNodeList = dom.getElementsByTagName("Detail1");
int parentNodeListLen = parentNodeList.getLength();
for(columnCtr = 0;columnCtr < parentNodeListLen;columnCtr++)
{
parentNode = parentNodeList.item(columnCtr);
childNodeList = parentNode.getChildNodes();
childNodeListLen = childNodeList.getLength();
for(rowCnt = 0; rowCnt < childNodeListLen ; rowCnt++)
{
childNode = childNodeList.item(rowCnt);
childNodeName = childNode.getNodeName();
BaseLogger.log("3", null , null , "chilNodeNameSP:"+childNodeName);
if("table_name".equalsIgnoreCase(childNodeName))
{
int count = 0;
String tableNames = "";
tableName = E12GenericUtility.checkNull(genericUtility.getColumnValue("table_name", dom));
tableNo = E12GenericUtility.checkNull(genericUtility.getColumnValue("table_no", dom));
sql ="select table_name from emptransfersql where table_no = ?";
pStmt = conn.prepareStatement(sql);
pStmt.setString(1, tableNo);
rs = pStmt.executeQuery();
while(rs.next())
{
tableNames = rs.getString("table_name");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pStmt != null)
{
pStmt.close();
pStmt = null;
}
if(tableName.length() == 0)
{
//errCode = itmdbAccessEJB.getErrorString("table_name", "VTTABNULL", userId);
errCode = itmdbAccessEJB.getErrorString("table_name", "VTTABNULL", userId, "", conn);
break;
}
sql = "select count(1) from emptransfersql where table_name = ?";
pStmt = conn.prepareStatement(sql);
pStmt.setString(1, tableName);
rs = pStmt.executeQuery();
while(rs.next())
{
count = rs.getInt(1);
BaseLogger.log("3", null , null , "count:"+count);
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pStmt != null)
{
pStmt.close();
pStmt = null;
}
if((count > 0) && (!tableName.equalsIgnoreCase(tableNames)))
{
BaseLogger.log("3", null , null , "Inside the error"+tableNames);
errCode = itmdbAccessEJB.getErrorString("table_name", "VTTABNAME", userId, "", conn);
break;
}
}
else if("sqlselect".equalsIgnoreCase(childNodeName))
{
sqlSelect = E12GenericUtility.checkNull(genericUtility.getColumnValue("sqlselect", dom));
try
{
sqlSelect = sqlSelect + " where 1 =?";
pStmt = conn.prepareStatement(sqlSelect);
pStmt.setString(1, "2");
rs = pStmt.executeQuery();
if(rs != null)
{
rs.close();
rs = null;
}
if(pStmt != null)
{
pStmt.close();
pStmt = null;
}
}
catch(Exception e)
{
errCode = itmdbAccessEJB.getErrorString("table_name", "VTSQLSELE", userId, "", conn);
}
}
else if("where_cond".equalsIgnoreCase(childNodeName))
{
tableName = E12GenericUtility.checkNull(genericUtility.getColumnValue("table_name", dom));
whereCondition = E12GenericUtility.checkNull(genericUtility.getColumnValue("where_cond", dom));
if(whereCondition != null)
{
sql= "select count(1) from "+ tableName +" "+whereCondition;
sql = "select max(emp_code) as empCode from employee where work_site = ?";
pStmt = conn.prepareStatement(sql);
pStmt.setString( 1 , loginSite);
rs = pStmt.executeQuery();
while(rs.next())
{
maxEmpCode = rs.getString("empCode");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pStmt != null)
{
pStmt.close();
pStmt = null;
}
if(maxEmpCode.length() <= 0)
{
errCode = itmdbAccessEJB.getErrorString("table_name", "VTWHERECON", userId, "", conn);
}
}
}
else if("confirm_condition".equalsIgnoreCase(childNodeName))
{
tableName = E12GenericUtility.checkNull(genericUtility.getColumnValue("table_name", dom));
whereCondition = E12GenericUtility.checkNull(genericUtility.getColumnValue("where_cond", dom));
confirmCondition = E12GenericUtility.checkNull(genericUtility.getColumnValue("confirm_condition", dom));
if(whereCondition.length() != 0)
{
if(confirmCondition.length() != 0)
{
sql = "select count(*) from "+tableName+""+whereCondition+"and "+confirmCondition;
sql = "select max(emp_code) as empCode from employee where work_site = ?";
pStmt = conn.prepareStatement(sql);
pStmt.setString( 1 , loginSite);
rs = pStmt.executeQuery();
while(rs.next())
{
maxEmpCode = rs.getString("empCode");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pStmt != null)
{
pStmt.close();
pStmt = null;
}
if(maxEmpCode.length() <= 0)
{
errCode = itmdbAccessEJB.getErrorString("table_name", "VTWHERECON", userId, "", conn);
break;
}
}
}
else
{
errCode = itmdbAccessEJB.getErrorString("table_name", "VTWHERECLA", userId, "", conn);
break;
}
}
}
}
}
}
catch(Exception e)
{
BaseLogger.log("0", null, null, "Exception EmptransferSqlIc: [wfValData(S)] " + e.getMessage());
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pStmt != null)
{
pStmt.close();
pStmt = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
}
catch(Exception e)
{
BaseLogger.log("0", null, null, "Exception EmpTransferSqlIc : [wfValData(S)] " + e.getMessage());
}
}
return errCode;
}
public String itemChanged(String xmlString, String xmlStringHdr, String xmlStringAll, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null, domHdr = null, domAll = null;
String valueXmlString = "";
try
{
if (xmlString != null && xmlString.trim().length() > 0)
{
System.out.println("xmlString:"+xmlString);
dom = genericUtility.parseString(xmlString);
}
if (xmlStringHdr != null && xmlStringHdr.trim().length() > 0)
{
domHdr = genericUtility.parseString(xmlStringHdr);
}
if (xmlStringAll != null && xmlStringAll.trim().length() > 0)
{
domAll = genericUtility.parseString(xmlStringAll);
}
valueXmlString = itemChanged(dom, domHdr, domAll, objContext, currentColumn, editFlag, xtraParams);
}
catch (Exception e)
{
BaseLogger.log("0", null, null, "Exception EmpTransferSqlIc: [itemChanged(S)] " + e.getMessage());
throw new ITMException(e);
}
return valueXmlString;
}
public String itemChanged(Document dom, Document domHdr , Document domAll ,String objContext,String currentColumn, String editFlag ,String xtraParams) throws RemoteException
{
StringBuffer valueXmlString = new StringBuffer();
Connection con = null;
PreparedStatement pStmt = null;
ResultSet rs = null;
int currentFormNo=0;
try
{
con = getConnection();
SimpleDateFormat sdfApplFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
if(objContext!=null)
{
currentFormNo = Integer.parseInt(objContext);
}
String tableName="",primaryKey="",sqlSelect="",sql="";
valueXmlString = new StringBuffer("<?xml version=\"1.0\" encoding=''?>\r\n<Root>\r\n<header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</header>\r\n");
switch(currentFormNo)
{
case 1:
valueXmlString.append("<Detail1>\r\n");
if("itm_default".equalsIgnoreCase(currentColumn))
{
String loginCode=getValueFromXTRA_PARAMS(xtraParams,"loginCode");
String chgTerm=getValueFromXTRA_PARAMS( xtraParams, "chgTerm" );
Date currentDate = new Date();
valueXmlString.append( "<chg_date><![CDATA[" ).append(sdfApplFormat.format(currentDate).toString()).append( "]]></chg_date>\r\n" );
valueXmlString.append( "<chg_user><![CDATA[" ).append(loginCode).append( "]]></chg_user >\r\n" );
valueXmlString.append( "<chg_term><![CDATA[" ).append(chgTerm).append( "]]></chg_term>\r\n" );
if("A".equalsIgnoreCase(editFlag))
{
valueXmlString.append( "<table_name_old><![CDATA[" ).append("").append( "]]></table_name_old>\r\n" );
}
}
else if("table_name".equalsIgnoreCase(currentColumn))
{
tableName = E12GenericUtility.checkNull(genericUtility.getColumnValue("table_name", dom));
System.out.println("tableName:"+tableName);
sql = "select ddf_create_prim(?) as primarykey from dual";
pStmt = con.prepareStatement(sql);
pStmt.setString(1, tableName);
rs = pStmt.executeQuery();
while(rs.next())
{
primaryKey = rs.getString("primarykey");
}
if(rs!=null)
{
rs.close();
rs = null;
}
if(pStmt!=null)
{
pStmt.close();
pStmt = null;
}
sql="select ddf_create_select(?) as selectTable from dual";
pStmt = con.prepareStatement(sql);
pStmt.setString(1, tableName);
rs = pStmt.executeQuery();
while(rs.next())
{
sqlSelect = rs.getString("selectTable");
}
if(rs!=null)
{
rs.close();
rs = null;
}
if(pStmt!=null)
{
pStmt.close();
pStmt = null;
}
valueXmlString.append("<prim_key><![CDATA[").append(primaryKey).append("]]></prim_key>");
valueXmlString.append("<sqlselect><![CDATA[").append(sqlSelect).append("]]></sqlselect>");
valueXmlString.append( "<table_name_old><![CDATA[" ).append(tableName).append( "]]></table_name_old>\r\n" );
}
valueXmlString.append("</Detail1>\r\n");
valueXmlString.append("</Root>\r\n");
}
}
catch(Exception e)
{
BaseLogger.log("0", null, null, "Exception EmpTransferSqlIc : [itemChanged(S)] " + e.getMessage());
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pStmt != null)
{
pStmt.close();
pStmt = null;
}
if(con != null)
{
con.close();
con = null;
}
}
catch(Exception e)
{
BaseLogger.log("0", null, null, "Exception EmpTransferSqlIc : [itemChanged(S)] " + e.getMessage());
}
}
return valueXmlString.toString();
}
}
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