Commit f1f44478 authored by caluka's avatar caluka

xml change for emp_code and pos_code columns added


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99846 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fa55aa84
......@@ -164,7 +164,21 @@
<name>conf_date</name>
<dbname>cust_stock.conf_date</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;station&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.stmt_date&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;customer.stan_code&quot;) COLUMN(NAME=&quot;cust_stock.order_type&quot;) COMPUTE(NAME=&quot;(CASE WHEN cust_stock.status is null THEN &apos;Open&apos; WHEN cust_stock.status=&apos;O&apos; THEN &apos;Open&apos; WHEN cust_stock.status=&apos;S&apos; THEN &apos;Submit&apos; ELSE &apos;Open&apos; end) as status&quot;) COLUMN(NAME=&quot;station.descr&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) JOIN (LEFT=&quot;customer.stan_code&quot; OP =&quot;=&quot;RIGHT=&quot;station.stan_code&quot; )WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;from_date&quot; TYPE = date) ARG(NAME = &quot;to_date&quot; TYPE = date) </retrieve>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pos_code</name>
<dbname>cust_stock.pos_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>cust_stock.emp_code</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;station&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.stmt_date&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;customer.stan_code&quot;) COLUMN(NAME=&quot;cust_stock.order_type&quot;) COMPUTE(NAME=&quot;(CASE WHEN cust_stock.status is null THEN &apos;Open&apos; WHEN cust_stock.status=&apos;O&apos; THEN &apos;Open&apos; WHEN cust_stock.status=&apos;S&apos; THEN &apos;Submit&apos; ELSE &apos;Open&apos; end) as status&quot;) COLUMN(NAME=&quot;station.descr&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;cust_stock.pos_code&quot;) COLUMN(NAME=&quot;cust_stock.emp_code&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) JOIN (LEFT=&quot;customer.stan_code&quot; OP =&quot;=&quot;RIGHT=&quot;station.stan_code&quot; )WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;from_date&quot; TYPE = date) ARG(NAME = &quot;to_date&quot; TYPE = date) </retrieve>
<update>cust_stock</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -179,18 +193,18 @@
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Transaction Id</text>
<alignment>0</alignment>
<text>Status</text>
<border>0</border>
<color>0</color>
<color>33554432</color>
<x>2</x>
<y>2</y>
<y>3</y>
<height>16</height>
<width>128</width>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<name>status_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -211,7 +225,7 @@
<text>Customer/Stockist</text>
<border>0</border>
<color>0</color>
<x>132</x>
<x>80</x>
<y>0</y>
<height>16</height>
<width>139</width>
......@@ -239,7 +253,7 @@
<text>Cust Name</text>
<border>0</border>
<color>0</color>
<x>273</x>
<x>221</x>
<y>1</y>
<height>16</height>
<width>196</width>
......@@ -267,7 +281,7 @@
<text>City</text>
<border>0</border>
<color>0</color>
<x>471</x>
<x>419</x>
<y>1</y>
<height>16</height>
<width>113</width>
......@@ -295,7 +309,7 @@
<text>Division</text>
<border>0</border>
<color>0</color>
<x>586</x>
<x>534</x>
<y>2</y>
<height>16</height>
<width>66</width>
......@@ -323,7 +337,7 @@
<text>From Date</text>
<border>0</border>
<color>33554432</color>
<x>654</x>
<x>602</x>
<y>1</y>
<height>16</height>
<width>105</width>
......@@ -351,7 +365,7 @@
<text>To Date</text>
<border>0</border>
<color>33554432</color>
<x>761</x>
<x>709</x>
<y>1</y>
<height>16</height>
<width>102</width>
......@@ -379,7 +393,7 @@
<text>Period Code</text>
<border>0</border>
<color>33554432</color>
<x>865</x>
<x>813</x>
<y>1</y>
<height>16</height>
<width>91</width>
......@@ -407,7 +421,7 @@
<text>Order Type</text>
<border>0</border>
<color>33554432</color>
<x>958</x>
<x>906</x>
<y>1</y>
<height>16</height>
<width>86</width>
......@@ -431,18 +445,18 @@
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Status</text>
<alignment>2</alignment>
<text>Statement Date</text>
<border>0</border>
<color>33554432</color>
<x>1046</x>
<y>1</y>
<color>0</color>
<x>994</x>
<y>2</y>
<height>16</height>
<width>76</width>
<width>121</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_t</name>
<name>stmt_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -460,17 +474,17 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Statement Date</text>
<text>Transaction Date</text>
<border>0</border>
<color>0</color>
<x>1124</x>
<x>1117</x>
<y>2</y>
<height>16</height>
<width>121</width>
<width>104</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_date_t</name>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -488,17 +502,17 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Transaction Date</text>
<text>Site Code</text>
<border>0</border>
<color>0</color>
<x>1247</x>
<x>1223</x>
<y>2</y>
<height>16</height>
<width>104</width>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -513,20 +527,76 @@
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Emp Code</text>
<border>0</border>
<color>33554432</color>
<x>1374</x>
<y>1</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text> Position Code</text>
<border>0</border>
<color>33554432</color>
<x>1295</x>
<y>1</y>
<height>16</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pos_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site Code</text>
<text>Transaction Id</text>
<border>0</border>
<color>0</color>
<x>1353</x>
<x>1464</x>
<y>2</y>
<height>16</height>
<width>70</width>
<width>128</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -547,7 +617,7 @@
<text>Tran Id Last</text>
<border>0</border>
<color>0</color>
<x>1425</x>
<x>1594</x>
<y>2</y>
<height>16</height>
<width>123</width>
......@@ -575,7 +645,7 @@
<text>Confirmed</text>
<border>0</border>
<color>0</color>
<x>1550</x>
<x>1719</x>
<y>1</y>
<height>16</height>
<width>88</width>
......@@ -603,7 +673,7 @@
<text>Conf Date</text>
<border>0</border>
<color>0</color>
<x>1640</x>
<x>1809</x>
<y>1</y>
<height>16</height>
<width>133</width>
......@@ -631,7 +701,7 @@
<text>Station Code</text>
<border>0</border>
<color>33554432</color>
<x>1775</x>
<x>1944</x>
<y>1</y>
<height>16</height>
<width>118</width>
......@@ -657,10 +727,10 @@
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<tabsequence>150</tabsequence>
<border>0</border>
<color>0</color>
<x>2</x>
<x>1464</x>
<y>2</y>
<height>16</height>
<width>128</width>
......@@ -695,10 +765,10 @@
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<tabsequence>110</tabsequence>
<border>0</border>
<color>0</color>
<x>1247</x>
<x>1117</x>
<y>2</y>
<height>16</height>
<width>104</width>
......@@ -733,7 +803,7 @@
<tabsequence>20</tabsequence>
<border>0</border>
<color>0</color>
<x>132</x>
<x>80</x>
<y>2</y>
<height>16</height>
<width>139</width>
......@@ -768,10 +838,10 @@
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<tabsequence>120</tabsequence>
<border>0</border>
<color>0</color>
<x>1353</x>
<x>1223</x>
<y>2</y>
<height>16</height>
<width>70</width>
......@@ -806,10 +876,10 @@
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<tabsequence>160</tabsequence>
<border>0</border>
<color>0</color>
<x>1425</x>
<x>1594</x>
<y>2</y>
<height>16</height>
<width>123</width>
......@@ -847,7 +917,7 @@
<tabsequence>50</tabsequence>
<border>0</border>
<color>0</color>
<x>586</x>
<x>534</x>
<y>2</y>
<height>16</height>
<width>66</width>
......@@ -882,10 +952,10 @@
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<tabsequence>100</tabsequence>
<border>0</border>
<color>0</color>
<x>1124</x>
<x>994</x>
<y>2</y>
<height>16</height>
<width>121</width>
......@@ -920,7 +990,7 @@
<tabsequence>30</tabsequence>
<border>0</border>
<color>0</color>
<x>273</x>
<x>221</x>
<y>0</y>
<height>16</height>
<width>196</width>
......@@ -954,10 +1024,10 @@
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>170</tabsequence>
<tabsequence>190</tabsequence>
<border>0</border>
<color>0</color>
<x>1775</x>
<x>1944</x>
<y>1</y>
<height>16</height>
<width>118</width>
......@@ -994,7 +1064,7 @@
<tabsequence>90</tabsequence>
<border>0</border>
<color>0</color>
<x>958</x>
<x>906</x>
<y>1</y>
<height>16</height>
<width>86</width>
......@@ -1028,10 +1098,10 @@
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<tabsequence>10</tabsequence>
<border>0</border>
<color>0</color>
<x>1046</x>
<x>2</x>
<y>1</y>
<height>16</height>
<width>76</width>
......@@ -1068,7 +1138,7 @@
<tabsequence>40</tabsequence>
<border>0</border>
<color>0</color>
<x>471</x>
<x>419</x>
<y>1</y>
<height>16</height>
<width>113</width>
......@@ -1105,7 +1175,7 @@
<tabsequence>60</tabsequence>
<border>0</border>
<color>0</color>
<x>654</x>
<x>602</x>
<y>1</y>
<height>16</height>
<width>105</width>
......@@ -1140,7 +1210,7 @@
<tabsequence>70</tabsequence>
<border>0</border>
<color>0</color>
<x>761</x>
<x>709</x>
<y>1</y>
<height>16</height>
<width>102</width>
......@@ -1175,7 +1245,7 @@
<tabsequence>80</tabsequence>
<border>0</border>
<color>0</color>
<x>865</x>
<x>813</x>
<y>1</y>
<height>16</height>
<width>91</width>
......@@ -1209,10 +1279,10 @@
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<tabsequence>170</tabsequence>
<border>0</border>
<color>0</color>
<x>1550</x>
<x>1719</x>
<y>1</y>
<height>16</height>
<width>88</width>
......@@ -1245,10 +1315,10 @@
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<tabsequence>180</tabsequence>
<border>0</border>
<color>0</color>
<x>1640</x>
<x>1809</x>
<y>0</y>
<height>16</height>
<width>133</width>
......@@ -1276,6 +1346,78 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>0</border>
<color>0</color>
<x>1295</x>
<y>1</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pos_code</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>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<border>0</border>
<color>0</color>
<x>1374</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</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>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -237,7 +237,27 @@
<name>country_code</name>
<dbname>country_code</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;itemser&quot; ) TABLE(NAME=&quot;sordertype&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.order_type&quot;) COLUMN(NAME=&quot;cust_stock.stmt_date&quot;) COLUMN(NAME=&quot;itemser.descr&quot;) COLUMN(NAME=&quot;sordertype.descr&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;cust_stock.chg_user&quot;) COLUMN(NAME=&quot;cust_stock.chg_term&quot;) COLUMN(NAME=&quot;cust_stock.chg_date&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COLUMN(NAME=&quot;cust_stock.missing_inserted&quot;) COLUMN(NAME=&quot;customer.cust_type&quot;) COMPUTE(NAME=&quot;&apos;&apos; as cust_type__descr&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COMPUTE(NAME=&quot;&apos;&apos; as pophelp_frmdt&quot;) COMPUTE(NAME=&quot;&apos;&apos; as pophelp_todt&quot;) COMPUTE(NAME=&quot;&apos;&apos; as sale_per&quot;) COMPUTE(NAME=&quot;&apos;&apos; as edit_status&quot;) COMPUTE(NAME=&quot;&apos;&apos; as country_code&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) JOIN (LEFT=&quot;cust_stock.item_ser&quot; OP =&quot;=&quot;RIGHT=&quot;itemser.item_ser&quot; ) JOIN (LEFT=&quot;cust_stock.order_type&quot; OP =&quot;=&quot;RIGHT=&quot;sordertype.order_type&quot; ) JOIN (LEFT=&quot;cust_stock.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;CUST_STOCK.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pos_code</name>
<dbname>cust_stock.pos_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>cust_stock.emp_code</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_name</name>
<dbname>emp_name</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;itemser&quot; ) TABLE(NAME=&quot;sordertype&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.order_type&quot;) COLUMN(NAME=&quot;cust_stock.stmt_date&quot;) COLUMN(NAME=&quot;itemser.descr&quot;) COLUMN(NAME=&quot;sordertype.descr&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;cust_stock.chg_user&quot;) COLUMN(NAME=&quot;cust_stock.chg_term&quot;) COLUMN(NAME=&quot;cust_stock.chg_date&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COLUMN(NAME=&quot;cust_stock.missing_inserted&quot;) COLUMN(NAME=&quot;customer.cust_type&quot;) COMPUTE(NAME=&quot;&apos;&apos; as cust_type__descr&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COMPUTE(NAME=&quot;&apos;&apos; as pophelp_frmdt&quot;) COMPUTE(NAME=&quot;&apos;&apos; as pophelp_todt&quot;) COMPUTE(NAME=&quot;&apos;&apos; as sale_per&quot;) COMPUTE(NAME=&quot;&apos;&apos; as edit_status&quot;) COMPUTE(NAME=&quot;&apos;&apos; as country_code&quot;) COLUMN(NAME=&quot;cust_stock.pos_code&quot;) COLUMN(NAME=&quot;cust_stock.emp_code&quot;) COMPUTE(NAME=&quot;&apos;&apos; as emp_name&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) JOIN (LEFT=&quot;cust_stock.item_ser&quot; OP =&quot;=&quot;RIGHT=&quot;itemser.item_ser&quot; ) JOIN (LEFT=&quot;cust_stock.order_type&quot; OP =&quot;=&quot;RIGHT=&quot;sordertype.order_type&quot; ) JOIN (LEFT=&quot;cust_stock.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;CUST_STOCK.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>cust_stock</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>yes</updatekeyinplace>
......@@ -315,18 +335,18 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Customer/Stockist:</text>
<text>Tran Id :</text>
<border>0</border>
<color>33554432</color>
<x>3</x>
<y>80</y>
<x>17</x>
<y>33</y>
<height>15</height>
<width>108</width>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code_t</name>
<visible>1</visible>
<name>tran_id__last_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -342,27 +362,25 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>182</x>
<y>80</y>
<height>16</height>
<width>270</width>
<x>110</x>
<y>35</y>
<height>15</height>
<width>106</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name</name>
<visible>1</visible>
<name>tran_id__last</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>50</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -381,45 +399,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Division :</text>
<border>0</border>
<color>33554432</color>
<x>32</x>
<y>127</y>
<height>15</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>37</x>
<y>104</y>
<x>18</x>
<y>10</y>
<height>15</height>
<width>69</width>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<name>tran_id_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
......@@ -436,25 +426,27 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>182</x>
<y>104</y>
<x>110</x>
<y>10</y>
<height>16</height>
<width>270</width>
<width>106</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</name>
<name>tran_id</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -467,24 +459,24 @@
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<text>Customer/Stockist:</text>
<border>0</border>
<color>33554432</color>
<x>18</x>
<y>10</y>
<x>3</x>
<y>107</y>
<height>15</height>
<width>88</width>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>0</visible>
<name>cust_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -498,31 +490,21 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>110</x>
<y>10</y>
<height>16</height>
<width>106</width>
<format>[general]</format>
<alignment>1</alignment>
<text>Division :</text>
<border>0</border>
<color>33554432</color>
<x>32</x>
<y>154</y>
<height>15</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<name>item_ser_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -535,21 +517,21 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id :</text>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>17</x>
<y>33</y>
<x>37</x>
<y>131</y>
<height>15</height>
<width>89</width>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__last_t</name>
<name>site_code_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
......@@ -566,20 +548,20 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>110</x>
<y>35</y>
<height>15</height>
<width>106</width>
<x>182</x>
<y>131</y>
<height>16</height>
<width>270</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__last</name>
<name>site_descr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -597,7 +579,7 @@
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</ColumnObject>
<TextObject>
......@@ -607,7 +589,7 @@
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>174</y>
<y>201</y>
<height>15</height>
<width>97</width>
<html>
......@@ -636,7 +618,7 @@
<border>5</border>
<color>255</color>
<x>110</x>
<y>174</y>
<y>201</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
......@@ -672,7 +654,7 @@
<border>5</border>
<color>255</color>
<x>182</x>
<y>174</y>
<y>201</y>
<height>15</height>
<width>270</width>
<format>[general]</format>
......@@ -709,7 +691,7 @@
<border>5</border>
<color>255</color>
<x>110</x>
<y>127</y>
<y>154</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
......@@ -745,7 +727,7 @@
<border>5</border>
<color>255</color>
<x>182</x>
<y>127</y>
<y>154</y>
<height>15</height>
<width>270</width>
<format>[general]</format>
......@@ -781,7 +763,7 @@
<border>0</border>
<color>33554432</color>
<x>12</x>
<y>150</y>
<y>177</y>
<height>15</height>
<width>93</width>
<html>
......@@ -810,7 +792,7 @@
<border>5</border>
<color>255</color>
<x>110</x>
<y>150</y>
<y>177</y>
<height>15</height>
<width>65</width>
<format>[general]</format>
......@@ -846,7 +828,7 @@
<border>5</border>
<color>255</color>
<x>182</x>
<y>150</y>
<y>177</y>
<height>15</height>
<width>270</width>
<format>[general]</format>
......@@ -882,7 +864,7 @@
<border>5</border>
<color>255</color>
<x>110</x>
<y>104</y>
<y>131</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
......@@ -919,7 +901,7 @@
<border>0</border>
<color>33554432</color>
<x>34</x>
<y>218</y>
<y>245</y>
<height>15</height>
<width>69</width>
<html>
......@@ -948,7 +930,7 @@
<border>5</border>
<color>255</color>
<x>107</x>
<y>218</y>
<y>245</y>
<height>16</height>
<width>89</width>
<format>DD/MM/YY</format>
......@@ -982,7 +964,7 @@
<border>0</border>
<color>33554432</color>
<x>34</x>
<y>241</y>
<y>268</y>
<height>15</height>
<width>69</width>
<html>
......@@ -1011,7 +993,7 @@
<border>5</border>
<color>255</color>
<x>107</x>
<y>241</y>
<y>268</y>
<height>16</height>
<width>90</width>
<format>DD/MM/YY</format>
......@@ -1045,7 +1027,7 @@
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>263</y>
<y>290</y>
<height>15</height>
<width>98</width>
<html>
......@@ -1070,11 +1052,11 @@
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>107</x>
<y>263</y>
<y>290</y>
<height>15</height>
<width>94</width>
<format>[shortdate] [time]</format>
......@@ -1110,7 +1092,7 @@
<border>0</border>
<color>33554432</color>
<x>58</x>
<y>285</y>
<y>312</y>
<height>15</height>
<width>45</width>
<html>
......@@ -1139,7 +1121,7 @@
<border>0</border>
<color>255</color>
<x>107</x>
<y>285</y>
<y>312</y>
<height>15</height>
<width>86</width>
<format>[general]</format>
......@@ -1176,7 +1158,7 @@
<border>0</border>
<color>255</color>
<x>124</x>
<y>313</y>
<y>340</y>
<height>15</height>
<width>86</width>
<format>[general]</format>
......@@ -1212,7 +1194,7 @@
<border>0</border>
<color>255</color>
<x>239</x>
<y>309</y>
<y>336</y>
<height>15</height>
<width>86</width>
<format>[general]</format>
......@@ -1248,7 +1230,7 @@
<border>0</border>
<color>255</color>
<x>341</x>
<y>309</y>
<y>336</y>
<height>15</height>
<width>48</width>
<format>[general]</format>
......@@ -1284,7 +1266,7 @@
<border>0</border>
<color>255</color>
<x>32</x>
<y>337</y>
<y>364</y>
<height>15</height>
<width>86</width>
<format>[shortdate] [time]</format>
......@@ -1320,7 +1302,7 @@
<border>0</border>
<color>255</color>
<x>127</x>
<y>335</y>
<y>362</y>
<height>15</height>
<width>86</width>
<format>[general]</format>
......@@ -1357,7 +1339,7 @@
<border>0</border>
<color>255</color>
<x>242</x>
<y>336</y>
<y>363</y>
<height>15</height>
<width>70</width>
<format>[general]</format>
......@@ -1393,7 +1375,7 @@
<border>0</border>
<color>255</color>
<x>340</x>
<y>336</y>
<y>363</y>
<height>15</height>
<width>48</width>
<format>[general]</format>
......@@ -1428,7 +1410,7 @@
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>196</y>
<y>223</y>
<height>15</height>
<width>97</width>
<html>
......@@ -1457,7 +1439,7 @@
<border>5</border>
<color>255</color>
<x>407</x>
<y>306</y>
<y>333</y>
<height>15</height>
<width>48</width>
<format>[general]</format>
......@@ -1487,27 +1469,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<id>23</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>110</x>
<y>80</y>
<height>16</height>
<width>66</width>
<x>111</x>
<y>222</y>
<height>15</height>
<width>79</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<name>prd_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1525,21 +1505,21 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<id>27</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>111</x>
<y>195</y>
<color>255</color>
<x>405</x>
<y>366</y>
<height>15</height>
<width>79</width>
<width>48</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code</name>
<visible>1</visible>
<name>edit_status</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
......@@ -1555,26 +1535,26 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
<id>28</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<border>0</border>
<color>255</color>
<x>405</x>
<y>339</y>
<x>139</x>
<y>401</y>
<height>15</height>
<width>48</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>edit_status</name>
<name>country_code</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1597,20 +1577,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<id>29</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>0</border>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>139</x>
<y>374</y>
<x>253</x>
<y>399</y>
<height>15</height>
<width>48</width>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>country_code</name>
<name>pos_code</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1631,6 +1611,175 @@
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>110</x>
<y>107</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<visible>1</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>Arial</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>1</alignment>
<text>Employee:</text>
<border>0</border>
<color>33554432</color>
<x>37</x>
<y>81</y>
<height>15</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>30</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>110</x>
<y>81</y>
<height>15</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>182</x>
<y>107</y>
<height>16</height>
<width>270</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>50</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>31</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>182</x>
<y>81</y>
<height>15</height>
<width>270</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<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