Commit 22119679 authored by aali's avatar aali

Updated source


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106461 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f743895c
...@@ -457,7 +457,16 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC ...@@ -457,7 +457,16 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
errFields.add( childNodeName.toLowerCase() ); errFields.add( childNodeName.toLowerCase() );
} }
} }
//Modified by Ahmed on 27/Jul/2017[To validate when payroll_voucher is P and adjust_loan is yes][start]
String adjustLoan = checkNull(genericUtility.getColumnValue("adjust_loan", currDom));
System.out.println("payrollvoucher>>"+payrollVoucher);
System.out.println("adjustLoan>>"+adjustLoan);
if("P".equalsIgnoreCase(payrollVoucher) && !"N".equalsIgnoreCase(adjustLoan))
{
errList.add("VMPRKPAYV1");
errFields.add(childNodeName.toLowerCase());
}
//Modified by Ahmed on 27/Jul/2017[To validate when payroll_voucher is P and adjust_loan is yes][end]
} }
//Modified By Hemlata on [29/05/2015][To validate payroll period in period table][Start] //Modified By Hemlata on [29/05/2015][To validate payroll period in period table][Start]
else if ( "payroll_prd".equalsIgnoreCase( childNodeName ) ) else if ( "payroll_prd".equalsIgnoreCase( childNodeName ) )
......
...@@ -1989,8 +1989,8 @@ public class PerkClaimProcess extends ValidatorEJB implements ...@@ -1989,8 +1989,8 @@ public class PerkClaimProcess extends ValidatorEJB implements
} }
} }
} }
System.out.println("site_code__from..."); //System.out.println("site_code__from...");
if (childNodeName.equalsIgnoreCase("site_code__from")) { else if (childNodeName.equalsIgnoreCase("site_code__from")) {
int level = 0; int level = 0;
...@@ -2070,6 +2070,24 @@ public class PerkClaimProcess extends ValidatorEJB implements ...@@ -2070,6 +2070,24 @@ public class PerkClaimProcess extends ValidatorEJB implements
} }
} }
//Modified by Ahmed on 27/Jul/2017[To validate when payroll_voucher is P and adjust_loan is yes][start]
else if("payroll_voucher".equalsIgnoreCase(childNodeName))
{
payrollvoucher = checkNull(genericUtility.getColumnValue("payroll_voucher", dom1, objContext));
adjustLoan = checkNull(genericUtility.getColumnValue("adjust_loan", dom1, objContext));
System.out.println("payrollvoucher>>"+payrollvoucher);
System.out.println("adjustLoan>>"+adjustLoan);
if("P".equalsIgnoreCase(payrollvoucher) && !"N".equalsIgnoreCase(adjustLoan))
{
errList.add("VMPRKPAYV1");
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, "VMPRKPAYV1");
if (msgType.equalsIgnoreCase("E")) {
break;
}
}
}
//Modified by Ahmed on 27/Jul/2017[To validate when payroll_voucher is P and adjust_loan is yes][end]
} }
System.out.println("outside for loop..."); System.out.println("outside for loop...");
} }
......
...@@ -99,7 +99,7 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum ...@@ -99,7 +99,7 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum
String confirmed = ""; String confirmed = "";
String statusDate1 = ""; String statusDate1 = "";
String statusDate = ""; String statusDate = "";
String pfNum ="",uanNum="",chgType="",tarnDate="";
String childNodeName = null; String childNodeName = null;
NodeList parentNodeList = null; NodeList parentNodeList = null;
NodeList childNodeList = null; NodeList childNodeList = null;
...@@ -108,6 +108,7 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum ...@@ -108,6 +108,7 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum
int childNodeListLength = 0; int childNodeListLength = 0;
int ctr = 0; int ctr = 0;
try try
{ {
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
...@@ -144,35 +145,161 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum ...@@ -144,35 +145,161 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum
valueXmlString.append( editFlag ).append( "</editFlag>\r\n</Header>\r\n" ); valueXmlString.append( editFlag ).append( "</editFlag>\r\n</Header>\r\n" );
columnValue = genericUtility.getColumnValue(currentColumn, currDom); columnValue = genericUtility.getColumnValue(currentColumn, currDom);
valueXmlString.append( "<Detail1>\r\n" ); valueXmlString.append( "<Detail1>\r\n" );
if(currentColumn.trim().equalsIgnoreCase("itm_default") || currentColumn.trim().equalsIgnoreCase("itm_defaultedit") ) if(currentColumn.trim().equalsIgnoreCase("itm_default"))
//Comment by santosh on [A16JSUN009]14/jul/2017 to set itm_default
// if(currentColumn.trim().equalsIgnoreCase("itm_default") || currentColumn.trim().equalsIgnoreCase("itm_defaultedit") )
{ {
System.out.println(" tran date value"+statusDate); System.out.println(" tran date value"+statusDate);
valueXmlString.append( "<tran_date><![CDATA[" ).append( statusDate ).append( "]]></tran_date>\r\n" ); valueXmlString.append( "<tran_date><![CDATA[" ).append( statusDate ).append( "]]></tran_date>\r\n" );
uanNum = checkNull(genericUtility.getColumnValue("uan_no", currDom));
pfNum = checkNull(genericUtility.getColumnValue("pf_no", currDom));
// Modified by santosh [A16JSUN009] on 14/JUL/2017 to add uan field
valueXmlString.append("<chg_type protect =\"0\"><![CDATA[").append("U").append("]]></chg_type>\r\n");
valueXmlString.append("<uan_no protect =\"0\"><![CDATA["+uanNum+"]]></uan_no>\r\n");
valueXmlString.append("<pf_no protect =\"1\"><![CDATA["+pfNum+"]]></pf_no>\r\n");
}
//Modified by santosh [A16JSUN009] on 14/JUL/2017 to set itm_defaultedit[Start]
else if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit"))
{
chgType = genericUtility.getColumnValue("chg_type", currDom);
uanNum = checkNull(genericUtility.getColumnValue("uan_no", currDom));
pfNum = checkNull(genericUtility.getColumnValue("pf_no", currDom));
System.out.println("chgtype["+chgType+"][uanNumber]["+uanNum+"][pfNumber]["+pfNum+"]");
System.out.println(" tran date value"+statusDate);
valueXmlString.append("<chg_type protect =\"0\"><![CDATA[").append(chgType).append("]]></chg_type>\r\n");
if("U".equalsIgnoreCase(chgType))
{
valueXmlString.append( "<pf_no protect =\"1\"><![CDATA[" ).append( pfNum ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"0\"><![CDATA[" ).append( uanNum ).append( "]]></uan_no>\r\n" );
}
else if("P".equalsIgnoreCase(chgType))
{
valueXmlString.append( "<pf_no protect =\"0\"><![CDATA[" ).append( pfNum ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"1\" ><![CDATA[" ).append( uanNum ).append( "]]></uan_no>\r\n" );
} }
else if("B".equalsIgnoreCase(chgType))
{
valueXmlString.append( "<pf_no protect =\"0\"><![CDATA[" ).append( pfNum ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"0\"><![CDATA[" ).append( uanNum ).append( "]]></uan_no>\r\n" );
}
}
//Modified by santosh [A16JSUN009] on 14/JUL/2017 to itm_defaultedit[End]
//Added by Hemlata[16/07/2014][For setting site code based on emp code].Start //Added by Hemlata[16/07/2014][For setting site code based on emp code].Start
else if (currentColumn.trim().equals("emp_code")) else if (currentColumn.trim().equals("emp_code"))
{ {
if(columnValue !=null && columnValue.trim().length() >0) // if(columnValue !=null && columnValue.trim().length() >0)
{ // {
sql="SELECT PAY_SITE FROM EMPLOYEE WHERE EMP_CODE= ? "; //comment by santosh A16JSUN009 on 14/JUL/2017 to get uan number
System.out.println("*SQL:****************"+sql); //sql="SELECT PAY_SITE FROM EMPLOYEE WHERE EMP_CODE= ? ";
chgType = genericUtility.getColumnValue("chg_type", currDom);
//sql="select pay_site,pf_no,uan_no from employee where emp_code=?";
sql="select pay_site,pf_no,pf_uan from employee where emp_code=?";
System.out.println("@S@*SQL:****************"+sql);
pstmt = connObject.prepareStatement( sql ); pstmt = connObject.prepareStatement( sql );
pstmt.setString(1,columnValue); pstmt.setString(1,columnValue);
rs = pstmt.executeQuery(); rSet = pstmt.executeQuery();
String paySite =""; String paySite ="";
if( rs.next()) if( rSet.next())
{
paySite =checkNull(rSet.getString("PAY_SITE"));
pfNum =checkNull(rSet.getString("PF_NO"));
uanNum =checkNull(rSet.getString("PF_UAN"));
}
if( rSet != null )
{
rSet.close();
rSet = null;
}
if( pstmt != null )
{ {
paySite =checkNull(rs.getString("PAY_SITE")); pstmt.close();
pstmt = null;
} }
valueXmlString.append( "<emp_code><![CDATA[" ).append( columnValue ).append( "]]></emp_code>\r\n" ); valueXmlString.append( "<emp_code><![CDATA[" ).append( columnValue ).append( "]]></emp_code>\r\n" );
valueXmlString.append( "<site_code><![CDATA[" ).append( paySite ).append( "]]></site_code>\r\n" ); valueXmlString.append( "<site_code><![CDATA[" ).append( paySite ).append( "]]></site_code>\r\n" );
if("U".equalsIgnoreCase(chgType))
{
valueXmlString.append( "<pf_no protect =\"1\"><![CDATA[" ).append( pfNum ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"0\"><![CDATA[" ).append( uanNum ).append( "]]></uan_no>\r\n" );
} }
else else if("P".equalsIgnoreCase(chgType))
{
valueXmlString.append( "<pf_no protect =\"0\"><![CDATA[" ).append( pfNum ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"1\" ><![CDATA[" ).append( uanNum ).append( "]]></uan_no>\r\n" );
}
else if("B".equalsIgnoreCase(chgType))
{ {
valueXmlString.append("<site_code><![CDATA[]]></site_code>\r\n"); valueXmlString.append( "<pf_no protect =\"0\"><![CDATA[" ).append( pfNum ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"0\"><![CDATA[" ).append( uanNum ).append( "]]></uan_no>\r\n" );
} }
// }
// else
// {
// valueXmlString.append("<site_code><![CDATA[]]></site_code>\r\n");
// valueXmlString.append( "<emp_code><![CDATA[]]></emp_code>\r\n" );
// valueXmlString.append("<chg_type protect =\"0\">[CDATA[").append("U").append("]]</chg_type>\r\n");
// valueXmlString.append("<uan_no protect =\"0\"><![CDATA[]]></uan_no>\r\n");
// valueXmlString.append("<pf_no protect =\"1\"><![CDATA[]]></pf_no>\r\n");
// }
//Comment by santosh to set uan no and pf number
}
//Modified by santosh A16JSUN009 on 14/JUL/2017 to set uan and pf_no based on change type[Start]
else if(currentColumn.trim().equals("chg_type"))
{
chgType = genericUtility.getColumnValue("chg_type",currDom);
pfNum = checkNull(genericUtility.getColumnValue("pf_no",currDom));
uanNum = checkNull(genericUtility.getColumnValue("uan_no",currDom));
empCode = checkNull(genericUtility.getColumnValue("emp_code",currDom));
System.out.println("inside if condition["+chgType+"]");
String pfNumDB = "";
String uanNumDB = "";
sql="select pf_no, pf_uan from employee where emp_code=?";
pstmt = connObject.prepareStatement( sql );
pstmt.setString(1,empCode);
rSet = pstmt.executeQuery();
if( rSet.next())
{
pfNumDB =checkNull(rSet.getString("PF_NO"));
uanNumDB =checkNull(rSet.getString("PF_UAN"));
}
if( rSet != null )
{
rSet.close();
rSet = null;
} }
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if("U".equalsIgnoreCase(chgType))
{
valueXmlString.append( "<pf_no protect =\"1\"><![CDATA[" ).append( pfNumDB ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"0\"><![CDATA[" ).append( uanNum ).append( "]]></uan_no>\r\n" );
}
else if("P".equalsIgnoreCase(chgType))
{
valueXmlString.append( "<pf_no protect =\"0\"><![CDATA[" ).append( pfNum ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"1\" ><![CDATA[" ).append( uanNumDB ).append( "]]></uan_no>\r\n" );
}
else if("B".equalsIgnoreCase(chgType))
{
valueXmlString.append( "<pf_no protect =\"0\"><![CDATA[" ).append( pfNum ).append( "]]></pf_no>\r\n" );
valueXmlString.append( "<uan_no protect =\"0\"><![CDATA[" ).append( uanNum ).append( "]]></uan_no>\r\n" );
}
}
//Modified by santosh A16JSUN009 on 14/JUL/2017 to set uan and pf_no based on change type[End]
// Added by Hemlata[16/07/2014][For setting site code based on emp code].End // Added by Hemlata[16/07/2014][For setting site code based on emp code].End
valueXmlString.append( "</Detail1>\r\n" ); valueXmlString.append( "</Detail1>\r\n" );
}//End of TRY itemChanged doc }//End of TRY itemChanged doc
...@@ -263,7 +390,7 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum ...@@ -263,7 +390,7 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum
double countBudget = 0.0; double countBudget = 0.0;
String budgetShare = ""; String budgetShare = "";
ArrayList sumArrList =new ArrayList(); ArrayList sumArrList =new ArrayList();
boolean isError = false;
String acctCode = null; String acctCode = null;
String deptCode = null; String deptCode = null;
String cctrCode = null; String cctrCode = null;
...@@ -277,6 +404,7 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum ...@@ -277,6 +404,7 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum
String sqlStr = null; String sqlStr = null;
String empCode = ""; String empCode = "";
String pfNum = ""; String pfNum = "";
String chgType="",uanNum="";
Statement stmt = null; Statement stmt = null;
String errorCode = null; String errorCode = null;
String userId = null; String userId = null;
...@@ -318,11 +446,23 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum ...@@ -318,11 +446,23 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum
tranDate = (childNode.getFirstChild().getNodeValue().trim()); tranDate = (childNode.getFirstChild().getNodeValue().trim());
System.out.println("Inside presave tranDate"+tranDate); System.out.println("Inside presave tranDate"+tranDate);
} }
//Modified by santosh A16JSUN009 on 14/JUL/2017 to get uan,pf_no,change type[Start]
else if (childNodeName.equals("chg_type"))
{
chgType = (childNode.getFirstChild().getNodeValue().trim());
System.out.println("Inside presave change type["+chgType+"]");
}
else if (childNodeName.equals("pf_no")) else if (childNodeName.equals("pf_no"))
{ {
pfNum = (childNode.getFirstChild().getNodeValue().trim()); pfNum = (childNode.getFirstChild().getNodeValue().trim());
System.out.println("Inside presave pfNum"+pfNum); System.out.println("Inside presave pfNum["+pfNum+"]");
}
else if (childNodeName.equals("uan_no"))
{
uanNum = (childNode.getFirstChild().getNodeValue().trim());
System.out.println("Inside presave uanNum["+uanNum+"]");
} }
//Modified by santosh A16JSUN009 on 14/JUL/2017 to get uan,pf_no,change type[End]
} }
} }
} }
...@@ -349,6 +489,10 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum ...@@ -349,6 +489,10 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum
{ {
count = rs.getInt("COUNT"); count = rs.getInt("COUNT");
} }
pstmt.close();
pstmt=null;
rs.close();
rs=null;
if (count == 0) if (count == 0)
{ {
String errCode = "VTINVCHODN"; String errCode = "VTINVCHODN";
...@@ -356,49 +500,113 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum ...@@ -356,49 +500,113 @@ public class PfNumberprs extends ValidatorEJB implements PfNumberprsLocal,PfNum
return errString; return errString;
} }
} }
if(pfNum == null || pfNum.trim().length() <= 0 ) if(("P".equalsIgnoreCase(chgType)|| "B".equalsIgnoreCase(chgType))&&(pfNum == null || pfNum.trim().length() <= 0 ))
//commented by santosh A16JSUN009 on 14/JUL/2017 to set pfNum based on change type
// if(pfNum == null || pfNum.trim().length() <= 0 )
{ {
String errCode = "VTBLKPFODN"; String errCode = "VTBLKPFODN";
errString=getError("Pf number should not be left blank",errCode,conn); errString=getError("Pf number should not be left blank",errCode,conn);
return errString; return errString;
} }
if(empCode != null && empCode.trim().length() > 0 && pfNum != null && pfNum.trim().length() > 0) // modified by santosh A16JSUN009 14/JUL/2017 to set uanNum based on change type [Start]
if(("U".equalsIgnoreCase(chgType)||"B".equalsIgnoreCase(chgType)) && (uanNum == null || uanNum.trim().length() <=0 ))
{ {
sqlStr = "UPDATE EMPLOYEE SET PF_NO = '"+pfNum+"' WHERE EMP_CODE = '"+empCode+"' "; String errCode = "VTBLKUANNO";
System.out.println("sqlStr.........:: " + sqlStr); System.out.println("@S@UAN number should not be left blank");
stmt = conn.createStatement(); errString=getError("UAN number should not be left blank",errCode,conn);
count = stmt.executeUpdate(sqlStr); return errString;
}
conn.commit(); if(empCode != null && empCode.trim().length() > 0)
// if(empCode != null && empCode.trim().length() > 0 && (pfNum != null && pfNum.trim().length() > 0))
// commented by santosh A16JSUN009 to set uanNum based on change type [Start]
{
if(chgType != null && chgType.trim().length() > 0)
{
if("P".equalsIgnoreCase(chgType) && (pfNum != null && pfNum.trim().length() > 0))
{
sqlStr =" UPDATE EMPLOYEE SET PF_NO = ?";
}
else if("U".equalsIgnoreCase(chgType) && (uanNum != null && uanNum.trim().length() > 0))
{
sqlStr =" UPDATE EMPLOYEE SET PF_UAN = ?";
}
else if("B".equalsIgnoreCase(chgType) && (uanNum != null && uanNum.trim().length() > 0) && (pfNum != null && pfNum.trim().length() > 0) )
{
sqlStr =" UPDATE EMPLOYEE SET PF_NO = ?, PF_UAN = ?" ;
}
sqlStr = sqlStr + " WHERE EMP_CODE = ?";
System.out.println("@S@sqlStr.........:: " + sqlStr);
pstmt = conn.prepareStatement(sqlStr);
if("P".equalsIgnoreCase(chgType) && (pfNum != null && pfNum.trim().length() > 0))
{
pstmt.setString(1, pfNum);
pstmt.setString(2,empCode);
}
else if("U".equalsIgnoreCase(chgType) && (uanNum != null && uanNum.trim().length() > 0))
{
pstmt.setString(1, uanNum);
pstmt.setString(2,empCode);
}
else if("B".equalsIgnoreCase(chgType) && (uanNum != null && uanNum.trim().length() > 0) && (pfNum != null && pfNum.trim().length() > 0) )
{
pstmt.setString(1, pfNum);
pstmt.setString(2, uanNum);
pstmt.setString(3,empCode);
}
pstmt.executeUpdate();
pstmt.close();
pstmt=null;
// stmt = conn.createStatement();
// count = stmt.executeUpdate(sqlStr);
//
// conn.commit();
}
}//End Of if(empStatus) }//End Of if(empStatus)
// modified by santosh A16JSUN009 14/JUL/2017 to set uanNum based on change type [End]
}//End Of Try Block }//End Of Try Block
catch (SQLException sqe) catch (SQLException sqe)
{ {
System.out.println("The SQLException occurs in [EmpAdPrsEJB] :: [executepreSaveRec] :"+sqe); System.out.println("The SQLException occurs in [EmpAdPrsEJB] :: [executepreSaveRec] :"+sqe);
sqe.printStackTrace(); sqe.printStackTrace();
try isError = true;
{ // try
conn.rollback(); // {
} // conn.rollback();
catch(Exception sqe1){} // }
// catch(Exception sqe1){}
throw new ITMException(sqe); throw new ITMException(sqe);
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println("The Exception occurs in [EmpAdPrsEJB] :: [executepreSaveRec] :"+e); System.out.println("The Exception occurs in [EmpAdPrsEJB] :: [executepreSaveRec] :"+e);
e.printStackTrace(); e.printStackTrace();
try isError = true;
{ // try
conn.rollback(); // {
} // conn.rollback();
catch(Exception e1){} // }
// catch(Exception e1){}
throw new ITMException(e); throw new ITMException(e);
} }
finally finally
{ {
try try
{ {
if(isError)
{
//conn.rollback();
System.out.println("PFNumber connection rollback");
}
else
{
//conn.commit();
System.out.println("PFNumber connection Commit");
}
System.out.println("Closing stmt and pstmt In [executepreSaveRec]......"); System.out.println("Closing stmt and pstmt In [executepreSaveRec]......");
if (rs != null) if (rs != null)
{ {
......
insert into obj_itemchange (obj_name,form_no,field_name,mandatory) values ('pfno_change','1','chg_type',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('pfno_change','1','itm_defaultedit',null);
alter table pfno_change add chg_type char(1);
alter table pfno_change add uan_no varchar2(20);
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 ('VTBLKUANNO','UAN Number','UAN number should not be left blank ','E','Y',null,null,null,FN_SYSDATE(),'BASE','BASE',null,null);
commit;
\ No newline at end of file
...@@ -19652,3 +19652,7 @@ INSERT INTO PAYRPARM (PRD_CODE,VAR_NAME,VAR_TYPE,VAR_VALUE,DESCR,VAR_SUBS,CHG_DA ...@@ -19652,3 +19652,7 @@ INSERT INTO PAYRPARM (PRD_CODE,VAR_NAME,VAR_TYPE,VAR_VALUE,DESCR,VAR_SUBS,CHG_DA
COMMIT; COMMIT;
--Modified by Ahmed on 03/May/2017[end] --Modified by Ahmed on 03/May/2017[end]
--Modified by Ahmed on 27/Jul/2017[start]
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 ('VMPRKPAYV1','Invalid Adjust Loan','Adjust Loan should be No when Payroll is selected','E',null,null,null,null,FN_SYSDATE(),'BASE','BASE',null,null);
--Modified by Ahmed on 27/Jul/2017[end]
\ No newline at end of file
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>3</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
...@@ -104,8 +104,15 @@ ...@@ -104,8 +104,15 @@
<name>site_code</name> <name>site_code</name>
<dbname>pfno_change.site_code</dbname> <dbname>pfno_change.site_code</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pfno_change&quot; ) COLUMN(NAME=&quot;pfno_change.tran_id&quot;) COLUMN(NAME=&quot;pfno_change.tran_date&quot;) COLUMN(NAME=&quot;pfno_change.emp_code&quot;) COLUMN(NAME=&quot;pfno_change.pf_no&quot;) COLUMN(NAME=&quot;pfno_change.chg_date&quot;) COLUMN(NAME=&quot;pfno_change.chg_user&quot;) COLUMN(NAME=&quot;pfno_change.chg_term&quot;) COLUMN(NAME=&quot;pfno_change.site_code&quot;)WHERE( EXP1 =&quot;~&quot;PFNO_CHANGE~&quot;.~&quot;SITE_CODE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:as_sitecode&quot; ) ) ARG(NAME = &quot;as_sitecode&quot; TYPE = string) </retrieve> <table_column>
<update>pfno_change</update> <type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>uan_no</name>
<dbname>pfno_change.uan_no</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pfno_change&quot; ) COLUMN(NAME=&quot;pfno_change.tran_id&quot;) COLUMN(NAME=&quot;pfno_change.tran_date&quot;) COLUMN(NAME=&quot;pfno_change.emp_code&quot;) COLUMN(NAME=&quot;pfno_change.pf_no&quot;) COLUMN(NAME=&quot;pfno_change.chg_date&quot;) COLUMN(NAME=&quot;pfno_change.chg_user&quot;) COLUMN(NAME=&quot;pfno_change.chg_term&quot;) COLUMN(NAME=&quot;pfno_change.site_code&quot;) COLUMN(NAME=&quot;pfno_change.uan_no&quot;)WHERE( EXP1 =&quot;~&quot;PFNO_CHANGE~&quot;.~&quot;SITE_CODE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:as_sitecode&quot; ) ) ARG(NAME = &quot;as_sitecode&quot; TYPE = string) </retrieve>
<update>PFNO_CHANGE</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
...@@ -147,10 +154,10 @@ ...@@ -147,10 +154,10 @@
<text>Tran Date</text> <text>Tran Date</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>69</x> <x>70</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>66</width> <width>65</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -175,7 +182,7 @@ ...@@ -175,7 +182,7 @@
<text>Emp Code</text> <text>Emp Code</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>138</x> <x>137</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
...@@ -203,7 +210,7 @@ ...@@ -203,7 +210,7 @@
<text>Pf No</text> <text>Pf No</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>236</x> <x>235</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
...@@ -231,7 +238,7 @@ ...@@ -231,7 +238,7 @@
<text>Site Code</text> <text>Site Code</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>304</x> <x>381</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
...@@ -259,7 +266,7 @@ ...@@ -259,7 +266,7 @@
<text>Chg Date</text> <text>Chg Date</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>372</x> <x>449</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>78</width> <width>78</width>
...@@ -287,7 +294,7 @@ ...@@ -287,7 +294,7 @@
<text>Chg User</text> <text>Chg User</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>452</x> <x>529</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>75</width> <width>75</width>
...@@ -315,7 +322,7 @@ ...@@ -315,7 +322,7 @@
<text>Chg Term</text> <text>Chg Term</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>529</x> <x>606</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>76</width> <width>76</width>
...@@ -337,6 +344,34 @@ ...@@ -337,6 +344,34 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Uan No</text>
<border>6</border>
<color>33554432</color>
<x>303</x>
<y>2</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>uan_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -419,7 +454,7 @@ ...@@ -419,7 +454,7 @@
<tabsequence>30</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>138</x> <x>137</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
...@@ -457,7 +492,7 @@ ...@@ -457,7 +492,7 @@
<tabsequence>40</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>236</x> <x>235</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
...@@ -492,10 +527,10 @@ ...@@ -492,10 +527,10 @@
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>50</tabsequence> <tabsequence>60</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>305</x> <x>381</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
...@@ -529,10 +564,10 @@ ...@@ -529,10 +564,10 @@
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>5</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>60</tabsequence> <tabsequence>70</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>372</x> <x>449</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>78</width> <width>78</width>
...@@ -567,10 +602,10 @@ ...@@ -567,10 +602,10 @@
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>70</tabsequence> <tabsequence>80</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>452</x> <x>529</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>75</width> <width>75</width>
...@@ -605,10 +640,10 @@ ...@@ -605,10 +640,10 @@
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>7</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>80</tabsequence> <tabsequence>90</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>529</x> <x>606</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>76</width> <width>76</width>
...@@ -639,6 +674,42 @@ ...@@ -639,6 +674,42 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>303</x>
<y>1</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>uan_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -100,8 +100,28 @@ ...@@ -100,8 +100,28 @@
<name>site_code</name> <name>site_code</name>
<dbname>pfno_change.site_code</dbname> <dbname>pfno_change.site_code</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pfno_change&quot; ) COLUMN(NAME=&quot;pfno_change.tran_id&quot;) COLUMN(NAME=&quot;pfno_change.tran_date&quot;) COLUMN(NAME=&quot;pfno_change.emp_code&quot;) COLUMN(NAME=&quot;pfno_change.pf_no&quot;) COLUMN(NAME=&quot;pfno_change.chg_date&quot;) COLUMN(NAME=&quot;pfno_change.chg_user&quot;) COLUMN(NAME=&quot;pfno_change.chg_term&quot;) COLUMN(NAME=&quot;pfno_change.site_code&quot;)WHERE( EXP1 =&quot;~&quot;PFNO_CHANGE~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:as_tranid&quot; ) ) ARG(NAME = &quot;as_tranid&quot; TYPE = string) </retrieve> <table_column>
<update>pfno_change</update> <type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>uan_no</name>
<dbname>pfno_change.uan_no</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_type</name>
<dbname>pfno_change.chg_type</dbname>
<initial>U</initial>
<values>
<item display="UAN" data="U"/>
<item display="PF" data="P"/>
<item display="BOTH" data="B"/>
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pfno_change&quot; ) COLUMN(NAME=&quot;pfno_change.tran_id&quot;) COLUMN(NAME=&quot;pfno_change.tran_date&quot;) COLUMN(NAME=&quot;pfno_change.emp_code&quot;) COLUMN(NAME=&quot;pfno_change.pf_no&quot;) COLUMN(NAME=&quot;pfno_change.chg_date&quot;) COLUMN(NAME=&quot;pfno_change.chg_user&quot;) COLUMN(NAME=&quot;pfno_change.chg_term&quot;) COLUMN(NAME=&quot;pfno_change.site_code&quot;) COLUMN(NAME=&quot;pfno_change.uan_no&quot;) COLUMN(NAME=&quot;pfno_change.chg_type&quot;)WHERE( EXP1 =&quot;~&quot;PFNO_CHANGE~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:as_tranid&quot; ) ) ARG(NAME = &quot;as_tranid&quot; TYPE = string) </retrieve>
<update>PFNO_CHANGE</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
...@@ -109,17 +129,31 @@ ...@@ -109,17 +129,31 @@
<type>string</type> <type>string</type>
</argument> </argument>
</TableDefinition> </TableDefinition>
<GroupBox> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<text>Pfno Change </text> <id>1</id>
<border>2</border> <alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>77</x>
<y>2</y> <y>5</y>
<height>183</height> <height>16</height>
<width>502</width> <width>66</width>
<name>gb_1</name> <format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -130,23 +164,23 @@ ...@@ -130,23 +164,23 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>1073741824</color> <color>16777215</color>
</background> </background>
</GroupBox> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Tran Id:</text> <text>Emp Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>17</x> <x>8</x>
<y>26</y> <y>27</y>
<height>16</height> <height>16</height>
<width>65</width> <width>65</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>emp_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -163,20 +197,20 @@ ...@@ -163,20 +197,20 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>20</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>86</x> <x>77</x>
<y>26</y> <y>27</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id</name> <name>emp_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
...@@ -202,17 +236,17 @@ ...@@ -202,17 +236,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Tran Date:</text> <text>Pf No:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>187</x> <x>8</x>
<y>26</y> <y>50</y>
<height>16</height> <height>16</height>
<width>56</width> <width>65</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date_t</name> <name>pf_no_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -229,25 +263,28 @@ ...@@ -229,25 +263,28 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>246</x> <x>76</x>
<y>26</y> <y>50</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date</name> <name>pf_no</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<mask>dd/mm/yy</mask> <limit>10</limit>
<imemode>0</imemode> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -262,31 +299,21 @@ ...@@ -262,31 +299,21 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Chg Date:</text>
<tabsequence>30</tabsequence> <border>0</border>
<border>5</border>
<color>33554432</color> <color>33554432</color>
<x>246</x> <x>9</x>
<y>50</y> <y>87</y>
<height>16</height> <height>16</height>
<width>66</width> <width>65</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>pf_no</name> <name>chg_date_t</name>
<visible>1</visible> <visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -296,25 +323,53 @@ ...@@ -296,25 +323,53 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Pf No:</text> <text>Chg User:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>178</x> <x>153</x>
<y>50</y> <y>87</y>
<height>16</height> <height>16</height>
<width>65</width> <width>53</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>pf_no_t</name> <name>chg_user_t</name>
<visible>1</visible> <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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term:</text>
<border>0</border>
<color>33554432</color>
<x>284</x>
<y>87</y>
<height>16</height>
<width>56</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>0</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -330,23 +385,23 @@ ...@@ -330,23 +385,23 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>5</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>20</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>86</x> <x>78</x>
<y>51</y> <y>84</y>
<height>16</height> <height>16</height>
<width>66</width> <width>70</width>
<format>[general]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code</name> <name>chg_date</name>
<visible>1</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -366,21 +421,31 @@ ...@@ -366,21 +421,31 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>6</id>
<text>Emp Code:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color> <color>33554432</color>
<x>17</x> <x>210</x>
<y>50</y> <y>84</y>
<height>16</height> <height>16</height>
<width>65</width> <width>70</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code_t</name> <name>chg_user</name>
<visible>1</visible> <visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -390,25 +455,35 @@ ...@@ -390,25 +455,35 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>7</id>
<text>Chg Date:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color> <color>33554432</color>
<x>18</x> <x>344</x>
<y>109</y> <y>84</y>
<height>16</height> <height>16</height>
<width>65</width> <width>70</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>chg_term</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -418,33 +493,32 @@ ...@@ -418,33 +493,32 @@
<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>
<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>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>87</x> <x>419</x>
<y>106</y> <y>85</y>
<height>16</height> <height>16</height>
<width>70</width> <width>25</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>site_code</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>no</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -463,18 +537,18 @@ ...@@ -463,18 +537,18 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg User:</text> <text>Uan No:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>162</x> <x>177</x>
<y>109</y> <y>50</y>
<height>16</height> <height>16</height>
<width>53</width> <width>65</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>uan_no_t</name>
<visible>0</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -488,31 +562,21 @@ ...@@ -488,31 +562,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Tran Id:</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border>
<color>33554432</color> <color>33554432</color>
<x>219</x> <x>8</x>
<y>106</y> <y>5</y>
<height>16</height> <height>16</height>
<width>70</width> <width>65</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>tran_id_t</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -522,25 +586,53 @@ ...@@ -522,25 +586,53 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg Term:</text> <text>Change Type:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>293</x> <x>153</x>
<y>109</y> <y>27</y>
<height>16</height> <height>16</height>
<width>56</width> <width>89</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>chg_type_t</name>
<visible>0</visible> <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>Tran Date:</text>
<border>0</border>
<color>33554432</color>
<x>153</x>
<y>5</y>
<height>16</height>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -556,28 +648,25 @@ ...@@ -556,28 +648,25 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>2</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>353</x> <x>245</x>
<y>106</y> <y>5</y>
<height>16</height> <height>16</height>
<width>70</width> <width>66</width>
<format>[general]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>tran_date</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="editmask">
<limit>15</limit> <mask>dd/mm/yy</mask>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -592,21 +681,29 @@ ...@@ -592,21 +681,29 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>10</id>
<text>Site Code:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color> <color>33554432</color>
<x>16</x> <x>245</x>
<y>72</y> <y>27</y>
<height>16</height> <height>16</height>
<width>65</width> <width>66</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>t_1</name> <name>chg_type</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -616,32 +713,31 @@ ...@@ -616,32 +713,31 @@
<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>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>40</tabsequence> <tabsequence>50</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>86</x> <x>245</x>
<y>74</y> <y>50</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code</name> <name>uan_no</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>20</limit>
<case>any</case> <case>upper</case>
<focusrectangle>no</focusrectangle> <autoselect>yes</autoselect>
<autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
......
...@@ -3,7 +3,7 @@ release 9; ...@@ -3,7 +3,7 @@ release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no ) datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
header(height=19 color="536870912" ) header(height=19 color="536870912" )
summary(height=0 color="536870912" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=3 color="536870912" )
detail(height=17 color="536870912" ) detail(height=17 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="pfno_change.tran_id" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="pfno_change.tran_id" )
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="pfno_change.tran_date" ) column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="pfno_change.tran_date" )
...@@ -13,23 +13,26 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -13,23 +13,26 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="pfno_change.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="pfno_change.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="pfno_change.chg_term" ) column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="pfno_change.chg_term" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="pfno_change.site_code" ) column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="pfno_change.site_code" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"pfno_change~" ) COLUMN(NAME=~"pfno_change.tran_id~") COLUMN(NAME=~"pfno_change.tran_date~") COLUMN(NAME=~"pfno_change.emp_code~") COLUMN(NAME=~"pfno_change.pf_no~") COLUMN(NAME=~"pfno_change.chg_date~") COLUMN(NAME=~"pfno_change.chg_user~") COLUMN(NAME=~"pfno_change.chg_term~") COLUMN(NAME=~"pfno_change.site_code~")WHERE( EXP1 =~"~~~"PFNO_CHANGE~~~".~~~"SITE_CODE~~~"~" OP =~"=~" EXP2 =~":as_sitecode~" ) ) ARG(NAME = ~"as_sitecode~" TYPE = string) " update="pfno_change" updatewhere=0 updatekeyinplace=no arguments=(("as_sitecode", string)) ) column=(type=char(20) update=yes updatewhereclause=yes name=uan_no dbname="pfno_change.uan_no" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"pfno_change~" ) COLUMN(NAME=~"pfno_change.tran_id~") COLUMN(NAME=~"pfno_change.tran_date~") COLUMN(NAME=~"pfno_change.emp_code~") COLUMN(NAME=~"pfno_change.pf_no~") COLUMN(NAME=~"pfno_change.chg_date~") COLUMN(NAME=~"pfno_change.chg_user~") COLUMN(NAME=~"pfno_change.chg_term~") COLUMN(NAME=~"pfno_change.site_code~") COLUMN(NAME=~"pfno_change.uan_no~")WHERE( EXP1 =~"~~~"PFNO_CHANGE~~~".~~~"SITE_CODE~~~"~" OP =~"=~" EXP2 =~":as_sitecode~" ) ) ARG(NAME = ~"as_sitecode~" TYPE = string) " update="PFNO_CHANGE" updatewhere=0 updatekeyinplace=no arguments=(("as_sitecode", string)) )
text(band=header alignment="2" text="Tran Id" border="6" color="33554432" x="2" y="2" height="16" width="66" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Tran Id" border="6" color="33554432" x="2" y="2" height="16" width="66" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Tran Date" border="6" color="33554432" x="69" y="2" height="16" width="66" html.valueishtml="0" name=tran_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="2" background.color="67108864" ) text(band=header alignment="2" text="Tran Date" border="6" color="33554432" x="70" y="2" height="16" width="65" html.valueishtml="0" name=tran_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="2" background.color="67108864" )
text(band=header alignment="2" text="Emp Code" border="6" color="33554432" x="138" y="2" height="16" width="96" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Emp Code" border="6" color="33554432" x="137" y="2" height="16" width="96" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Pf No" border="6" color="33554432" x="236" y="2" height="16" width="66" html.valueishtml="0" name=pf_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Pf No" border="6" color="33554432" x="235" y="2" height="16" width="66" html.valueishtml="0" name=pf_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Site Code" border="6" color="33554432" x="304" y="2" height="16" width="66" html.valueishtml="0" name=site_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Site Code" border="6" color="33554432" x="381" y="2" height="16" width="66" html.valueishtml="0" name=site_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Chg Date" border="6" color="33554432" x="372" y="2" height="16" width="78" 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="2" background.color="67108864" ) text(band=header alignment="2" text="Chg Date" border="6" color="33554432" x="449" y="2" height="16" width="78" 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="2" background.color="67108864" )
text(band=header alignment="2" text="Chg User" border="6" color="33554432" x="452" y="2" height="16" width="75" 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="2" background.color="67108864" ) text(band=header alignment="2" text="Chg User" border="6" color="33554432" x="529" y="2" height="16" width="75" 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="2" background.color="67108864" )
text(band=header alignment="2" text="Chg Term" border="6" color="33554432" x="606" y="2" height="16" width="76" 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="2" background.color="67108864" )
text(band=header alignment="2" text="Uan No" border="6" color="33554432" x="303" y="2" height="16" width="76" html.valueishtml="0" name=uan_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="1" height="16" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="1" height="16" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="70" y="1" height="16" width="65" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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" ) column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="70" y="1" height="16" width="65" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="33554432" x="138" y="1" height="16" width="96" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="33554432" x="137" y="1" height="16" width="96" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="33554432" x="236" y="1" height="16" width="66" format="[general]" html.valueishtml="0" name=pf_no 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="16777215" ) column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="33554432" x="235" y="1" height="16" width="66" format="[general]" html.valueishtml="0" name=pf_no 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="16777215" )
column(band=detail id=8 alignment="0" tabsequence=50 border="5" color="33554432" x="305" y="1" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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" ) column(band=detail id=8 alignment="0" tabsequence=60 border="5" color="33554432" x="381" y="1" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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" )
column(band=detail id=5 alignment="0" tabsequence=60 border="5" color="33554432" x="372" y="1" height="16" width="78" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 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="16777215" ) column(band=detail id=5 alignment="0" tabsequence=70 border="5" color="33554432" x="449" y="1" height="16" width="78" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 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="16777215" )
column(band=detail id=6 alignment="0" tabsequence=70 border="5" color="33554432" x="452" y="1" height="16" width="75" 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="16777215" ) column(band=detail id=6 alignment="0" tabsequence=80 border="5" color="33554432" x="529" y="1" height="16" width="75" 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="16777215" )
text(band=header alignment="2" text="Chg Term" border="6" color="33554432" x="529" y="2" height="16" width="76" 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="2" background.color="67108864" ) column(band=detail id=7 alignment="0" tabsequence=90 border="5" color="33554432" x="606" y="1" height="16" width="76" 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="16777215" )
column(band=detail id=7 alignment="0" tabsequence=80 border="5" color="33554432" x="529" y="1" height="16" width="76" 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="16777215" ) column(band=detail id=9 alignment="0" tabsequence=50 border="0" color="33554432" x="303" y="1" height="16" width="76" format="[general]" html.valueishtml="0" name=uan_no visible="1" edit.limit=0 edit.case=upper edit.autoselect=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" )
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 )
......
...@@ -12,24 +12,28 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -12,24 +12,28 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="pfno_change.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="pfno_change.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="pfno_change.chg_term" ) column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="pfno_change.chg_term" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="pfno_change.site_code" ) column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="pfno_change.site_code" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"pfno_change~" ) COLUMN(NAME=~"pfno_change.tran_id~") COLUMN(NAME=~"pfno_change.tran_date~") COLUMN(NAME=~"pfno_change.emp_code~") COLUMN(NAME=~"pfno_change.pf_no~") COLUMN(NAME=~"pfno_change.chg_date~") COLUMN(NAME=~"pfno_change.chg_user~") COLUMN(NAME=~"pfno_change.chg_term~") COLUMN(NAME=~"pfno_change.site_code~")WHERE( EXP1 =~"~~~"PFNO_CHANGE~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":as_tranid~" ) ) ARG(NAME = ~"as_tranid~" TYPE = string) " update="pfno_change" updatewhere=0 updatekeyinplace=no arguments=(("as_tranid", string)) ) column=(type=char(20) update=yes updatewhereclause=yes name=uan_no dbname="pfno_change.uan_no" )
groupbox(band=detail text="none"border="2" color="33554432" x="8" y="2" height="183" width="502" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) column=(type=char(1) update=yes updatewhereclause=yes name=chg_type dbname="pfno_change.chg_type" initial="U" values="UAN U/PF P/BOTH B/" )
text(band=detail alignment="1" text="Tran Id:" border="0" color="33554432" x="17" y="26" height="16" width="65" html.valueishtml="0" name=tran_id_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" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"pfno_change~" ) COLUMN(NAME=~"pfno_change.tran_id~") COLUMN(NAME=~"pfno_change.tran_date~") COLUMN(NAME=~"pfno_change.emp_code~") COLUMN(NAME=~"pfno_change.pf_no~") COLUMN(NAME=~"pfno_change.chg_date~") COLUMN(NAME=~"pfno_change.chg_user~") COLUMN(NAME=~"pfno_change.chg_term~") COLUMN(NAME=~"pfno_change.site_code~") COLUMN(NAME=~"pfno_change.uan_no~") COLUMN(NAME=~"pfno_change.chg_type~")WHERE( EXP1 =~"~~~"PFNO_CHANGE~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":as_tranid~" ) ) ARG(NAME = ~"as_tranid~" TYPE = string) " update="PFNO_CHANGE" updatewhere=0 updatekeyinplace=no arguments=(("as_tranid", string)) )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="86" y="26" height="16" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="77" y="5" height="16" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times 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="Tran Date:" border="0" color="33554432" x="187" y="26" height="16" width="56" html.valueishtml="0" name=tran_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="Emp Code:" border="0" color="33554432" x="8" y="27" height="16" width="65" html.valueishtml="0" name=emp_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" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="33554432" x="246" y="26" height="16" width="66" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" 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="16777215" ) column(band=detail id=3 alignment="0" tabsequence=20 border="5" color="33554432" x="77" y="27" height="16" width="66" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=30 border="5" color="33554432" x="246" y="50" height="16" width="66" format="[general]" html.valueishtml="0" name=pf_no 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="16777215" ) text(band=detail alignment="1" text="Pf No:" border="0" color="33554432" x="8" y="50" height="16" width="65" html.valueishtml="0" name=pf_no_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="Pf No:" border="0" color="33554432" x="178" y="50" height="16" width="65" html.valueishtml="0" name=pf_no_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=40 border="5" color="33554432" x="76" y="50" height="16" width="66" format="[general]" html.valueishtml="0" name=pf_no 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="16777215" )
column(band=detail id=3 alignment="0" tabsequence=20 border="5" color="33554432" x="86" y="51" height="16" width="66" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times 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="Chg Date:" border="0" color="33554432" x="9" y="87" height="16" width="65" html.valueishtml="0" name=chg_date_t visible="0" 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="Emp Code:" border="0" color="33554432" x="17" y="50" height="16" width="65" html.valueishtml="0" name=emp_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="Chg User:" border="0" color="33554432" x="153" y="87" height="16" width="53" html.valueishtml="0" name=chg_user_t visible="0" 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=8 alignment="0" tabsequence=40 border="5" color="33554432" x="86" y="74" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="Chg Term:" border="0" color="33554432" x="284" y="87" height="16" width="56" html.valueishtml="0" name=chg_term_t visible="0" 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="Chg Date:" border="0" color="33554432" x="18" y="109" height="16" width="65" html.valueishtml="0" name=chg_date_t visible="0" 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="5" color="33554432" x="78" y="84" height="16" width="70" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="0" edit.limit=0 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="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="87" y="106" height="16" width="70" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="0" edit.limit=0 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="16777215" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="210" y="84" height="16" width="70" format="[general]" html.valueishtml="0" name=chg_user visible="0" 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="16777215" )
text(band=detail alignment="1" text="Chg User:" border="0" color="33554432" x="162" y="109" height="16" width="53" html.valueishtml="0" name=chg_user_t visible="0" 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=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="344" y="84" height="16" width="70" format="[general]" html.valueishtml="0" name=chg_term visible="0" 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="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="219" y="106" height="16" width="70" format="[general]" html.valueishtml="0" name=chg_user visible="0" 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="16777215" ) column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="419" y="85" height="16" width="25" format="[general]" html.valueishtml="0" name=site_code visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="Chg Term:" border="0" color="33554432" x="293" y="109" height="16" width="56" html.valueishtml="0" name=chg_term_t visible="0" 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="Uan No:" border="0" color="33554432" x="177" y="50" height="16" width="65" html.valueishtml="0" name=uan_no_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=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="353" y="106" height="16" width="70" format="[general]" html.valueishtml="0" name=chg_term visible="0" 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="16777215" ) text(band=detail alignment="1" text="Tran Id:" border="0" color="33554432" x="8" y="5" height="16" width="65" html.valueishtml="0" name=tran_id_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="Site Code:" border="0" color="33554432" x="16" y="72" height="16" width="65" html.valueishtml="0" name=t_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Change Type:" border="0" color="33554432" x="153" y="27" height="16" width="89" html.valueishtml="0" name=chg_type_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="Tran Date:" border="0" color="33554432" x="153" y="5" height="16" width="89" html.valueishtml="0" name=tran_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=2 alignment="0" tabsequence=10 border="5" color="33554432" x="245" y="5" height="16" width="66" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" 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="16777215" )
column(band=detail id=10 alignment="0" tabsequence=30 border="5" color="33554432" x="245" y="27" height="16" width="66" format="[general]" html.valueishtml="0" name=chg_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.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" )
column(band=detail id=9 alignment="0" tabsequence=50 border="5" color="33554432" x="245" y="50" height="16" width="66" format="[general]" html.valueishtml="0" name=uan_no visible="1" edit.limit=20 edit.case=upper edit.autoselect=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" )
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