Commit 5ef7c52d authored by dpingle's avatar dpingle

* changes done for Business Function- obj_name: businessfunction

BusinessFunction.java
businessfunction11.xml
businessfunction21.xml
d_businessfunction21.srd
w_businessfunction.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205066 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 721c5504
...@@ -6,12 +6,14 @@ import java.sql.PreparedStatement; ...@@ -6,12 +6,14 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.util.ArrayList; import java.util.ArrayList;
import ibase.system.config.ConnDriver; //import ibase.system.config.ConnDriver;
import ibase.utility.GenericUtility; import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
//import ibase.utility.GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Stateless; //import javax.ejb.Stateless;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
...@@ -20,7 +22,10 @@ import org.w3c.dom.NodeList; ...@@ -20,7 +22,10 @@ import org.w3c.dom.NodeList;
/** /**
* Session Bean implementation class BusinessFunction * Session Bean implementation class BusinessFunction
*/ */
@Stateless
//Modified By Dipesh on[05/08/2019][Start]
//@Stateless
//Modified By Dipesh on[05/08/2019][End]
public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRemote, BusinessFunctionLocal public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRemote, BusinessFunctionLocal
{ {
public String wfValData() throws RemoteException, ITMException public String wfValData() throws RemoteException, ITMException
...@@ -34,7 +39,10 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe ...@@ -34,7 +39,10 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe
Document dom1 = null; Document dom1 = null;
Document dom2 = null; Document dom2 = null;
String errString = ""; String errString = "";
GenericUtility genericUtility = GenericUtility.getInstance(); //Modified By Dipesh on[05/08/2019][Start]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//Modified By Dipesh on[05/08/2019][End]
try try
{ {
if (xmlString != null && xmlString.trim().length() != 0) if (xmlString != null && xmlString.trim().length() != 0)
...@@ -77,19 +85,26 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe ...@@ -77,19 +85,26 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe
ResultSet rs = null; ResultSet rs = null;
String msgType = ""; String msgType = "";
//Modified By Dipesh on[05/08/2019][Start]
GenericUtility genericUtility = null; //GenericUtility genericUtility = null;
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDbAccess = null;
//Modified By Dipesh on[05/08/2019][End]
ArrayList<String> errList = new ArrayList<String>(); ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>(); ArrayList<String> errFields = new ArrayList<String>();
try try
{ {
ConnDriver connDriver = new ConnDriver(); //Modified By Dipesh on[05/08/2019][Start]
conn = connDriver.getConnectDB("DriverITM"); //ConnDriver connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
conn=getConnection();
itmDbAccess =new ITMDBAccessEJB();
//Modified By Dipesh on[05/08/2019][End]
conn.setAutoCommit(false); conn.setAutoCommit(false);
genericUtility = GenericUtility.getInstance(); //genericUtility = GenericUtility.getInstance();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"); userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
if (objContext != null && objContext.trim().length() > 0) if (objContext != null && objContext.trim().length() > 0)
...@@ -312,8 +327,10 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe ...@@ -312,8 +327,10 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe
String errCode = (String) errList.get(cnt); String errCode = (String) errList.get(cnt);
String errFldName = (String) errFields.get(cnt); String errFldName = (String) errFields.get(cnt);
System.out.println("errCode .........." + errCode); System.out.println("errCode .........." + errCode);
//Modified By Dipesh on[05/08/2019][Start]
errString = getErrorString(errFldName, errCode, userId); //errString = getErrorString(errFldName, errCode, userId);
errString = itmDbAccess.getErrorString(errFldName, errCode, userId, "", conn);
//Modified By Dipesh on[05/08/2019][End]
System.out.println("errString is : ::::>>>> " + errString); System.out.println("errString is : ::::>>>> " + errString);
msgType = errorType(conn, errCode); msgType = errorType(conn, errCode);
if (errString.length() > 0) if (errString.length() > 0)
...@@ -353,8 +370,7 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe ...@@ -353,8 +370,7 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe
{ {
try try
{ {
if (conn != null)
{
if (rs != null) if (rs != null)
{ {
rs.close(); rs.close();
...@@ -365,10 +381,13 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe ...@@ -365,10 +381,13 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
if (conn != null)
{
conn.close(); conn.close();
}
conn = null; conn = null;
} }
}
catch (Exception d) catch (Exception d)
{ {
d.printStackTrace(); d.printStackTrace();
...@@ -430,11 +449,14 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe ...@@ -430,11 +449,14 @@ public class BusinessFunction extends ValidatorEJB implements BusinessFunctionRe
{ {
input = ""; input = "";
} }
else //Modified By Dipesh on[05/08/2019][Start]
/*else
{ {
input = input.trim(); input = input.trim();
} }*/
//Modified By Dipesh on[05/08/2019][End]
return input; return input;
} }
} }
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 ('HRM',2,40,0,0,0,'w_businessfunction','Business Functions','Business Functions','HRM.2.40.0.0.0','e12_logo.gif',null,null,'T',to_date('2017-11-16','RRRR-MM-DD'),'Vinuth ','Vinuth ',null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('businessfunction',21,'Q','1','audit_trail','View Audit Trail','View Audit','menu.bmp','1','1','1','U',null,to_date('2018-09-12','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ',null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('businessfunction',1,'A','a','a','Add New','Add','add.gif','1',null,null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH ',null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('businessfunction',2,'E','a','a','Edit','Edit','edit.gif','1',null,null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH ',null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('businessfunction',3,'D','a','a','Delete','Delete','delete.gif','1',null,null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH ',null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('businessfunction',22,'O','1','export_excel','Export Excel','Export','Download.gif','1','1','1','U',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH ',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,SCAN_FLAG,SCAN_METADATA,AUTO_ACCEPT_SCAN,PROPERTY_INFO,SCAN_DELIMITER,EXT_COM,EXT_METADATA,EXT_SETUP,AFTER_SAVE,COLUMN_ON_SAVE,AUTO_ACCEPT_WEIGHDATA,RATE_COL,QTY_COL,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,FREEZE_COL_POS,DEFAULT_ROW_CNT,IS_MANDATORY,TRAN_ID_COL,KEY_INFO,SELECTION_OPT,THUMB_OBJ,THUMB_IMAGE_COL,FORM_NAME,FORM_ICON,THUMB_ALT_COL) values ('w_businessfunction','Business Functions','d_businessfunction11','d_businessfunction21',null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('businessfunction','export_excel','1','export_excel_adm',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH',null,null,null,null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('businessfunction','post_validate','1','post_gen_val',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH','2','0','EJB','GenValidate',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('businessfunction','pre_validate','1','prv_businessfunction',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH','2','0','EJB','BusinessFunction',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('businessfunction','audit_trail','1','project_audit_trail_adm',null,to_date('2018-10-17','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV','2','0',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM) values ('export_excel_adm','Calling Export Excel','/ibase/webitm/jsp/E12ExportToExcel.jsp',null,'doPost',null,null,null,null,to_date('2017-06-21','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV');
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM) values ('post_gen_val','validation','http://localhost/axis/services/ValidatorService','BASE iformation','wfValData','String','S',null,null,to_date('2012-06-01','RRRR-MM-DD'),'ALKA ','BASE');
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM) values ('prv_businessfunction','To validate the required fields','http://localhost:9090/axis/services/ValidatorService','base','wfValData','String','S',null,null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH');
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM) values ('project_audit_trail_adm','calling audit log jsp','/ibase/webitm/jsp/ITMAuditForms.jsp',null,'doPost',null,null,null,null,to_date('2018-02-14','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',1,'COMPONENT_TYPE','I',null,'C.String',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218','EJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',2,'COMPONENT_NAME','I',null,'C.String',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218','GenValidate');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',3,'XML_DATA','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',4,'XML_DATA_ALL','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',5,'XML_DATA_ALL','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',6,'OBJ_CONTEXT','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',7,'WIN_NAME','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',8,'XTRA_PARAMS','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_businessfunction',1,'COMPONENT_TYPE','I',null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH','EJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_businessfunction',2,'COMPONENT_NAME','I',null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH','BusinessFunction');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_businessfunction',3,'XML_DATA','I',null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_businessfunction',4,'XML_DATA_1','I',null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_businessfunction',5,'XML_DATA_ALL','I',null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_businessfunction',6,'OBJ_CONTEXT','I',null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_businessfunction',7,'EDIT_FLAG','I',null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_businessfunction',8,'XTRA_PARAMS','I',null,'S',null,to_date('2017-11-16','RRRR-MM-DD'),'VINUTH ','VINUTH',null);
update system_events set comp_type = 'JB', comp_name = 'ibase.webitm.ejb.adm.BusinessFunction', service_code = 'prv_default_ejb' where event_code = 'pre_validate' and obj_name = 'businessfunction';
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 ('ADP',4,58,0,0,0,'w_businessfunction','Business Functions','Business Functions','ADP.4.58.0.0.0','e12_logo.gif',null,null,'T',to_date('2017-11-16','RRRR-MM-DD'),'Vinuth','Vinuth',null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values
('businessfunction',44,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'1',null,null);
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
<height>0</height> <height>240</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>206</height> <height>415</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
...@@ -122,53 +122,39 @@ ...@@ -122,53 +122,39 @@
</TableDefinition> </TableDefinition>
<GroupBox> <GroupBox>
<band>Detail</band> <band>Detail</band>
<text>Basic</text> <text>Others</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>7</x> <x>6</x>
<y>6</y> <y>116</y>
<height>186</height> <height>110</height>
<width>426</width> <width>427</width>
<name>gb_1</name> <name>gb_2</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>553648127</color>
</background> </background>
</GroupBox> </GroupBox>
<ColumnObject> <GroupBox>
<band>Detail</band> <band>Detail</band>
<id>1</id> <text>Basic</text>
<alignment>0</alignment> <border>5</border>
<tabsequence>10</tabsequence>
<border>0</border>
<color>33554432</color> <color>33554432</color>
<x>127</x> <x>6</x>
<y>28</y> <y>10</y>
<height>14</height> <height>96</height>
<width>52</width> <width>426</width>
<format>[general]</format> <name>gb_1</name>
<html>
<valueishtml>0</valueishtml>
</html>
<name>func_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -178,46 +164,46 @@ ...@@ -178,46 +164,46 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</ColumnObject> </GroupBox>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>1</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>10</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>127</x> <x>127</x>
<y>120</y> <y>28</y>
<height>14</height> <height>14</height>
<width>86</width> <width>292</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>add_term</name> <name>func_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>15</limit> <limit>5</limit>
<case>any</case> <case>upper</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <TextObject>
...@@ -226,7 +212,7 @@ ...@@ -226,7 +212,7 @@
<text>Function Code:</text> <text>Function Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>14</x> <x>12</x>
<y>28</y> <y>28</y>
<height>14</height> <height>14</height>
<width>110</width> <width>110</width>
...@@ -236,10 +222,10 @@ ...@@ -236,10 +222,10 @@
<name>func_code_t</name> <name>func_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -264,10 +250,10 @@ ...@@ -264,10 +250,10 @@
<name>descr_t</name> <name>descr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -292,10 +278,10 @@ ...@@ -292,10 +278,10 @@
<name>sh_descr_t</name> <name>sh_descr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -304,82 +290,102 @@ ...@@ -304,82 +290,102 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>2</id>
<text>Add Date:</text> <alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>14</x> <x>127</x>
<y>97</y> <y>51</y>
<height>14</height> <height>14</height>
<width>110</width> <width>292</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>add_date_t</name> <name>descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>120</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>3</id>
<text>Add Term:</text> <alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>14</x> <x>126</x>
<y>120</y> <y>74</y>
<height>14</height> <height>14</height>
<width>110</width> <width>292</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>add_term_t</name> <name>sh_descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>40</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change Terminal:</text> <text>Add Date:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>14</x> <x>18</x>
<y>166</y> <y>134</y>
<height>14</height> <height>14</height>
<width>110</width> <width>110</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>add_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -390,62 +396,60 @@ ...@@ -390,62 +396,60 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>255</color>
<x>127</x> <x>131</x>
<y>166</y> <y>134</y>
<height>14</height> <height>14</height>
<width>86</width> <width>98</width>
<format>[general]</format> <format>dd/mm/yy hh:mm:ss</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>add_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="editmask">
<limit>15</limit> <useformat>yes</useformat>
<case>any</case> <mask>dd/mm/yy hh:mm:ss</mask>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change Date:</text> <text>Add User:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>14</x> <x>244</x>
<y>143</y> <y>135</y>
<height>14</height> <height>14</height>
<width>110</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>add_user_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -456,106 +460,100 @@ ...@@ -456,106 +460,100 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>5</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>255</color>
<x>127</x> <x>332</x>
<y>97</y> <y>134</y>
<height>14</height> <height>14</height>
<width>98</width> <width>91</width>
<format>dd/mm/yy hh:mm:ss</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>add_date</name> <name>add_user</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<useformat>yes</useformat> <limit>10</limit>
<mask>dd/mm/yy hh:mm:ss</mask> <case>any</case>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>255</color>
<x>127</x> <x>131</x>
<y>143</y> <y>157</y>
<height>14</height> <height>14</height>
<width>98</width> <width>97</width>
<format>dd/mm/yy</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>add_term</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<useformat>yes</useformat> <limit>15</limit>
<mask>dd/mm/yy hh:mm:ss</mask> <case>any</case>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Add Term:</text>
<tabsequence>20</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>127</x> <x>18</x>
<y>51</y> <y>157</y>
<height>14</height> <height>14</height>
<width>292</width> <width>110</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>descr</name> <name>add_term_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>120</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -563,37 +561,27 @@ ...@@ -563,37 +561,27 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Change Date:</text>
<tabsequence>30</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>127</x> <x>18</x>
<y>74</y> <y>180</y>
<height>14</height> <height>14</height>
<width>292</width> <width>110</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>sh_descr</name> <name>chg_date_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>40</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -601,43 +589,51 @@ ...@@ -601,43 +589,51 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>7</id>
<text>Add User:</text> <alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>255</color>
<x>240</x> <x>131</x>
<y>97</y> <y>180</y>
<height>14</height> <height>14</height>
<width>85</width> <width>98</width>
<format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>add_user_t</name> <name>chg_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask">
<useformat>yes</useformat>
<mask>dd/mm/yy hh:mm:ss</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change User:</text> <text>Change User:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>240</x> <x>244</x>
<y>143</y> <y>180</y>
<height>14</height> <height>14</height>
<width>85</width> <width>85</width>
<html> <html>
...@@ -646,10 +642,10 @@ ...@@ -646,10 +642,10 @@
<name>chg_user_t</name> <name>chg_user_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -660,20 +656,20 @@ ...@@ -660,20 +656,20 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>255</color>
<x>328</x> <x>332</x>
<y>97</y> <y>180</y>
<height>14</height> <height>14</height>
<width>91</width> <width>91</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>add_user</name> <name>chg_user</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
...@@ -684,37 +680,37 @@ ...@@ -684,37 +680,37 @@
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>255</color>
<x>328</x> <x>131</x>
<y>143</y> <y>203</y>
<height>14</height> <height>14</height>
<width>91</width> <width>99</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>chg_term</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>15</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -722,10 +718,38 @@ ...@@ -722,10 +718,38 @@
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Terminal:</text>
<border>0</border>
<color>33554432</color>
<x>18</x>
<y>203</y>
<height>14</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -733,7 +757,7 @@ ...@@ -733,7 +757,7 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -2,9 +2,9 @@ $PBExportHeader$d_businessfunction21.srd ...@@ -2,9 +2,9 @@ $PBExportHeader$d_businessfunction21.srd
release 9; release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no ) datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
header(height=3 color="536870912" ) header(height=3 color="536870912" )
summary(height=0 color="536870912" ) summary(height=240 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=206 color="536870912" ) detail(height=415 color="536870912" )
table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=func_code dbname="busi_functions.func_code" ) table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=func_code dbname="busi_functions.func_code" )
column=(type=char(120) update=yes updatewhereclause=yes name=descr dbname="busi_functions.descr" ) column=(type=char(120) update=yes updatewhereclause=yes name=descr dbname="busi_functions.descr" )
column=(type=char(40) update=yes updatewhereclause=yes name=sh_descr dbname="busi_functions.sh_descr" ) column=(type=char(40) update=yes updatewhereclause=yes name=sh_descr dbname="busi_functions.sh_descr" )
...@@ -15,25 +15,26 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=func_co ...@@ -15,25 +15,26 @@ table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=func_co
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="busi_functions.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="busi_functions.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="busi_functions.chg_term" ) column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="busi_functions.chg_term" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"busi_functions~" ) COLUMN(NAME=~"busi_functions.func_code~") COLUMN(NAME=~"busi_functions.descr~") COLUMN(NAME=~"busi_functions.sh_descr~") COLUMN(NAME=~"busi_functions.add_date~") COLUMN(NAME=~"busi_functions.add_user~") COLUMN(NAME=~"busi_functions.add_term~") COLUMN(NAME=~"busi_functions.chg_date~") COLUMN(NAME=~"busi_functions.chg_user~") COLUMN(NAME=~"busi_functions.chg_term~")WHERE( EXP1 =~"~~~"BUSI_FUNCTIONS~~~".~~~"FUNC_CODE~~~"~" OP =~"=~" EXP2 =~":func_code~" ) ) ARG(NAME = ~"func_code~" TYPE = string) " update="BUSI_FUNCTIONS" updatewhere=1 updatekeyinplace=no arguments=(("func_code", string)) ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"busi_functions~" ) COLUMN(NAME=~"busi_functions.func_code~") COLUMN(NAME=~"busi_functions.descr~") COLUMN(NAME=~"busi_functions.sh_descr~") COLUMN(NAME=~"busi_functions.add_date~") COLUMN(NAME=~"busi_functions.add_user~") COLUMN(NAME=~"busi_functions.add_term~") COLUMN(NAME=~"busi_functions.chg_date~") COLUMN(NAME=~"busi_functions.chg_user~") COLUMN(NAME=~"busi_functions.chg_term~")WHERE( EXP1 =~"~~~"BUSI_FUNCTIONS~~~".~~~"FUNC_CODE~~~"~" OP =~"=~" EXP2 =~":func_code~" ) ) ARG(NAME = ~"func_code~" TYPE = string) " update="BUSI_FUNCTIONS" updatewhere=1 updatekeyinplace=no arguments=(("func_code", string)) )
groupbox(band=detail text="Basic"border="5" color="33554432" x="7" y="6" height="186" width="426" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) groupbox(band=detail text="Others"border="5" color="33554432" x="6" y="116" height="110" width="427" name=gb_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="127" y="28" height="14" width="52" format="[general]" html.valueishtml="0" name=func_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) groupbox(band=detail text="Basic"border="5" color="33554432" x="6" y="10" height="96" width="426" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="127" y="120" height="14" width="86" format="[general]" html.valueishtml="0" name=add_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="127" y="28" height="14" width="292" format="[general]" html.valueishtml="0" name=func_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Function Code:" border="0" color="33554432" x="14" y="28" height="14" width="110" html.valueishtml="0" name=func_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Function Code:" border="0" color="33554432" x="12" y="28" height="14" width="110" html.valueishtml="0" name=func_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Description:" border="0" color="33554432" x="14" y="51" height="14" width="110" html.valueishtml="0" name=descr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Description:" border="0" color="33554432" x="14" y="51" height="14" width="110" html.valueishtml="0" name=descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Short Description:" border="0" color="33554432" x="14" y="74" height="14" width="110" html.valueishtml="0" name=sh_descr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Short Description:" border="0" color="33554432" x="14" y="74" height="14" width="110" html.valueishtml="0" name=sh_descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Add Date:" border="0" color="33554432" x="14" y="97" height="14" width="110" html.valueishtml="0" name=add_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=2 alignment="0" tabsequence=20 border="0" color="33554432" x="127" y="51" height="14" width="292" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=120 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Add Term:" border="0" color="33554432" x="14" y="120" height="14" width="110" html.valueishtml="0" name=add_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=3 alignment="0" tabsequence=30 border="0" color="33554432" x="126" y="74" height="14" width="292" format="[general]" html.valueishtml="0" name=sh_descr visible="1" edit.limit=40 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Change Terminal:" border="0" color="33554432" x="14" y="166" height="14" width="110" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Add Date:" border="0" color="33554432" x="18" y="134" height="14" width="110" html.valueishtml="0" name=add_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="127" y="166" height="14" width="86" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="255" x="131" y="134" height="14" width="98" format="dd/mm/yy hh:mm:ss" html.valueishtml="0" name=add_date visible="1" editmask.useformat=yes editmask.mask="dd/mm/yy hh:mm:ss" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Change Date:" border="0" color="33554432" x="14" y="143" height="14" width="110" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Add User:" border="0" color="33554432" x="244" y="135" height="14" width="85" html.valueishtml="0" name=add_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="127" y="97" height="14" width="98" format="dd/mm/yy hh:mm:ss" html.valueishtml="0" name=add_date visible="1" editmask.useformat=yes editmask.mask="dd/mm/yy hh:mm:ss" editmask.imemode=0 editmask.focusrectangle=no font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="255" x="332" y="134" height="14" width="91" format="[general]" html.valueishtml="0" name=add_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="127" y="143" height="14" width="98" format="dd/mm/yy" html.valueishtml="0" name=chg_date visible="1" editmask.useformat=yes editmask.mask="dd/mm/yy hh:mm:ss" editmask.imemode=0 editmask.focusrectangle=no font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="255" x="131" y="157" height="14" width="97" format="[general]" html.valueishtml="0" name=add_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=20 border="0" color="33554432" x="127" y="51" height="14" width="292" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=120 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Add Term:" border="0" color="33554432" x="18" y="157" height="14" width="110" html.valueishtml="0" name=add_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=30 border="0" color="33554432" x="127" y="74" height="14" width="292" format="[general]" html.valueishtml="0" name=sh_descr visible="1" edit.limit=40 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Change Date:" border="0" color="33554432" x="18" y="180" height="14" width="110" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Add User:" border="0" color="33554432" x="240" y="97" height="14" width="85" html.valueishtml="0" name=add_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="255" x="131" y="180" height="14" width="98" format="dd/mm/yy" html.valueishtml="0" name=chg_date visible="1" editmask.useformat=yes editmask.mask="dd/mm/yy hh:mm:ss" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="240" y="143" height="14" width="85" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="244" y="180" height="14" width="85" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="328" y="97" height="14" width="91" format="[general]" html.valueishtml="0" name=add_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="255" x="332" y="180" height="14" width="91" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="328" y="143" height="14" width="91" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="255" x="131" y="203" height="14" width="99" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Change Terminal:" border="0" color="33554432" x="18" y="203" height="14" width="110" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
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