Commit 89c463cc authored by sgadve's avatar sgadve

xml,sql and workflow of scheme approval form and scheme approval detail form

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203137 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cf0618cb
......@@ -167,7 +167,7 @@
<dbname>scheme_apprv.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
......@@ -186,7 +186,28 @@
<name>customer_cust_name</name>
<dbname>customer.cust_name</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;scheme_apprv&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;sales_pers&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) COLUMN(NAME=&quot;scheme_apprv.tran_id&quot;) COLUMN(NAME=&quot;scheme_apprv.tran_date&quot;) COLUMN(NAME=&quot;scheme_apprv.cust_code&quot;) COLUMN(NAME=&quot;scheme_apprv.sales_pers&quot;) COLUMN(NAME=&quot;scheme_apprv.cust_code__bill&quot;) COLUMN(NAME=&quot;scheme_apprv.scheme_code&quot;) COLUMN(NAME=&quot;scheme_apprv.amount&quot;) COLUMN(NAME=&quot;scheme_apprv.used_amt&quot;) COLUMN(NAME=&quot;scheme_apprv.emp_code_apprv&quot;) COLUMN(NAME=&quot;scheme_apprv.aprv_status&quot;) COLUMN(NAME=&quot;scheme_apprv.confirmed&quot;) COLUMN(NAME=&quot;scheme_apprv.conf_date&quot;) COLUMN(NAME=&quot;scheme_apprv.remarks&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;sales_pers.sp_name&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_user&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_date&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_term&quot;) COLUMN(NAME=&quot;scheme_apprv.site_code&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) JOIN (LEFT=&quot;scheme_apprv.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_a.cust_code&quot; ) JOIN (LEFT=&quot;scheme_apprv.sales_pers&quot; OP =&quot;=&quot;RIGHT=&quot;sales_pers.sales_pers&quot; ) JOIN (LEFT=&quot;scheme_apprv.cust_code__bill&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_APPRV~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:fr_date&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;SCHEME_APPRV~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;fr_date&quot; TYPE = datetime) ARG(NAME = &quot;to_date&quot; TYPE = datetime) </retrieve>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>eff_from</name>
<dbname>scheme_apprv.eff_from</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>valid_upto</name>
<dbname>scheme_apprv.valid_upto</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>nature</name>
<dbname>scheme_apprv.nature</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;scheme_apprv&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;sales_pers&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) COLUMN(NAME=&quot;scheme_apprv.tran_id&quot;) COLUMN(NAME=&quot;scheme_apprv.tran_date&quot;) COLUMN(NAME=&quot;scheme_apprv.cust_code&quot;) COLUMN(NAME=&quot;scheme_apprv.sales_pers&quot;) COLUMN(NAME=&quot;scheme_apprv.cust_code__bill&quot;) COLUMN(NAME=&quot;scheme_apprv.scheme_code&quot;) COLUMN(NAME=&quot;scheme_apprv.amount&quot;) COLUMN(NAME=&quot;scheme_apprv.used_amt&quot;) COLUMN(NAME=&quot;scheme_apprv.emp_code_apprv&quot;) COLUMN(NAME=&quot;scheme_apprv.aprv_status&quot;) COLUMN(NAME=&quot;scheme_apprv.confirmed&quot;) COLUMN(NAME=&quot;scheme_apprv.conf_date&quot;) COLUMN(NAME=&quot;scheme_apprv.remarks&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;sales_pers.sp_name&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_user&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_date&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_term&quot;) COLUMN(NAME=&quot;scheme_apprv.site_code&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) COLUMN(NAME=&quot;scheme_apprv.eff_from&quot;) COLUMN(NAME=&quot;scheme_apprv.valid_upto&quot;) COLUMN(NAME=&quot;scheme_apprv.nature&quot;) JOIN (LEFT=&quot;scheme_apprv.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_a.cust_code&quot; ) JOIN (LEFT=&quot;scheme_apprv.sales_pers&quot; OP =&quot;=&quot;RIGHT=&quot;sales_pers.sales_pers&quot; ) JOIN (LEFT=&quot;scheme_apprv.cust_code__bill&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_APPRV~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:fr_date&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;SCHEME_APPRV~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;fr_date&quot; TYPE = datetime) ARG(NAME = &quot;to_date&quot; TYPE = datetime) </retrieve>
<update>SCHEME_APPRV</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -731,6 +752,118 @@
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Customer Cust Name</text>
<border>0</border>
<color>33554432</color>
<x>2770</x>
<y>1</y>
<height>17</height>
<width>398</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_cust_name_1_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text> Eff From</text>
<border>0</border>
<color>33554432</color>
<x>3170</x>
<y>1</y>
<height>17</height>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>eff_from_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Valid Upto</text>
<border>0</border>
<color>33554432</color>
<x>3258</x>
<y>1</y>
<height>17</height>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>valid_upto_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text> Nature</text>
<border>0</border>
<color>33554432</color>
<x>3346</x>
<y>1</y>
<height>17</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>nature_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
......@@ -1448,15 +1581,22 @@
<tabsequence>200</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2771</x>
<x>2770</x>
<y>1</y>
<height>15</height>
<width>398</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_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>
......@@ -1470,34 +1610,114 @@
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<text>Customer Cust Name</text>
<tabsequence>210</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2770</x>
<x>3170</x>
<y>1</y>
<height>17</height>
<width>399</width>
<height>15</height>
<width>86</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_cust_name_1_t</name>
<name>eff_from</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>220</tabsequence>
<border>0</border>
<color>33554432</color>
<x>3258</x>
<y>1</y>
<height>15</height>
<width>86</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>valid_upto</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>23</id>
<alignment>0</alignment>
<tabsequence>230</tabsequence>
<border>0</border>
<color>33554432</color>
<x>3346</x>
<y>1</y>
<height>15</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>nature</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>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>19</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>scheme_apprv_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>scheme_apprv_det.line_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>scheme_apprv_det.item_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code__repl</name>
<dbname>scheme_apprv_det.item_code__repl</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>scheme_apprv_det.quantity</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>free_qty</name>
<dbname>scheme_apprv_det.free_qty</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate</name>
<dbname>scheme_apprv_det.rate</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>amount</name>
<dbname>scheme_apprv_det.amount</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_repl_descr</name>
<dbname>item.descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;scheme_apprv_det&quot; ) TABLE(NAME=&quot;item&quot; ALIAS=&quot;item_a&quot; ) TABLE(NAME=&quot;item&quot; ALIAS=&quot;item_b&quot; ) COLUMN(NAME=&quot;scheme_apprv_det.tran_id&quot;) COLUMN(NAME=&quot;scheme_apprv_det.line_no&quot;) COLUMN(NAME=&quot;scheme_apprv_det.item_code&quot;) COLUMN(NAME=&quot;scheme_apprv_det.item_code__repl&quot;) COLUMN(NAME=&quot;scheme_apprv_det.quantity&quot;) COLUMN(NAME=&quot;scheme_apprv_det.free_qty&quot;) COLUMN(NAME=&quot;scheme_apprv_det.rate&quot;) COLUMN(NAME=&quot;scheme_apprv_det.amount&quot;) COLUMN(NAME=&quot;item_a.descr&quot;) COLUMN(NAME=&quot;item_b.descr&quot;) JOIN (LEFT=&quot;scheme_apprv_det.item_code__repl&quot; OP =&quot;=&quot;RIGHT=&quot;item_b.item_code&quot; OUTER1 =&quot;scheme_apprv_det.item_code__repl&quot; ) JOIN (LEFT=&quot;scheme_apprv_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item_a.item_code&quot; OUTER1 =&quot;scheme_apprv_det.item_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_APPRV_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>SCHEME_APPRV_DET</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Id</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>15</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No</text>
<border>0</border>
<color>33554432</color>
<x>92</x>
<y>2</y>
<height>15</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>0</border>
<color>33554432</color>
<x>190</x>
<y>2</y>
<height>15</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code Repl</text>
<border>0</border>
<color>33554432</color>
<x>280</x>
<y>2</y>
<height>15</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__repl_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Quantity</text>
<border>0</border>
<color>33554432</color>
<x>375</x>
<y>2</y>
<height>15</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Free Qty</text>
<border>0</border>
<color>33554432</color>
<x>473</x>
<y>2</y>
<height>15</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>free_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Rate</text>
<border>0</border>
<color>33554432</color>
<x>571</x>
<y>2</y>
<height>15</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>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>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Amount</text>
<border>0</border>
<color>33554432</color>
<x>669</x>
<y>2</y>
<height>15</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Item Descr</text>
<border>0</border>
<color>33554432</color>
<x>767</x>
<y>1</y>
<height>16</height>
<width>171</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_descr_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Item Descr</text>
<border>0</border>
<color>33554432</color>
<x>940</x>
<y>1</y>
<height>16</height>
<width>361</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_repl_descr_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>0</border>
<color>33554432</color>
<x>190</x>
<y>2</y>
<height>18</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</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>
<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>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>0</border>
<color>33554432</color>
<x>280</x>
<y>2</y>
<height>18</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__repl</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>
<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>5</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>375</x>
<y>2</y>
<height>18</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<border>0</border>
<color>33554432</color>
<x>473</x>
<y>2</y>
<height>18</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>free_qty</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<border>0</border>
<color>33554432</color>
<x>571</x>
<y>2</y>
<height>18</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>80</tabsequence>
<border>0</border>
<color>33554432</color>
<x>669</x>
<y>2</y>
<height>18</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>18</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</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>
<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>2</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>92</x>
<y>2</y>
<height>18</height>
<width>96</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>0</border>
<color>33554432</color>
<x>767</x>
<y>0</y>
<height>15</height>
<width>171</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>-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>10</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>0</border>
<color>33554432</color>
<x>940</x>
<y>0</y>
<height>15</height>
<width>361</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_repl_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>-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>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>606</height>
<height>723</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -162,7 +162,7 @@
<dbname>scheme_apprv.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
......@@ -181,7 +181,33 @@
<name>customer_cust_name</name>
<dbname>customer.cust_name</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;scheme_apprv&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;sales_pers&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) COLUMN(NAME=&quot;scheme_apprv.tran_id&quot;) COLUMN(NAME=&quot;scheme_apprv.tran_date&quot;) COLUMN(NAME=&quot;scheme_apprv.cust_code&quot;) COLUMN(NAME=&quot;scheme_apprv.sales_pers&quot;) COLUMN(NAME=&quot;scheme_apprv.cust_code__bill&quot;) COLUMN(NAME=&quot;scheme_apprv.scheme_code&quot;) COLUMN(NAME=&quot;scheme_apprv.amount&quot;) COLUMN(NAME=&quot;scheme_apprv.used_amt&quot;) COLUMN(NAME=&quot;scheme_apprv.emp_code_apprv&quot;) COLUMN(NAME=&quot;scheme_apprv.aprv_status&quot;) COLUMN(NAME=&quot;scheme_apprv.confirmed&quot;) COLUMN(NAME=&quot;scheme_apprv.conf_date&quot;) COLUMN(NAME=&quot;scheme_apprv.remarks&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;sales_pers.sp_name&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_user&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_date&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_term&quot;) COLUMN(NAME=&quot;scheme_apprv.site_code&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) JOIN (LEFT=&quot;scheme_apprv.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_a.cust_code&quot; ) JOIN (LEFT=&quot;scheme_apprv.sales_pers&quot; OP =&quot;=&quot;RIGHT=&quot;sales_pers.sales_pers&quot; ) JOIN (LEFT=&quot;scheme_apprv.cust_code__bill&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_APPRV~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>eff_from</name>
<dbname>scheme_apprv.eff_from</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>valid_upto</name>
<dbname>scheme_apprv.valid_upto</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>nature</name>
<dbname>scheme_apprv.nature</dbname>
<initial>V</initial>
<values>
<item display="Value Based Replacement" data="V"/>
<item display="Quantity Based Replacement" data="Q"/>
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;scheme_apprv&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;sales_pers&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) COLUMN(NAME=&quot;scheme_apprv.tran_id&quot;) COLUMN(NAME=&quot;scheme_apprv.tran_date&quot;) COLUMN(NAME=&quot;scheme_apprv.cust_code&quot;) COLUMN(NAME=&quot;scheme_apprv.sales_pers&quot;) COLUMN(NAME=&quot;scheme_apprv.cust_code__bill&quot;) COLUMN(NAME=&quot;scheme_apprv.scheme_code&quot;) COLUMN(NAME=&quot;scheme_apprv.amount&quot;) COLUMN(NAME=&quot;scheme_apprv.used_amt&quot;) COLUMN(NAME=&quot;scheme_apprv.emp_code_apprv&quot;) COLUMN(NAME=&quot;scheme_apprv.aprv_status&quot;) COLUMN(NAME=&quot;scheme_apprv.confirmed&quot;) COLUMN(NAME=&quot;scheme_apprv.conf_date&quot;) COLUMN(NAME=&quot;scheme_apprv.remarks&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;sales_pers.sp_name&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_user&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_date&quot;) COLUMN(NAME=&quot;scheme_apprv.chg_term&quot;) COLUMN(NAME=&quot;scheme_apprv.site_code&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) COLUMN(NAME=&quot;scheme_apprv.eff_from&quot;) COLUMN(NAME=&quot;scheme_apprv.valid_upto&quot;) COLUMN(NAME=&quot;scheme_apprv.nature&quot;) JOIN (LEFT=&quot;scheme_apprv.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_a.cust_code&quot; ) JOIN (LEFT=&quot;scheme_apprv.sales_pers&quot; OP =&quot;=&quot;RIGHT=&quot;sales_pers.sales_pers&quot; ) JOIN (LEFT=&quot;scheme_apprv.cust_code__bill&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_APPRV~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>SCHEME_APPRV</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -190,31 +216,69 @@
<type>string</type>
</argument>
</TableDefinition>
<ColumnObject>
<GroupBox>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>10</x>
<y>6</y>
<height>455</height>
<width>503</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>8</x>
<y>481</y>
<height>80</height>
<width>503</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To Date:</text>
<border>5</border>
<color>33554432</color>
<x>166</x>
<y>353</y>
<height>18</height>
<width>16</width>
<format>[general]</format>
<x>36</x>
<y>256</y>
<height>15</height>
<width>104</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_status</name>
<name>valid_upto_t</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>
......@@ -227,32 +291,22 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<alignment>1</alignment>
<text>Amount:</text>
<border>5</border>
<color>33554432</color>
<x>166</x>
<y>386</y>
<height>18</height>
<width>16</width>
<format>[general]</format>
<x>39</x>
<y>279</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<name>amount_t</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>
......@@ -265,21 +319,21 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Id:</text>
<text>Used Amount:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>39</y>
<x>39</x>
<y>307</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<name>used_amt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -297,17 +351,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Date:</text>
<text>Employee Approved:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>72</y>
<x>29</x>
<y>335</y>
<height>15</height>
<width>101</width>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<name>emp_code_apprv_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -325,17 +379,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term:</text>
<text>Approval Status:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>503</y>
<x>39</x>
<y>358</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>aprv_status_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -353,17 +407,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Date:</text>
<text>Confirmed:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>529</y>
<x>39</x>
<y>383</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -381,17 +435,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Customer:</text>
<text>Confirm Date:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>122</y>
<x>39</x>
<y>408</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code_t</name>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -409,17 +463,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Sales Person:</text>
<text>Remarks:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>155</y>
<x>39</x>
<y>434</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sales_pers_t</name>
<name>remarks_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -434,21 +488,29 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockiest:</text>
<border>5</border>
<id>22</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>0</border>
<color>33554432</color>
<x>61</x>
<y>188</y>
<x>146</x>
<y>256</y>
<height>15</height>
<width>105</width>
<width>88</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__bill_t</name>
<name>valid_upto</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>
......@@ -461,22 +523,33 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<text>Scheme:</text>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>221</y>
<height>15</height>
<width>101</width>
<x>146</x>
<y>279</y>
<height>18</height>
<width>96</width>
<format>[Number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>scheme_code_t</name>
<visible>1</visible>
<name>amount</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<format>#,##,##,##,###.0000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -489,22 +562,32 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<text>Amount:</text>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>254</y>
<height>15</height>
<width>101</width>
<x>147</x>
<y>307</y>
<height>18</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount_t</name>
<name>used_amt</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>
......@@ -517,21 +600,211 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>146</x>
<y>335</y>
<height>18</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_apprv</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>
<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>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>147</x>
<y>358</y>
<height>18</height>
<width>16</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_status</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>
<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>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>147</x>
<y>383</y>
<height>18</height>
<width>16</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</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>
<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>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>146</x>
<y>408</y>
<height>18</height>
<width>176</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_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>
<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>13</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>147</x>
<y>434</y>
<height>18</height>
<width>178</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Used Amount:</text>
<text>Id:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>287</y>
<x>38</x>
<y>36</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>used_amt_t</name>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -546,21 +819,31 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee Approved:</text>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>34</x>
<y>320</y>
<height>15</height>
<width>132</width>
<x>144</x>
<y>36</y>
<height>18</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_apprv_t</name>
<name>tran_id</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>
......@@ -573,21 +856,21 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Approval Status:</text>
<text>Date:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>353</y>
<x>39</x>
<y>62</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_status_t</name>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -602,20 +885,58 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>144</x>
<y>62</y>
<height>18</height>
<width>176</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<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>
<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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed:</text>
<text>Site:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>386</y>
<x>39</x>
<y>87</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -630,21 +951,29 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirm Date:</text>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>419</y>
<x>144</x>
<y>87</y>
<height>15</height>
<width>101</width>
<width>132</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<name>site_code</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>
......@@ -657,21 +986,21 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Usr:</text>
<text>Customer:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>477</y>
<x>39</x>
<y>113</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<name>cust_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -686,21 +1015,29 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Remarks:</text>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>452</y>
<x>138</x>
<y>529</y>
<height>15</height>
<width>101</width>
<width>88</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_t</name>
<name>chg_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>
......@@ -713,21 +1050,21 @@
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site:</text>
<text>Chg Date:</text>
<border>5</border>
<color>33554432</color>
<x>65</x>
<y>97</y>
<x>33</x>
<y>531</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -742,31 +1079,21 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<alignment>1</alignment>
<text>Chg Usr:</text>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>39</y>
<height>18</height>
<width>88</width>
<format>[general]</format>
<x>35</x>
<y>501</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<name>chg_user_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>
......@@ -779,30 +1106,28 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>72</y>
<height>18</height>
<width>176</width>
<format>[shortdate] [time]</format>
<x>140</x>
<y>501</y>
<height>15</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<name>chg_user</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>
......@@ -818,29 +1143,21 @@
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<alignment>1</alignment>
<text>Chg Term:</text>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>477</y>
<x>239</x>
<y>501</y>
<height>15</height>
<width>80</width>
<format>[general]</format>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<name>chg_term_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>
......@@ -853,7 +1170,7 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
......@@ -861,7 +1178,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<x>345</x>
<y>501</y>
<height>15</height>
<width>120</width>
......@@ -892,20 +1209,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>527</y>
<x>246</x>
<y>113</y>
<height>15</height>
<width>88</width>
<format>[shortdate] [time]</format>
<width>135</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<name>cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -933,8 +1250,8 @@
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>122</y>
<x>144</x>
<y>113</y>
<height>18</height>
<width>88</width>
<format>[general]</format>
......@@ -966,27 +1283,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<id>15</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>155</y>
<height>18</height>
<width>88</width>
<x>245</x>
<y>137</y>
<height>15</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sales_pers</name>
<name>sp_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1004,20 +1319,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>4</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>188</y>
<x>147</x>
<y>137</y>
<height>18</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__bill</name>
<name>sales_pers</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
......@@ -1040,31 +1355,21 @@
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<alignment>1</alignment>
<text>Sales Person:</text>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>221</y>
<height>18</height>
<width>88</width>
<format>[general]</format>
<x>39</x>
<y>137</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>scheme_code</name>
<name>sales_pers_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1077,33 +1382,22 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<text>Stockiest:</text>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>254</y>
<height>18</height>
<width>96</width>
<format>[Number]</format>
<x>35</x>
<y>163</y>
<height>15</height>
<width>105</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount</name>
<name>cust_code__bill_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<format>#,##,##,##,###.0000</format>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -1116,27 +1410,27 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<id>5</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>287</y>
<x>147</x>
<y>163</y>
<height>18</height>
<width>96</width>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>used_amt</name>
<name>cust_code__bill</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -1157,27 +1451,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>320</y>
<height>18</height>
<width>88</width>
<x>243</x>
<y>163</y>
<height>15</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_apprv</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>
......@@ -1193,31 +1485,21 @@
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<alignment>1</alignment>
<text>Scheme Name:</text>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>419</y>
<height>18</height>
<width>176</width>
<format>[shortdate] [time]</format>
<x>39</x>
<y>187</y>
<height>15</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<name>scheme_code_t</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>
......@@ -1230,27 +1512,27 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<id>6</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>452</y>
<x>147</x>
<y>187</y>
<height>18</height>
<width>178</width>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<name>scheme_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</limit>
<case>any</case>
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -1269,29 +1551,21 @@
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<alignment>1</alignment>
<text>Nature Of Screen:</text>
<border>5</border>
<color>33554432</color>
<x>272</x>
<y>123</y>
<x>36</x>
<y>212</y>
<height>15</height>
<width>135</width>
<format>[general]</format>
<width>104</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name</name>
<name>nature_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>
......@@ -1304,28 +1578,28 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<tabsequence>90</tabsequence>
<border>0</border>
<color>33554432</color>
<x>268</x>
<y>155</y>
<x>147</x>
<y>212</y>
<height>15</height>
<width>150</width>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sp_name</name>
<name>nature</name>
<visible>1</visible>
<EditStyle style="edit">
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1341,29 +1615,21 @@
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<alignment>1</alignment>
<text>From Date:</text>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>97</y>
<x>36</x>
<y>234</y>
<height>15</height>
<width>132</width>
<format>[general]</format>
<width>104</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<name>eff_from_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>
......@@ -1376,23 +1642,23 @@
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<tabsequence>70</tabsequence>
<border>0</border>
<color>33554432</color>
<x>266</x>
<y>190</y>
<x>146</x>
<y>234</y>
<height>15</height>
<width>150</width>
<format>[general]</format>
<width>88</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_cust_name</name>
<name>eff_from</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>266</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>scheme_apprv_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>scheme_apprv_det.line_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>scheme_apprv_det.item_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>scheme_apprv_det.quantity</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code__repl</name>
<dbname>scheme_apprv_det.item_code__repl</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>free_qty</name>
<dbname>scheme_apprv_det.free_qty</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate</name>
<dbname>scheme_apprv_det.rate</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>amount</name>
<dbname>scheme_apprv_det.amount</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_repl_descr</name>
<dbname>item.descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;scheme_apprv_det&quot; ) TABLE(NAME=&quot;item&quot; ALIAS=&quot;item_a&quot; ) TABLE(NAME=&quot;item&quot; ALIAS=&quot;item_b&quot; ) COLUMN(NAME=&quot;scheme_apprv_det.tran_id&quot;) COLUMN(NAME=&quot;scheme_apprv_det.line_no&quot;) COLUMN(NAME=&quot;scheme_apprv_det.item_code&quot;) COLUMN(NAME=&quot;scheme_apprv_det.quantity&quot;) COLUMN(NAME=&quot;scheme_apprv_det.item_code__repl&quot;) COLUMN(NAME=&quot;scheme_apprv_det.free_qty&quot;) COLUMN(NAME=&quot;scheme_apprv_det.rate&quot;) COLUMN(NAME=&quot;scheme_apprv_det.amount&quot;) COLUMN(NAME=&quot;item_a.descr&quot;) COLUMN(NAME=&quot;item_b.descr&quot;) JOIN (LEFT=&quot;scheme_apprv_det.item_code__repl&quot; OP =&quot;=&quot;RIGHT=&quot;item_b.item_code&quot; OUTER1 =&quot;scheme_apprv_det.item_code__repl&quot; ) JOIN (LEFT=&quot;scheme_apprv_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item_a.item_code&quot; OUTER1 =&quot;scheme_apprv_det.item_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_APPRV_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>SCHEME_APPRV_DET</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No:</text>
<border>0</border>
<color>33554432</color>
<x>38</x>
<y>43</y>
<height>15</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id:</text>
<border>0</border>
<color>33554432</color>
<x>38</x>
<y>19</y>
<height>15</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Charge Item:</text>
<border>0</border>
<color>33554432</color>
<x>38</x>
<y>68</y>
<height>15</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Charge Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>37</x>
<y>91</y>
<height>15</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_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>4</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>139</x>
<y>91</y>
<height>15</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>139</x>
<y>68</y>
<height>15</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>139</x>
<y>43</y>
<height>15</height>
<width>96</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>139</x>
<y>19</y>
<height>15</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</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>
<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>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>236</x>
<y>68</y>
<height>15</height>
<width>189</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Replacement:</text>
<border>0</border>
<color>33554432</color>
<x>27</x>
<y>114</y>
<height>15</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__repl_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>5</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>0</border>
<color>33554432</color>
<x>140</x>
<y>114</y>
<height>15</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__repl</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Free Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>38</x>
<y>135</y>
<height>15</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>free_qty_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>6</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>0</border>
<color>33554432</color>
<x>139</x>
<y>135</y>
<height>15</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>free_qty</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Rate:</text>
<border>0</border>
<color>33554432</color>
<x>38</x>
<y>157</y>
<height>15</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>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>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>139</x>
<y>157</y>
<height>15</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Amount:</text>
<border>0</border>
<color>33554432</color>
<x>38</x>
<y>181</y>
<height>15</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount_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>8</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<border>0</border>
<color>33554432</color>
<x>139</x>
<y>181</y>
<height>15</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>amount</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>237</x>
<y>114</y>
<height>15</height>
<width>188</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_repl_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>-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>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
......@@ -9,3 +9,44 @@ Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,E
('VTAMTDIF2 ','Invalid amount!','Amount is not in range of approved amount','E','Y',null,null,null,sysdate,'AMOL','BASE',null,null);
insert into obj_itemChange (OBJ_NAME,FORM_NO,FIELD_NAME) values('charge_back_loc','3','free_qty');
-----------------------Added by saiprasad G.[START]---------------
alter table SCHEME_APPRV add EFF_FROM DATE;
alter table SCHEME_APPRV add VALID_UPTO DATE;
alter table SCHEME_APPRV add nature CHAR(1);
Create table SCHEME_APPRV_DET
(
TRAN_ID CHAR(10) NOT NULL,
LINE_NO NUMBER(4) NOT NULL,
ITEM_CODE CHAR(10),
ITEM_CODE__REPL CHAR(10),
QUANTITY NUMBER(14,3),
FREE_QTY NUMBER(14,3),
RATE NUMBER(14,3),
AMOUNT NUMBER(14,3),
CONSTRAINT SCHEME_APPRV_DET_PK PRIMARY KEY(TRAN_ID,LINE_NO)
);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_scheme_apprv','Secondary Scheme','schema_apprv',null,null,null,null,null,'2','T',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
update messages set MSG_DESCR='No item found in item master' where MSG_NO='VTINVITM';
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('VTITMREP','Blank replacement item','Please enter replacement item','E','Y',null,null,null,sysdate,'BASE','BASE',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('VTINVRPL','Invalid replacement item','Please enter valid replacement item','E','Y',null,null,null,sysdate,'BASE','BASE',null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('ITEM_CODE','W_SCHEME_APPRV','select ITEM_CODE,TRIM(DESCR) as DESCR from item',null,'ITEM HELP',0,0,sysdate,'BASE','BASE','0',null,null,1,'L',null,null,null,null,null,'2',null,'3','Icon','item_code','descr','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('ITEM_CODE__REPL','W_SCHEME_APPRV','select ITEM_CODE,TRIM(DESCR) as DESCR from item',null,'ITEM HELP',0,0,sysdate,'BASE','BASE','0',null,null,1,'L',null,null,null,null,null,'2',null,'3','Icon','item_code','descr','2 ',null,null,null,null,null,null,null);
insert into obj_itemchange(OBJ_NAME,FIELD_NAME,form_no) VALUES('scheme_apprv','item_code','2');
insert into obj_itemchange(OBJ_NAME,FIELD_NAME,form_no) VALUES('scheme_apprv','item_code__repl','2');
insert into obj_itemchange(OBJ_NAME,FIELD_NAME,form_no) VALUES('scheme_apprv','itm_default','2');
insert into obj_itemchange(OBJ_NAME,FIELD_NAME,form_no) VALUES('scheme_apprv','quantity','2');
insert into obj_itemchange(OBJ_NAME,FIELD_NAME,form_no) VALUES('scheme_apprv','eff_from','1');
insert into obj_itemchange(OBJ_NAME,FIELD_NAME,form_no) VALUES('scheme_apprv','itm_defaultedit','2');
update messages set MSG_STR='Please enter the free qty' where MSG_NO='VTNFREEQTY';
-----------------------Added by saiprasad G.[END]---------------
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:NonHtml="http://www.progress.com/StylusStudio/NonHtml"
exclude-result-prefixes="NonHtml">
<xsl:output method="html" omit-xml-declaration="no"
standalone="no" indent="no"></xsl:output>
<xsl:template match="/">
<html>
<head>
<!--<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>-->
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/hr_portal1.css"></link>
<script type="text/javascript" src="/ibase/webitm/js/ITMWizardCalendar.js"></script>
<SCRIPT language="Javascript" type="text/javascript"
src="/ibase/webitm/js/ValidateDate.js"></SCRIPT>
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
html, body{ /*height:100%;*/
background-color:#f7f8fa;
font-family:'MuseoLight', sans-serif;
-webkit-font-smoothing: antialiased;
font-size:14px;
font-weight:normal;
}
.editDisplayColumnClass{readOnly:true;color:#555; TEXT-ALIGN:left;
padding:5px; font-size:16px; font-weight:normal;}
.editDisplayheaderClass{readOnly:true;color:#555; TEXT-ALIGN:left;
padding:5px; font-weight:normal; font-size:14px;
vertical-align:top;}
.editDisplayrightClass{readOnly:true;border
:inset 1;COLOR:black ; BACKGROUND:#FFFFD9;TEXT-ALIGN:right;
font-weight:normal;}
.editDisplayecnterClass{readOnly:true;
color:#5fdeb2; TEXT-ALIGN:left; font-size:18px; padding:5px 0;
font-weight:normal;}
.editDisplayecnterClass2{readOnly:true;border
:inset 1;COLOR:black ; TEXT-ALIGN:center; font-weight:normal;}
.editDisplayClass{background-color: transparent
!important;readOnly:true;color:#555; TEXT-ALIGN:left; padding:5px;
font-weight:bold; font-size:18px;}
input{
color: rgb(80,80,80) !important;
/* font-size: 14px !important; */ /* TODO: Changes in I18NLabel */
font-size: 14px !important;
border:1px solid #ccc;
background:#fff;
}
@font-face { /* declare fonts */
font-family: "MuseoLight";
src: url("../fonts/Museo300-Regular.eot");
src: local("Museo 300"), local("Museo-300"),
url("../fonts/Museo300-Regular.woff") format("woff"),
url("../fonts/Museo300-Regular.otf") format("opentype"),
url("../fonts/Museo300-Regular.svg#Museo-300") format("svg");
}
.editDisplayecnterClass1 {readOnly:true; color:#5fdeb2;
TEXT-ALIGN:left; font-size:16px; padding:10px 0 0 0;}
.editDisplayecnterClass3 {readOnly:true; color:#5fdeb2;
TEXT-ALIGN:left; font-size:16px; padding:10px 0 0 0;}
.tableClass
{margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-top: 1px solid #d9d9d9;}
/*Changed by
Shravan*/
.tableClass td {border-bottom: 1px solid #d9d9d9;
border-right: 1px solid #d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;border-bottom: 1px solid
#d9d9d9;border-left: 1px solid #d9d9d9}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<LINK type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css" />
<LINK type="text/css" rel="stylesheet" href="workflowsign.css" />
<LINK type="text/css" rel="stylesheet" href="/ibase/css/pordercss.css" />
<LINK type="text/css" rel="stylesheet" href="pordercss.css" />
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='scheme_apprv'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<form name="form">
<xsl:for-each select="//Detail1">
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<tr>
<td colSpan="4" class=""
style="text-align: center;font-weight:bold;color:#5fdeb2;">
Scheme Approval
</td>
</tr>
</tbody>
</table>
</xsl:for-each>
<xsl:for-each select="//Detail1">
<xsl:variable name="dbID">
<xsl:value-of select="@dbID" />
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="wf_status">
<xsl:value-of select="wf_status" />
<xsl:variable name="nature">
<xsl:value-of select="nature"></xsl:value-of>
</xsl:variable>
<xsl:variable name="tran_id">
<div class='tbletopbrd tableClass'>
<div style='margin-left: 3px;'>
<span>
Tran Id:
<xsl:value-of select="tran_id" />
</xsl:variable>
<xsl:variable name="tran_date">
</span>
<span style='float: right; margin-right: 17px;'>
Tran Date :
<xsl:value-of select="tran_date" />
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code" />
</xsl:variable>
<xsl:variable name="cust_code">
</span>
</div>
<div style='margin-left: 3px;'>
Scheme Name :
<xsl:value-of select="scheme_code" />
</div>
<div style='margin-left: 3px;'>
Customer :
<xsl:value-of select="cust_code" />
</xsl:variable>
<xsl:variable name="sales_pers">
</div>
<div style='margin-left: 3px;'>
Sales Person :
<xsl:value-of select="sales_pers" />
</xsl:variable>
<xsl:variable name="cust_code__bill">
</div>
<div style='margin-left: 3px;'>
Stockiest :
<xsl:value-of select="cust_code__bill" />
</xsl:variable>
<xsl:variable name="scheme_code">
<xsl:value-of select="scheme_code" />
</xsl:variable>
<xsl:variable name="amount">
<xsl:value-of select="amount" />
</xsl:variable>
<!--<xsl:variable name="work_order">
<xsl:value-of select="work_order" />
</xsl:variable>-->
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Tran ID:
<b><xsl:value-of select="tran_id" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="tran_date" /></b>
</font>
</td>
</tr>
<!-- <tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Site:
<b><xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code__ori" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series: <b><xsl:value-of select="item_ser" /></b>
</font>
</td>
</tr>-->
</TABLE>
</td>
</tr>
</div>
<div style='margin-left: 3px;'>
Nature of Screen :
<xsl:choose>
<xsl:when test="$nature = 'V'">
<xsl:text>Value Based Replacement</xsl:text>
</xsl:when>
<xsl:when test="$nature = 'Q'">
<xsl:text>Quantity Based Replacement</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>-</xsl:text>
</xsl:otherwise>
</xsl:choose>
<!-- <xsl:if test="$nature =V"> Value Based Replacement </xsl:if> -->
</div>
<!-- <div style = 'margin-left: 3px;'>Sales Person : <xsl:value-of
select="sales_pers"/>( <xsl:value-of select="sales_pers"/>)</div> <div style
= 'margin-left: 3px;'>Status : <xsl:value-of select="status_sh"/></div> -->
<div style='margin-left: 3px;'>
Remarks :
<xsl:for-each select="//WRKFLW_REMARKS">
<xsl:value-of select="REMARKS_LINE_NO_2" />
</xsl:for-each>
</div>
</div>
<!--<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="AML-NOT-DefN" style='border:1px solid lightgrey;' >
<tr>
<td class="cellttl1">Reference: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="ref_no" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="site_code__del"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="site_code__bil"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Project: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="proj_code" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Department: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="department_descr" />&#160;
(<xsl:value-of select="dept_code" />)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Minimum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "min_batch_qty"/>
</td>
</tr>
<tr>
<td class="cellttl1">Maximum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "max_batch_qty"/>
</td>
</tr>
</table>
</td>
</tr>-->
</TABLE>
<br></br>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:if test="count(//Detail2) &gt; 0">
<table id="itemsList" class="tableClass" cellSpacing="0"
cellPadding="0" width="100%" border="0" style="display:none;">
<tbody style="line-height: normal;">
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Site</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Customer</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sales Person</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Stockiest</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Scheme</font>
<td></td>
<td class="editDisplayheaderClass" style="font-weight:bold;">
Sr No
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Amount</font>
<td class="editDisplayheaderClass" style="font-weight:bold;">
Change Item
</td>
<!--<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Expected <br/>consumption date</font>
</td>-->
</tr>
<tr>
<td>
<xsl:value-of select="site_code" />
<td class="editDisplayheaderClass" style="font-weight:bold;">
Change Quantity
</td>
<td>
<xsl:value-of select="cust_name" />
(<xsl:value-of select="cust_code" />)
</td>
<td>
<xsl:value-of select="sp_name" />
(<xsl:value-of select="sales_pers" />)
<td class="editDisplayheaderClass" style="font-weight:bold;">
Item Replacement
<br />
</td>
<td>
<xsl:value-of select="customer_cust_name" />
(<xsl:value-of select="cust_code__bill" />)
<td class="editDisplayheaderClass" style="font-weight:bold;">
Free Quantity
<br />
</td>
<td>
<xsl:value-of select="scheme_code" />
<td class="editDisplayheaderClass" style="font-weight:bold;">
Rate
</td>
<td>
<xsl:value-of select="amount" />
<td class="editDisplayheaderClass" style="font-weight:bold;">
Amount
</td>
</tr>
</xsl:for-each>
<!--<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID_2">
<xsl:value-of select="@dbID" />
</xsl:variable>
<xsl:variable name="domID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:variable name="proj_code">
<xsl:value-of select="proj_code" />
</xsl:variable>
<xsl:variable name="detail2_line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
<xsl:variable name="itemcode">
<xsl:value-of select="item_code" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<xsl:variable name="quantity">
<xsl:value-of select="quantity" />
</xsl:variable>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<xsl:variable name="itemcoderepl">
<xsl:value-of select="item_code__repl" />
</xsl:variable>
<xsl:variable name="free_qty">
<xsl:value-of select="free_qty" />
</xsl:variable>
<xsl:variable name="rate">
<xsl:value-of select="rate" />
</xsl:variable>
<xsl:variable name="amount">
<xsl:value-of select="amount" />
</xsl:variable>
<tr>
<td>
<input type="hidden" itemser="{$itemcode}" />
</td>
<td class="editDisplayColumnClass">
<INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.line_no"
NAME="Detail2.{normalize-space($domID)}.line_no" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{line_no}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
<xsl:value-of select="line_no" />
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<td class="editDisplayColumnClass">
<INPUT type="hidden"
ID="Detail2.{normalize-space($domID)}.item_code" NAME="Detail2.{normalize-space($domID)}.item_code"
ISCHANGED="false" onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{itemcode}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
<xsl:value-of select="item_code" />
</td>
<td class="editDisplayColumnClass">
<INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.quantity"
NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{quantity}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="purc_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="max_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="last_pur_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="req_date" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="exp_cons_date" />
</xsl:for-each>
</font>
<td class="editDisplayColumnClass">
<INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.item_code__repl"
NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{itemcoderepl}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
<xsl:value-of select="item_code__repl" />
</td>
<td class="editDisplayColumnClass">
<INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.free_qty"
NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{free_qty}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
<xsl:value-of select="free_qty" />
</td>
<td class="editDisplayColumnClass">
<INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.rate"
NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{rate}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
<xsl:value-of select="rate" />
</td>
<td class="editDisplayColumnClass">
<INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.amount"
NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{amount}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
<xsl:value-of select="amount" />
</td>
</tr>
</xsl:for-each>-->
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<br></br>
</xsl:if>
<!--<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody> <tr> <td> <a href="#" onclick = 'redirect(event)' >Transaction</a>
</td> </tr> </tbody> </table> -->
</form>
</body>
<script src="/ibase/E12BROWSER/js/jquery-1.11.1.min.js"></script>
<script src="/ibase/E12BROWSER/js/expandy.min.js"></script>
<script>
$('[id^="container"').makeExpander({
toggleElement : 'h2',
jqAnim : true,
showFirst : false,
accordion : true,
speed : 400
/*indicator: 'triangle'*/
});
</script>
<xsl:for-each select="//Detail1">
<xsl:variable name="custCodeBill">
<xsl:value-of select="cust_code__bil" />
</xsl:variable>
<input type="hidden" value="{$custCodeBill}" id="custCodeBill" />
</xsl:for-each>
<script id="$scriptID"><![CDATA[
(function() {
setTimeout(beginItemSorting, 1);
function beginItemSorting() {
var loginCodeElement = document.getElementById('loginCode');
var loginCode = ((loginCodeElement && loginCodeElement.value) || '').trim() || localStorage.getItem('userName');
if (! isUserIsStockiest(loginCode))
{
sortItems();
}
else
{
var tableElement = document.getElementById('itemsList');
tableElement.style.display = '';
}
}
function isUserIsStockiest(loginCode) {
var custCodeBillElement = document.getElementById('custCodeBill');
var custCodeBill = (custCodeBillElement && custCodeBillElement.value) || '';
return custCodeBill.trim() === loginCode.trim();
}
function sortItems() {
var userItemSeriesElement = document.getElementById('itemSeries');
var userItemSeries = ((userItemSeriesElement && userItemSeriesElement.value) || '').trim() || (localStorage.getItem('itemSer') || '').trim();
console.log("userItemSeries : "+userItemSeries);
var tableElement = document.getElementById('itemsList');
if (tableElement) {
var tableRows = tableElement.rows;
var counter = 0;
for (var i = 0, len = tableRows.length; i < len; i++) {
var tableRow = tableRows[i];
var cells = tableRow.cells;
var firstCell = cells[0];
if (firstCell) {
var hiddenInput = firstCell.childNodes[0];
if (hiddenInput) {
var itemSeries = (hiddenInput.getAttribute('itemser') || '').trim();
if (userItemSeries && itemSeries !== userItemSeries) {
tableRow.style.display = 'none';
}
else
{
var secondCell = cells[1];
secondCell.innerHTML = ++counter;
}
}
}
}
tableElement.style.display = '';
}
}
}());
function redirect()
{
event.preventDefault();
var data = {};
data['XMLData'] = '<ROOT><MENU>PIT.1.0.0.0.0~PIT.1.2.0.0.0</MENU></ROOT>';
data['tranId'] = '0000407';
data['UUID'] = '';
data['category'] = '';
data['openTarget'] = 'P';
data['message'] = 'TEST';
var dataString = JSON.stringify(data);
dataString = window.encodeURIComponent(dataString);
window.redirectApplicationGWT(dataString);
window.resumeAppGWT();
}
]]></script>
<img src="#$"
onerror="var js=this.previousSibling.innerHTML; window.eval(js);"
style="display:none;" />
</html>
</xsl:template>
</xsl:template>
</xsl:stylesheet>
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