Commit 6c7b960b authored by vkadam's avatar vkadam

Delivery received from Piyush sir on [21/JUL/15]


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98324 ce508802-f39f-4f6c-b175-0d175dae99d5
parent abb8222c
......@@ -248,7 +248,9 @@ public class AdmCommon
pstmt.setTimestamp(2,java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(effDate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat())));
pstmt.setTimestamp(3,java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(effDate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat())));
updCnt = pstmt.executeUpdate();
if(updCnt > 0)
// Modified by Piyush on 30/06/2015[To work same as ITM]
// if(updCnt > 0)
if(updCnt >= 0 && updCnt < 2)
{
status = true;
System.out.println("Updated Into EMPLOYEE_AD Sucessfully......! [updCnt] :: "+ updCnt);
......@@ -606,9 +608,20 @@ public class AdmCommon
long effTime = 0, expTime = 0, todayTime = 0;
java.sql.Timestamp effectiveDate = null, expiryDate = null;
java.sql.Timestamp toDate = new java.sql.Timestamp(System.currentTimeMillis());
try
{
GenericUtility genericUtility = GenericUtility.getInstance();
//Start
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
java.util.Date newDate = new java.util.Date();
java.util.Date newEffDate = new java.util.Date();
java.util.Date newExpDate = new java.util.Date();
newDate = sdf.parse(sdf.format(newDate));
newEffDate = sdf.parse(sdf.format(sdf.parse(effDate)));
newExpDate = sdf.parse(sdf.format(sdf.parse(expDate)));
//End
effectiveDate = java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(effDate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()));
expiryDate = java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(expDate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()));
......@@ -617,9 +630,12 @@ public class AdmCommon
todayTime = toDate.getTime();
//if (toDate.compareTo(effectiveDate) >= 0 && toDate.compareTo(expiryDate) <= 0)
if (todayTime >= effTime && todayTime <= expTime)
//if (todayTime >= effTime && todayTime <= expTime)
if (newDate.compareTo(newEffDate) >= 0 && newDate.compareTo(newExpDate) <= 0)//Modified
{
updSql = "UPDATE EMPLOYEE SET BASIC = BASIC + ? WHERE EMP_CODE = '"+currEmpCode+"' ";
// Modified by Piyush on 30/06/2015[To check null value]
//updSql = "UPDATE EMPLOYEE SET BASIC = BASIC + ? WHERE EMP_CODE = '"+currEmpCode+"' ";
updSql = "UPDATE EMPLOYEE SET BASIC = CASE WHEN BASIC IS NULL THEN 0 ELSE BASIC END + ? WHERE EMP_CODE = '"+currEmpCode+"' ";
System.out.println("Update sql In [empBasicUpdate][updSql][2]........:: " + updSql);
pstmt = conn.prepareStatement(updSql);
pstmt.setDouble(1,amount);
......
/**
* PURPOSE : Local Interface
* AUTHOR : Kunal Mandhre
* Date : 11/10/2012
*/
package ibase.webitm.ejb.adm;
......
/**
* PURPOSE : Remote Interface
* AUTHOR : Kunal Mandhre
* Date : 10/10/2012
*/
package ibase.webitm.ejb.adm;
......
/**
* PURPOSE : Post Save to create loans against adhoc advance given to employee
* AUTHOR : Abhishek Jaiswal
* DATE : 20/02/2015
*/
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.*;
......
/**
* PURPOSE : Local Interface
* AUTHOR : Kunal Mandhre
* Date : 11/10/2012
*/
package ibase.webitm.ejb.adm;
......
/**
* PURPOSE : Remote Interface
* AUTHOR : Kunal Mandhre
* Date : 10/10/2012
*/
package ibase.webitm.ejb.adm;
import ibase.webitm.utility.ITMException;
......
......@@ -89,6 +89,7 @@ public class EmpAdPrs extends ValidatorEJB implements EmpAdPrsLocal,EmpAdPrsRemo
{
if(updateStatus.equalsIgnoreCase("A") || updateStatus.equalsIgnoreCase("E"))
{
empStatus = true; // Added by Piyush on 30/06/2015[To make implication same as ITM]
if(updateStatus.equals("A"))
{
empCode = genericUtility.getColumnValueFromNode("emp_code",currDetail);
......@@ -98,6 +99,11 @@ public class EmpAdPrs extends ValidatorEJB implements EmpAdPrsLocal,EmpAdPrsRemo
}
if(empStatus)
{
//Modified by Piyush on 30/06/2015[To update data as per ITM].Start
empCode = genericUtility.getColumnValueFromNode("emp_code",currDetail);
adCode = genericUtility.getColumnValueFromNode("ad_code",currDetail);
effDate = genericUtility.getColumnValueFromNode("eff_date",currDetail);
//Modified by Piyush on 30/06/2015[To update data as per ITM].End
expDate = genericUtility.getColumnValueFromNode("exp_date",currDetail);
amt = genericUtility.getColumnValueFromNode("amount",currDetail);
if (amt != null)
......@@ -137,7 +143,9 @@ public class EmpAdPrs extends ValidatorEJB implements EmpAdPrsLocal,EmpAdPrsRemo
rs.close();
rs = null;
keyString = empCode + "|" + adCode + "|" + effectiveDate + "|" + expiryDate;
sqlStr = "SELECT BASIC FROM EMPLOYEE WHERE EMP_CODE = '"+empCode+"'" ;
// Modified by Piyush on 30/06/2015[To check null value]
//sqlStr = "SELECT BASIC FROM EMPLOYEE WHERE EMP_CODE = '"+empCode+"'" ;
sqlStr = "SELECT CASE WHEN BASIC IS NULL THEN 0 ELSE BASIC END AS BASIC FROM EMPLOYEE WHERE EMP_CODE = '"+empCode+"'" ;
System.out.println("sqlStr.....::[3]:: " + sqlStr);
stmt = conn.createStatement();
rs = stmt.executeQuery(sqlStr);
......
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.adm.AdmCommon;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.ejb.sys.CreateRCPXML;
import ibase.webitm.utility.TransIDGenerator;
import ibase.utility.CommonConstants;
import java.rmi.RemoteException;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.HashMap;
import org.w3c.dom.*;
@javax.ejb.Stateless
public class FullFinalPos extends ValidatorEJB implements FullFinalPosLocal, FullFinalPosRemote
{
public String postSave()throws RemoteException,ITMException
{
return "";
}
public String postSave(String xmlString, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException
{
String tranId = "";
String errString = "";
String sql = "";
String errCode = "";
String confirmedFlag = "";
double totAmtHdr = 0d;
double amtHdr = 0d;
double totAmtDet = 0d;
double totNetAmtDet = 0d;
int updCnt = 0;
PreparedStatement pstmt = null;
ResultSet rs = null;
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
AdmCommon admCommon = new AdmCommon();
GenericUtility genericUtility = GenericUtility.getInstance();
Document headerDom = null;
try
{
System.out.println("XML String :"+xmlString);
headerDom = genericUtility.parseString(xmlString);
tranId = checkNullAndTrim(genericUtility.getColumnValue("tran_id",headerDom));
sql = "SELECT SUM(CASE WHEN NET_AMT IS NULL THEN 0 ELSE NET_AMT END) AS NET_AMT , SUM(CASE WHEN AMOUNT IS NULL THEN 0 ELSE AMOUNT END) AS AMOUNT FROM FULLFINAL_DET WHERE TRAN_ID = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1 , tranId);
rs = pstmt.executeQuery();
if (rs.next())
{
totNetAmtDet = rs.getDouble("NET_AMT");
totAmtDet = rs.getDouble("AMOUNT");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "UPDATE FULLFINAL_HDR SET TOTAL_AMT = ? , AMOUNT = ? WHERE TRAN_ID = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1 , totNetAmtDet);
pstmt.setDouble(2 , totAmtDet);
pstmt.setString(3 , tranId);
updCnt = pstmt.executeUpdate();
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
try
{
System.out.println("Exception IN FullFinalPos::::"+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
catch (Exception e1)
{
e1.printStackTrace();
throw new ITMException(e1);
}
}
finally
{
try
{
if(errString != null && errString.trim().length() > 0)
{
{
conn.rollback();
}
}
if( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
System.out.println("Exception in FullFinalPos "+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
private String checkNull( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
return inputVal;
}
private String checkNullAndTrim( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
return inputVal.trim();
}
}
package ibase.webitm.ejb.adm;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
@javax.ejb.Local
public interface FullFinalPosLocal
{
public String postSave()throws RemoteException,ITMException;
public String postSave( String tranId, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.adm;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import java.sql.Connection;
@javax.ejb.Remote
public interface FullFinalPosRemote
{
public String postSave()throws RemoteException,ITMException;
public String postSave( String tranId, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException;
}
......@@ -146,6 +146,8 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
adCode = checkNull(genericUtility.getColumnValue( "ad_code", currDom ));
System.out.println("adCode="+adCode);
//ls_var_val = gf_getenv("999999" , "CLAIMAD_WO_LOANADJ")
// Modified by Piyush on 30/06/2015[To make the validation proper and resolve the issues of ad code not getting validated against the parameter].Start
/*
varValue = admCommon.getEnv("999999", "CLAIMAD_WO_LOANADJ", conn);
System.out.println("varValue="+varValue);
if(varValue != null && varValue.trim().length() > 0 && "NULLFOUND".equalsIgnoreCase(varValue))
......@@ -158,6 +160,23 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
errFields.add( childNodeName.toLowerCase() );
}
}
*/
String adCodeForClaimWOLoanAdj = checkNull(admCommon.getEnv("999999","CLAIMAD_WO_LOANADJ", conn));
System.out.println("CLAIMAD_WO_LOANADJ....["+adCodeForClaimWOLoanAdj+"]");
if (adCodeForClaimWOLoanAdj.length() > 0)
{
ArrayList adCodeListForClaimWOLoanAdj = new ArrayList(Arrays.asList(adCodeForClaimWOLoanAdj.split(",")));
if (adCodeListForClaimWOLoanAdj.contains(adCode.trim()))
{
System.out.println("AD Code for loan without adjustment:::");
errList.add( "VPPERKAD1" );
errFields.add( "ad_code");
}
}
// Modified by Piyush on 30/06/2015[To make the validation proper and resolve the issues of ad code not getting validated against the parameter].End
sql = " select count(*) from allwdedn where ad_code = ? ";
pstmt = conn.prepareStatement(sql);
......
......@@ -1748,7 +1748,7 @@ public class PerkClaimProcess extends ValidatorEJB implements PerkClaimProcessLo
}
}
String adCodeForClaimWOLoanAdj = checkNull(admCommon.getEnv("999999","CLAIMAD_WO_LOANADJ", conn));
System.out.println("CLAIMAD_WO_LOANADJ....["+lsAd1+"]");
System.out.println("CLAIMAD_WO_LOANADJ....["+adCodeForClaimWOLoanAdj+"]");
if (adCodeForClaimWOLoanAdj.length() > 0)
{
ArrayList adCodeListForClaimWOLoanAdj = new ArrayList(Arrays.asList(adCodeForClaimWOLoanAdj.split(",")));
......
......@@ -223,7 +223,7 @@ public class ShiftChangeIc extends ValidatorEJB implements ShiftChangeIcLocal ,
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if(childNodeName.equalsIgnoreCase("shift") ) // Validation for emp code
if(childNodeName.equalsIgnoreCase("shift") ) // Validation for shift code
{
shift = checkNull(genericUtility.getColumnValue("shift", curDom));
if(shift == null || shift.trim().length() == 0)
......@@ -482,9 +482,12 @@ public class ShiftChangeIc extends ValidatorEJB implements ShiftChangeIcLocal ,
ctr = 0;
childNodeListLength = childNodeList.getLength();
//valueXmlString.append("<Detail2>\r\n");
valueXmlString.append("<Detail1>\r\n");
if(currentColumn.trim().equalsIgnoreCase("shift")) //Item change for emp_code
valueXmlString.append("<Detail>\r\n");
if (currentColumn == null || currentColumn.trim().length() == 0)
{
currentColumn = "shift";
}
if(currentColumn.trim().equalsIgnoreCase("shift")) //Item change for shift_code
{
shift = checkNull(genericUtility.getColumnValue("shift", dom));
if(shift != null && shift.trim().length() > 0)
......@@ -512,7 +515,7 @@ public class ShiftChangeIc extends ValidatorEJB implements ShiftChangeIcLocal ,
}
//valueXmlString.append("</Detail2>\r\n");
valueXmlString.append("</Detail1>\r\n");
valueXmlString.append("</Detail>\r\n");
break;
} //eof switch
valueXmlString.append("</Root>\r\n");
......
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.*;
import javax.ejb.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.system.config.*;
import javax.ejb.Stateless; // added for ejb3
import ibase.webitm.ejb.adm.AdmCommon;
@Stateless // added for ejb3
public class FullFinalUnConfirm extends ActionHandlerEJB implements FullFinalUnConfirmLocal,FullFinalUnConfirmRemote //SessionBean
{
/*public void ejbCreate() throws RemoteException, CreateException
{
}
public void ejbRemove()
{
}
public void ejbActivate()
{
}
public void ejbPassivate()
{
}*/
public String actionHandler() throws RemoteException,ITMException
{
return "";
}
public String actionHandler(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
String retString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
retString = actionUnConfirm(tranId, xtraParams, forcedFlag);
}
catch(Exception e)
{
System.out.println("Exception :FullFinalUnConfirm :actionHandler :" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning String from FullFinalUnConfirm :actionHandler :"+retString);
return retString;
}
private String actionUnConfirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
String sql = "", empCodeAprove = "", loginEmpCode = "", errCode = "", errString = "", confirmed = "", updSql = "", empCode = "";
double itaxAmt = 0d , totAmt = 0d;
Connection conn = null;
Statement stmt = null;
PreparedStatement pstmt = null;
PreparedStatement delPstmt = null;
ResultSet rs = null;
int updCnt = 0;
java.sql.Date currDate = null;
ConnDriver connDriver = new ConnDriver();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
GenericUtility genericUtility = GenericUtility.getInstance();
AdmCommon admCommon = new AdmCommon();
try
{
conn = connDriver.getConnectDB("DriverITM");
stmt = conn.createStatement();
System.out.println("Tran ID : "+ tranId);
sql = "SELECT CONFIRMED, EMP_CODE, IT_AMT, TOTAL_AMT FROM FULLFINAL_HDR WHERE TRAN_ID = ?";
System.out.println("sql :"+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1 , tranId);
rs = pstmt.executeQuery();
if (rs.next())
{
confirmed = checkNull(rs.getString("CONFIRMED"));
empCode = checkNull(rs.getString("EMP_CODE"));
itaxAmt = rs.getDouble("IT_AMT");
totAmt = rs.getDouble("TOTAL_AMT");
}
else
{
errCode = "VTFFSUNC01";
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (errCode.trim().length() == 0)
{
if (confirmed.equalsIgnoreCase("Y"))
{
errCode = "VTMUCONF1";
conn.rollback();
}
else if (confirmed.equalsIgnoreCase("X"))
{
errCode = "VTFFSCANC2";
conn.rollback();
}
else if (!confirmed.equalsIgnoreCase("F") && !confirmed.equalsIgnoreCase("X") && !confirmed.equalsIgnoreCase("I"))
{
errCode = "VTMUCONF2";
conn.rollback();
}
else
{
if (confirmed.equalsIgnoreCase("I"))
{
updSql = "UPDATE FULLFINAL_HDR SET TOTAL_AMT = TOTAL_AMT - ?, IT_AMT = IT_AMT - ?, CONFIRMED = 'F' WHERE TRAN_ID = ?";
pstmt = conn.prepareStatement(updSql);
pstmt.setDouble(1 , itaxAmt);
pstmt.setDouble(2 , itaxAmt);
pstmt.setString(3 , tranId);
updCnt = pstmt.executeUpdate();
if (updCnt == 0)
{
errCode = "VTFFSUNC02";
conn.rollback();
}
else
{
String f16DedList = checkNull(admCommon.getEnv("999999" , "F16_DED" , conn));
if (f16DedList.equalsIgnoreCase("NULLFOUND"))
{
errCode = "VSENVAR1";
conn.rollback();
}
else
{
String[] f16DednADList = f16DedList.split(",");
if (f16DednADList.length > 0)
{
sql = "SELECT MAX(LINE_NO) AS LINE_NO FROM FULLFINAL_DET WHERE TRAN_ID = ? AND AD_CODE = ?";
pstmt = conn.prepareStatement(sql);
sql = "DELETE FROM FULLFINAL_DET WHERE TRAN_ID = ? AND LINE_NO = ?";
delPstmt = conn.prepareStatement(sql);
for (int i = 0; i < f16DednADList.length; i++)
{
pstmt.setString(1 , tranId);
pstmt.setString(2 , f16DednADList[i]);
rs = pstmt.executeQuery();
if (rs.next())
{
int lineNo = rs.getInt("LINE_NO");
delPstmt.setString(1 , tranId);
delPstmt.setInt(2 , lineNo);
updCnt = pstmt.executeUpdate();
delPstmt.clearParameters();
}
if (rs != null)
{
rs.close();
rs = null;
}
pstmt.clearParameters();
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (delPstmt != null)
{
delPstmt.close();
delPstmt = null;
}
}
}
}
}
sql = "UPDATE FULLFINAL_HDR SET CONFIRMED = 'N' WHERE TRAN_ID = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1 , tranId);
updCnt = pstmt.executeUpdate();
conn.commit();
errCode = "";
}
}
if (errCode == null || errCode.trim().length() == 0)
{
errCode = "VTMUCONF3";
}
errString = itmDBAccessEJB.getErrorString("",errCode,"","",conn);
}
catch (SQLException sqx)
{
System.out.println("The sqlException occure in EmpAddChgCncEJB :"+sqx);
throw new ITMException(sqx);
}
catch (Exception e)
{
System.out.println("The Exception occure in EmpAddChgCncEJB :"+e);
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (stmt != null)
{
stmt.close();
stmt = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (delPstmt != null)
{
delPstmt.close();
delPstmt = null;
}
if (conn != null)
{
conn.close();
conn = null;
}
}
catch (Exception e)
{
System.out.println("Exception in finally: " + e);
}
}
return errString;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
else
{
input = input.trim();
}
return input;
}
}
\ No newline at end of file
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerLocal;
import javax.ejb.Local; // added for ejb3
@Local // added for ejb3
public interface FullFinalUnConfirmLocal extends ActionHandlerLocal //,EJBObject
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
public interface FullFinalUnConfirmRemote extends ActionHandlerRemote //,EJBObject
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
}
\ No newline at end of file
......@@ -15592,3 +15592,558 @@ VALUES
COMMIT;
--------------- ADM-RCP-DATA-DML-V21.SQL.End -----------------
--------------- ADM-RCP-DATA-DML-V22.SQL.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
(
'VTITXPRC01',
'Financial entity null!',
'Financial entity is not specified, please specify financial entity',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
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
(
'VTITXPRC02',
'Invalid financial entity!',
'Entered financial entity does not exist in system, please specify financial entity existing in system',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
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
(
'VTITXPRC03',
'Account Period Blank!',
'Accounting period is not specified, please specify accounting period',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
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
(
'VTITXPRC04',
'Invalid accounting period!',
'Entered accounting period does not exist in system, please specify accounting period existing in system',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
INSERT INTO MESSAGES
(
MSG_NO,
MSG_STR,
MSG_DESCR,
MSG_TYPE,
MSG_OPT,
MSG_TIME,
ALARM,
ERR_SOURCE,
CHG_DATE,
CHG_USER,
CHG_TERM,
OVERRIDE_INPUT,
MAIL_OPTION
)
VALUES
(
'VMEMPTPRD1',
'Invalid Training Period!',
'Training period is empty, please specify training period',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
INSERT INTO MESSAGES
(
MSG_NO,
MSG_STR,
MSG_DESCR,
MSG_TYPE,
MSG_OPT,
MSG_TIME,
ALARM,
ERR_SOURCE,
CHG_DATE,
CHG_USER,
CHG_TERM,
OVERRIDE_INPUT,
MAIL_OPTION
)
VALUES
(
'VMEMPTPRD2',
'Invalid Training Period!',
'Training period can not be less than 0, please enter training period grater than or equal to 0',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
INSERT INTO MESSAGES
(
MSG_NO,
MSG_STR,
MSG_DESCR,
MSG_TYPE,
MSG_OPT,
MSG_TIME,
ALARM,
ERR_SOURCE,
CHG_DATE,
CHG_USER,
CHG_TERM,
OVERRIDE_INPUT,
MAIL_OPTION
)
VALUES
(
'VMEMPPPRD1',
'Invalid Probation Period!',
'Probation period is empty, please specify Probation period',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
INSERT INTO MESSAGES
(
MSG_NO,
MSG_STR,
MSG_DESCR,
MSG_TYPE,
MSG_OPT,
MSG_TIME,
ALARM,
ERR_SOURCE,
CHG_DATE,
CHG_USER,
CHG_TERM,
OVERRIDE_INPUT,
MAIL_OPTION
)
VALUES
(
'VMEMPPPRD2',
'Invalid Probation Period!',
'Probation period can not be less than 0, please enter Probation period grater than or equal to 0',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
INSERT INTO MESSAGES
(
MSG_NO,
MSG_STR,
MSG_DESCR,
MSG_TYPE,
MSG_OPT,
MSG_TIME,
ALARM,
ERR_SOURCE,
CHG_DATE,
CHG_USER,
CHG_TERM,
OVERRIDE_INPUT,
MAIL_OPTION
)
VALUES
(
'VMEMPNPRD1',
'Invalid Notice Period!',
'Notice period is empty, please specify Notice period',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
INSERT INTO MESSAGES
(
MSG_NO,
MSG_STR,
MSG_DESCR,
MSG_TYPE,
MSG_OPT,
MSG_TIME,
ALARM,
ERR_SOURCE,
CHG_DATE,
CHG_USER,
CHG_TERM,
OVERRIDE_INPUT,
MAIL_OPTION
)
VALUES
(
'VMEMPNPRD2',
'Invalid Notice Period!',
'Notice period can not be less than 0, please enter Notice period grater than or equal to 0',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
--------------- ADM-RCP-DATA-DML-V22.SQL.End -----------------
--------------- ADM-RCP-DATA-DML-V23.SQL.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
(
'VTITXPRC01',
'Financial entity null!',
'Financial entity is not specified, please specify financial entity',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
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
(
'VTITXPRC02',
'Invalid financial entity!',
'Entered financial entity does not exist in system, please specify financial entity existing in system',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
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
(
'VTITXPRC03',
'Account Period Blank!',
'Accounting period is not specified, please specify accounting period',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
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
(
'VTITXPRC04',
'Invalid accounting period!',
'Entered accounting period does not exist in system, please specify accounting period existing in system',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
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
(
'VTFFSUNC01',
'Invalid Transaction ID!',
'Selected transaction id is not existing in database',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
INSERT INTO MESSAGES
(
MSG_NO,
MSG_STR,
MSG_DESCR,
MSG_TYPE,
MSG_OPT,
MSG_TIME,
ALARM,
ERR_SOURCE,
CHG_DATE,
CHG_USER,
CHG_TERM,
OVERRIDE_INPUT,
MAIL_OPTION
)
VALUES
(
'VTFFSUNC02',
'Failed to Un-confirm!',
'Failed to un-confirm selected transaction because of failed to update transaction',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE',
'BASE',
NULL,
NULL
);
COMMIT;
--------------- ADM-RCP-DATA-DML-V23.SQL.End -----------------
......@@ -952,6 +952,34 @@ end;
--------------- RCP-DDL from W14CSUN012-Employee Master on WEB.End -------
--------------- DDL from ADM-RCP-DDL-V21.SQL.End -------
--------------- DDL from ADM-RCP-DDL-V21.SQL.Start -------
-- No DDL in this version
--------------- DDL from ADM-RCP-DDL-V21.SQL.End -------
--------------- DDL from ADM-RCP-DDL-V22.SQL.Start -------
-- No DDL in this version
--------------- DDL from ADM-RCP-DDL-V22.SQL.End -------
--------------- DDL from ADM-RCP-DDL-V23.SQL.Start -------
CREATE TABLE FINENT_ACCTPRD
(
FIN_ENTITY CHAR(10) NOT NULL,
ACCT_PRD CHAR(6) NOT NULL,
DESCR VARCHAR2(30) NOT NULL,
FR_DATE DATE NOT NULL,
TO_DATE DATE NOT NULL,
IT_FR_DATE DATE,
IT_TO_DATE DATE,
CHG_DATE DATE NOT NULL,
CHG_USER VARCHAR2(10) NOT NULL,
CHG_TERM VARCHAR2(15) NOT NULL
);
ALTER TABLE FINENT_ACCTPRD ADD ( CONSTRAINT FINENT_ACCTPRD_X PRIMARY KEY (FIN_ENTITY,ACCT_PRD) );
ALTER TABLE FINENT_ACCTPRD ADD ( CONSTRAINT FK_FINENT_ACCTPRD_FENT FOREIGN KEY (FIN_ENTITY) REFERENCES FINENT ) ;
ALTER TABLE FINENT_ACCTPRD ADD ( CONSTRAINT FK_FINENT_ACCTPRD_APRD FOREIGN KEY (ACCT_PRD) REFERENCES ACCTPRD ) ;
--------------- DDL from ADM-RCP-DDL-V23.SQL.End -------
......@@ -162,6 +162,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>sex</name>
<dbname>employee.sex</dbname>
<initial>M</initial>
<values>
<item display="Male" data="M"/>
<item display="Female" data="F"/>
......@@ -173,6 +174,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>name_prefix</name>
<dbname>employee.name_prefix</dbname>
<initial>Mr</initial>
<values>
<item display="Mr" data="Mr"/>
<item display="Ms" data="Ms"/>
......@@ -471,6 +473,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>tot_exp</name>
<dbname>employee.tot_exp</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="5">char</type>
......@@ -492,6 +495,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>training_prd</name>
<dbname>employee.training_prd</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type>datetime</type>
......@@ -506,6 +510,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>probation_prd</name>
<dbname>employee.probation_prd</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type>datetime</type>
......@@ -520,6 +525,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>notice_prd</name>
<dbname>employee.notice_prd</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type>datetime</type>
......@@ -555,6 +561,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>shift_rot</name>
<dbname>employee.shift_rot</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
......@@ -584,6 +591,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>pay_mode</name>
<dbname>employee.pay_mode</dbname>
<initial>C</initial>
<values>
<item display="Cheque" data="Q"/>
<item display="Cash" data="C"/>
......@@ -604,6 +612,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>basic</name>
<dbname>employee.basic</dbname>
<initial>0.00</initial>
</table_column>
<table_column>
<type size="10">char</type>
......@@ -618,6 +627,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>gross</name>
<dbname>employee.gross</dbname>
<initial>0.00</initial>
</table_column>
<table_column>
<type size="10">char</type>
......@@ -667,6 +677,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>with_held</name>
<dbname>employee.with_held</dbname>
<initial>N</initial>
</table_column>
<table_column>
<type size="5">char</type>
......@@ -744,6 +755,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>probation</name>
<dbname>employee.probation</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
......@@ -755,6 +767,11 @@
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>employee.confirmed</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type size="10">char</type>
......@@ -914,6 +931,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>eligible_ot</name>
<dbname>employee.eligible_ot</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
......@@ -925,6 +943,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>standby_mode</name>
<dbname>employee.standby_mode</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
......@@ -1066,6 +1085,7 @@
<updatewhereclause>yes</updatewhereclause>
<name>auto_adv</name>
<dbname>employee.auto_adv</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
......@@ -6087,11 +6107,10 @@
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="edit">
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
$PBExportHeader$d_rep_specific_ad11.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 processing=1 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 grid.lines=0 )
header(height=37 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(15) update=yes updatewhereclause=yes key=yes name=report_id dbname="rep_specific_ad.report_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="rep_specific_ad.line_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=ad_code dbname="rep_specific_ad.ad_code" )
column=(type=char(40) updatewhereclause=yes name=descr dbname="allwdedn.descr" )
column=(type=char(15) update=yes updatewhereclause=yes name=rep_section dbname="rep_specific_ad.rep_section" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="rep_specific_ad.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="rep_specific_ad.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="rep_specific_ad.chg_term" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"allwdedn~" ) TABLE(NAME=~"rep_specific_ad~" ) COLUMN(NAME=~"rep_specific_ad.report_id~") COLUMN(NAME=~"rep_specific_ad.line_no~") COLUMN(NAME=~"rep_specific_ad.ad_code~") COLUMN(NAME=~"allwdedn.descr~") COLUMN(NAME=~"rep_specific_ad.rep_section~") COLUMN(NAME=~"rep_specific_ad.chg_date~") COLUMN(NAME=~"rep_specific_ad.chg_user~") COLUMN(NAME=~"rep_specific_ad.chg_term~") JOIN (LEFT=~"allwdedn.ad_code~" OP =~"=~"RIGHT=~"rep_specific_ad.ad_code~" )) " update="REP_SPECIFIC_AD" updatewhere=0 updatekeyinplace=no )
text(band=header alignment="2" text="Change Term" border="6" color="33554432" x="791" y="2" height="16" width="119" 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=header alignment="2" text="Change User" border="6" color="33554432" x="696" y="2" height="16" width="93" 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=header alignment="2" text="Change Date" border="6" color="33554432" x="601" y="2" height="16" width="93" 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=header alignment="2" text="Report Section" border="6" color="33554432" x="464" y="2" height="16" width="135" html.valueishtml="0" name=rep_section_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Description" border="6" color="33554432" x="243" y="2" height="16" width="219" 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=header alignment="2" text="Ad Code" border="6" color="33554432" x="170" y="2" height="16" width="71" html.valueishtml="0" name=ad_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Line No" border="6" color="33554432" x="112" y="2" height="16" width="56" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Report Id" border="6" color="33554432" x="2" y="2" height="16" width="108" html.valueishtml="0" name=report_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="19" width="108" format="[general]" html.valueishtml="0" name=report_id 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=2 alignment="1" tabsequence=32766 border="5" color="33554432" x="112" y="2" height="19" width="56" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="170" y="2" height="19" width="71" format="[general]" html.valueishtml="0" name=ad_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="243" y="2" height="19" width="219" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=40 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="464" y="2" height="19" width="135" format="[general]" html.valueishtml="0" name=rep_section 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=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="601" y="2" height="19" width="93" 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="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="696" y="2" height="19" width="93" 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=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="791" y="2" height="19" width="119" 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" )
htmltable(border="1" )
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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_rep_specific_ad21.srd
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 )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=279 color="536870912" )
table(column=(type=char(15) update=yes updatewhereclause=yes key=yes name=report_id dbname="rep_specific_ad.report_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="rep_specific_ad.line_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=ad_code dbname="rep_specific_ad.ad_code" )
column=(type=char(40) updatewhereclause=yes name=descr dbname="allwdedn.descr" )
column=(type=char(15) update=yes updatewhereclause=yes name=rep_section dbname="rep_specific_ad.rep_section" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="rep_specific_ad.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="rep_specific_ad.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="rep_specific_ad.chg_term" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"allwdedn~" ) TABLE(NAME=~"rep_specific_ad~" ) COLUMN(NAME=~"rep_specific_ad.report_id~") COLUMN(NAME=~"rep_specific_ad.line_no~") COLUMN(NAME=~"rep_specific_ad.ad_code~") COLUMN(NAME=~"allwdedn.descr~") COLUMN(NAME=~"rep_specific_ad.rep_section~") COLUMN(NAME=~"rep_specific_ad.chg_date~") COLUMN(NAME=~"rep_specific_ad.chg_user~") COLUMN(NAME=~"rep_specific_ad.chg_term~") JOIN (LEFT=~"allwdedn.ad_code~" OP =~"=~"RIGHT=~"rep_specific_ad.ad_code~" )WHERE( EXP1 =~"report_id~" OP =~"=~" EXP2 =~":report_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"report_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="REP_SPECIFIC_AD" updatewhere=0 updatekeyinplace=no retrieve.asneeded=yes arguments=(("report_id", string),("line_no", number)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="13" y="4" height="154" width="590" 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=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="178" y="43" height="16" width="368" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=40 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="208" y="83" height="16" width="79" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="292" y="83" height="16" width="70" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change Term:" border="0" color="33554432" x="367" y="83" height="16" width="81" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="453" y="83" height="16" width="93" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 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="Line No:" border="0" color="33554432" x="396" y="23" height="16" width="75" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="33554432" x="475" y="23" height="16" width="71" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 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="Report Id:" border="0" color="33554432" x="46" y="23" height="16" width="75" html.valueishtml="0" name=report_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Ad Code:" border="0" color="33554432" x="46" y="43" height="16" width="75" html.valueishtml="0" name=ad_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Report Section:" border="0" color="33554432" x="29" y="63" height="16" width="92" html.valueishtml="0" name=rep_section_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change Date:" border="0" color="33554432" x="42" y="83" height="16" width="79" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="125" y="83" height="16" width="79" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 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" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="125" y="23" height="16" width="96" format="[general]" html.valueishtml="0" name=report_id visible="1" edit.limit=15 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" )
column(band=detail id=3 alignment="0" tabsequence=20 border="5" color="33554432" x="125" y="43" height="16" width="47" format="[general]" html.valueishtml="0" name=ad_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" )
column(band=detail id=5 alignment="0" tabsequence=30 border="5" color="33554432" x="125" y="63" height="16" width="421" format="[general]" html.valueishtml="0" name=rep_section visible="1" edit.limit=15 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" )
htmltable(border="1" )
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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$sun_geobi_access11.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 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 grid.lines=0 )
header(height=21 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=user_id dbname="sun_geobi_access.user_id" )
column=(type=char(40) updatewhereclause=yes name=username dbname="username" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=geo_loc dbname="sun_geobi_access.geo_loc" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="sun_geobi_access.chg_user" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="sun_geobi_access.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="sun_geobi_access.chg_term" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sun_geobi_access~" ) TABLE(NAME=~"users~" ) COLUMN(NAME=~"sun_geobi_access.user_id~") COMPUTE(NAME=~"TRIM(USERS.NAME) AS USERNAME~") COLUMN(NAME=~"sun_geobi_access.geo_loc~") COLUMN(NAME=~"sun_geobi_access.chg_user~") COLUMN(NAME=~"sun_geobi_access.chg_date~") COLUMN(NAME=~"sun_geobi_access.chg_term~") JOIN (LEFT=~"sun_geobi_access.user_id~" OP =~"=~"RIGHT=~"users.code~" )) " update="SUN_GEOBI_ACCESS" updatewhere=0 updatekeyinplace=no )
text(band=header alignment="2" text="User Id" border="0" color="33554432" x="2" y="2" height="16" width="102" html.valueishtml="0" name=user_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Username" border="0" color="33554432" x="106" y="2" height="16" width="187" html.valueishtml="0" name=username_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Geo Location" border="0" color="33554432" x="295" y="2" height="16" width="92" html.valueishtml="0" name=geo_loc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg User" border="0" color="33554432" x="389" y="2" height="16" width="89" 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=header alignment="2" text="Chg Date" border="0" color="33554432" x="480" y="2" height="16" width="101" 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=header alignment="2" text="Chg Term" border="0" color="33554432" x="583" y="2" height="16" width="109" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="2" y="2" height="19" width="102" format="[general]" html.valueishtml="0" name=user_id visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="106" y="2" height="19" width="187" format="[general]" html.valueishtml="0" name=username visible="1" edit.limit=40 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=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="295" y="2" height="19" width="92" format="[general]" html.valueishtml="0" name=geo_loc 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" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="389" y="2" height="19" width="89" 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=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="480" y="2" height="19" width="101" 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="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="33554432" x="583" y="2" height="19" width="109" 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" )
htmltable(border="1" )
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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$sun_geobi_access21.srd
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 )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=206 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=user_id dbname="sun_geobi_access.user_id" )
column=(type=char(40) updatewhereclause=yes name=username dbname="username" )
column=(type=char(5) update=yes updatewhereclause=yes key=yes name=geo_loc dbname="sun_geobi_access.geo_loc" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="sun_geobi_access.chg_user" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="sun_geobi_access.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="sun_geobi_access.chg_term" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sun_geobi_access~" ) TABLE(NAME=~"users~" ) COLUMN(NAME=~"sun_geobi_access.user_id~") COMPUTE(NAME=~"TRIM(USERS.NAME) AS USERNAME~") COLUMN(NAME=~"sun_geobi_access.geo_loc~") COLUMN(NAME=~"sun_geobi_access.chg_user~") COLUMN(NAME=~"sun_geobi_access.chg_date~") COLUMN(NAME=~"sun_geobi_access.chg_term~") JOIN (LEFT=~"sun_geobi_access.user_id~" OP =~"=~"RIGHT=~"users.code~" )WHERE( EXP1 =~"~~~"SUN_GEOBI_ACCESS~~~".~~~"USER_ID~~~"~" OP =~"=~" EXP2 =~":user_id~" LOGIC =~"and~" ) WHERE( EXP1 =~"~~~"SUN_GEOBI_ACCESS~~~".~~~"GEO_LOC~~~"~" OP =~"=~" EXP2 =~":geo_loc~" ) ) ARG(NAME = ~"user_id~" TYPE = number) ARG(NAME = ~"geo_loc~" TYPE = number) " update="SUN_GEOBI_ACCESS" updatewhere=0 updatekeyinplace=no arguments=(("user_id", number),("geo_loc", number)) )
text(band=detail alignment="1" text="Chg User:" border="0" color="33554432" x="18" y="56" height="16" width="63" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="86" y="56" height="16" width="89" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Chg Term:" border="0" color="33554432" x="18" y="98" height="16" width="63" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="86" y="98" height="16" width="89" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Chg Date:" border="0" color="33554432" x="18" y="77" height="16" width="63" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="86" y="77" height="16" width="89" 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="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="User Id:" border="0" color="33554432" x="18" y="14" height="16" width="63" html.valueishtml="0" name=user_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="86" y="14" height="16" width="60" format="[general]" html.valueishtml="0" name=user_id visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="148" y="14" height="16" width="174" format="[general]" html.valueishtml="0" name=username visible="1" edit.limit=40 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Geo Location:" border="0" color="33554432" x="0" y="35" height="16" width="81" html.valueishtml="0" name=geo_loc_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=20 border="5" color="33554432" x="86" y="35" height="16" width="60" format="[general]" html.valueishtml="0" name=geo_loc 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" )
htmltable(border="1" )
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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
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