Commit 7d00ec65 authored by pchavan's avatar pchavan

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184102 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0cbf7144
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
<type size="12">char</type> <type size="12">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>gltrace.tran_id</dbname> <dbname>gltrace.tran_id</dbname>
</table_column> </table_column>
...@@ -217,6 +218,12 @@ ...@@ -217,6 +218,12 @@
<name>sundrydescr</name> <name>sundrydescr</name>
<dbname>sundrydescr</dbname> <dbname>sundrydescr</dbname>
</table_column> </table_column>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>sundry_name</name>
<dbname>sundry_name</dbname>
</table_column>
<table_column> <table_column>
<type>number</type> <type>number</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
...@@ -224,12 +231,15 @@ ...@@ -224,12 +231,15 @@
<dbname>dr_cr</dbname> <dbname>dr_cr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="4000">char</type> <type size="40">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>sundry_name</name> <name>costctr_descr</name>
<dbname>sundry_name</dbname> <dbname>costctr.descr</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;accounts&quot; ) TABLE(NAME=&quot;gltrace&quot; ) TABLE(NAME=&quot;sundry_type&quot; ) TABLE(NAME=&quot;refser&quot; ) COLUMN(NAME=&quot;gltrace.tran_id&quot;) COLUMN(NAME=&quot;gltrace.eff_date&quot;) COLUMN(NAME=&quot;gltrace.ref_ser&quot;) COLUMN(NAME=&quot;gltrace.ref_id&quot;) COLUMN(NAME=&quot;gltrace.acct_code&quot;) COLUMN(NAME=&quot;gltrace.dr_amt&quot;) COLUMN(NAME=&quot;gltrace.cr_amt&quot;) COLUMN(NAME=&quot;gltrace.site_code&quot;) COLUMN(NAME=&quot;gltrace.fin_entity&quot;) COLUMN(NAME=&quot;gltrace.sundry_code&quot;) COLUMN(NAME=&quot;gltrace.sundry_type&quot;) COLUMN(NAME=&quot;gltrace.remarks&quot;) COLUMN(NAME=&quot;gltrace.cctr_code&quot;) COLUMN(NAME=&quot;gltrace.curr_code&quot;) COLUMN(NAME=&quot;gltrace.exch_rate&quot;) COLUMN(NAME=&quot;gltrace.tran_date&quot;) COLUMN(NAME=&quot;gltrace.emp_code&quot;) COLUMN(NAME=&quot;gltrace.anal_code&quot;) COLUMN(NAME=&quot;gltrace.ref_type&quot;) COLUMN(NAME=&quot;accounts.descr&quot;) COMPUTE(NAME=&quot;(gltrace.dr_amt * gltrace.exch_rate) as dr_amt__bc&quot;) COMPUTE(NAME=&quot;(gltrace.cr_amt * gltrace.exch_rate) as cr_amt__bc&quot;) COLUMN(NAME=&quot;sundry_type.tname&quot;) COMPUTE(NAME=&quot; (REFSER.DESCR) as refser&quot;) COMPUTE(NAME=&quot; (SUNDRY_TYPE.DESCR) as sundrydescr&quot;) COMPUTE(NAME=&quot;case when dr_amt &gt; 0 then 1 else 2 end dr_cr&quot;) COMPUTE(NAME=&quot;DDF_GET_SUNDRY_NAME(GLTRACE.SUNDRY_CODE , GLTRACE.SUNDRY_TYPE) as sundry_name&quot;) JOIN (LEFT=&quot;gltrace.acct_code&quot; OP =&quot;=&quot;RIGHT=&quot;accounts.acct_code&quot; ) JOIN (LEFT=&quot;gltrace.sundry_type&quot; OP =&quot;=&quot;RIGHT=&quot;sundry_type.sundry_type&quot; ) JOIN (LEFT=&quot;gltrace.ref_ser&quot; OP =&quot;=&quot;RIGHT=&quot;refser.ref_ser&quot; )WHERE( EXP1 =&quot;gltrace.ref_ser&quot; OP =&quot;=&quot; EXP2 =&quot;:ref_ser&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;gltrace.ref_id&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:ref_id__fr&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;gltrace.ref_id&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ref_id__to&quot; ) ) ORDER(NAME=&quot;26&quot; ASC=yes ) ARG(NAME = &quot;ref_ser&quot; TYPE = string) ARG(NAME = &quot;ref_id__fr&quot; TYPE = string) ARG(NAME = &quot;ref_id__to&quot; TYPE = string) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;accounts&quot; ) TABLE(NAME=&quot;gltrace&quot; ) TABLE(NAME=&quot;sundry_type&quot; ) TABLE(NAME=&quot;refser&quot; ) TABLE(NAME=&quot;costctr&quot; ) COLUMN(NAME=&quot;gltrace.tran_id&quot;) COLUMN(NAME=&quot;gltrace.eff_date&quot;) COLUMN(NAME=&quot;gltrace.ref_ser&quot;) COLUMN(NAME=&quot;gltrace.ref_id&quot;) COLUMN(NAME=&quot;gltrace.acct_code&quot;) COLUMN(NAME=&quot;gltrace.dr_amt&quot;) COLUMN(NAME=&quot;gltrace.cr_amt&quot;) COLUMN(NAME=&quot;gltrace.site_code&quot;) COLUMN(NAME=&quot;gltrace.fin_entity&quot;) COLUMN(NAME=&quot;gltrace.sundry_code&quot;) COLUMN(NAME=&quot;gltrace.sundry_type&quot;) COLUMN(NAME=&quot;gltrace.remarks&quot;) COLUMN(NAME=&quot;gltrace.cctr_code&quot;) COLUMN(NAME=&quot;gltrace.curr_code&quot;) COLUMN(NAME=&quot;gltrace.exch_rate&quot;) COLUMN(NAME=&quot;gltrace.tran_date&quot;) COLUMN(NAME=&quot;gltrace.emp_code&quot;) COLUMN(NAME=&quot;gltrace.anal_code&quot;) COLUMN(NAME=&quot;gltrace.ref_type&quot;) COLUMN(NAME=&quot;accounts.descr&quot;) COMPUTE(NAME=&quot;(gltrace.dr_amt * gltrace.exch_rate) as dr_amt__bc&quot;) COMPUTE(NAME=&quot;(gltrace.cr_amt * gltrace.exch_rate) as cr_amt__bc&quot;) COLUMN(NAME=&quot;sundry_type.tname&quot;) COMPUTE(NAME=&quot; (~&quot;REFSER~&quot;.~&quot;DESCR~&quot;) as refser&quot;) COMPUTE(NAME=&quot; (~&quot;SUNDRY_TYPE~&quot;.~&quot;DESCR~&quot;) as sundrydescr&quot;) COMPUTE(NAME=&quot;DDF_GET_SUNDRY_NAME(~&quot;GLTRACE~&quot;.~&quot;SUNDRY_CODE~&quot;,~&quot;GLTRACE~&quot;.~&quot;SUNDRY_TYPE~&quot;) as sundry_name&quot;) COMPUTE(NAME=&quot;case when dr_amt &gt; 0 then 1 else 2 end dr_cr&quot;) COLUMN(NAME=&quot;costctr.descr&quot;) JOIN (LEFT=&quot;gltrace.sundry_type&quot; OP =&quot;=&quot;RIGHT=&quot;sundry_type.sundry_type&quot; OUTER1 =&quot;gltrace.sundry_type&quot; ) JOIN (LEFT=&quot;gltrace.ref_ser&quot; OP =&quot;=&quot;RIGHT=&quot;refser.ref_ser&quot; OUTER1 =&quot;gltrace.ref_ser&quot; ) JOIN (LEFT=&quot;gltrace.cctr_code&quot; OP =&quot;=&quot;RIGHT=&quot;costctr.cctr_code&quot; OUTER1 =&quot;gltrace.cctr_code&quot; ) JOIN (LEFT=&quot;gltrace.acct_code&quot; OP =&quot;=&quot;RIGHT=&quot;accounts.acct_code&quot; )WHERE( EXP1 =&quot;gltrace.ref_ser&quot; OP =&quot;=&quot; EXP2 =&quot;:ref_ser&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;gltrace.ref_id&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:ref_id__fr&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;gltrace.ref_id&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ref_id__to&quot; ) ) ORDER(NAME=&quot;27&quot; ASC=yes ) ARG(NAME = &quot;ref_ser&quot; TYPE = string) ARG(NAME = &quot;ref_id__fr&quot; TYPE = string) ARG(NAME = &quot;ref_id__to&quot; TYPE = string) </retrieve>
<update>gltrace</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>ref_ser</name> <name>ref_ser</name>
<type>string</type> <type>string</type>
...@@ -952,7 +962,7 @@ ...@@ -952,7 +962,7 @@
<x>2478</x> <x>2478</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>273</width> <width>164</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -971,6 +981,62 @@ ...@@ -971,6 +981,62 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Dr Cr</text>
<border>6</border>
<color>0</color>
<x>2644</x>
<y>1</y>
<height>16</height>
<width>213</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dr_cr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Costctr Descr</text>
<border>6</border>
<color>33554432</color>
<x>2859</x>
<y>1</y>
<height>16</height>
<width>198</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>costctr_descr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1916,15 +1982,15 @@ ...@@ -1916,15 +1982,15 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>27</id> <id>26</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>2478</x> <x>2478</x>
<y>1</y> <y>2</y>
<height>15</height> <height>15</height>
<width>273</width> <width>164</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -1952,20 +2018,27 @@ ...@@ -1952,20 +2018,27 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>26</id> <id>27</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>2754</x> <x>2644</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>213</width> <width>213</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>dr_cr</name> <name>dr_cr</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>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1979,24 +2052,32 @@ ...@@ -1979,24 +2052,32 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Header</band> <band>Detail</band>
<id>28</id>
<alignment>0</alignment> <alignment>0</alignment>
<text>Dr Cr</text> <tabsequence>32766</tabsequence>
<border>6</border> <border>0</border>
<color>33554432</color> <color>0</color>
<x>2753</x> <x>2859</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>214</width> <width>198</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>dr_cr_t</name> <name>costctr_descr</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>Times New Roman</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>
...@@ -2004,9 +2085,9 @@ ...@@ -2004,9 +2085,9 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment