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 @@ ...@@ -167,7 +167,7 @@
<dbname>scheme_apprv.chg_date</dbname> <dbname>scheme_apprv.chg_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="300">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
...@@ -186,7 +186,28 @@ ...@@ -186,7 +186,28 @@
<name>customer_cust_name</name> <name>customer_cust_name</name>
<dbname>customer.cust_name</dbname> <dbname>customer.cust_name</dbname>
</table_column> </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> <update>SCHEME_APPRV</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -731,6 +752,118 @@ ...@@ -731,6 +752,118 @@
<color>1073741824</color> <color>1073741824</color>
</background> </background>
</TextObject> </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> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1448,15 +1581,22 @@ ...@@ -1448,15 +1581,22 @@
<tabsequence>200</tabsequence> <tabsequence>200</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>2771</x> <x>2770</x>
<y>1</y> <y>1</y>
<height>15</height> <height>15</height>
<width>398</width> <width>398</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>customer_cust_name_1</name> <name>customer_cust_name_1</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -1470,34 +1610,114 @@ ...@@ -1470,34 +1610,114 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Header</band> <band>Detail</band>
<id>21</id>
<alignment>0</alignment> <alignment>0</alignment>
<text>Customer Cust Name</text> <tabsequence>210</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>2770</x> <x>3170</x>
<y>1</y> <y>1</y>
<height>17</height> <height>15</height>
<width>399</width> <width>86</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>customer_cust_name_1_t</name> <name>eff_from</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Liberation Sans</face> <face>Arial</face>
<height>-11</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>1073741824</color> <color>536870912</color>
</background> </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> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </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 @@ ...@@ -39,7 +39,7 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>606</height> <height>723</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
<dbname>scheme_apprv.chg_date</dbname> <dbname>scheme_apprv.chg_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="300">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
...@@ -181,7 +181,33 @@ ...@@ -181,7 +181,33 @@
<name>customer_cust_name</name> <name>customer_cust_name</name>
<dbname>customer.cust_name</dbname> <dbname>customer.cust_name</dbname>
</table_column> </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> <update>SCHEME_APPRV</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -190,31 +216,69 @@ ...@@ -190,31 +216,69 @@
<type>string</type> <type>string</type>
</argument> </argument>
</TableDefinition> </TableDefinition>
<ColumnObject> <GroupBox>
<band>Detail</band> <band>Detail</band>
<id>10</id> <text>Basic</text>
<alignment>0</alignment> <border>2</border>
<tabsequence>32766</tabsequence> <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> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>166</x> <x>36</x>
<y>353</y> <y>256</y>
<height>18</height> <height>15</height>
<width>16</width> <width>104</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>aprv_status</name> <name>valid_upto_t</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -227,32 +291,22 @@ ...@@ -227,32 +291,22 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>11</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Amount:</text>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>166</x> <x>39</x>
<y>386</y> <y>279</y>
<height>18</height> <height>15</height>
<width>16</width> <width>101</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed</name> <name>amount_t</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -265,21 +319,21 @@ ...@@ -265,21 +319,21 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Id:</text> <text>Used Amount:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>39</x>
<y>39</y> <y>307</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>used_amt_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -297,17 +351,17 @@ ...@@ -297,17 +351,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Date:</text> <text>Employee Approved:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>29</x>
<y>72</y> <y>335</y>
<height>15</height> <height>15</height>
<width>101</width> <width>111</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date_t</name> <name>emp_code_apprv_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -325,17 +379,17 @@ ...@@ -325,17 +379,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg Term:</text> <text>Approval Status:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>39</x>
<y>503</y> <y>358</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>aprv_status_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -353,17 +407,17 @@ ...@@ -353,17 +407,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg Date:</text> <text>Confirmed:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>39</x>
<y>529</y> <y>383</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>confirmed_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -381,17 +435,17 @@ ...@@ -381,17 +435,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Customer:</text> <text>Confirm Date:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>39</x>
<y>122</y> <y>408</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_code_t</name> <name>conf_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -409,17 +463,17 @@ ...@@ -409,17 +463,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Sales Person:</text> <text>Remarks:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>39</x>
<y>155</y> <y>434</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>sales_pers_t</name> <name>remarks_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -434,21 +488,29 @@ ...@@ -434,21 +488,29 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>22</id>
<text>Stockiest:</text> <alignment>0</alignment>
<border>5</border> <tabsequence>80</tabsequence>
<border>0</border>
<color>33554432</color> <color>33554432</color>
<x>61</x> <x>146</x>
<y>188</y> <y>256</y>
<height>15</height> <height>15</height>
<width>105</width> <width>88</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_code__bill_t</name> <name>valid_upto</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -461,22 +523,33 @@ ...@@ -461,22 +523,33 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id>
<alignment>1</alignment> <alignment>1</alignment>
<text>Scheme:</text> <tabsequence>50</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>146</x>
<y>221</y> <y>279</y>
<height>15</height> <height>18</height>
<width>101</width> <width>96</width>
<format>[Number]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>scheme_code_t</name> <name>amount</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -489,22 +562,32 @@ ...@@ -489,22 +562,32 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>8</id>
<alignment>1</alignment> <alignment>1</alignment>
<text>Amount:</text> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>147</x>
<y>254</y> <y>307</y>
<height>15</height> <height>18</height>
<width>101</width> <width>96</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>amount_t</name> <name>used_amt</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -517,21 +600,211 @@ ...@@ -517,21 +600,211 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </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> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Used Amount:</text> <text>Id:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>38</x>
<y>287</y> <y>36</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>used_amt_t</name> <name>tran_id_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -546,21 +819,31 @@ ...@@ -546,21 +819,31 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>1</id>
<text>Employee Approved:</text> <alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>34</x> <x>144</x>
<y>320</y> <y>36</y>
<height>15</height> <height>18</height>
<width>132</width> <width>88</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code_apprv_t</name> <name>tran_id</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -573,21 +856,21 @@ ...@@ -573,21 +856,21 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Approval Status:</text> <text>Date:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>39</x>
<y>353</y> <y>62</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>aprv_status_t</name> <name>tran_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -602,20 +885,58 @@ ...@@ -602,20 +885,58 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </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> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Confirmed:</text> <text>Site:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>39</x>
<y>386</y> <y>87</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed_t</name> <name>site_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -630,21 +951,29 @@ ...@@ -630,21 +951,29 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>19</id>
<text>Confirm Date:</text> <alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>144</x>
<y>419</y> <y>87</y>
<height>15</height> <height>15</height>
<width>101</width> <width>132</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>conf_date_t</name> <name>site_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -657,21 +986,21 @@ ...@@ -657,21 +986,21 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg Usr:</text> <text>Customer:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>39</x>
<y>477</y> <y>113</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>cust_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -686,21 +1015,29 @@ ...@@ -686,21 +1015,29 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>17</id>
<text>Remarks:</text> <alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>138</x>
<y>452</y> <y>529</y>
<height>15</height> <height>15</height>
<width>101</width> <width>88</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>remarks_t</name> <name>chg_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -713,21 +1050,21 @@ ...@@ -713,21 +1050,21 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Site:</text> <text>Chg Date:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>65</x> <x>33</x>
<y>97</y> <y>531</y>
<height>15</height> <height>15</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code_t</name> <name>chg_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -742,31 +1079,21 @@ ...@@ -742,31 +1079,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Chg Usr:</text>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>35</x>
<y>39</y> <y>501</y>
<height>18</height> <height>15</height>
<width>88</width> <width>101</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id</name> <name>chg_user_t</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -779,30 +1106,28 @@ ...@@ -779,30 +1106,28 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>16</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>140</x>
<y>72</y> <y>501</y>
<height>18</height> <height>15</height>
<width>176</width> <width>80</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date</name> <name>chg_user</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -818,29 +1143,21 @@ ...@@ -818,29 +1143,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Chg Term:</text>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>239</x>
<y>477</y> <y>501</y>
<height>15</height> <height>15</height>
<width>80</width> <width>101</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>chg_term_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -853,7 +1170,7 @@ ...@@ -853,7 +1170,7 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>18</id> <id>18</id>
...@@ -861,7 +1178,7 @@ ...@@ -861,7 +1178,7 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>345</x>
<y>501</y> <y>501</y>
<height>15</height> <height>15</height>
<width>120</width> <width>120</width>
...@@ -892,20 +1209,20 @@ ...@@ -892,20 +1209,20 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>17</id> <id>14</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>246</x>
<y>527</y> <y>113</y>
<height>15</height> <height>15</height>
<width>88</width> <width>135</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>cust_name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -933,8 +1250,8 @@ ...@@ -933,8 +1250,8 @@
<tabsequence>10</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>144</x>
<y>122</y> <y>113</y>
<height>18</height> <height>18</height>
<width>88</width> <width>88</width>
<format>[general]</format> <format>[general]</format>
...@@ -966,27 +1283,25 @@ ...@@ -966,27 +1283,25 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>15</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>20</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>245</x>
<y>155</y> <y>137</y>
<height>18</height> <height>15</height>
<width>88</width> <width>150</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>sales_pers</name> <name>sp_name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -1004,20 +1319,20 @@ ...@@ -1004,20 +1319,20 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>30</tabsequence> <tabsequence>20</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>147</x>
<y>188</y> <y>137</y>
<height>18</height> <height>18</height>
<width>88</width> <width>88</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_code__bill</name> <name>sales_pers</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
...@@ -1040,31 +1355,21 @@ ...@@ -1040,31 +1355,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Sales Person:</text>
<tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>39</x>
<y>221</y> <y>137</y>
<height>18</height> <height>15</height>
<width>88</width> <width>101</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>scheme_code</name> <name>sales_pers_t</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -1077,33 +1382,22 @@ ...@@ -1077,33 +1382,22 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>7</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>50</tabsequence> <text>Stockiest:</text>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>35</x>
<y>254</y> <y>163</y>
<height>18</height> <height>15</height>
<width>96</width> <width>105</width>
<format>[Number]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>amount</name> <name>cust_code__bill_t</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -1116,27 +1410,27 @@ ...@@ -1116,27 +1410,27 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>5</id>
<alignment>1</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>147</x>
<y>287</y> <y>163</y>
<height>18</height> <height>18</height>
<width>96</width> <width>88</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>used_amt</name> <name>cust_code__bill</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>upper</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -1157,27 +1451,25 @@ ...@@ -1157,27 +1451,25 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>20</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>243</x>
<y>320</y> <y>163</y>
<height>18</height> <height>15</height>
<width>88</width> <width>150</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code_apprv</name> <name>customer_cust_name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -1193,31 +1485,21 @@ ...@@ -1193,31 +1485,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>12</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Scheme Name:</text>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>39</x>
<y>419</y> <y>187</y>
<height>18</height> <height>15</height>
<width>176</width> <width>101</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>conf_date</name> <name>scheme_code_t</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -1230,27 +1512,27 @@ ...@@ -1230,27 +1512,27 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>13</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>60</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>147</x>
<y>452</y> <y>187</y>
<height>18</height> <height>18</height>
<width>178</width> <width>88</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>remarks</name> <name>scheme_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>60</limit> <limit>10</limit>
<case>any</case> <case>upper</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -1269,29 +1551,21 @@ ...@@ -1269,29 +1551,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>14</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Nature Of Screen:</text>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>272</x> <x>36</x>
<y>123</y> <y>212</y>
<height>15</height> <height>15</height>
<width>135</width> <width>104</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_name</name> <name>nature_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -1304,28 +1578,28 @@ ...@@ -1304,28 +1578,28 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>15</id> <id>23</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>90</tabsequence>
<border>5</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>268</x> <x>147</x>
<y>155</y> <y>212</y>
<height>15</height> <height>15</height>
<width>150</width> <width>73</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>sp_name</name> <name>nature</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="ddlb">
<limit>0</limit> <limit>0</limit>
<allowedit>no</allowedit>
<case>any</case> <case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -1341,29 +1615,21 @@ ...@@ -1341,29 +1615,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>19</id> <alignment>1</alignment>
<alignment>0</alignment> <text>From Date:</text>
<tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>170</x> <x>36</x>
<y>97</y> <y>234</y>
<height>15</height> <height>15</height>
<width>132</width> <width>104</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code</name> <name>eff_from_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -1376,23 +1642,23 @@ ...@@ -1376,23 +1642,23 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>20</id> <id>21</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>70</tabsequence>
<border>5</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>266</x> <x>146</x>
<y>190</y> <y>234</y>
<height>15</height> <height>15</height>
<width>150</width> <width>88</width>
<format>[general]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>customer_cust_name</name> <name>eff_from</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <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 ...@@ -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); ('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'); 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'?> <?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:stylesheet version="1.0"
<xsl:template match="/"> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:NonHtml="http://www.progress.com/StylusStudio/NonHtml"
<html> exclude-result-prefixes="NonHtml">
<head> <xsl:output method="html" omit-xml-declaration="no"
<!--<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link> standalone="no" indent="no"></xsl:output>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link> <xsl:template match="/">
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/> <html>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>--> <head>
<script type="text/javascript" src="/ibase/webitm/js/ITMWizardCalendar.js"></script>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/workflowsign.css"></link> <SCRIPT language="Javascript" type="text/javascript"
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/expandy.css"></link> src="/ibase/webitm/js/ValidateDate.js"></SCRIPT>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/fonts.css"/> <style type="text/css">
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/hr_portal1.css"></link> html, body{ /*height:100%;*/
background-color:#f7f8fa;
<style type="text/css"> font-family:'MuseoLight', sans-serif;
-webkit-font-smoothing: antialiased;
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF; font-size:14px;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px font-weight:normal;
solid #d9d9d9;} }
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid .editDisplayColumnClass{readOnly:true;color:#555; TEXT-ALIGN:left;
#d9d9d9; font-size:14px;} padding:5px; font-size:16px; font-weight:normal;}
.tbletopbrd{border-top:2px solid #5fdeb2;} .editDisplayheaderClass{readOnly:true;color:#555; TEXT-ALIGN:left;
.date { padding:5px; font-weight:normal; font-size:14px;
color: #9d9ca2; vertical-align:top;}
font-size: 11px; .editDisplayrightClass{readOnly:true;border
font-weight: normal; :inset 1;COLOR:black ; BACKGROUND:#FFFFD9;TEXT-ALIGN:right;
} font-weight:normal;}
td { .editDisplayecnterClass{readOnly:true;
padding: 5px; color:#5fdeb2; TEXT-ALIGN:left; font-size:18px; padding:5px 0;
} font-weight:normal;}
.editDisplayecnterClass2{readOnly:true;border
</style> :inset 1;COLOR:black ; TEXT-ALIGN:center; font-weight:normal;}
</head> .editDisplayClass{background-color: transparent
!important;readOnly:true;color:#555; TEXT-ALIGN:left; padding:5px;
<body> font-weight:bold; font-size:18px;}
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='scheme_apprv'/> input{
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/> color: rgb(80,80,80) !important;
<INPUT type='hidden' name='EDIT_FLAG' value='A'/> /* font-size: 14px !important; */ /* TODO: Changes in I18NLabel */
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/> font-size: 14px !important;
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/> border:1px solid #ccc;
background:#fff;
<xsl:for-each select="//Detail1"> }
<xsl:variable name="dbID"> @font-face { /* declare fonts */
<xsl:value-of select="@dbID" /> font-family: "MuseoLight";
</xsl:variable> src: url("../fonts/Museo300-Regular.eot");
<xsl:variable name="wf_status"> src: local("Museo 300"), local("Museo-300"),
<xsl:value-of select="wf_status" /> url("../fonts/Museo300-Regular.woff") format("woff"),
</xsl:variable> url("../fonts/Museo300-Regular.otf") format("opentype"),
<xsl:variable name="tran_id"> url("../fonts/Museo300-Regular.svg#Museo-300") format("svg");
<xsl:value-of select="tran_id" /> }
</xsl:variable> .editDisplayecnterClass1 {readOnly:true; color:#5fdeb2;
<xsl:variable name="tran_date"> TEXT-ALIGN:left; font-size:16px; padding:10px 0 0 0;}
<xsl:value-of select="tran_date" /> .editDisplayecnterClass3 {readOnly:true; color:#5fdeb2;
</xsl:variable> TEXT-ALIGN:left; font-size:16px; padding:10px 0 0 0;}
<xsl:variable name="site_code"> .tableClass
<xsl:value-of select="site_code" /> {margin-bottom:10px; width:100%; background-color:#FFF;
</xsl:variable> /*padding:10px;*/ border-top: 1px solid #d9d9d9;}
<xsl:variable name="cust_code"> /*Changed by
<xsl:value-of select="cust_code" /> Shravan*/
</xsl:variable> .tableClass td {border-bottom: 1px solid #d9d9d9;
<xsl:variable name="sales_pers"> border-right: 1px solid #d9d9d9; font-size:14px;}
<xsl:value-of select="sales_pers" /> .tbletopbrd{border-top:2px solid #5fdeb2;border-bottom: 1px solid
</xsl:variable> #d9d9d9;border-left: 1px solid #d9d9d9}
<xsl:variable name="cust_code__bill"> .date {
<xsl:value-of select="cust_code__bill" /> color: #9d9ca2;
</xsl:variable> font-size: 11px;
<xsl:variable name="scheme_code"> font-weight: normal;
<xsl:value-of select="scheme_code" /> }
</xsl:variable> </style>
<xsl:variable name="amount">
<xsl:value-of select="amount" /> <LINK type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css" />
</xsl:variable> <LINK type="text/css" rel="stylesheet" href="workflowsign.css" />
<!--<xsl:variable name="work_order"> <LINK type="text/css" rel="stylesheet" href="/ibase/css/pordercss.css" />
<xsl:value-of select="work_order" /> <LINK type="text/css" rel="stylesheet" href="pordercss.css" />
</xsl:variable>--> </head>
<xsl:variable name="remarks"> <body>
<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" > <form name="form">
<tr> <xsl:for-each select="//Detail1">
<td colspan="3" > <table cellSpacing="0" cellPadding="0" width="100%" border="0">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew"> <tbody>
<tr> <tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" > <td colSpan="4" class=""
<font size="2"> style="text-align: center;font-weight:bold;color:#5fdeb2;">
Tran ID: Scheme Approval
<b><xsl:value-of select="tran_id" /></b> </td>
</font> </tr>
</td> </tbody>
<td class="tLabelDataD3" width="50%" style="text-align:right;"> </table>
<font size="2">
Date: </xsl:for-each>
<b><xsl:value-of select="tran_date" /></b>
</font> <xsl:for-each select="//Detail1">
<xsl:variable name="dbID">
</td> <xsl:value-of select="@domID" />
</tr> </xsl:variable>
<!-- <tr> <xsl:variable name="nature">
<td class="tLabelDataD3" width="50%" style="text-align:left;" > <xsl:value-of select="nature"></xsl:value-of>
<font size="2"> </xsl:variable>
Site: <div class='tbletopbrd tableClass'>
<b><xsl:value-of select="site_descr" />&#160; <div style='margin-left: 3px;'>
(<xsl:value-of select="site_code__ori" />)</b> <span>
</font> Tran Id:
<xsl:value-of select="tran_id" />
</td> </span>
<td class="tLabelDataD3" width="50%" style="text-align:right;"> <span style='float: right; margin-right: 17px;'>
<font size="2"> Tran Date :
Item series: <b><xsl:value-of select="item_ser" /></b> <xsl:value-of select="tran_date" />
</font> </span>
</div>
</td> <div style='margin-left: 3px;'>
</tr>--> Scheme Name :
</TABLE> <xsl:value-of select="scheme_code" />
</td> </div>
</tr> <div style='margin-left: 3px;'>
Customer :
<!--<tr> <xsl:value-of select="cust_code" />
<td colspan="3"> </div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="AML-NOT-DefN" style='border:1px solid lightgrey;' > <div style='margin-left: 3px;'>
<tr> Sales Person :
<td class="cellttl1">Reference: </td> <xsl:value-of select="sales_pers" />
<td class="tLabelDataD1" style="text-align:left"> </div>
<font size="2"> <div style='margin-left: 3px;'>
<xsl:value-of select="ref_no" /> Stockiest :
</font> <xsl:value-of select="cust_code__bill" />
</td> </div>
</tr> <div style='margin-left: 3px;'>
<tr> Nature of Screen :
<td class="cellttl1">Delivery to: </td> <xsl:choose>
<td class="tLabelDataD1" style="text-align:left"> <xsl:when test="$nature = 'V'">
<font size="2"> <xsl:text>Value Based Replacement</xsl:text>
<xsl:value-of select="site_code__del"/> </xsl:when>
</font> <xsl:when test="$nature = 'Q'">
</td> <xsl:text>Quantity Based Replacement</xsl:text>
</tr> </xsl:when>
<tr> <xsl:otherwise>
<td class="cellttl1">Bill to: </td> <xsl:text>-</xsl:text>
<td class="tLabelDataD1" style="text-align:left"> </xsl:otherwise>
<font size="2"> </xsl:choose>
<xsl:value-of select="site_code__bil"/> <!-- <xsl:if test="$nature =V"> Value Based Replacement </xsl:if> -->
</font> </div>
</td> <!-- <div style = 'margin-left: 3px;'>Sales Person : <xsl:value-of
</tr> select="sales_pers"/>( <xsl:value-of select="sales_pers"/>)</div> <div style
<tr> = 'margin-left: 3px;'>Status : <xsl:value-of select="status_sh"/></div> -->
<td class="cellttl1">Project: </td> <div style='margin-left: 3px;'>
<td class="tLabelDataD1" style="text-align:left"> Remarks :
<font size="2"> <xsl:for-each select="//WRKFLW_REMARKS">
<xsl:value-of select="proj_code" /> <xsl:value-of select="REMARKS_LINE_NO_2" />
</font> </xsl:for-each>
</td> </div>
</tr> </div>
<tr>
<td class="cellttl1">Department: </td> <br></br>
<td class="tLabelDataD1" style="text-align:left"> </xsl:for-each>
<font size="2">
<xsl:value-of select="department_descr" />&#160; <xsl:if test="count(//Detail2) &gt; 0">
(<xsl:value-of select="dept_code" />) <table id="itemsList" class="tableClass" cellSpacing="0"
</font> cellPadding="0" width="100%" border="0" style="display:none;">
</td> <tbody style="line-height: normal;">
</tr> <xsl:for-each select="//Detail1">
<tr> <tr border="1">
<td class="cellttl1">Minimum batch quantity : </td> <td></td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left"> <td class="editDisplayheaderClass" style="font-weight:bold;">
<xsl:value-of select= "min_batch_qty"/> Sr No
</td> </td>
</tr> <td class="editDisplayheaderClass" style="font-weight:bold;">
<tr> Change Item
<td class="cellttl1">Maximum batch quantity : </td> </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left"> <td class="editDisplayheaderClass" style="font-weight:bold;">
<xsl:value-of select= "max_batch_qty"/> Change Quantity
</td> </td>
</tr> <td class="editDisplayheaderClass" style="font-weight:bold;">
</table> Item Replacement
</td> <br />
</tr>--> </td>
</TABLE> <td class="editDisplayheaderClass" style="font-weight:bold;">
</xsl:for-each> Free Quantity
<br/> <br />
<div style="overflow-x: scroll; width:100%"> </td>
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0"> <td class="editDisplayheaderClass" style="font-weight:bold;">
<tbody> Rate
<xsl:for-each select="//Detail1"> </td>
<tr border="1"> <td class="editDisplayheaderClass" style="font-weight:bold;">
<td class="editDisplayheaderClass"> Amount
<font face="Times New Roman" size="2">Site</font> </td>
</td> </tr>
<td class="editDisplayheaderClass"> </xsl:for-each>
<font face="Times New Roman" size="2">Customer</font> <xsl:for-each select="//Detail2">
</td> <xsl:variable name="dbID_2">
<td class="editDisplayheaderClass"> <xsl:value-of select="@dbID" />
<font face="Times New Roman" size="2">Sales Person</font> </xsl:variable>
</td> <xsl:variable name="domID">
<td class="editDisplayheaderClass"> <xsl:value-of select="@domID" />
<font face="Times New Roman" size="2">Stockiest</font> </xsl:variable>
</td> <xsl:variable name="proj_code">
<td class="editDisplayheaderClass"> <xsl:value-of select="proj_code" />
<font face="Times New Roman" size="2">Scheme</font> </xsl:variable>
</td>
<td class="editDisplayheaderClass"> <xsl:variable name="detail2_line_no">
<font face="Times New Roman" size="2">Amount</font> <xsl:value-of select="line_no" />
</td> </xsl:variable>
<!--<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Expected <br/>consumption date</font> <xsl:variable name="itemcode">
</td>--> <xsl:value-of select="item_code" />
</tr> </xsl:variable>
<tr>
<td> <xsl:variable name="quantity">
<xsl:value-of select="site_code" /> <xsl:value-of select="quantity" />
</td> </xsl:variable>
<td>
<xsl:value-of select="cust_name" /> <xsl:variable name="itemcoderepl">
(<xsl:value-of select="cust_code" />) <xsl:value-of select="item_code__repl" />
</td> </xsl:variable>
<td>
<xsl:value-of select="sp_name" /> <xsl:variable name="free_qty">
(<xsl:value-of select="sales_pers" />) <xsl:value-of select="free_qty" />
</td> </xsl:variable>
<td>
<xsl:value-of select="customer_cust_name" /> <xsl:variable name="rate">
(<xsl:value-of select="cust_code__bill" />) <xsl:value-of select="rate" />
</td> </xsl:variable>
<td>
<xsl:value-of select="scheme_code" /> <xsl:variable name="amount">
</td> <xsl:value-of select="amount" />
<td> </xsl:variable>
<xsl:value-of select="amount" />
</td> <tr>
</tr> <td>
</xsl:for-each> <input type="hidden" itemser="{$itemcode}" />
<!--<xsl:for-each select="//Detail2"> </td>
<xsl:sort select="item_code" /> <td class="editDisplayColumnClass">
<xsl:variable name="dbID"> <INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.line_no"
<xsl:value-of select="@domID" /> NAME="Detail2.{normalize-space($domID)}.line_no" ISCHANGED="false"
</xsl:variable> onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
<xsl:variable name="line_no"> value="{line_no}" isReq="false" size="8" SRVCALLONCHANGE="true"
<xsl:value-of select="line_no" /> class="tInputStyleRight" />
</xsl:variable> <xsl:value-of select="line_no" />
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" /> </td>
</xsl:variable> <td class="editDisplayColumnClass">
<INPUT type="hidden"
<tr> ID="Detail2.{normalize-space($domID)}.item_code" NAME="Detail2.{normalize-space($domID)}.item_code"
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> ISCHANGED="false" onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
<font face="Times New Roman" size="2"> value="{itemcode}" isReq="false" size="8" SRVCALLONCHANGE="true"
<xsl:value-of select="line_no"/> class="tInputStyleRight" />
</font> <xsl:value-of select="item_code" />
</td> </td>
<td class="editDisplayColumnClass">
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;"> <INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.quantity"
<font face="Times New Roman" size="2"> NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
<xsl:for-each select="//Detail2"> onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
<xsl:value-of select="item_descr" />&#160; value="{quantity}" isReq="false" size="8" SRVCALLONCHANGE="true"
(<xsl:value-of select="item_code" />) class="tInputStyleRight" />
</xsl:for-each> <xsl:value-of select="quantity" />
</font> </td>
</td> <td class="editDisplayColumnClass">
<INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.item_code__repl"
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;"> NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
<font face="Times New Roman" size="2"> onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
<xsl:for-each select="//Detail2"> value="{itemcoderepl}" isReq="false" size="8" SRVCALLONCHANGE="true"
<xsl:value-of select="unit" /> class="tInputStyleRight" />
</xsl:for-each> <xsl:value-of select="item_code__repl" />
</font> </td>
</td> <td class="editDisplayColumnClass">
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right"> <INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.free_qty"
<font face="Times New Roman" size="2"> NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
<xsl:for-each select="//Detail2"> onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
<xsl:value-of select="quantity" /> value="{free_qty}" isReq="false" size="8" SRVCALLONCHANGE="true"
</xsl:for-each> class="tInputStyleRight" />
</font> <xsl:value-of select="free_qty" />
</td> </td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right"> <td class="editDisplayColumnClass">
<font face="Times New Roman" size="2"> <INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.rate"
<xsl:for-each select="//Detail2"> NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
<xsl:value-of select="purc_rate" /> onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
</xsl:for-each> value="{rate}" isReq="false" size="8" SRVCALLONCHANGE="true"
</font> class="tInputStyleRight" />
</td> <xsl:value-of select="rate" />
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right"> </td>
<font face="Times New Roman" size="2"> <td class="editDisplayColumnClass">
<xsl:for-each select="//Detail2"> <INPUT type="hidden" ID="Detail2.{normalize-space($domID)}.amount"
<xsl:value-of select="max_rate" /> NAME="Detail2.{normalize-space($domID)}.unit" ISCHANGED="false"
</xsl:for-each> onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
</font> value="{amount}" isReq="false" size="8" SRVCALLONCHANGE="true"
</td> class="tInputStyleRight" />
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right"> <xsl:value-of select="amount" />
<font face="Times New Roman" size="2"> </td>
<xsl:for-each select="//Detail2">
<xsl:value-of select="last_pur_rate" />
</xsl:for-each> </tr>
</font> </xsl:for-each>
</td> </tbody>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;"> </table>
<font face="Times New Roman" size="2"> <br></br>
<xsl:for-each select="//Detail2"> </xsl:if>
<xsl:value-of select="req_date" /> <!--<table cellSpacing="0" cellPadding="0" width="100%" border="0">
</xsl:for-each> <tbody> <tr> <td> <a href="#" onclick = 'redirect(event)' >Transaction</a>
</font> </td> </tr> </tbody> </table> -->
</td> </form>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;"> </body>
<font face="Times New Roman" size="2"> <script src="/ibase/E12BROWSER/js/jquery-1.11.1.min.js"></script>
<xsl:for-each select="//Detail2"> <script src="/ibase/E12BROWSER/js/expandy.min.js"></script>
<xsl:value-of select="exp_cons_date" /> <script>
</xsl:for-each> $('[id^="container"').makeExpander({
</font> toggleElement : 'h2',
</td> jqAnim : true,
</tr> showFirst : false,
accordion : true,
</xsl:for-each>--> speed : 400
/*indicator: 'triangle'*/
</tbody> });
</table> </script>
</div> <xsl:for-each select="//Detail1">
</body> <xsl:variable name="custCodeBill">
</html> <xsl:value-of select="cust_code__bil" />
</xsl:template> </xsl:variable>
</xsl:stylesheet> <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: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