Commit 0793ee97 authored by mjadhav's avatar mjadhav

add batch_no field in asn details


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96845 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1161313b
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>asn_det.tran_id</dbname> <dbname>asn_det.tran_id</dbname>
</table_column> </table_column>
...@@ -60,7 +59,6 @@ ...@@ -60,7 +59,6 @@
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name> <name>line_no</name>
<dbname>asn_det.line_no</dbname> <dbname>asn_det.line_no</dbname>
</table_column> </table_column>
...@@ -107,7 +105,7 @@ ...@@ -107,7 +105,7 @@
<dbname>asn_det.sscc_14</dbname> <dbname>asn_det.sscc_14</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="120">char</type> <type size="130">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>descr</name> <name>descr</name>
<dbname>item.descr</dbname> <dbname>item.descr</dbname>
...@@ -166,10 +164,13 @@ ...@@ -166,10 +164,13 @@
<name>site_code__mfg</name> <name>site_code__mfg</name>
<dbname>asn_det.site_code__mfg</dbname> <dbname>asn_det.site_code__mfg</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;asn_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;asn_det.tran_id&quot;) COLUMN(NAME=&quot;asn_det.line_no&quot;) COLUMN(NAME=&quot;asn_det.item_code&quot;) COLUMN(NAME=&quot;asn_det.quantity&quot;) COLUMN(NAME=&quot;asn_det.exp_date&quot;) COLUMN(NAME=&quot;asn_det.pack_size&quot;) COLUMN(NAME=&quot;asn_det.lot_no&quot;) COLUMN(NAME=&quot;asn_det.sscc_14&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;asn_det.no_pallet&quot;) COMPUTE(NAME=&quot;fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty&quot;) COLUMN(NAME=&quot;asn_det.line_no__ord&quot;) COLUMN(NAME=&quot;asn_det.realised_qty&quot;) COLUMN(NAME=&quot;asn_det.mfg_date&quot;) COLUMN(NAME=&quot;asn_det.supp_code__mnfr&quot;) COLUMN(NAME=&quot;asn_det.shelf_life__type&quot;) COLUMN(NAME=&quot;asn_det.site_code__mfg&quot;) JOIN (LEFT=&quot;asn_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;asn_det.item_code&quot; )WHERE( EXP1 =&quot;ASN_DET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve> <table_column>
<update>ASN_DET</update> <type size="50">char</type>
<updatewhere>0</updatewhere> <updatewhereclause>yes</updatewhereclause>
<updatekeyinplace>no</updatekeyinplace> <name>batch_no</name>
<dbname>asn_det.batch_no</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;asn_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;asn_det.tran_id&quot;) COLUMN(NAME=&quot;asn_det.line_no&quot;) COLUMN(NAME=&quot;asn_det.item_code&quot;) COLUMN(NAME=&quot;asn_det.quantity&quot;) COLUMN(NAME=&quot;asn_det.exp_date&quot;) COLUMN(NAME=&quot;asn_det.pack_size&quot;) COLUMN(NAME=&quot;asn_det.lot_no&quot;) COLUMN(NAME=&quot;asn_det.sscc_14&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;asn_det.no_pallet&quot;) COMPUTE(NAME=&quot;fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty&quot;) COLUMN(NAME=&quot;asn_det.line_no__ord&quot;) COLUMN(NAME=&quot;asn_det.realised_qty&quot;) COLUMN(NAME=&quot;asn_det.mfg_date&quot;) COLUMN(NAME=&quot;asn_det.supp_code__mnfr&quot;) COLUMN(NAME=&quot;asn_det.shelf_life__type&quot;) COLUMN(NAME=&quot;asn_det.site_code__mfg&quot;) COLUMN(NAME=&quot;asn_det.batch_no&quot;) JOIN (LEFT=&quot;asn_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;asn_det.item_code&quot; )WHERE( EXP1 =&quot;ASN_DET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<argument> <argument>
<name>tran_id</name> <name>tran_id</name>
<type>string</type> <type>string</type>
...@@ -511,6 +512,118 @@ ...@@ -511,6 +512,118 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>MFG Date</text>
<border>0</border>
<color>33554432</color>
<x>1414</x>
<y>1</y>
<height>19</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>mfg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>MFG Code</text>
<border>0</border>
<color>33554432</color>
<x>1518</x>
<y>1</y>
<height>19</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_code__mnfr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Retest</text>
<border>0</border>
<color>33554432</color>
<x>1598</x>
<y>1</y>
<height>19</height>
<width>31</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shelf_life__type_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>MFG Site</text>
<border>0</border>
<color>33554432</color>
<x>1631</x>
<y>1</y>
<height>19</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__mfg_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -972,13 +1085,14 @@ ...@@ -972,13 +1085,14 @@
<band>Detail</band> <band>Detail</band>
<id>14</id> <id>14</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1415</x> <x>1414</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>102</width> <width>102</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1006,18 +1120,25 @@ ...@@ -1006,18 +1120,25 @@
<band>Detail</band> <band>Detail</band>
<id>15</id> <id>15</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1520</x> <x>1518</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>78</width> <width>78</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>supp_code__mnfr</name> <name>supp_code__mnfr</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>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1035,18 +1156,25 @@ ...@@ -1035,18 +1156,25 @@
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>16</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1601</x> <x>1598</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>31</width> <width>31</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>shelf_life__type</name> <name>shelf_life__type</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>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1064,18 +1192,25 @@ ...@@ -1064,18 +1192,25 @@
<band>Detail</band> <band>Detail</band>
<id>17</id> <id>17</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1635</x> <x>1631</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>88</width> <width>88</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code__mfg</name> <name>site_code__mfg</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>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1089,80 +1224,25 @@ ...@@ -1089,80 +1224,25 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Header</band> <band>Detail</band>
<alignment>0</alignment> <id>18</id>
<text>MFG Date</text>
<border>0</border>
<color>33554432</color>
<x>1415</x>
<y>1</y>
<height>19</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>mfg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>MFG Code</text>
<border>0</border>
<color>33554432</color>
<x>1519</x>
<y>1</y>
<height>19</height>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_code__mnfr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Retest</text> <tabsequence>0</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1600</x> <x>1722</x>
<y>1</y> <y>1</y>
<height>19</height> <height>16</height>
<width>32</width> <width>248</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>shelf_life__type_t</name> <name>batch_no</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-12</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
...@@ -1170,27 +1250,27 @@ ...@@ -1170,27 +1250,27 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>MFG Site</text> <text>Batch No</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1634</x> <x>1721</x>
<y>1</y> <y>1</y>
<height>19</height> <height>16</height>
<width>89</width> <width>249</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code__mfg_t</name> <name>batch_no_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-12</height> <height>-11</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
...@@ -1198,7 +1278,7 @@ ...@@ -1198,7 +1278,7 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>1073741824</color>
</background> </background>
</TextObject> </TextObject>
<HtmlTable> <HtmlTable>
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<dbname>asn_det.sscc_14</dbname> <dbname>asn_det.sscc_14</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="120">char</type> <type size="130">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>descr</name> <name>descr</name>
<dbname>item.descr</dbname> <dbname>item.descr</dbname>
...@@ -161,7 +161,14 @@ ...@@ -161,7 +161,14 @@
<name>site_code__mfg</name> <name>site_code__mfg</name>
<dbname>asn_det.site_code__mfg</dbname> <dbname>asn_det.site_code__mfg</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;asn_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;asn_det.tran_id&quot;) COLUMN(NAME=&quot;asn_det.line_no&quot;) COLUMN(NAME=&quot;asn_det.item_code&quot;) COLUMN(NAME=&quot;asn_det.quantity&quot;) COLUMN(NAME=&quot;asn_det.exp_date&quot;) COLUMN(NAME=&quot;asn_det.pack_size&quot;) COLUMN(NAME=&quot;asn_det.lot_no&quot;) COLUMN(NAME=&quot;asn_det.sscc_14&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;asn_det.no_pallet&quot;) COMPUTE(NAME=&quot;fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty&quot;) COLUMN(NAME=&quot;asn_det.line_no__ord&quot;) COLUMN(NAME=&quot;asn_det.realised_qty&quot;) COLUMN(NAME=&quot;asn_det.mfg_date&quot;) COLUMN(NAME=&quot;asn_det.supp_code__mnfr&quot;) COLUMN(NAME=&quot;asn_det.shelf_life__type&quot;) COLUMN(NAME=&quot;asn_det.site_code__mfg&quot;) JOIN (LEFT=&quot;asn_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;asn_det.item_code&quot; )WHERE( EXP1 =&quot;ASN_DET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;ASN_DET.LINE_NO&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve> <table_column>
<type size="50">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>batch_no</name>
<dbname>asn_det.batch_no</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;asn_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;asn_det.tran_id&quot;) COLUMN(NAME=&quot;asn_det.line_no&quot;) COLUMN(NAME=&quot;asn_det.item_code&quot;) COLUMN(NAME=&quot;asn_det.quantity&quot;) COLUMN(NAME=&quot;asn_det.exp_date&quot;) COLUMN(NAME=&quot;asn_det.pack_size&quot;) COLUMN(NAME=&quot;asn_det.lot_no&quot;) COLUMN(NAME=&quot;asn_det.sscc_14&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;asn_det.no_pallet&quot;) COMPUTE(NAME=&quot;fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty&quot;) COLUMN(NAME=&quot;asn_det.line_no__ord&quot;) COLUMN(NAME=&quot;asn_det.realised_qty&quot;) COLUMN(NAME=&quot;asn_det.mfg_date&quot;) COLUMN(NAME=&quot;asn_det.supp_code__mnfr&quot;) COLUMN(NAME=&quot;asn_det.shelf_life__type&quot;) COLUMN(NAME=&quot;asn_det.site_code__mfg&quot;) COLUMN(NAME=&quot;asn_det.batch_no&quot;) JOIN (LEFT=&quot;asn_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;asn_det.item_code&quot; )WHERE( EXP1 =&quot;ASN_DET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;ASN_DET.LINE_NO&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>ASN_DET</update> <update>ASN_DET</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -194,8 +201,8 @@ ...@@ -194,8 +201,8 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>1073741824</color> <color>553648127</color>
</background> </background>
</GroupBox> </GroupBox>
<TextObject> <TextObject>
...@@ -1215,6 +1222,63 @@ ...@@ -1215,6 +1222,63 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>5</border>
<color>33554432</color>
<x>131</x>
<y>184</y>
<height>16</height>
<width>250</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>batch_no</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Batch No:</text>
<border>0</border>
<color>33554432</color>
<x>74</x>
<y>181</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>batch_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
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