Commit 345de592 authored by rtiwari's avatar rtiwari

Metadata Updated for the Request ID- D15DSUN007


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98362 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d964e521
......@@ -32,7 +32,7 @@
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<height>35</height>
<color>536870912</color>
</Header>
<Summary>
......@@ -168,9 +168,41 @@
<name>debit_note_amt</name>
<dbname>spl_sales_por_hdr.debit_note_amt</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_hdr&quot; ) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.invoice_id&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.site_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.cust_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.curr_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.exch_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.amount&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_id__drn&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.confirmed&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.conf_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.wf_status&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_user&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_term&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.debit_note_amt&quot;)WHERE( EXP1 =&quot;spl_sales_por_hdr.tran_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:fromdate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;spl_sales_por_hdr.tran_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:todate&quot; ) ) ARG(NAME = &quot;fromdate&quot; TYPE = date) ARG(NAME = &quot;todate&quot; TYPE = date) </retrieve>
<update>spl_sales_por_hdr</update>
<updatewhere>1</updatewhere>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>spl_sales_por_hdr.remarks</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code__solto</name>
<dbname>spl_sales_por_hdr.cust_code__solto</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>customer_cust_name</name>
<dbname>customer.cust_name</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>invoice_tran_date</name>
<dbname>invoice.tran_date</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_name_1</name>
<dbname>customer.cust_name</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_hdr&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;invoice&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.invoice_id&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.site_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.cust_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.curr_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.exch_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.amount&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_id__drn&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.confirmed&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.conf_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.wf_status&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_user&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_term&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.debit_note_amt&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.cust_code__solto&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) COLUMN(NAME=&quot;invoice.tran_date&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) JOIN (LEFT=&quot;customer_a.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_hdr.cust_code&quot; ) JOIN (LEFT=&quot;invoice.invoice_id&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_hdr.invoice_id&quot; ) JOIN (LEFT=&quot;spl_sales_por_hdr.cust_code__solto&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; )WHERE( EXP1 =&quot;spl_sales_por_hdr.tran_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:fromdate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;spl_sales_por_hdr.tran_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:todate&quot; ) ) ARG(NAME = &quot;fromdate&quot; TYPE = date) ARG(NAME = &quot;todate&quot; TYPE = date) </retrieve>
<update>SPL_SALES_POR_HDR</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>fromdate</name>
......@@ -190,7 +222,7 @@
<x>2</x>
<y>2</y>
<height>16</height>
<width>107</width>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -215,10 +247,10 @@
<text>Tran Date</text>
<border>6</border>
<color>33554432</color>
<x>111</x>
<x>101</x>
<y>2</y>
<height>16</height>
<width>132</width>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -243,7 +275,7 @@
<text>Invoice Id</text>
<border>6</border>
<color>33554432</color>
<x>245</x>
<x>189</x>
<y>2</y>
<height>16</height>
<width>100</width>
......@@ -271,10 +303,10 @@
<text>Site Code</text>
<border>6</border>
<color>33554432</color>
<x>347</x>
<x>387</x>
<y>2</y>
<height>16</height>
<width>87</width>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -296,13 +328,13 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Customer Code</text>
<text>Billed To Customer</text>
<border>6</border>
<color>33554432</color>
<x>436</x>
<x>463</x>
<y>2</y>
<height>16</height>
<width>94</width>
<width>113</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -327,7 +359,7 @@
<text>Curr Code</text>
<border>6</border>
<color>33554432</color>
<x>532</x>
<x>767</x>
<y>2</y>
<height>16</height>
<width>79</width>
......@@ -355,7 +387,7 @@
<text>Exch Rate</text>
<border>6</border>
<color>33554432</color>
<x>613</x>
<x>848</x>
<y>2</y>
<height>16</height>
<width>72</width>
......@@ -383,7 +415,7 @@
<text>Amount</text>
<border>6</border>
<color>33554432</color>
<x>687</x>
<x>922</x>
<y>2</y>
<height>16</height>
<width>72</width>
......@@ -411,10 +443,10 @@
<text>Tran Id Drn</text>
<border>6</border>
<color>33554432</color>
<x>761</x>
<x>996</x>
<y>2</y>
<height>16</height>
<width>70</width>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -439,7 +471,7 @@
<text>Confirmed</text>
<border>6</border>
<color>33554432</color>
<x>1091</x>
<x>1177</x>
<y>2</y>
<height>16</height>
<width>59</width>
......@@ -467,10 +499,10 @@
<text>Confirmed Date</text>
<border>6</border>
<color>33554432</color>
<x>1152</x>
<x>1238</x>
<y>2</y>
<height>16</height>
<width>132</width>
<width>105</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -495,10 +527,10 @@
<text>Emp Code Aprv</text>
<border>6</border>
<color>33554432</color>
<x>1286</x>
<x>1345</x>
<y>2</y>
<height>16</height>
<width>92</width>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -523,10 +555,10 @@
<text>Wf Status</text>
<border>6</border>
<color>33554432</color>
<x>1380</x>
<x>1446</x>
<y>2</y>
<height>16</height>
<width>56</width>
<width>62</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -551,10 +583,10 @@
<text>Chg Date</text>
<border>6</border>
<color>33554432</color>
<x>1438</x>
<x>1841</x>
<y>2</y>
<height>16</height>
<width>132</width>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -579,7 +611,7 @@
<text>Chg User</text>
<border>6</border>
<color>33554432</color>
<x>1572</x>
<x>1934</x>
<y>2</y>
<height>16</height>
<width>66</width>
......@@ -607,7 +639,7 @@
<text>Chg Term</text>
<border>6</border>
<color>33554432</color>
<x>1640</x>
<x>2002</x>
<y>2</y>
<height>16</height>
<width>96</width>
......@@ -635,10 +667,10 @@
<text>Debit Note Amt</text>
<border>6</border>
<color>33554432</color>
<x>833</x>
<x>1075</x>
<y>1</y>
<height>16</height>
<width>256</width>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -646,7 +678,147 @@
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<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>2</alignment>
<text>Rejection Remark</text>
<border>6</border>
<color>33554432</color>
<x>2100</x>
<y>1</y>
<height>19</height>
<width>282</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Soled To Customer</text>
<border>6</border>
<color>33554432</color>
<x>1510</x>
<y>1</y>
<height>19</height>
<width>135</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__solto_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Billed To Customer Name</text>
<border>6</border>
<color>33554432</color>
<x>578</x>
<y>1</y>
<height>19</height>
<width>187</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_cust_name_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Invoice Date</text>
<border>6</border>
<color>33554432</color>
<x>291</x>
<y>1</y>
<height>19</height>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>invoice_tran_date_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Soled To Customer Name</text>
<border>6</border>
<color>33554432</color>
<x>1647</x>
<y>1</y>
<height>19</height>
<width>192</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name_1_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
......@@ -667,7 +839,7 @@
<x>2</x>
<y>2</y>
<height>19</height>
<width>107</width>
<width>97</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -702,10 +874,10 @@
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>111</x>
<x>101</x>
<y>2</y>
<height>19</height>
<width>132</width>
<width>86</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -740,7 +912,7 @@
<tabsequence>30</tabsequence>
<border>0</border>
<color>33554432</color>
<x>245</x>
<x>189</x>
<y>2</y>
<height>19</height>
<width>100</width>
......@@ -775,13 +947,13 @@
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<tabsequence>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>347</x>
<x>387</x>
<y>2</y>
<height>19</height>
<width>87</width>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -813,13 +985,13 @@
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<tabsequence>60</tabsequence>
<border>0</border>
<color>33554432</color>
<x>436</x>
<x>463</x>
<y>2</y>
<height>19</height>
<width>94</width>
<width>113</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -851,10 +1023,10 @@
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<tabsequence>80</tabsequence>
<border>0</border>
<color>33554432</color>
<x>532</x>
<x>767</x>
<y>2</y>
<height>19</height>
<width>79</width>
......@@ -889,10 +1061,10 @@
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<tabsequence>90</tabsequence>
<border>0</border>
<color>33554432</color>
<x>613</x>
<x>848</x>
<y>2</y>
<height>19</height>
<width>72</width>
......@@ -927,10 +1099,10 @@
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>80</tabsequence>
<tabsequence>100</tabsequence>
<border>0</border>
<color>33554432</color>
<x>687</x>
<x>922</x>
<y>2</y>
<height>19</height>
<width>72</width>
......@@ -965,13 +1137,13 @@
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<tabsequence>110</tabsequence>
<border>0</border>
<color>33554432</color>
<x>761</x>
<x>996</x>
<y>2</y>
<height>19</height>
<width>70</width>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1003,10 +1175,10 @@
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<tabsequence>130</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1091</x>
<x>1177</x>
<y>2</y>
<height>19</height>
<width>59</width>
......@@ -1041,13 +1213,13 @@
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<tabsequence>140</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1152</x>
<x>1238</x>
<y>2</y>
<height>19</height>
<width>132</width>
<width>105</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1079,13 +1251,13 @@
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<tabsequence>150</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1286</x>
<x>1345</x>
<y>2</y>
<height>19</height>
<width>92</width>
<width>99</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1117,13 +1289,13 @@
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<tabsequence>160</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1380</x>
<x>1446</x>
<y>2</y>
<height>19</height>
<width>56</width>
<width>62</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1155,13 +1327,13 @@
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<tabsequence>190</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1438</x>
<x>1841</x>
<y>2</y>
<height>19</height>
<width>132</width>
<width>91</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1193,10 +1365,10 @@
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<tabsequence>200</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1572</x>
<x>1934</x>
<y>2</y>
<height>19</height>
<width>66</width>
......@@ -1231,10 +1403,10 @@
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>170</tabsequence>
<tabsequence>210</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1640</x>
<x>2002</x>
<y>2</y>
<height>19</height>
<width>96</width>
......@@ -1269,13 +1441,13 @@
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<tabsequence>120</tabsequence>
<border>0</border>
<color>33554432</color>
<x>833</x>
<x>1075</x>
<y>1</y>
<height>15</height>
<width>256</width>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1301,6 +1473,186 @@
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>220</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2100</x>
<y>1</y>
<height>16</height>
<width>282</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-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>19</id>
<alignment>0</alignment>
<tabsequence>170</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1510</x>
<y>1</y>
<height>16</height>
<width>135</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__solto</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-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>20</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>0</border>
<color>33554432</color>
<x>578</x>
<y>1</y>
<height>16</height>
<width>187</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-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>21</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>0</border>
<color>33554432</color>
<x>291</x>
<y>1</y>
<height>16</height>
<width>94</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>invoice_tran_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-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>22</id>
<alignment>0</alignment>
<tabsequence>180</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1647</x>
<y>1</y>
<height>16</height>
<width>192</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name_1</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-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>
......
......@@ -32,7 +32,7 @@
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>19</height>
<height>57</height>
<color>536870912</color>
</Header>
<Summary>
......@@ -78,13 +78,6 @@
<name>item_code</name>
<dbname>spl_sales_por_det.item_code</dbname>
</table_column>
<table_column>
<type size="8">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>loc_code</name>
<dbname>spl_sales_por_det.loc_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
......@@ -93,32 +86,38 @@
<dbname>spl_sales_por_det.lot_no</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>lot_sl</name>
<dbname>spl_sales_por_det.lot_sl</dbname>
<name>quantity__inv</name>
<dbname>spl_sales_por_det.quantity__inv</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bill_no</name>
<dbname>spl_sales_por_det.bill_no</dbname>
<name>rate__inv</name>
<dbname>spl_sales_por_det.rate__inv</dbname>
</table_column>
<table_column>
<type>datetime</type>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bil_date</name>
<dbname>spl_sales_por_det.bil_date</dbname>
<name>aprv_rate</name>
<dbname>spl_sales_por_det.aprv_rate</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate__inv</name>
<dbname>spl_sales_por_det.rate__inv</dbname>
<name>quantity__resale</name>
<dbname>spl_sales_por_det.quantity__resale</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>bal_qty</name>
<dbname>bal_qty</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
......@@ -128,18 +127,32 @@
<dbname>spl_sales_por_det.rate__resale</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<type size="8">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity__inv</name>
<dbname>spl_sales_por_det.quantity__inv</dbname>
<name>loc_code</name>
<dbname>spl_sales_por_det.loc_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity__resale</name>
<dbname>spl_sales_por_det.quantity__resale</dbname>
<name>lot_sl</name>
<dbname>spl_sales_por_det.lot_sl</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bill_no</name>
<dbname>spl_sales_por_det.bill_no</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bil_date</name>
<dbname>spl_sales_por_det.bil_date</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
......@@ -170,28 +183,21 @@
<dbname>spl_sales_por_det.debit_note_amt</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>aprv_rate</name>
<dbname>spl_sales_por_det.aprv_rate</dbname>
<name>pend_qty</name>
<dbname>spl_sales_por_det.pend_qty</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pend_qty</name>
<dbname>spl_sales_por_det.pend_qty</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;spl_sales_por_det.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no__trace&quot;) COLUMN(NAME=&quot;spl_sales_por_det.item_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.loc_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_sl&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bill_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bil_date&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__inv&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__inv&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.amount&quot;) COLUMN(NAME=&quot;spl_sales_por_det.remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_det.transit_day&quot;) COLUMN(NAME=&quot;spl_sales_por_det.debit_note_amt&quot;) COLUMN(NAME=&quot;spl_sales_por_det.aprv_rate&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;spl_sales_por_det.pend_qty&quot;) JOIN (LEFT=&quot;spl_sales_por_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; )WHERE( EXP1 =&quot;spl_sales_por_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;spl_sales_por_det.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no__trace&quot;) COLUMN(NAME=&quot;spl_sales_por_det.item_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__inv&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__inv&quot;) COLUMN(NAME=&quot;spl_sales_por_det.aprv_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__resale&quot;) COMPUTE(NAME=&quot;ddf_get_balqty_pod(SPL_SALES_POR_DET.tran_id,SPL_SALES_POR_DET.line_no) as bal_qty&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.loc_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_sl&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bill_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bil_date&quot;) COLUMN(NAME=&quot;spl_sales_por_det.amount&quot;) COLUMN(NAME=&quot;spl_sales_por_det.remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_det.transit_day&quot;) COLUMN(NAME=&quot;spl_sales_por_det.debit_note_amt&quot;) COLUMN(NAME=&quot;spl_sales_por_det.pend_qty&quot;) COLUMN(NAME=&quot;item.descr&quot;) JOIN (LEFT=&quot;spl_sales_por_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; )WHERE( EXP1 =&quot;spl_sales_por_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>SPL_SALES_POR_DET</update>
<updatewhere>1</updatewhere>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
......@@ -288,7 +294,7 @@
<text>Lot No</text>
<border>6</border>
<color>33554432</color>
<x>219</x>
<x>324</x>
<y>2</y>
<height>15</height>
<width>96</width>
......@@ -316,7 +322,7 @@
<text>Invoice Quantity</text>
<border>6</border>
<color>33554432</color>
<x>317</x>
<x>422</x>
<y>2</y>
<height>16</height>
<width>105</width>
......@@ -344,7 +350,7 @@
<text>Invoice Rate</text>
<border>6</border>
<color>33554432</color>
<x>424</x>
<x>529</x>
<y>2</y>
<height>16</height>
<width>83</width>
......@@ -372,7 +378,7 @@
<text>Aprv Rate</text>
<border>6</border>
<color>33554432</color>
<x>509</x>
<x>614</x>
<y>2</y>
<height>15</height>
<width>72</width>
......@@ -400,7 +406,7 @@
<text>Quantity Resale</text>
<border>6</border>
<color>33554432</color>
<x>583</x>
<x>688</x>
<y>2</y>
<height>15</height>
<width>109</width>
......@@ -428,7 +434,7 @@
<text>Debit Note Amt</text>
<border>6</border>
<color>33554432</color>
<x>694</x>
<x>975</x>
<y>2</y>
<height>15</height>
<width>115</width>
......@@ -456,7 +462,7 @@
<text>Bill No</text>
<border>6</border>
<color>33554432</color>
<x>811</x>
<x>1092</x>
<y>2</y>
<height>15</height>
<width>113</width>
......@@ -484,7 +490,7 @@
<text>Bil Date</text>
<border>6</border>
<color>33554432</color>
<x>926</x>
<x>1207</x>
<y>2</y>
<height>15</height>
<width>99</width>
......@@ -512,7 +518,7 @@
<text>Remarks</text>
<border>6</border>
<color>33554432</color>
<x>1027</x>
<x>1308</x>
<y>2</y>
<height>15</height>
<width>329</width>
......@@ -540,7 +546,7 @@
<text>Rate Resale</text>
<border>6</border>
<color>33554432</color>
<x>1358</x>
<x>882</x>
<y>2</y>
<height>15</height>
<width>91</width>
......@@ -568,7 +574,7 @@
<text>Line No Trace</text>
<border>6</border>
<color>33554432</color>
<x>1451</x>
<x>1639</x>
<y>2</y>
<height>15</height>
<width>90</width>
......@@ -592,22 +598,22 @@
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Item Descr</text>
<alignment>2</alignment>
<text>Loc Code</text>
<border>6</border>
<color>33554432</color>
<x>1543</x>
<y>1</y>
<height>16</height>
<width>119</width>
<x>1731</x>
<y>2</y>
<height>15</height>
<width>55</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_descr_t</name>
<name>loc_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
......@@ -621,17 +627,17 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Loc Code</text>
<text>Lot Sl</text>
<border>6</border>
<color>33554432</color>
<x>1664</x>
<x>1788</x>
<y>2</y>
<height>15</height>
<width>55</width>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code_t</name>
<name>lot_sl_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -649,17 +655,17 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Lot Sl</text>
<text>Amount</text>
<border>6</border>
<color>33554432</color>
<x>1721</x>
<x>1886</x>
<y>2</y>
<height>15</height>
<width>96</width>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl_t</name>
<name>amount_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -677,17 +683,17 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Amount</text>
<text>Transit Day</text>
<border>6</border>
<color>33554432</color>
<x>1819</x>
<x>1960</x>
<y>2</y>
<height>15</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount_t</name>
<name>transit_day_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -702,20 +708,48 @@
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Pending Qty</text>
<border>6</border>
<color>33554432</color>
<x>2034</x>
<y>1</y>
<height>17</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pend_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Transit Day</text>
<text>Balance Qty</text>
<border>6</border>
<color>33554432</color>
<x>1893</x>
<x>799</x>
<y>2</y>
<height>15</height>
<width>72</width>
<height>19</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>transit_day_t</name>
<name>bal_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -730,6 +764,34 @@
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Product Name</text>
<border>6</border>
<color>33554432</color>
<x>219</x>
<y>2</y>
<height>16</height>
<width>103</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr_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>1</id>
......@@ -810,10 +872,10 @@
<band>Detail</band>
<id>3</id>
<alignment>1</alignment>
<tabsequence>140</tabsequence>
<tabsequence>160</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1451</x>
<x>1639</x>
<y>2</y>
<height>18</height>
<width>90</width>
......@@ -884,12 +946,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>12</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<tabsequence>170</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1664</x>
<x>1731</x>
<y>2</y>
<height>18</height>
<width>55</width>
......@@ -922,12 +984,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<tabsequence>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>219</x>
<x>324</x>
<y>2</y>
<height>18</height>
<width>96</width>
......@@ -960,12 +1022,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>13</id>
<alignment>0</alignment>
<tabsequence>170</tabsequence>
<tabsequence>180</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1721</x>
<x>1788</x>
<y>2</y>
<height>18</height>
<width>96</width>
......@@ -998,12 +1060,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>14</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<tabsequence>130</tabsequence>
<border>0</border>
<color>33554432</color>
<x>811</x>
<x>1092</x>
<y>2</y>
<height>18</height>
<width>113</width>
......@@ -1036,12 +1098,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>15</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<tabsequence>140</tabsequence>
<border>0</border>
<color>33554432</color>
<x>926</x>
<x>1207</x>
<y>2</y>
<height>18</height>
<width>99</width>
......@@ -1074,12 +1136,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<id>7</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<tabsequence>70</tabsequence>
<border>0</border>
<color>33554432</color>
<x>424</x>
<x>529</x>
<y>2</y>
<height>18</height>
<width>83</width>
......@@ -1114,10 +1176,10 @@
<band>Detail</band>
<id>11</id>
<alignment>1</alignment>
<tabsequence>130</tabsequence>
<tabsequence>110</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1358</x>
<x>882</x>
<y>2</y>
<height>18</height>
<width>91</width>
......@@ -1150,12 +1212,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<id>6</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<tabsequence>60</tabsequence>
<border>0</border>
<color>33554432</color>
<x>317</x>
<x>422</x>
<y>2</y>
<height>18</height>
<width>105</width>
......@@ -1188,12 +1250,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<id>9</id>
<alignment>1</alignment>
<tabsequence>80</tabsequence>
<tabsequence>90</tabsequence>
<border>0</border>
<color>33554432</color>
<x>583</x>
<x>688</x>
<y>2</y>
<height>18</height>
<width>109</width>
......@@ -1226,12 +1288,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<id>16</id>
<alignment>1</alignment>
<tabsequence>180</tabsequence>
<tabsequence>190</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1819</x>
<x>1886</x>
<y>2</y>
<height>18</height>
<width>72</width>
......@@ -1264,12 +1326,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<id>17</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<tabsequence>150</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1027</x>
<x>1308</x>
<y>2</y>
<height>18</height>
<width>329</width>
......@@ -1302,12 +1364,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<id>18</id>
<alignment>1</alignment>
<tabsequence>190</tabsequence>
<tabsequence>200</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1893</x>
<x>1960</x>
<y>2</y>
<height>18</height>
<width>72</width>
......@@ -1340,12 +1402,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<id>19</id>
<alignment>1</alignment>
<tabsequence>90</tabsequence>
<tabsequence>120</tabsequence>
<border>0</border>
<color>33554432</color>
<x>694</x>
<x>975</x>
<y>2</y>
<height>18</height>
<width>115</width>
......@@ -1378,12 +1440,12 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<id>8</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<tabsequence>80</tabsequence>
<border>0</border>
<color>33554432</color>
<x>509</x>
<x>614</x>
<y>2</y>
<height>18</height>
<width>72</width>
......@@ -1416,20 +1478,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<id>20</id>
<alignment>1</alignment>
<tabsequence>210</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1543</x>
<x>2034</x>
<y>1</y>
<height>15</height>
<width>119</width>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<name>pend_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1452,20 +1514,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>1</alignment>
<tabsequence>200</tabsequence>
<id>10</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1968</x>
<x>799</x>
<y>1</y>
<height>16</height>
<width>80</width>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pend_qty</name>
<name>bal_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1479,34 +1548,42 @@
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Pending Qty</text>
<border>6</border>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1967</x>
<y>1</y>
<height>17</height>
<width>81</width>
<x>219</x>
<y>3</y>
<height>16</height>
<width>103</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pend_qty_t</name>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-11</height>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -39,10 +39,17 @@
<color>536870912</color>
</Footer>
<Detail>
<height>546</height>
<height>614</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="0">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>remarks</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
......@@ -187,7 +194,32 @@
<name>debit_note_amt</name>
<dbname>spl_sales_por_hdr.debit_note_amt</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_hdr&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;invoice&quot; ) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.invoice_id&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.site_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.cust_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.curr_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.exch_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.amount&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_id__drn&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.confirmed&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.conf_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.wf_status&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_user&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_term&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;invoice.prd_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.debit_note_amt&quot;) JOIN (LEFT=&quot;customer.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_hdr.cust_code&quot; ) JOIN (LEFT=&quot;site.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_hdr.site_code&quot; ) JOIN (LEFT=&quot;spl_sales_por_hdr.invoice_id&quot; OP =&quot;=&quot;RIGHT=&quot;invoice.invoice_id&quot; )WHERE( EXP1 =&quot;spl_sales_por_hdr.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>invoice_tran_date</name>
<dbname>invoice.tran_date</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>customer_cust_name</name>
<dbname>customer.cust_name</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>spl_sales_por_hdr_remarks</name>
<dbname>spl_sales_por_hdr.remarks</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code__solto</name>
<dbname>spl_sales_por_hdr.cust_code__solto</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_hdr&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;invoice&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) COMPUTE(NAME=&quot;&apos;&apos; remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.invoice_id&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.site_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.cust_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.curr_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.exch_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.amount&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.tran_id__drn&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.confirmed&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.conf_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.wf_status&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_date&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_user&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.chg_term&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;invoice.prd_code&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.debit_note_amt&quot;) COLUMN(NAME=&quot;invoice.tran_date&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_hdr.cust_code__solto&quot;) JOIN (LEFT=&quot;customer_a.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_hdr.cust_code&quot; ) JOIN (LEFT=&quot;site.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_hdr.site_code&quot; ) JOIN (LEFT=&quot;spl_sales_por_hdr.invoice_id&quot; OP =&quot;=&quot;RIGHT=&quot;invoice.invoice_id&quot; ) JOIN (LEFT=&quot;spl_sales_por_hdr.invoice_id&quot; OP =&quot;=&quot;RIGHT=&quot;invoice.invoice_id&quot; ) JOIN (LEFT=&quot;spl_sales_por_hdr.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; )WHERE( EXP1 =&quot;spl_sales_por_hdr.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>SPL_SALES_POR_HDR</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -201,10 +233,10 @@
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>7</x>
<y>2</y>
<height>248</height>
<width>558</width>
<x>16</x>
<y>17</y>
<height>288</height>
<width>564</width>
<name>gb_1</name>
<visible>1</visible>
<font>
......@@ -225,8 +257,8 @@
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>6</x>
<y>264</y>
<x>21</x>
<y>305</y>
<height>92</height>
<width>558</width>
<name>gb_2</name>
......@@ -250,8 +282,8 @@
<text>Change Date:</text>
<border>0</border>
<color>33554432</color>
<x>16</x>
<y>294</y>
<x>31</x>
<y>335</y>
<height>16</height>
<width>82</width>
<html>
......@@ -278,8 +310,8 @@
<text>Change User:</text>
<border>0</border>
<color>33554432</color>
<x>195</x>
<y>294</y>
<x>210</x>
<y>335</y>
<height>16</height>
<width>80</width>
<html>
......@@ -306,8 +338,8 @@
<text>Change Term:</text>
<border>0</border>
<color>33554432</color>
<x>373</x>
<y>294</y>
<x>388</x>
<y>335</y>
<height>16</height>
<width>85</width>
<html>
......@@ -330,13 +362,13 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>102</x>
<y>294</y>
<x>118</x>
<y>335</y>
<height>16</height>
<width>90</width>
<format>[shortdate] [time]</format>
......@@ -368,13 +400,13 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>278</x>
<y>294</y>
<x>294</x>
<y>335</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
......@@ -406,13 +438,13 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>462</x>
<y>294</y>
<x>478</x>
<y>335</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
......@@ -448,8 +480,8 @@
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>29</y>
<x>45</x>
<y>32</y>
<height>16</height>
<width>97</width>
<html>
......@@ -473,17 +505,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Currency Code:</text>
<text>Transaction Date:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>121</y>
<x>352</x>
<y>32</y>
<height>16</height>
<width>97</width>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>curr_code_t</name>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -501,17 +533,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Amount:</text>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>144</y>
<x>45</x>
<y>55</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount_t</name>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -529,17 +561,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Exchange Rate:</text>
<text>Billed To Customer:</text>
<border>0</border>
<color>33554432</color>
<x>327</x>
<y>121</y>
<x>28</x>
<y>78</y>
<height>16</height>
<width>97</width>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exch_rate_t</name>
<name>cust_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -557,17 +589,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id Drn:</text>
<text>Invoice Id:</text>
<border>0</border>
<color>33554432</color>
<x>327</x>
<y>144</y>
<x>45</x>
<y>101</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__drn_t</name>
<name>invoice_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -582,30 +614,21 @@
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>428</x>
<y>121</y>
<text>Invoice Date:</text>
<border>0</border>
<color>33554432</color>
<x>340</x>
<y>100</y>
<height>16</height>
<width>90</width>
<format>[General]</format>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exch_rate</name>
<name>t_3</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -615,24 +638,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Emp Code Aprv:</text>
<text>Currency Code:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>190</y>
<x>45</x>
<y>125</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<name>curr_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -647,31 +670,49 @@
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>428</x>
<y>144</y>
<alignment>1</alignment>
<text>Debit Note Amount:</text>
<border>0</border>
<color>33554432</color>
<x>341</x>
<y>122</y>
<height>15</height>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</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>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Amount:</text>
<border>0</border>
<color>33554432</color>
<x>45</x>
<y>148</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__drn</name>
<name>amount_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -681,18 +722,46 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Exchange Rate:</text>
<border>0</border>
<color>33554432</color>
<x>357</x>
<y>143</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exch_rate_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>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Status:</text>
<border>0</border>
<color>33554432</color>
<x>48</x>
<y>167</y>
<x>77</x>
<y>170</y>
<height>16</height>
<width>65</width>
<html>
......@@ -716,17 +785,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed:</text>
<text>Tran Id Drn:</text>
<border>0</border>
<color>33554432</color>
<x>208</x>
<y>167</y>
<x>357</x>
<y>168</y>
<height>16</height>
<width>68</width>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<name>tran_id__drn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -741,31 +810,21 @@
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>279</x>
<y>167</y>
<alignment>1</alignment>
<text>Soled To Customer:</text>
<border>0</border>
<color>33554432</color>
<x>19</x>
<y>192</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<width>123</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<name>t_4</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -775,24 +834,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed Date:</text>
<text>Emp Code Aprv:</text>
<border>0</border>
<color>33554432</color>
<x>333</x>
<y>167</y>
<x>45</x>
<y>215</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -810,17 +869,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period Code:</text>
<text>Confirmed:</text>
<border>0</border>
<color>33554432</color>
<x>328</x>
<y>190</y>
<x>238</x>
<y>214</y>
<height>16</height>
<width>97</width>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code_t</name>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -842,18 +901,18 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>428</x>
<y>167</y>
<x>309</x>
<y>214</y>
<height>16</height>
<width>90</width>
<format>[shortdate] [time]</format>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -873,27 +932,57 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed Date:</text>
<border>0</border>
<color>33554432</color>
<x>363</x>
<y>214</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_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>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>428</x>
<y>190</y>
<x>458</x>
<y>32</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code</name>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -911,27 +1000,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>428</x>
<y>29</y>
<x>243</x>
<y>55</y>
<height>16</height>
<width>90</width>
<format>[shortdate] [time]</format>
<width>305</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<name>site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -947,21 +1034,29 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Date:</text>
<border>0</border>
<color>33554432</color>
<x>322</x>
<y>29</y>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>243</x>
<y>78</y>
<height>16</height>
<width>102</width>
<width>305</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<name>cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -971,25 +1066,33 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>52</y>
<id>22</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>255</color>
<x>456</x>
<y>100</y>
<height>16</height>
<width>97</width>
<width>92</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<name>invoice_tran_date</name>
<pointer></pointer>
<visible>1</visible>
<EditStyle style="editmask">
<mask>DD/MM/YY</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -999,32 +1102,31 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<id>21</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>213</x>
<y>52</y>
<height>16</height>
<width>305</width>
<format>[general]</format>
<x>458</x>
<y>122</y>
<height>15</height>
<width>90</width>
<format>0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</name>
<name>debit_note_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<EditStyle style="editmask">
<mask>#,##,##,##,##,###.###</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
......@@ -1039,21 +1141,30 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<text>Customer Code:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>75</y>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>458</x>
<y>143</y>
<height>16</height>
<width>97</width>
<width>90</width>
<format>[General]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code_t</name>
<name>exch_rate</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1063,25 +1174,35 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Invoice Id:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>98</y>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>458</x>
<y>168</y>
<height>16</height>
<width>97</width>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>invoice_id_t</name>
<name>tran_id__drn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1091,33 +1212,31 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>116</x>
<y>29</y>
<x>244</x>
<y>192</y>
<height>16</height>
<width>100</width>
<width>304</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<name>customer_cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1135,23 +1254,23 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>116</x>
<y>121</y>
<x>458</x>
<y>214</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>curr_code</name>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -1173,26 +1292,28 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>117</x>
<y>143</y>
<x>146</x>
<y>32</y>
<height>16</height>
<width>90</width>
<format>0.000</format>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount</name>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="editmask">
<useformat>yes</useformat>
<mask>#,##,##,##,##,###.###</mask>
<imemode>0</imemode>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
......@@ -1209,25 +1330,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>116</x>
<y>167</y>
<x>146</x>
<y>55</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_status</name>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1245,24 +1368,24 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>116</x>
<y>190</y>
<color>0</color>
<x>146</x>
<y>78</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<name>cust_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -1278,7 +1401,7 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
......@@ -1287,19 +1410,19 @@
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>116</x>
<y>52</y>
<color>33554432</color>
<x>146</x>
<y>101</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<name>invoice_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -1321,24 +1444,24 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>7</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>116</x>
<y>75</y>
<color>255</color>
<x>146</x>
<y>125</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<name>curr_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -1354,29 +1477,101 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<id>9</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>147</x>
<y>147</y>
<height>16</height>
<width>88</width>
<format>0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount</name>
<visible>1</visible>
<EditStyle style="editmask">
<useformat>yes</useformat>
<mask>#,##,##,##,##,###.###</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>116</x>
<y>98</y>
<color>0</color>
<x>146</x>
<y>170</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_status</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<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>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>146</x>
<y>215</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>invoice_id</name>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -1392,23 +1587,23 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Debit Note Amount:</text>
<text>Period Code:</text>
<border>0</border>
<color>33554432</color>
<x>311</x>
<y>98</y>
<height>15</height>
<width>114</width>
<x>45</x>
<y>236</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</name>
<name>prd_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -1425,20 +1620,20 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>213</x>
<y>75</y>
<x>146</x>
<y>236</y>
<height>16</height>
<width>305</width>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name</name>
<name>prd_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1459,27 +1654,157 @@
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>20</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<text>Rejection Remarks:</text>
<border>0</border>
<color>33554432</color>
<x>28</x>
<y>257</y>
<height>16</height>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_2</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>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Invoice Remarks:</text>
<border>0</border>
<color>33554432</color>
<x>43</x>
<y>276</y>
<height>16</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_5</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>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>255</color>
<x>428</x>
<y>98</y>
<height>15</height>
<width>90</width>
<format>0.000</format>
<x>146</x>
<y>257</y>
<height>16</height>
<width>405</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>debit_note_amt</name>
<name>spl_sales_por_hdr_remarks</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>#,##,##,##,##,###.###</mask>
<slideleft>yes</slideleft>
<EditStyle style="edit">
<limit>0</limit>
<case>any</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>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>255</color>
<x>146</x>
<y>276</y>
<height>16</height>
<width>405</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>0</border>
<color>255</color>
<x>145</x>
<y>193</y>
<height>16</height>
<width>89</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__solto</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
......@@ -1516,7 +1841,7 @@
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_spl_sales_por_hdr_edit</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;d_spl_sales_por_hdr_edit&gt;&lt;d_spl_sales_por_hdr_edit_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;tran_date&gt;tran_date&lt;/tran_date&gt;&lt;invoice_id&gt;invoice_id&lt;/invoice_id&gt;&lt;site_code/&gt;&lt;cust_code&gt;cust_code&lt;/cust_code&gt;&lt;curr_code&gt;curr_code&lt;/curr_code&gt;&lt;exch_rate&gt;exch_rate&lt;/exch_rate&gt;&lt;amount&gt;amount&lt;/amount&gt;&lt;tran_id__drn&gt;tran_id__drn&lt;/tran_id__drn&gt;&lt;confirmed&gt;confirmed&lt;/confirmed&gt;&lt;conf_date&gt;conf_date&lt;/conf_date&gt;&lt;emp_code__aprv&gt;emp_code__aprv&lt;/emp_code__aprv&gt;&lt;wf_status&gt;wf_status&lt;/wf_status&gt;&lt;chg_date&gt;chg_date&lt;/chg_date&gt;&lt;chg_user&gt;chg_user&lt;/chg_user&gt;&lt;chg_term&gt;chg_term&lt;/chg_term&gt;&lt;cust_name&gt;cust_name&lt;/cust_name&gt;&lt;site_descr&gt;site_descr&lt;/site_descr&gt;&lt;prd_code&gt;prd_code&lt;/prd_code&gt;&lt;debit_note_amt&gt;debit_note_amt&lt;/debit_note_amt&gt;&lt;/d_spl_sales_por_hdr_edit_row&gt;&lt;/d_spl_sales_por_hdr_edit&gt;</xml>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;d_spl_sales_por_hdr_edit&gt;&lt;d_spl_sales_por_hdr_edit_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;tran_date&gt;tran_date&lt;/tran_date&gt;&lt;invoice_id&gt;invoice_id&lt;/invoice_id&gt;&lt;site_code/&gt;&lt;cust_code&gt;cust_code&lt;/cust_code&gt;&lt;curr_code&gt;curr_code&lt;/curr_code&gt;&lt;exch_rate&gt;exch_rate&lt;/exch_rate&gt;&lt;amount&gt;amount&lt;/amount&gt;&lt;tran_id__drn&gt;tran_id__drn&lt;/tran_id__drn&gt;&lt;confirmed&gt;confirmed&lt;/confirmed&gt;&lt;conf_date&gt;conf_date&lt;/conf_date&gt;&lt;emp_code__aprv&gt;emp_code__aprv&lt;/emp_code__aprv&gt;&lt;wf_status&gt;wf_status&lt;/wf_status&gt;&lt;chg_date&gt;chg_date&lt;/chg_date&gt;&lt;chg_user&gt;chg_user&lt;/chg_user&gt;&lt;chg_term&gt;chg_term&lt;/chg_term&gt;&lt;cust_name&gt;cust_name&lt;/cust_name&gt;&lt;site_descr&gt;site_descr&lt;/site_descr&gt;&lt;prd_code/&gt;&lt;debit_note_amt&gt;debit_note_amt&lt;/debit_note_amt&gt;&lt;/d_spl_sales_por_hdr_edit_row&gt;&lt;/d_spl_sales_por_hdr_edit&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
......
......@@ -147,7 +147,7 @@
<dbname>prd_code</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>item.descr</dbname>
......@@ -202,12 +202,12 @@
<dbname>pend_temp</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>inv_id</name>
<dbname>inv_id</dbname>
<name>bal_qty</name>
<dbname>bal_qty</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;spl_sales_por_det.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no__trace&quot;) COLUMN(NAME=&quot;spl_sales_por_det.item_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.loc_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_sl&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bill_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bil_date&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__inv&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__inv&quot;) COMPUTE(NAME=&quot;&apos;&apos; item_ser__prom&quot;) COMPUTE(NAME=&quot;&apos;&apos; prd_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;spl_sales_por_det.remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_det.transit_day&quot;) COLUMN(NAME=&quot;spl_sales_por_det.debit_note_amt&quot;) COLUMN(NAME=&quot;spl_sales_por_det.aprv_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.pend_qty&quot;) COMPUTE(NAME=&quot;&apos;&apos; pend_temp&quot;) COMPUTE(NAME=&quot;&apos;&apos; inv_id&quot;) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_det.item_code&quot; )WHERE( EXP1 =&quot;spl_sales_por_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;spl_sales_por_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;spl_sales_por_det.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no__trace&quot;) COLUMN(NAME=&quot;spl_sales_por_det.item_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.loc_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_sl&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bill_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bil_date&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__inv&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__inv&quot;) COMPUTE(NAME=&quot;&apos;&apos; item_ser__prom&quot;) COMPUTE(NAME=&quot;&apos;&apos; prd_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;spl_sales_por_det.remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_det.transit_day&quot;) COLUMN(NAME=&quot;spl_sales_por_det.debit_note_amt&quot;) COLUMN(NAME=&quot;spl_sales_por_det.aprv_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.pend_qty&quot;) COMPUTE(NAME=&quot;&apos;&apos; pend_temp&quot;) COMPUTE(NAME=&quot;ddf_get_balqty_pod(SPL_SALES_POR_DET.tran_id,SPL_SALES_POR_DET.line_no) as bal_qty&quot;) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_det.item_code&quot; )WHERE( EXP1 =&quot;spl_sales_por_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;spl_sales_por_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>SPL_SALES_POR_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -436,34 +436,6 @@
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Remarks:</text>
<border>0</border>
<color>33554432</color>
<x>43</x>
<y>227</y>
<height>15</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_2</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>
......@@ -503,7 +475,7 @@
<y>138</y>
<height>16</height>
<width>80</width>
<format>0.000</format>
<format>[General]</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -585,6 +557,44 @@
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>371</x>
<y>46</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</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>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
......@@ -663,23 +673,25 @@
<band>Detail</band>
<id>11</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>371</x>
<y>138</y>
<height>16</height>
<width>80</width>
<format>#,##,##,##,##,###.###</format>
<format>[General]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate__resale</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>#,##,##,##,##,###.###</mask>
<imemode>0</imemode>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
......@@ -698,9 +710,9 @@
<band>Detail</band>
<id>3</id>
<alignment>1</alignment>
<tabsequence>10</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<color>255</color>
<x>121</x>
<y>69</y>
<height>16</height>
......@@ -729,7 +741,7 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
......@@ -777,11 +789,11 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>122</x>
<x>121</x>
<y>160</y>
<height>16</height>
<width>80</width>
<format>0.000</format>
<format>[General]</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -811,7 +823,7 @@
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>121</x>
......@@ -847,25 +859,26 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<id>20</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>121</x>
<y>225</y>
<color>33554432</color>
<x>371</x>
<y>160</y>
<height>16</height>
<width>330</width>
<format>[general]</format>
<width>80</width>
<format>[General]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<name>quantity__resale</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -881,21 +894,28 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Ser Porm:</text>
<border>0</border>
<id>9</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>21</x>
<y>247</y>
<x>371</x>
<y>182</y>
<height>16</height>
<width>98</width>
<width>80</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</name>
<name>bil_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>mm/dd/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -906,23 +926,23 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Approved Rate:</text>
<text>Lot Sl:</text>
<border>0</border>
<color>33554432</color>
<x>16</x>
<y>269</y>
<height>15</height>
<width>102</width>
<x>327</x>
<y>115</y>
<height>16</height>
<width>43</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount_t</name>
<name>lot_sl_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -933,33 +953,25 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>121</x>
<y>247</y>
<height>16</height>
<width>48</width>
<format>[general]</format>
<alignment>1</alignment>
<text>Resale rate:</text>
<border>0</border>
<color>33554432</color>
<x>272</x>
<y>138</y>
<height>15</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser__prom</name>
<name>rate__resale_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -972,21 +984,21 @@
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Loc Code:</text>
<text>Resale Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>327</x>
<y>247</y>
<height>16</height>
<width>62</width>
<x>272</x>
<y>160</y>
<height>15</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code_t</name>
<name>quantity__resale_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -1001,31 +1013,21 @@
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>391</x>
<y>247</y>
<alignment>1</alignment>
<text>Stockist Bill Date:</text>
<border>0</border>
<color>33554432</color>
<x>260</x>
<y>182</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code</name>
<name>bil_date_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>8</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1038,31 +1040,22 @@
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>19</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>120</x>
<y>269</y>
<height>15</height>
<width>80</width>
<format>0.000</format>
<text>Item Ser Porm:</text>
<border>0</border>
<color>33554432</color>
<x>21</x>
<y>270</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_rate</name>
<name>t_1</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1075,21 +1068,21 @@
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transit Day(s):</text>
<text>Approved Rate:</text>
<border>0</border>
<color>33554432</color>
<x>304</x>
<y>269</y>
<x>16</x>
<y>292</y>
<height>15</height>
<width>85</width>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_4</name>
<name>amount_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -1106,20 +1099,20 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>1</alignment>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>391</x>
<y>269</y>
<height>15</height>
<width>60</width>
<x>121</x>
<y>270</y>
<height>16</height>
<width>48</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>transit_day</name>
<name>item_ser__prom</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1140,28 +1133,21 @@
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>20</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<text>Loc Code:</text>
<border>0</border>
<color>33554432</color>
<x>371</x>
<y>160</y>
<x>327</x>
<y>270</y>
<height>16</height>
<width>80</width>
<format>#,##,##,##,##,###.###</format>
<width>62</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__resale</name>
<name>loc_code_t</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>#,##,##,##,##,###.###</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1172,30 +1158,33 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>67108864</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>371</x>
<y>182</y>
<color>255</color>
<x>391</x>
<y>270</y>
<height>16</height>
<width>80</width>
<format>dd/mm/yy</format>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bil_date</name>
<name>loc_code</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<EditStyle style="edit">
<limit>8</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
......@@ -1207,30 +1196,31 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<id>19</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>371</x>
<y>204</y>
<height>16</height>
<x>120</x>
<y>292</y>
<height>15</height>
<width>80</width>
<format>[general]</format>
<format>0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pend_qty</name>
<name>aprv_rate</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1249,17 +1239,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Lot Sl:</text>
<text>Transit Day(s):</text>
<border>0</border>
<color>33554432</color>
<x>327</x>
<y>115</y>
<height>16</height>
<width>43</width>
<x>304</x>
<y>292</y>
<height>15</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl_t</name>
<name>t_4</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -1270,25 +1260,33 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>1</alignment>
<text>Resale rate:</text>
<border>0</border>
<color>33554432</color>
<x>272</x>
<y>138</y>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>391</x>
<y>292</y>
<height>15</height>
<width>98</width>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate__resale_t</name>
<name>transit_day</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1301,21 +1299,21 @@
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Resale Quantity:</text>
<text>Remarks:</text>
<border>0</border>
<color>33554432</color>
<x>272</x>
<y>160</y>
<x>43</x>
<y>250</y>
<height>15</height>
<width>98</width>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__resale_t</name>
<name>t_2</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -1326,25 +1324,33 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockist Bill Date:</text>
<border>0</border>
<color>33554432</color>
<x>260</x>
<y>182</y>
<id>16</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>121</x>
<y>248</y>
<height>16</height>
<width>110</width>
<width>330</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bil_date_t</name>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1355,9 +1361,9 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -1365,7 +1371,7 @@
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>205</y>
<y>228</y>
<height>15</height>
<width>114</width>
<html>
......@@ -1394,10 +1400,10 @@
<border>5</border>
<color>255</color>
<x>121</x>
<y>205</y>
<y>228</y>
<height>15</height>
<width>80</width>
<format>#,##,##,##,##,###.###</format>
<format>0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -1422,6 +1428,42 @@
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>371</x>
<y>227</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pend_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -1429,7 +1471,7 @@
<border>0</border>
<color>33554432</color>
<x>266</x>
<y>205</y>
<y>228</y>
<height>16</height>
<width>104</width>
<html>
......@@ -1454,11 +1496,11 @@
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<tabsequence>60</tabsequence>
<border>5</border>
<color>255</color>
<x>461</x>
<y>204</y>
<x>456</x>
<y>227</y>
<height>16</height>
<width>48</width>
<format>[general]</format>
......@@ -1486,31 +1528,21 @@
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>371</x>
<y>46</y>
<text>Balance Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>205</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<name>t_6</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1523,23 +1555,30 @@
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>475</x>
<y>44</y>
<x>122</x>
<y>204</y>
<height>16</height>
<width>80</width>
<width>79</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>inv_id</name>
<visible>0</visible>
<name>bal_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......
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