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 @@
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>asn_det.tran_id</dbname>
</table_column>
......@@ -60,7 +59,6 @@
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>asn_det.line_no</dbname>
</table_column>
......@@ -107,7 +105,7 @@
<dbname>asn_det.sscc_14</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>item.descr</dbname>
......@@ -166,10 +164,13 @@
<name>site_code__mfg</name>
<dbname>asn_det.site_code__mfg</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;) 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>
<update>ASN_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<table_column>
<type size="50">char</type>
<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; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<argument>
<name>tran_id</name>
<type>string</type>
......@@ -511,6 +512,118 @@
<color>67108864</color>
</background>
</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>
<band>Detail</band>
<id>1</id>
......@@ -972,13 +1085,14 @@
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1415</x>
<x>1414</x>
<y>1</y>
<height>16</height>
<width>102</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -1006,18 +1120,25 @@
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1520</x>
<x>1518</x>
<y>1</y>
<height>16</height>
<width>78</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_code__mnfr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1035,18 +1156,25 @@
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1601</x>
<x>1598</x>
<y>1</y>
<height>16</height>
<width>31</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shelf_life__type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1064,18 +1192,25 @@
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1635</x>
<x>1631</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__mfg</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1089,80 +1224,25 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<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>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<text>Retest</text>
<tabsequence>0</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1600</x>
<x>1722</x>
<y>1</y>
<height>19</height>
<width>32</width>
<height>16</height>
<width>248</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shelf_life__type_t</name>
<name>batch_no</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
......@@ -1170,27 +1250,27 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>MFG Site</text>
<text>Batch No</text>
<border>0</border>
<color>33554432</color>
<x>1634</x>
<x>1721</x>
<y>1</y>
<height>19</height>
<width>89</width>
<height>16</height>
<width>249</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__mfg_t</name>
<name>batch_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
......@@ -1198,7 +1278,7 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>1073741824</color>
</background>
</TextObject>
<HtmlTable>
......
......@@ -102,7 +102,7 @@
<dbname>asn_det.sscc_14</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>item.descr</dbname>
......@@ -161,7 +161,14 @@
<name>site_code__mfg</name>
<dbname>asn_det.site_code__mfg</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;) 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>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -194,8 +201,8 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<TextObject>
......@@ -1215,6 +1222,63 @@
<color>16777215</color>
</background>
</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>
<border>1</border>
</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