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