Commit bfde5e7f authored by pgole's avatar pgole

Updated metadata


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104227 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bcd927ae
......@@ -272,12 +272,12 @@
<dbname>discount</dbname>
</table_column>
<table_column>
<type size="47">char</type>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>net_amt</name>
<dbname>net_amt</dbname>
<name>net_sales</name>
<dbname>net_sales</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;cust_stock_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;cust_stock_det.tran_id&quot;) COLUMN(NAME=&quot;cust_stock_det.line_no&quot;) COLUMN(NAME=&quot;cust_stock_det.item_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;cust_stock_det.unit&quot;) COLUMN(NAME=&quot;cust_stock_det.op_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.sales&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.transit_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adj_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_ret&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_user&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_term&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_date&quot;) COLUMN(NAME=&quot;cust_stock_det.sale_order&quot;) COLUMN(NAME=&quot;cust_stock_det.item_ser&quot;) COLUMN(NAME=&quot;cust_stock_det.loc_type&quot;) COLUMN(NAME=&quot;cust_stock_det.op_value&quot;) COLUMN(NAME=&quot;cust_stock_det.pur_value&quot;) COLUMN(NAME=&quot;cust_stock_det.sales_value&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_value&quot;) COLUMN(NAME=&quot;cust_stock_det.match_opstk&quot;) COLUMN(NAME=&quot;cust_stock_det.match_clstk&quot;) COLUMN(NAME=&quot;cust_stock_det.remarks&quot;) COLUMN(NAME=&quot;cust_stock_det.rate&quot;) COLUMN(NAME=&quot;cust_stock_det.demand_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adhoc_repl_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_item__ref&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_purc_rcp&quot;) COMPUTE(NAME=&quot;FN_CUSTITEM_DSCR(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.cust_item__ref) cust_item_ref_descr&quot;) COMPUTE(NAME=&quot;&apos; &apos; as discount&quot;) COMPUTE(NAME=&quot;&apos; &apos; as net_amt&quot;) JOIN (LEFT=&quot;cust_stock.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.tran_id&quot; ) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.item_code&quot; )WHERE( EXP1 =&quot;~&quot;CUST_STOCK~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;cust_stock_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;cust_stock_det.tran_id&quot;) COLUMN(NAME=&quot;cust_stock_det.line_no&quot;) COLUMN(NAME=&quot;cust_stock_det.item_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;cust_stock_det.unit&quot;) COLUMN(NAME=&quot;cust_stock_det.op_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.sales&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.transit_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adj_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_ret&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_user&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_term&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_date&quot;) COLUMN(NAME=&quot;cust_stock_det.sale_order&quot;) COLUMN(NAME=&quot;cust_stock_det.item_ser&quot;) COLUMN(NAME=&quot;cust_stock_det.loc_type&quot;) COLUMN(NAME=&quot;cust_stock_det.op_value&quot;) COLUMN(NAME=&quot;cust_stock_det.pur_value&quot;) COLUMN(NAME=&quot;cust_stock_det.sales_value&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_value&quot;) COLUMN(NAME=&quot;cust_stock_det.match_opstk&quot;) COLUMN(NAME=&quot;cust_stock_det.match_clstk&quot;) COLUMN(NAME=&quot;cust_stock_det.remarks&quot;) COLUMN(NAME=&quot;cust_stock_det.rate&quot;) COLUMN(NAME=&quot;cust_stock_det.demand_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adhoc_repl_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_item__ref&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_purc_rcp&quot;) COMPUTE(NAME=&quot;FN_CUSTITEM_DSCR(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.cust_item__ref) cust_item_ref_descr&quot;) COMPUTE(NAME=&quot;&apos; &apos; as discount&quot;) COMPUTE(NAME=&quot;FN_GET_CUST_SORDER_QTY(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.sales,cust_stock_det.cl_stock,cust_stock_det.transit_qty) as net_sales&quot;) JOIN (LEFT=&quot;cust_stock.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.tran_id&quot; ) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.item_code&quot; )WHERE( EXP1 =&quot;~&quot;CUST_STOCK~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) </retrieve>
<update>CUST_STOCK_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -1126,6 +1126,34 @@
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Cust Item Ref Descr</text>
<border>2</border>
<color>33554432</color>
<x>2948</x>
<y>2</y>
<height>15</height>
<width>122</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_item_ref_descr_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</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>
......@@ -2321,13 +2349,14 @@
<band>Detail</band>
<id>32</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3073</x>
<y>1</y>
<x>3072</x>
<y>2</y>
<height>18</height>
<width>84</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -2360,14 +2389,14 @@
<tabsequence>0</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3160</x>
<y>1</y>
<height>18</height>
<width>66</width>
<x>3159</x>
<y>2</y>
<height>15</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt</name>
<name>net_sales</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2389,34 +2418,6 @@
<color>1073741824</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Cust Item Ref Descr</text>
<border>2</border>
<color>33554432</color>
<x>2948</x>
<y>2</y>
<height>15</height>
<width>122</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_item_ref_descr_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</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>
......@@ -2424,9 +2425,9 @@
<border>2</border>
<color>33554432</color>
<x>3072</x>
<y>1</y>
<y>2</y>
<height>15</height>
<width>85</width>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -2448,17 +2449,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Net Amt</text>
<text>Net Sales</text>
<border>2</border>
<color>33554432</color>
<x>3159</x>
<y>1</y>
<height>15</height>
<width>67</width>
<x>3158</x>
<y>2</y>
<height>17</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt_t</name>
<name>net_sales_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
......
......@@ -282,19 +282,19 @@
<name>rate</name>
<dbname>cust_stock_det.rate</dbname>
</table_column>
<table_column>
<type size="46">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>net_amt</name>
<dbname>net_amt</dbname>
</table_column>
<table_column>
<type size="47">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>discount</name>
<dbname>discount</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock_det&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;cust_stock&quot; ) COLUMN(NAME=&quot;cust_stock_det.tran_id&quot;) COLUMN(NAME=&quot;cust_stock_det.line_no&quot;) COLUMN(NAME=&quot;cust_stock_det.item_code&quot;) COLUMN(NAME=&quot;cust_stock_det.unit&quot;) COLUMN(NAME=&quot;cust_stock_det.op_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.sales&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.transit_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adj_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_ret&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_user&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_term&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_date&quot;) COLUMN(NAME=&quot;cust_stock_det.item_ser&quot;) COLUMN(NAME=&quot;cust_stock_det.loc_type&quot;) COLUMN(NAME=&quot;cust_stock_det.sale_order&quot;) COLUMN(NAME=&quot;cust_stock_det.match_opstk&quot;) COLUMN(NAME=&quot;cust_stock_det.match_clstk&quot;) COLUMN(NAME=&quot;cust_stock_det.remarks&quot;) COLUMN(NAME=&quot;cust_stock_det.op_value&quot;) COLUMN(NAME=&quot;cust_stock_det.pur_value&quot;) COLUMN(NAME=&quot;cust_stock_det.sales_value&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_value&quot;) COLUMN(NAME=&quot;cust_stock_det.demand_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adhoc_repl_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_item__ref&quot;) COMPUTE(NAME=&quot;FN_CUSTITEM_DSCR(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.cust_item__ref) cust_item_ref_descr&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.rate&quot;) COMPUTE(NAME=&quot;&apos; &apos; as net_amt&quot;) COMPUTE(NAME=&quot;&apos; &apos; as discount&quot;) JOIN (LEFT=&quot;cust_stock_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; ) JOIN (LEFT=&quot;cust_stock.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.tran_id&quot; )WHERE( EXP1 =&quot;( ( cust_stock_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( cust_stock_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:mline_no ) )&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) ARG(NAME = &quot;mline_no&quot; TYPE = string) </retrieve>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>net_sales</name>
<dbname>net_sales</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock_det&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;cust_stock&quot; ) COLUMN(NAME=&quot;cust_stock_det.tran_id&quot;) COLUMN(NAME=&quot;cust_stock_det.line_no&quot;) COLUMN(NAME=&quot;cust_stock_det.item_code&quot;) COLUMN(NAME=&quot;cust_stock_det.unit&quot;) COLUMN(NAME=&quot;cust_stock_det.op_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.sales&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.transit_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adj_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_ret&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_user&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_term&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_date&quot;) COLUMN(NAME=&quot;cust_stock_det.item_ser&quot;) COLUMN(NAME=&quot;cust_stock_det.loc_type&quot;) COLUMN(NAME=&quot;cust_stock_det.sale_order&quot;) COLUMN(NAME=&quot;cust_stock_det.match_opstk&quot;) COLUMN(NAME=&quot;cust_stock_det.match_clstk&quot;) COLUMN(NAME=&quot;cust_stock_det.remarks&quot;) COLUMN(NAME=&quot;cust_stock_det.op_value&quot;) COLUMN(NAME=&quot;cust_stock_det.pur_value&quot;) COLUMN(NAME=&quot;cust_stock_det.sales_value&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_value&quot;) COLUMN(NAME=&quot;cust_stock_det.demand_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adhoc_repl_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_item__ref&quot;) COMPUTE(NAME=&quot;FN_CUSTITEM_DSCR(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.cust_item__ref) cust_item_ref_descr&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.rate&quot;) COMPUTE(NAME=&quot;&apos; &apos; as discount&quot;) COMPUTE(NAME=&quot;FN_GET_CUST_SORDER_QTY(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.sales,cust_stock_det.cl_stock,cust_stock_det.transit_qty) as net_sales&quot;) JOIN (LEFT=&quot;cust_stock_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; ) JOIN (LEFT=&quot;cust_stock.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.tran_id&quot; )WHERE( EXP1 =&quot;( ( cust_stock_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( cust_stock_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:mline_no ) )&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) ARG(NAME = &quot;mline_no&quot; TYPE = string) </retrieve>
<update>CUST_STOCK_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -374,34 +374,6 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Adhoc Repl Qty:</text>
<border>0</border>
<color>0</color>
<x>401</x>
<y>151</y>
<height>16</height>
<width>197</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>adhoc_repl_qty_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>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
......@@ -440,34 +412,6 @@
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Match Cl. Stock:</text>
<border>0</border>
<color>0</color>
<x>223</x>
<y>127</y>
<height>16</height>
<width>421</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>match_cl_stk_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>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
......@@ -543,21 +487,29 @@
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Customer Receipt:</text>
<border>0</border>
<color>0</color>
<x>269</x>
<y>103</y>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>457</x>
<y>7</y>
<height>16</height>
<width>329</width>
<width>239</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_purc_rcp_t</name>
<name>item_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>120</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -567,30 +519,31 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<id>23</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>457</x>
<y>7</y>
<x>602</x>
<y>198</y>
<height>16</height>
<width>239</width>
<format>[general]</format>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_descr</name>
<name>pur_value</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>120</limit>
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
......@@ -603,24 +556,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Purchase Value:</text>
<text>Line No:</text>
<border>0</border>
<color>0</color>
<x>271</x>
<y>199</y>
<x>5</x>
<y>7</y>
<height>16</height>
<width>327</width>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pur_value_t</name>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -637,26 +590,28 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>1</alignment>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>602</x>
<y>198</y>
<x>170</x>
<y>7</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<width>42</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pur_value</name>
<name>line_no</name>
<tag>Line No of Transaction</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<limit>3</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -668,24 +623,24 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No:</text>
<text>Adj. Qty:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>7</y>
<x>271</x>
<y>79</y>
<height>16</height>
<width>162</width>
<width>126</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<name>adj_qty_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -700,21 +655,33 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<text>Remarks:</text>
<border>0</border>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>5</x>
<y>175</y>
<x>399</x>
<y>79</y>
<height>16</height>
<width>162</width>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_t</name>
<name>adj_qty</name>
<tag>The adjustment quantity, if any</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -724,25 +691,37 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>1</alignment>
<text>Demand Qty:</text>
<border>0</border>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>5</x>
<y>151</y>
<x>602</x>
<y>79</y>
<height>16</height>
<width>162</width>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>demand_qty_t</name>
<name>purc_ret</name>
<tag>The purchase return for the period, by the customer. The system will sum the quantity returned for the period</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -752,24 +731,24 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Match Opn. Stock:</text>
<text>Pur. Rtn:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>127</y>
<x>498</x>
<y>79</y>
<height>16</height>
<width>162</width>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>match_opstk_t</name>
<name>purc_ret_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -787,17 +766,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Receipt:</text>
<text>Transit Qty:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>103</y>
<y>79</y>
<height>16</height>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>purc_rcp_t</name>
<name>transit_qty_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -814,28 +793,28 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<id>8</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>170</x>
<y>7</y>
<y>79</y>
<height>16</height>
<width>42</width>
<format>[general]</format>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<tag>Line No of Transaction</tag>
<name>transit_qty</name>
<tag>The quantity in transit. The system will provide an option to the user to select invoices for the specific period,
whiach are in transit</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -847,33 +826,25 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Sales:</text>
<border>0</border>
<color>0</color>
<x>170</x>
<y>175</y>
<x>514</x>
<y>55</y>
<height>16</height>
<width>526</width>
<format>[general]</format>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<name>sales_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -883,32 +854,35 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>26</id>
<id>6</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>40</tabsequence>
<border>5</border>
<color>255</color>
<x>172</x>
<y>153</y>
<color>0</color>
<x>603</x>
<y>55</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>demand_qty</name>
<name>sales</name>
<tag>The sales quantity information provided by the customer.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -920,33 +894,25 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Opening Stock:</text>
<border>0</border>
<color>0</color>
<x>170</x>
<y>127</y>
<x>5</x>
<y>55</y>
<height>16</height>
<width>48</width>
<format></format>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>match_opstk</name>
<name>op_stock_t</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -956,27 +922,27 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>5</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>171</x>
<y>103</y>
<y>55</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>purc_rcp</name>
<tag>The purchase receipt for the period, by the customer. The system will sum the quantity sold for the period</tag>
<name>op_stock</name>
<tag>Opening stock at the customers site. Picked up from the last tran id (cl stock)</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
......@@ -1003,17 +969,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Opn. Value:</text>
<text>Unit:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>199</y>
<x>456</x>
<y>31</y>
<height>16</height>
<width>162</width>
<width>202</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>op_value_t</name>
<name>unit_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1028,28 +994,57 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>22</id>
<alignment>1</alignment>
<text>Loc Type:</text>
<border>0</border>
<color>0</color>
<x>207</x>
<y>31</y>
<height>16</height>
<width>205</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_type_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>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>170</x>
<y>199</y>
<x>416</x>
<y>31</y>
<height>16</height>
<width>94</width>
<format>#########0.000</format>
<width>32</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>op_value</name>
<name>loc_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<limit>3</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1061,24 +1056,63 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>662</x>
<y>31</y>
<height>16</height>
<width>34</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit</name>
<tag>Unit of Measure</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Sales Value:</text>
<text>Item Ser:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>223</y>
<y>31</y>
<height>16</height>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sales_value_t</name>
<name>item_ser_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1089,33 +1123,33 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>1</alignment>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>171</x>
<y>223</y>
<y>31</y>
<height>16</height>
<width>94</width>
<format>#########0.000</format>
<width>31</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sales_value</name>
<name>item_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1127,24 +1161,24 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Adj. Qty:</text>
<text>Closing Stock:</text>
<border>0</border>
<color>0</color>
<x>271</x>
<y>79</y>
<y>55</y>
<height>16</height>
<width>126</width>
<width>141</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>adj_qty_t</name>
<name>cl_stock_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1161,21 +1195,21 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>10</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>399</x>
<y>79</y>
<x>416</x>
<y>55</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>adj_qty</name>
<tag>The adjustment quantity, if any</tag>
<name>cl_stock</name>
<tag>Cl stock = op_stock + purc_rcp + transit - sales - adj_qty - purc_ret</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
......@@ -1201,26 +1235,24 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<color>255</color>
<x>602</x>
<y>79</y>
<y>294</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>purc_ret</name>
<tag>The purchase return for the period, by the customer. The system will sum the quantity returned for the period</tag>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<limit>15</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -1236,24 +1268,32 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pur. Rtn:</text>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>498</x>
<y>79</y>
<color>255</color>
<x>766</x>
<y>7</y>
<height>16</height>
<width>100</width>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>purc_ret_t</name>
<visible>1</visible>
<name>sale_order</name>
<visible expression="0">0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1263,25 +1303,36 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transit Qty:</text>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>5</x>
<y>79</y>
<color>33554432</color>
<x>764</x>
<y>31</y>
<height>16</height>
<width>162</width>
<width>70</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>transit_qty_t</name>
<visible>1</visible>
<name>tran_id</name>
<tag>Unique ID of Transaction</tag>
<visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1291,28 +1342,26 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>25</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>170</x>
<y>79</y>
<x>602</x>
<y>223</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<format>#########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>transit_qty</name>
<tag>The quantity in transit. The system will provide an option to the user to select invoices for the specific period,
whiach are in transit</tag>
<name>cl_value</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
......@@ -1337,17 +1386,17 @@ whiach are in transit</tag>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Sales:</text>
<text>Adhoc Repl Qty:</text>
<border>0</border>
<color>0</color>
<x>514</x>
<y>55</y>
<x>401</x>
<y>151</y>
<height>16</height>
<width>84</width>
<width>197</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sales_t</name>
<name>adhoc_repl_qty_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1362,33 +1411,21 @@ whiach are in transit</tag>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<text>Match Cl. Stock:</text>
<border>0</border>
<color>0</color>
<x>603</x>
<y>55</y>
<x>223</x>
<y>127</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<width>421</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sales</name>
<tag>The sales quantity information provided by the customer.</tag>
<name>match_cl_stk_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1398,24 +1435,80 @@ whiach are in transit</tag>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Opening Stock:</text>
<text>Customer Receipt:</text>
<border>0</border>
<color>0</color>
<x>269</x>
<y>103</y>
<height>16</height>
<width>329</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_purc_rcp_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>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Purchase Value:</text>
<border>0</border>
<color>0</color>
<x>271</x>
<y>199</y>
<height>16</height>
<width>327</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pur_value_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>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Remarks:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>55</y>
<y>175</y>
<height>16</height>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>op_stock_t</name>
<name>remarks_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1430,33 +1523,21 @@ whiach are in transit</tag>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<text>Demand Qty:</text>
<border>0</border>
<color>0</color>
<x>171</x>
<y>55</y>
<x>5</x>
<y>151</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>op_stock</name>
<tag>Opening stock at the customers site. Picked up from the last tran id (cl stock)</tag>
<name>demand_qty_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1466,24 +1547,24 @@ whiach are in transit</tag>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Unit:</text>
<text>Match Opn. Stock:</text>
<border>0</border>
<color>0</color>
<x>456</x>
<y>31</y>
<x>5</x>
<y>127</y>
<height>16</height>
<width>202</width>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit_t</name>
<name>match_opstk_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1501,17 +1582,17 @@ whiach are in transit</tag>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Loc Type:</text>
<text>Receipt:</text>
<border>0</border>
<color>0</color>
<x>207</x>
<y>31</y>
<x>5</x>
<y>103</y>
<height>16</height>
<width>205</width>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_type_t</name>
<name>purc_rcp_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1522,33 +1603,31 @@ whiach are in transit</tag>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>100</tabsequence>
<border>5</border>
<color>255</color>
<x>416</x>
<y>31</y>
<color>0</color>
<x>170</x>
<y>175</y>
<height>16</height>
<width>32</width>
<width>526</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_type</name>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<limit>100</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1561,33 +1640,31 @@ whiach are in transit</tag>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<id>26</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>662</x>
<y>31</y>
<x>172</x>
<y>153</y>
<height>16</height>
<width>34</width>
<format>[general]</format>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit</name>
<tag>Unit of Measure</tag>
<name>demand_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1599,25 +1676,33 @@ whiach are in transit</tag>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Ser:</text>
<border>0</border>
<id>19</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>5</x>
<y>31</y>
<x>170</x>
<y>127</y>
<height>16</height>
<width>162</width>
<width>48</width>
<format></format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser_t</name>
<name>match_opstk</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1628,29 +1713,31 @@ whiach are in transit</tag>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<id>7</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>255</color>
<color>0</color>
<x>171</x>
<y>31</y>
<y>103</y>
<height>16</height>
<width>31</width>
<format>[general]</format>
<width>94</width>
<format>##########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</name>
<name>purc_rcp</name>
<tag>The purchase receipt for the period, by the customer. The system will sum the quantity sold for the period</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -1666,23 +1753,23 @@ whiach are in transit</tag>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Closing Stock:</text>
<text>Opn. Value:</text>
<border>0</border>
<color>0</color>
<x>271</x>
<y>55</y>
<x>5</x>
<y>199</y>
<height>16</height>
<width>141</width>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cl_stock_t</name>
<name>op_value_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1699,29 +1786,26 @@ whiach are in transit</tag>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<id>22</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>416</x>
<y>55</y>
<color>255</color>
<x>170</x>
<y>199</y>
<height>16</height>
<width>94</width>
<format>##########0.000</format>
<format>#########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cl_stock</name>
<tag>Cl stock = op_stock + purc_rcp + transit - sales - adj_qty - purc_ret</tag>
<name>op_value</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1733,34 +1817,25 @@ whiach are in transit</tag>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>29</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>268</x>
<y>270</y>
<alignment>1</alignment>
<text>Sales Value:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>223</y>
<height>16</height>
<width>428</width>
<format>[general]</format>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_item_ref_descr</name>
<name>sales_value_t</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>Times New Roman</face>
<height>-10</height>
......@@ -1770,25 +1845,35 @@ whiach are in transit</tag>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>1</alignment>
<text>Cust Item:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>270</y>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>171</x>
<y>223</y>
<height>16</height>
<width>162</width>
<width>94</width>
<format>#########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_item__ref_t</name>
<name>sales_value</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1799,32 +1884,31 @@ whiach are in transit</tag>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<id>29</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<color>255</color>
<x>268</x>
<y>270</y>
<height>16</height>
<width>94</width>
<width>428</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_item__ref</name>
<name>cust_item_ref_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>20</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1837,23 +1921,23 @@ whiach are in transit</tag>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Latest Rate:</text>
<text>Cust Item:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>247</y>
<height>15</height>
<y>270</y>
<height>16</height>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate_t</name>
<name>cust_item__ref_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1870,27 +1954,27 @@ whiach are in transit</tag>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>31</id>
<id>28</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>110</tabsequence>
<border>5</border>
<color>255</color>
<x>172</x>
<y>247</y>
<color>33554432</color>
<x>170</x>
<y>270</y>
<height>16</height>
<width>94</width>
<format>#########0.0000</format>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate</name>
<name>cust_item__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<limit>20</limit>
<case>any</case>
<format>#########0.0000</format>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1903,7 +1987,7 @@ whiach are in transit</tag>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
......@@ -1934,44 +2018,6 @@ whiach are in transit</tag>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>602</x>
<y>294</y>
<height>16</height>
<width>94</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -2101,68 +2147,21 @@ whiach are in transit</tag>
<color>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>766</x>
<y>7</y>
<height>16</height>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order</name>
<visible expression="0">0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<alignment>1</alignment>
<text>Closing Value:</text>
<border>0</border>
<color>33554432</color>
<x>764</x>
<y>31</y>
<color>0</color>
<x>271</x>
<y>223</y>
<height>16</height>
<width>70</width>
<format>[general]</format>
<width>327</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<tag>Unique ID of Transaction</tag>
<visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<name>cl_value_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -2172,25 +2171,25 @@ whiach are in transit</tag>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Net Amount:</text>
<text>Latest Rate:</text>
<border>0</border>
<color>0</color>
<x>263</x>
<y>367</y>
<x>5</x>
<y>247</y>
<height>15</height>
<width>101</width>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt_t</name>
<visible>0</visible>
<name>rate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -2206,24 +2205,25 @@ whiach are in transit</tag>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>32</id>
<id>31</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>371</x>
<y>367</y>
<x>172</x>
<y>247</y>
<height>16</height>
<width>94</width>
<format>[general]</format>
<format>#########0.0000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt</name>
<visible>0</visible>
<name>rate</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<limit>15</limit>
<case>any</case>
<format>#########0.0000</format>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
......@@ -2238,33 +2238,24 @@ whiach are in transit</tag>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>25</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>602</x>
<y>223</y>
<height>16</height>
<width>94</width>
<format>#########0.000</format>
<text>Net sales:</text>
<border>0</border>
<color>0</color>
<x>299</x>
<y>247</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cl_value</name>
<name>net_amt_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -2275,9 +2266,9 @@ whiach are in transit</tag>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>33</id>
......@@ -2285,7 +2276,7 @@ whiach are in transit</tag>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>602</x>
<x>406</x>
<y>247</y>
<height>16</height>
<width>94</width>
......@@ -2293,10 +2284,10 @@ whiach are in transit</tag>
<html>
<valueishtml>0</valueishtml>
</html>
<name>discount</name>
<name>net_sales</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
......@@ -2312,23 +2303,23 @@ whiach are in transit</tag>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Closing Value:</text>
<text>Discount:</text>
<border>0</border>
<color>0</color>
<x>271</x>
<y>223</y>
<height>16</height>
<width>327</width>
<x>510</x>
<y>247</y>
<height>15</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cl_value_t</name>
<name>discount_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2343,21 +2334,30 @@ whiach are in transit</tag>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Discount:</text>
<border>0</border>
<color>0</color>
<x>271</x>
<id>32</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>602</x>
<y>247</y>
<height>15</height>
<width>327</width>
<height>16</height>
<width>94</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>discount_t</name>
<name>discount</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -2367,10 +2367,10 @@ whiach are in transit</tag>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......@@ -2393,7 +2393,7 @@ whiach are in transit</tag>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_cust_stock_det_edit</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;d_cust_stock_det_edit&gt;&lt;d_cust_stock_det_edit_row __pbband=&quot;detail&quot;&gt;&lt;tran_id&gt;tran_id&lt;/tran_id&gt;&lt;line_no&gt;line_no&lt;/line_no&gt;&lt;item_code&gt;item_code&lt;/item_code&gt;&lt;unit&gt;unit&lt;/unit&gt;&lt;op_stock&gt;op_stock&lt;/op_stock&gt;&lt;sales&gt;sales&lt;/sales&gt;&lt;purc_rcp&gt;purc_rcp&lt;/purc_rcp&gt;&lt;transit_qty&gt;transit_qty&lt;/transit_qty&gt;&lt;adj_qty&gt;adj_qty&lt;/adj_qty&gt;&lt;cl_stock&gt;cl_stock&lt;/cl_stock&gt;&lt;purc_ret&gt;purc_ret&lt;/purc_ret&gt;&lt;chg_user&gt;chg_user&lt;/chg_user&gt;&lt;chg_term&gt;chg_term&lt;/chg_term&gt;&lt;item_descr&gt;item_descr&lt;/item_descr&gt;&lt;chg_date&gt;chg_date&lt;/chg_date&gt;&lt;item_ser&gt;item_ser&lt;/item_ser&gt;&lt;loc_type&gt;loc_type&lt;/loc_type&gt;&lt;sale_order&gt;sale_order&lt;/sale_order&gt;&lt;match_opstk&gt;match_opstk&lt;/match_opstk&gt;&lt;match_clstk&gt;match_clstk&lt;/match_clstk&gt;&lt;remarks&gt;remarks&lt;/remarks&gt;&lt;op_value&gt;op_value&lt;/op_value&gt;&lt;pur_value&gt;pur_value&lt;/pur_value&gt;&lt;sales_value&gt;sales_value&lt;/sales_value&gt;&lt;cl_value&gt;cl_value&lt;/cl_value&gt;&lt;demand_qty&gt;demand_qty&lt;/demand_qty&gt;&lt;adhoc_repl_qty&gt;adhoc_repl_qty&lt;/adhoc_repl_qty&gt;&lt;cust_item__ref&gt;cust_item__ref&lt;/cust_item__ref&gt;&lt;cust_item_ref_descr&gt;cust_item_ref_descr&lt;/cust_item_ref_descr&gt;&lt;cust_purc_rcp&gt;cust_purc_rcp&lt;/cust_purc_rcp&gt;&lt;cust_stock_det_rate&gt;rate&lt;/cust_stock_det_rate&gt;&lt;discount&gt;discount&lt;/discount&gt;&lt;net_amt&gt;net_amt&lt;/net_amt&gt;&lt;/d_cust_stock_det_edit_row&gt;&lt;/d_cust_stock_det_edit&gt;</xml>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;d_cust_stock_det_edit&gt;&lt;d_cust_stock_det_edit_row __pbband=&quot;detail&quot;&gt;&lt;tran_id&gt;tran_id&lt;/tran_id&gt;&lt;line_no&gt;line_no&lt;/line_no&gt;&lt;item_code&gt;item_code&lt;/item_code&gt;&lt;unit&gt;unit&lt;/unit&gt;&lt;op_stock&gt;op_stock&lt;/op_stock&gt;&lt;sales&gt;sales&lt;/sales&gt;&lt;purc_rcp&gt;purc_rcp&lt;/purc_rcp&gt;&lt;transit_qty&gt;transit_qty&lt;/transit_qty&gt;&lt;adj_qty&gt;adj_qty&lt;/adj_qty&gt;&lt;cl_stock&gt;cl_stock&lt;/cl_stock&gt;&lt;purc_ret&gt;purc_ret&lt;/purc_ret&gt;&lt;chg_user&gt;chg_user&lt;/chg_user&gt;&lt;chg_term&gt;chg_term&lt;/chg_term&gt;&lt;item_descr&gt;item_descr&lt;/item_descr&gt;&lt;chg_date&gt;chg_date&lt;/chg_date&gt;&lt;item_ser&gt;item_ser&lt;/item_ser&gt;&lt;loc_type&gt;loc_type&lt;/loc_type&gt;&lt;sale_order&gt;sale_order&lt;/sale_order&gt;&lt;match_opstk&gt;match_opstk&lt;/match_opstk&gt;&lt;match_clstk&gt;match_clstk&lt;/match_clstk&gt;&lt;remarks&gt;remarks&lt;/remarks&gt;&lt;op_value&gt;op_value&lt;/op_value&gt;&lt;pur_value&gt;pur_value&lt;/pur_value&gt;&lt;sales_value&gt;sales_value&lt;/sales_value&gt;&lt;cl_value&gt;cl_value&lt;/cl_value&gt;&lt;demand_qty&gt;demand_qty&lt;/demand_qty&gt;&lt;adhoc_repl_qty&gt;adhoc_repl_qty&lt;/adhoc_repl_qty&gt;&lt;cust_item__ref&gt;cust_item__ref&lt;/cust_item__ref&gt;&lt;cust_item_ref_descr&gt;cust_item_ref_descr&lt;/cust_item_ref_descr&gt;&lt;cust_purc_rcp&gt;cust_purc_rcp&lt;/cust_purc_rcp&gt;&lt;cust_stock_det_rate&gt;rate&lt;/cust_stock_det_rate&gt;&lt;discount&gt;discount&lt;/discount&gt;&lt;net_amt/&gt;&lt;/d_cust_stock_det_edit_row&gt;&lt;/d_cust_stock_det_edit&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
......
......@@ -82,7 +82,7 @@ end;
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
......@@ -110,4 +110,55 @@ end if;
when OTHERS then
return 0;
end;
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
create or replace
function FN_GET_CUST_SORDER_QTY
(as_custcode in char ,as_itemcode char ,lc_sales number, lc_clstock number , lc_transQty number )
return number is lc_netsale number(14,3);
lc_sbal number(14,3);
replfactor number(3);
replperiod number(3);
itemser char(5);
begin
select repl_factor into replfactor from customeritem where cust_code = as_custcode and item_code = as_itemcode ;
if replfactor is null then
Select item_ser into itemser from item where item_code = as_itemcode ;
select repl_factor into replfactor from customer_series where cust_code = as_custcode and item_ser = itemser ;
if replfactor is null then
select repl_factor into replfactor from customer where cust_code = as_custcode ;
if replfactor is null then
select var_value into replfactor from disparm where prd_code = '999999' and var_name = 'REPL_FACTOR';
end if;
end if;
end if;
select repl_period into replperiod from customeritem where cust_code = as_custcode and item_code = as_itemcode ;
if replperiod is null then
Select item_ser into itemser from item where item_code = as_itemcode ;
select repl_period into replperiod from customer_series where cust_code = as_custcode and item_ser = itemser ;
if replperiod is null then
select repl_period into replperiod from customer where cust_code = as_custcode ;
if replperiod is null then
select var_value into replperiod from disparm where prd_code = '999999' and var_name = 'REPL_PERIOD';
end if;
end if;
end if;
lc_netsale := lc_sales /replperiod * replfactor;
lc_netsale := lc_netsale - lc_clstock - lc_transQty ;
Return ROUND(lc_netsale);
end;
\ No newline at end of file
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