Commit c5f65cbf authored by jshinde's avatar jshinde

Request W15GSUN001,Create transaction screen Pallet Request .


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98888 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a41fae5f
......@@ -299,16 +299,19 @@ public class PalletReqIC extends ValidatorEJB implements PalletReqICLocal, Palle
}
rs.close();
pstmt.close();
String sql1 = "SELECT COUNT(1) FROM STOCK WHERE INV_STAT =? AND LOC_CODE=? AND QUANTITY>0";
siteCode = checkNullAndTrim(genericUtility.getColumnValue("site_code",dom1));
String sql1 = "SELECT COUNT(1) FROM STOCK WHERE INV_STAT =? AND LOC_CODE=? AND SITE_CODE=? AND QUANTITY>0";
pstmt = conn.prepareStatement(sql1);
pstmt.setString(1, "AWMS");
pstmt.setString(2, palletNo);
pstmt.setString(3, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
System.out.println("count from stock" +rs.getInt(1));
{
System.out.println("count stock>>>>>>>" +rs.getInt(1));
System.out.println("PALLET_NO FOR STOCK" +palletNo);
System.out.println("site code for stock" +siteCode);
if(rs.getInt(1)==0)
{
errCode = "VMPALLETQN";//pallet quantity should be more than zero
......
......@@ -351,7 +351,7 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Emp Code Aprv</text>
<text>Employee Code Aproved</text>
<border>0</border>
<color>33554432</color>
<x>878</x>
......
......@@ -135,7 +135,7 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No</text>
<text>Line Number</text>
<border>0</border>
<color>33554432</color>
<x>70</x>
......@@ -163,7 +163,7 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pallet No</text>
<text>Pallet Number</text>
<border>0</border>
<color>33554432</color>
<x>144</x>
......@@ -244,6 +244,34 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Location Description</text>
<border>0</border>
<color>33554432</color>
<x>336</x>
<y>1</y>
<height>17</height>
<width>238</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>location_descr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
......@@ -446,10 +474,11 @@
<tabsequence>60</tabsequence>
<border>0</border>
<color>33554432</color>
<x>337</x>
<x>336</x>
<y>1</y>
<height>15</height>
<width>238</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -475,34 +504,6 @@
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Location Descr</text>
<border>0</border>
<color>33554432</color>
<x>336</x>
<y>1</y>
<height>16</height>
<width>239</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>location_descr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -294,13 +294,13 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pallet No:</text>
<text>Pallet Number:</text>
<border>0</border>
<color>33554432</color>
<x>43</x>
<x>14</x>
<y>66</y>
<height>16</height>
<width>57</width>
<height>15</height>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -465,13 +465,13 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No:</text>
<text>Line Number:</text>
<border>0</border>
<color>33554432</color>
<x>292</x>
<x>267</x>
<y>47</y>
<height>16</height>
<width>52</width>
<height>15</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
......
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