Commit 542b83f2 authored by akhokar's avatar akhokar

Migrated new components of Loan Opening and changes done in srd and metadata.

LoanOpeningCnc.java
loan_opening21.xml
loan_opening22.xml
d_loan_edit.srd
d_loandtl_new_edit.srd
LoanOpeningConf.java
LoanOpeningConfLocal.java
LoanOpeningConfRemote.java
LoanOpeningIC.java
LoanOpeningICLocal.java
LoanOpeningICRemote.java
loan_opening.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202896 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b98c8e2b
This diff is collapsed.
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Local;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
@Local
public interface LoanOpeningICLocal extends ValidatorLocal {
@Override
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
@Remote
public interface LoanOpeningICRemote extends ValidatorRemote {
@Override
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
\ No newline at end of file
......@@ -12,11 +12,10 @@ import java.rmi.RemoteException;
import java.sql.*;
import javax.ejb.*;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import ibase.system.config.*;
import ibase.webitm.utility.GenericUtility;
import javax.ejb.Stateless; // added for ejb3
@Stateless // added for ejb3
......@@ -47,7 +46,10 @@ public class LoanOpeningCnc extends ActionHandlerEJB implements LoanOpeningCncLo
{
String retString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
// Modified by Azhar K. on [28-June-2019][Changes done as per new framework][Start]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Azhar K. on [28-June-2019][Changes done as per new framework][End]
try
{
retString = actionCancel(loanNo, xtraParams, forcedFlag);
......@@ -70,13 +72,21 @@ public class LoanOpeningCnc extends ActionHandlerEJB implements LoanOpeningCncLo
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
ConnDriver connDriver = new ConnDriver();
// Modified by Azhar K. on [28-June-2019][Changes done as per new framework][Start]
//ConnDriver connDriver = new ConnDriver();
// Modified by Azhar K. on [28-June-2019][Changes done as per new framework][End]
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
GenericUtility genericUtility = GenericUtility.getInstance();
// Modified by Azhar K. on [28-June-2019][Changes done as per new framework][Start]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified by Azhar K. on [28-June-2019][Changes done as per new framework][End]
int cnt = 0;
try
{
conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
// Modified by Azhar K. on [28-June-2019][Changes done as per new framework][Start]
//conn = connDriver.getConnectDB("DriverITM");
// Modified by Azhar K. on [28-June-2019][Changes done as per new framework][End]
stmt = conn.createStatement();
System.out.println("########### Inside LoanOpeningCncEJB[actionCancel] ###########");
......
This diff is collapsed.
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import javax.ejb.Local;
import ibase.webitm.utility.ITMException;
@Local
public interface LoanOpeningConfLocal
{
public String confirm(String tranId, String xtraParams, String forcedFlag)throws RemoteException,ITMException;
public String gbfPostLogic(String asTranidFr,String asTranidTo, String xtraParams,String forcedFlag,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import javax.ejb.Remote;
import ibase.webitm.utility.ITMException;
@Remote
public interface LoanOpeningConfRemote
{
public String confirm(String tranId, String xtraParams, String forcedFlag)throws RemoteException,ITMException;
public String gbfPostLogic(String asTranidFr,String asTranidTo, String xtraParams,String forcedFlag,Connection conn) throws ITMException;
}
This diff is collapsed.
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>128</height>
<height>230</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -148,6 +148,30 @@
<type>number</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>4</x>
<y>2</y>
<height>199</height>
<width>506</width>
<name>gb_1</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>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>8</id>
......@@ -155,8 +179,8 @@
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>81</x>
<y>79</y>
<x>89</x>
<y>112</y>
<height>16</height>
<width>406</width>
<format>[general]</format>
......@@ -193,22 +217,20 @@
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>81</x>
<y>55</y>
<x>89</x>
<y>88</y>
<height>16</height>
<width>72</width>
<format>#,##0.00</format>
<format>###,###,###.00</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<EditStyle style="editmask">
<mask>###,###,###.00</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
......@@ -230,8 +252,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>447</x>
<y>7</y>
<x>455</x>
<y>40</y>
<height>16</height>
<width>40</width>
<format>[General]</format>
......@@ -266,14 +288,14 @@
<text>No of Inst. Deducted :</text>
<border>0</border>
<color>0</color>
<x>304</x>
<y>7</y>
<x>312</x>
<y>40</y>
<height>16</height>
<width>139</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loans_schedule_no_inst_ded_t</name>
<name>no_inst_ded_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -295,8 +317,8 @@
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>297</x>
<y>31</y>
<x>305</x>
<y>64</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
......@@ -332,8 +354,8 @@
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>297</x>
<y>55</y>
<x>305</x>
<y>88</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
......@@ -370,8 +392,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>362</x>
<y>31</y>
<x>370</x>
<y>64</y>
<height>16</height>
<width>125</width>
<format>[general]</format>
......@@ -407,8 +429,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>362</x>
<y>55</y>
<x>370</x>
<y>88</y>
<height>16</height>
<width>125</width>
<format>[general]</format>
......@@ -443,14 +465,14 @@
<text>Recovery AD Code :</text>
<border>0</border>
<color>0</color>
<x>167</x>
<y>55</y>
<x>175</x>
<y>88</y>
<height>16</height>
<width>125</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loans_schedule_ad_code_t</name>
<name>ad_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -471,14 +493,14 @@
<text>Recovery Period :</text>
<border>0</border>
<color>0</color>
<x>167</x>
<y>31</y>
<x>175</x>
<y>64</y>
<height>16</height>
<width>125</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loans_schedule_prd_code_t</name>
<name>prd_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -500,8 +522,8 @@
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>81</x>
<y>31</y>
<x>89</x>
<y>64</y>
<height>16</height>
<width>72</width>
<format>[General]</format>
......@@ -537,8 +559,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>81</x>
<y>6</y>
<x>89</x>
<y>39</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
......@@ -572,14 +594,14 @@
<text>Line no :</text>
<border>0</border>
<color>0</color>
<x>177</x>
<y>7</y>
<x>185</x>
<y>40</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loans_schedule_line_no_t</name>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -601,8 +623,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>247</x>
<y>7</y>
<x>255</x>
<y>40</y>
<height>16</height>
<width>44</width>
<format>[General]</format>
......@@ -638,8 +660,8 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>82</x>
<y>108</y>
<x>90</x>
<y>141</y>
<height>16</height>
<width>76</width>
<format>[shortdate] [time]</format>
......@@ -674,8 +696,8 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>188</x>
<y>108</y>
<x>196</x>
<y>141</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
......@@ -710,8 +732,8 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>294</x>
<y>108</y>
<x>302</x>
<y>141</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
......@@ -745,8 +767,8 @@
<text>Loan No. :</text>
<border>0</border>
<color>0</color>
<x>6</x>
<y>6</y>
<x>14</x>
<y>39</y>
<height>16</height>
<width>70</width>
<html>
......@@ -773,14 +795,14 @@
<text>No of Inst. :</text>
<border>0</border>
<color>0</color>
<x>6</x>
<y>31</y>
<x>14</x>
<y>64</y>
<height>16</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loans_schedule_no_inst_t</name>
<name>no_inst_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -801,14 +823,14 @@
<text>Amount :</text>
<border>0</border>
<color>0</color>
<x>6</x>
<y>55</y>
<x>14</x>
<y>88</y>
<height>16</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loans_schedule_amount_t</name>
<name>amount_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -829,14 +851,14 @@
<text>Remarks :</text>
<border>0</border>
<color>0</color>
<x>6</x>
<y>79</y>
<x>14</x>
<y>112</y>
<height>16</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loans_schedule_remarks_t</name>
<name>remarks_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......
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