Commit fca0c2e0 authored by msingh's avatar msingh

Change by Manish for Pack Label Wizard on 28/10/16


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103836 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 04930112
......@@ -150,6 +150,18 @@
<name>site_code__mfg</name>
<dbname>name_9</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>line_no__ord</name>
<dbname>name_10</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>no_pallet</name>
<dbname>name_11</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
......@@ -403,90 +415,6 @@
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Lot No</text>
<border>0</border>
<color>33554432</color>
<x>904</x>
<y>1</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>No Art</text>
<border>0</border>
<color>33554432</color>
<x>982</x>
<y>1</y>
<height>16</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Tran Code</text>
<border>0</border>
<color>33554432</color>
<x>1042</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_code_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
......@@ -515,118 +443,6 @@
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Case Label</text>
<border>0</border>
<color>33554432</color>
<x>1322</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>case_label_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Exp Date</text>
<border>0</border>
<color>33554432</color>
<x>1112</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Mfg Date</text>
<border>0</border>
<color>33554432</color>
<x>1182</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>mfg_date_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Site Code Mfg</text>
<border>0</border>
<color>33554432</color>
<x>1252</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__mfg_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>
<ColumnObject>
<band>Detail</band>
<id>1</id>
......@@ -970,20 +786,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<tabsequence>100</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1042</x>
<y>5</y>
<height>17</height>
<width>68</width>
<x>807</x>
<y>3</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_code</name>
<name>shipper_size</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1006,63 +822,55 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<id>18</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<tabsequence>180</tabsequence>
<border>0</border>
<color>33554432</color>
<x>982</x>
<x>1393</x>
<y>5</y>
<height>16</height>
<width>58</width>
<format>[general]</format>
<height>15</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art</name>
<name>line_no__ord</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-11</height>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<text>Lot No</text>
<border>0</border>
<color>33554432</color>
<x>904</x>
<y>3</y>
<y>1</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no</name>
<name>lot_no_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-11</height>
......@@ -1075,23 +883,263 @@
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<text>No Art</text>
<border>0</border>
<color>33554432</color>
<x>807</x>
<x>982</x>
<y>1</y>
<height>16</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Tran Code</text>
<border>0</border>
<color>33554432</color>
<x>1042</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_code_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Case Label</text>
<border>0</border>
<color>33554432</color>
<x>1322</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>case_label_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Exp Date</text>
<border>0</border>
<color>33554432</color>
<x>1112</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Mfg Date</text>
<border>0</border>
<color>33554432</color>
<x>1182</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>mfg_date_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Site Code Mfg</text>
<border>0</border>
<color>33554432</color>
<x>1252</x>
<y>1</y>
<height>17</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__mfg_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>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1042</x>
<y>5</y>
<height>17</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>0</border>
<color>33554432</color>
<x>982</x>
<y>5</y>
<height>16</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>0</border>
<color>33554432</color>
<x>904</x>
<y>3</y>
<height>16</height>
<width>95</width>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shipper_size</name>
<name>lot_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1120,7 +1168,7 @@
<border>0</border>
<color>33554432</color>
<x>1322</x>
<y>5</y>
<y>4</y>
<height>17</height>
<width>68</width>
<format>[general]</format>
......@@ -1260,6 +1308,98 @@
<color>1073741824</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Line No Ord</text>
<border>0</border>
<color>33554432</color>
<x>1392</x>
<y>1</y>
<height>15</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ord_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>190</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1477</x>
<y>4</y>
<height>15</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_pallet</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>No Pallet</text>
<border>0</border>
<color>33554432</color>
<x>1476</x>
<y>1</y>
<height>15</height>
<width>59</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_pallet_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -151,22 +151,44 @@
<name>site_code__mfg</name>
<dbname>name_10</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>line_no__ord</name>
<dbname>name_11</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>no_pallet</name>
<dbname>name_12</dbname>
</table_column>
</TableDefinition>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Purchase Contract / Order:</text>
<border>0</border>
<color>33554432</color>
<x>0</x>
<y>8</y>
<height>15</height>
<width>156</width>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>367</x>
<y>40</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>contract_no_t</name>
<name>site_code_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -176,26 +198,26 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>131</x>
<y>8</y>
<x>367</x>
<y>65</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>contract_no</name>
<name>supp_code_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -218,21 +240,31 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>14</x>
<y>35</y>
<height>15</height>
<width>110</width>
<id>7</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>367</x>
<y>93</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<name>item_code_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -242,38 +274,36 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>132</x>
<y>35</y>
<color>33554432</color>
<x>367</x>
<y>121</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<name>shipper_size</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
......@@ -281,23 +311,60 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>1073741824</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Supp Code:</text>
<border>0</border>
<id>12</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>33554432</color>
<x>12</x>
<y>61</y>
<x>367</x>
<y>145</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>
</ColumnObject>
<ComputedField>
<band>Detail</band>
<alignment>0</alignment>
<expression> case_label </expression>
<border>5</border>
<color>33554432</color>
<x>367</x>
<y>171</y>
<height>15</height>
<width>110</width>
<width>104</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_code_t</name>
<name>compute_2</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -308,24 +375,82 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>0</alignment>
<expression> exp_date </expression>
<border>5</border>
<color>33554432</color>
<x>367</x>
<y>195</y>
<height>17</height>
<width>103</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>compute_3</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>0</alignment>
<expression> site_code__mfg </expression>
<border>5</border>
<color>33554432</color>
<x>367</x>
<y>219</y>
<height>17</height>
<width>103</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>compute_5</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>
</ComputedField>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Code:</text>
<text>Purchase Contract / Order:</text>
<border>0</border>
<color>33554432</color>
<x>16</x>
<y>91</y>
<x>0</x>
<y>8</y>
<height>15</height>
<width>110</width>
<width>156</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<name>contract_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -342,20 +467,20 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<id>1</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>132</x>
<y>61</y>
<x>131</x>
<y>8</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_code</name>
<name>contract_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -378,22 +503,50 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>14</x>
<y>35</y>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<id>2</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>132</x>
<y>91</y>
<y>35</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -419,17 +572,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity:</text>
<text>Supp Code:</text>
<border>0</border>
<color>33554432</color>
<x>14</x>
<y>120</y>
<x>12</x>
<y>61</y>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<name>supp_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -444,31 +597,21 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>132</x>
<y>120</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<alignment>1</alignment>
<text>Item Code:</text>
<border>0</border>
<color>33554432</color>
<x>16</x>
<y>91</y>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<name>item_code_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -478,26 +621,26 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<id>4</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>367</x>
<y>40</y>
<x>132</x>
<y>61</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_descr</name>
<name>supp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -522,20 +665,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>6</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>367</x>
<y>65</y>
<x>132</x>
<y>91</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_code_descr</name>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -558,31 +701,21 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>367</x>
<y>93</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<alignment>1</alignment>
<text>Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>14</x>
<y>120</y>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_descr</name>
<name>quantity_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -592,36 +725,38 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>367</x>
<y>121</y>
<color>0</color>
<x>132</x>
<y>120</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shipper_size</name>
<name>quantity</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-11</height>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
......@@ -629,7 +764,7 @@
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
......@@ -772,42 +907,6 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>33554432</color>
<x>367</x>
<y>145</y>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -993,25 +1092,53 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Case Label:</text>
<border>0</border>
<color>33554432</color>
<x>252</x>
<y>174</y>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>case_label_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ComputedField>
<band>Detail</band>
<alignment>0</alignment>
<expression> case_label </expression>
<expression> mfg_date </expression>
<border>5</border>
<color>33554432</color>
<x>367</x>
<y>171</y>
<height>15</height>
<width>104</width>
<x>132</x>
<y>217</y>
<height>17</height>
<width>56</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>compute_2</name>
<name>compute_4</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
......@@ -1025,17 +1152,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Case Label:</text>
<text>MFG Date:</text>
<border>0</border>
<color>33554432</color>
<x>252</x>
<y>174</y>
<x>62</x>
<y>217</y>
<height>15</height>
<width>110</width>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>case_label_t</name>
<name>t_2</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -1050,79 +1177,77 @@
<color>536870912</color>
</background>
</TextObject>
<ComputedField>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<expression> mfg_date </expression>
<border>5</border>
<alignment>1</alignment>
<text>EXP Date:</text>
<border>0</border>
<color>33554432</color>
<x>132</x>
<y>217</y>
<height>17</height>
<width>56</width>
<format>[GENERAL]</format>
<x>253</x>
<y>195</y>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>compute_4</name>
<name>t_3</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ComputedField>
<ComputedField>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<expression> exp_date </expression>
<border>5</border>
<alignment>1</alignment>
<text>MFG Site:</text>
<border>0</border>
<color>33554432</color>
<x>367</x>
<y>195</y>
<height>17</height>
<width>103</width>
<format>[GENERAL]</format>
<x>252</x>
<y>218</y>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>compute_3</name>
<name>t_4</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ComputedField>
</TextObject>
<ComputedField>
<band>Detail</band>
<alignment>0</alignment>
<expression> site_code__mfg </expression>
<expression> line_no__ord </expression>
<border>5</border>
<color>33554432</color>
<x>367</x>
<y>219</y>
<x>366</x>
<y>241</y>
<height>17</height>
<width>103</width>
<width>108</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>compute_5</name>
<name>compute_6</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -1140,17 +1265,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>MFG Date:</text>
<text>Line No:</text>
<border>0</border>
<color>33554432</color>
<x>62</x>
<y>217</y>
<x>253</x>
<y>243</y>
<height>15</height>
<width>64</width>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_2</name>
<name>t_5</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -1165,48 +1290,49 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<text>EXP Date:</text>
<alignment>0</alignment>
<expression> no_pallet </expression>
<border>0</border>
<color>33554432</color>
<x>253</x>
<y>195</y>
<height>15</height>
<width>110</width>
<x>133</x>
<y>242</y>
<height>17</height>
<width>69</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_3</name>
<name>compute_7</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
</ComputedField>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>MFG Site:</text>
<text>No of Pallet:</text>
<border>0</border>
<color>33554432</color>
<x>252</x>
<y>218</y>
<x>52</x>
<y>245</y>
<height>15</height>
<width>110</width>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_4</name>
<name>t_7</name>
<visible>1</visible>
<font>
<face>Arial</face>
......
var maxId = 0;
var selectedCode = new Array();
var maxId = 0;
var selectedCode = new Array();
function setChecked(obj)
{
function setChecked(obj)
{
if( obj.value == 'false' )
{
obj.value ='true';
......@@ -11,34 +11,34 @@
{
obj.value = 'false';
}
}
}
function setActionVal( value )
{
function setActionVal( value )
{
document.getElementById("action").value = value;
document.getElementById(value).style.pointerEvents = 'none';
}
}
function gotBlur(obj)
{
function gotBlur(obj)
{
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
}
}
}
function gotFocus( column )
{
function gotFocus( column )
{
objCur=column.name;
oldVal=column.value;
}
}
/**
/**
* Pressing 'F2' open popup
*/
function openSearchPopup(event, dbid, logincode, field, filedName, value)
{
function openSearchPopup(event, dbid, logincode, field, filedName, value)
{
if(event.keyCode == 113)
{
event.preventDefault();
......@@ -46,13 +46,13 @@
callListJSP(dbid, logincode, field, filedName, value);
return false;
}
}
}
/**
/**
* pophelp function
*/
function callListJSP( dbID, loginId, field, fieldName, idNum )
{
function callListJSP( dbID, loginId, field, fieldName, idNum )
{
selectedCode = [];
var fieldValue = "";
......@@ -74,13 +74,13 @@
+"&FIELDS="+field+"&DBID="+dbID+"&FIELDNAME="+fieldName+"&IDNUM="+idNum+"&FIELDVALUE="+fieldValue+",";
var win = window.open( url, 'ASN Details', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=550' );
}
}
/**
/**
* display selected value from popup
*/
function displayValue( fieldId, fieldValue, seldbID, field, idNum )
{
function displayValue( fieldId, fieldValue, seldbID, field, idNum )
{
if (field == "contract_no")
{
var contractNo = fieldId.split(":");
......@@ -125,13 +125,13 @@
document.getElementById("Detail1.1.contract_no").value = "";
}
}
}
/**
/**
* selected value from popup
*/
function selectValue()
{
function selectValue()
{
var fieldId = "";
var fieldValue = "";
var seldbID ="";
......@@ -243,13 +243,13 @@
window.opener.displayValue( fieldId, fieldValue, seldbID, field, idNum );
window.close();
}
}
}
/**
/**
* set all check boxes true false
*/
function checkAll(element)
{
function checkAll(element)
{
var checkboxes = document.getElementsByTagName('input');
if (element.checked)
......@@ -274,13 +274,13 @@
}
}
}
}
}
/**
/**
* set values to checkboxes
*/
function checkAllPopup(element)
{
function checkAllPopup(element)
{
var field = document.getElementById("value").value;
selectedCode = [];
......@@ -319,10 +319,10 @@
}
return true;
}
}
function setCheckedPopup( obj )
{
function setCheckedPopup( obj )
{
var field = document.getElementById("value").value;
var chkCnt = 0;
......@@ -398,13 +398,13 @@
selectedCode.push( selId );
}
}
}
}
/**
/**
* removing element value from array
*/
function removeByValue( val, arr )
{
function removeByValue( val, arr )
{
for(var i = 0; i < arr.length; i++)
{
if(arr[i] == val)
......@@ -413,13 +413,13 @@
break;
}
}
}
}
/**
/**
* set checkbox visibilty
*/
function checkBoxVisibility()
{
function checkBoxVisibility()
{
var field = document.getElementById("value").value;
......@@ -441,14 +441,27 @@
{
document.getElementById("chkAll").style.visibility = "hidden";
}
}
}
/**
/**
* when clicking on 'tr' select the current row
*/
function setCheckedRow( event, element )
function setCheckedBox(idnum)
{
if(document.getElementById("Detail2."+idnum+".quantity").value.length > 0)
{
document.getElementById("Detail2."+idnum+".selectbox").checked='true';
document.getElementById("Detail2."+idnum+".selectbox").value="true";
}
else if (document.getElementById("Detail2."+idnum+".quantity").value == "" || document.getElementById("Detail2."+idnum+".quantity").value == null)
{
document.getElementById("Detail2."+idnum+".selectbox").checked=false;
document.getElementById("Detail2."+idnum+".selectbox").value="false";
}
}
function setCheckedRow( event, element )
{
objCurr = document.getElementById("DetailITCode."+element.id+".selectbox");
if (event.target.type !== 'checkbox')
......@@ -463,11 +476,11 @@
}
}
setCheckedPopup(objCurr);
}
}
function createXMLString()
{
function createXMLString()
{
var element = $( "input[name^='Detail2.0.']" );
var DOMeles = element.get();
......@@ -495,10 +508,10 @@
document.getElementById("packLabelWizFormII").action = "/ibase/PackLabelWizHandlerServlet";
document.getElementById("packLabelWizFormII").submit();
}
}
function isNumeric(element)
{
function isNumeric(element)
{
if (isNaN(parseFloat(element.value)))
{
document.getElementById(""+element.id).value = "0.000";
......@@ -514,9 +527,16 @@
}
document.getElementById(""+element.id).value = (parseFloat(element.value)).toFixed(3);
return true;
}
}
function checkValidation()
function checkValidation()
{
var r = confirm("Are you sure you want to finish?");
if (r != true)
{
return false;
}
else
{
var maxId = $('#packLabelDetail tbody tr').length;
var check = 0;
......@@ -526,7 +546,17 @@
if (document.getElementById("Detail2."+dbID+".selectbox").checked)
{
check++;
if (document.getElementById("Detail2."+dbID+".lot_no").value == "" || document.getElementById("Detail2."+dbID+".lot_no").value == null)
/*if(document.getElementById("Detail2."+dbID+".quantity").value == 0)
{
alert("Please Enter the Quantity" );
document.getElementById("Detail2."+dbID+".quantity").focus();
return false;
}
else if(document.getElementById("Detail2."+dbID+".quantity").value > 0)
{
document.getElementById("Detail2."+dbID+".selectbox").checked == true;
}
else*/ if (document.getElementById("Detail2."+dbID+".lot_no").value == "" || document.getElementById("Detail2."+dbID+".lot_no").value == null)
{
alert("Please Enter the Lot number" );
document.getElementById("Detail2."+dbID+".lot_no").focus();
......@@ -538,7 +568,14 @@
document.getElementById("Detail2."+dbID+".shipper_size").focus();
return false;
}
document.getElementById("buttonreplacement").style.display = "";
}
/*else if (document.getElementById("Detail2."+dbID+".selectbox").checked = false)
{
alert("No row is selected");
//return false;
}*/
}
if (check == 0)
{
......@@ -549,21 +586,47 @@
return true;
}
/**
}
//calendar
function setDate(id)
{
showcalender(id);
}
function showcalender(id)
{
var date_format = "d/m/y";
$( "#"+id).datetimepicker({
timepicker:false,
format:date_format,
defaultTime:'10:00',
step:1
});
if(!$("#filter_date").datetimepicker( "widget" ).is(":visible"))
{
$( "#"+id ).datetimepicker("show");
}
}
//calendar
/**
* form-I validation on submit
*/
function checkNullvalidation()
{
function checkNullvalidation()
{
if ((document.getElementById("Detail1.1.contract_no").value == "" || document.getElementById("Detail1.1.contract_no").value == null) && (document.getElementById("Detail1.1.purc_order").value == "" || document.getElementById("Detail1.1.purc_order").value == null))
{
alert("Please enter Purchase Contract number or Purchase Order number.");
document.getElementById("Detail1.1.contract_no").focus();
return false;
}
}
document.getElementById("buttonreplacement").style.display = "";
}
function isNumeric(evt)
{
function isNumeric(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57) )
......@@ -575,18 +638,18 @@
{
return true;
}
}
}
function specialCharValidate(id)
{
function specialCharValidate(id)
{
if (isValidCharacter(id) == false)
{
alert("Please enter valid character. No special characters allowed.");
return false;
}
}
function isValidCharacter(txtTitle)
{
}
function isValidCharacter(txtTitle)
{
var title = document.getElementById(txtTitle);
var regExp = /^[a-zA-Z0-9\-\s]+$/
if (!regExp.test(title.value) && title.value != "")
......@@ -598,10 +661,10 @@
{
return true;
}
}
}
function calculateNoArt(idnum)
{
function calculateNoArt(idnum)
{
var noArtQuot = 0, noArtRem = 0,quantity = 0,noArt = 0,totQty = 0;
var shipperSize = 0;
......@@ -634,18 +697,18 @@
{
document.getElementById("Detail2."+idnum+".no_art").value = noArt;
}
}
}
function closePopup()
{
function closePopup()
{
$('#someID').remove();
popupIsShown = false;
}
}
var popupWindow = null;
var popupIsShown = false;
function MakePopup ()
{
var popupWindow = null;
var popupIsShown = false;
function MakePopup ()
{
if (window.createPopup)
{
if (!popupWindow)
......@@ -666,8 +729,8 @@
{
popupWindow = document.createElement ("div");
popupWindow.id = "someID";
popupWindow.style.backgroundColor = "lightblue";
popupWindow.style.border = "solid black 1px";
popupWindow.style.backgroundColor = "white";
popupWindow.style.border = "solid #ddd 1px";
popupWindow.style.position = "absolute";
popupWindow.style.zIndex = "9999";
/*popupWindow.style.width = "400px";*/
......@@ -681,33 +744,33 @@
document.body.appendChild (popupWindow);
}
}
}
}
/* ***************************** Server Response ************************************* [START]*/
function getItemLotPackSize(idnum)
{
function getItemLotPackSize(idnum)
{
var itemCode = document.getElementById("Detail2."+idnum+".item_code").value;
var lotNo = document.getElementById("Detail2."+idnum+".lot_no").value;
var url = "/ibase/PackLabelWizHandlerServlet?&ITEM_CODE="+itemCode+"&LOT_NO="+lotNo;
makeRequest( url, setColumnValues,idnum);
}
}
var httpRequest;
var xmlHTTPResponse;
var isServerBusy = false;
var httpRequest;
var xmlHTTPResponse;
var isServerBusy = false;
if (window.ActiveXObject) /*code for IE6, IE5*/
{
if (window.ActiveXObject) /*code for IE6, IE5*/
{
httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) /*code for IE7+, Firefox, Chrome, Opera, Safari*/
{
}
else if (window.XMLHttpRequest) /*code for IE7+, Firefox, Chrome, Opera, Safari*/
{
httpRequest = new XMLHttpRequest();
}
}
function makeRequest( url, setColumnValues,idnum )
{
function makeRequest( url, setColumnValues,idnum )
{
var sURL = unescape(window.location);
if( ! isServerBusy )
......@@ -722,10 +785,10 @@
httpRequest.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded; charset=UTF-8" );
httpRequest.send( null );
}
}
}
function receiveResponse( setColumnValues,idnum )
{
function receiveResponse( setColumnValues,idnum )
{
if (httpRequest.readyState == 4)
{
if(httpRequest.status == 200)
......@@ -737,10 +800,10 @@
alert("Error loading page\n"+ httpRequest.status +":"+ httpRequest.statusText);
}
}
}
}
function processResponse( setColumnValues,idnum )
{
function processResponse( setColumnValues,idnum )
{
var returnStr = null;
isProcessOn = false;
......@@ -779,10 +842,10 @@
}
isServerBusy = false;
}
}
function loadXMLString(txt)
{
function loadXMLString(txt)
{
if (window.DOMParser)
{
parser=new DOMParser();
......@@ -796,10 +859,10 @@
}
return xmlDoc;
}
}
function setColumnValues( retVal,idnum )
{
function setColumnValues( retVal,idnum )
{
var noArtQuot = 0, noArtRem = 0,quantity = 0,noArt = 0;
var shipperSize = 0;
shipperSize = parseFloat(retVal);
......@@ -835,9 +898,9 @@
document.getElementById("Detail2."+idnum+".no_art").value = noArt;
}
}
function getCaseLabelData(purcContract,itemCode,lotNo,quantity,noArt,idnum)
{
}
function getCaseLabelData(purcContract,itemCode,lotNo,quantity,noArt,idnum)
{
MakePopup ();
$('#caseListDiv').show();
$("#someID").append(document.getElementById("caseListDiv"));
......@@ -847,9 +910,9 @@
document.getElementById("p_lot_no").value = document.getElementById("Detail2."+idnum+".lot_no").value;
document.getElementById("p_quantity").value = document.getElementById("Detail2."+idnum+".quantity").value;
document.getElementById("p_no_art").value = document.getElementById("Detail2."+idnum+".no_art").value;
}
function printCaseLabel(idnum)
{
}
function printCaseLabel(idnum)
{
var purCont = document.getElementById("p_contract_no").value;
var itemCode = document.getElementById("p_item_code").value;
var lotNo = document.getElementById("p_lot_no").value;
......@@ -868,16 +931,16 @@
makeRequest( url,"PRINT",idnum);
closePopup();
}
}
function setDate(expdate)
{
/*function setDate(expdate)
{
expdate =document.getElementById("exp_date").value;
}
function callForm1(objName)
{
}*/
function callForm1(objName)
{
var url = "E12WizardPage.jsp?OBJ_NAME="+objName;
window.location.href = url;
}
}
/* ***************************** Server Response ************************************* [END]*/
......@@ -12,7 +12,9 @@
<html>
<head>
<link href="/ibase/webitm/css/Novartis/ProductWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/theme/galaxy-theme.css" rel="stylesheet" />
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet" />
<link href="/ibase/webitm/css/Standard/default.css" rel="stylesheet" />
</head>
<body>
<div id ="div1" class = "mainPage-Container">
......
......@@ -37,7 +37,7 @@ function load()
</script>
<script type="text/javascript" src="/ibase/webitm/js/packLabelWizard.js"></script>
<link href="/ibase/webitm/css/Novartis/ProductWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet"/>
<body style="margin: 0;" onload="load();">
<div id="div1" class="mainPage-Container">
......
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