Commit 99b099df authored by rtiwari's avatar rtiwari

CHANGE JOIN


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94053 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2f9b04ae
...@@ -196,16 +196,9 @@ ...@@ -196,16 +196,9 @@
<name>ref_ser</name> <name>ref_ser</name>
<dbname>inv_hold.ref_ser</dbname> <dbname>inv_hold.ref_ser</dbname>
</table_column> </table_column>
<table_column> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;inv_hold&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;wf_role&quot; ) TABLE(NAME=&quot;inv_lock&quot; ) COLUMN(NAME=&quot;inv_hold.tran_id&quot;) COLUMN(NAME=&quot;inv_hold.tran_date&quot;) COLUMN(NAME=&quot;inv_hold.site_code&quot;) COLUMN(NAME=&quot;inv_hold.remarks&quot;) COLUMN(NAME=&quot;inv_hold.confirmed&quot;) COLUMN(NAME=&quot;inv_hold.conf_date&quot;) COLUMN(NAME=&quot;inv_hold.emp_code__aprv&quot;) COLUMN(NAME=&quot;inv_hold.chg_user&quot;) COLUMN(NAME=&quot;inv_hold.chg_date&quot;) COLUMN(NAME=&quot;inv_hold.chg_term&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;inv_hold.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;inv_hold.role_code&quot;) COLUMN(NAME=&quot;wf_role.descr&quot;) COLUMN(NAME=&quot;inv_hold.lock_code&quot;) COLUMN(NAME=&quot;inv_lock.descr&quot;) COLUMN(NAME=&quot;inv_hold.ref_id&quot;) COLUMN(NAME=&quot;inv_hold.ref_ser&quot;) JOIN (LEFT=&quot;inv_hold.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;inv_hold.emp_code__aprv&quot; ) JOIN (LEFT=&quot;inv_hold.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;department.dept_code&quot; OUTER1 =&quot;inv_hold.dept_code&quot; ) JOIN (LEFT=&quot;inv_hold.role_code&quot; OP =&quot;=&quot;RIGHT=&quot;wf_role.role_code&quot; OUTER1 =&quot;inv_hold.role_code&quot; ) JOIN (LEFT=&quot;inv_hold.lock_code&quot; OP =&quot;=&quot;RIGHT=&quot;inv_lock.lock_code&quot; OUTER1 =&quot;inv_hold.lock_code&quot; ) JOIN (LEFT=&quot;inv_hold.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;inv_hold.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<type size="30">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ref_no</name>
<dbname>inv_hold.ref_no</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;inv_hold&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;wf_role&quot; ) TABLE(NAME=&quot;inv_lock&quot; ) COLUMN(NAME=&quot;inv_hold.tran_id&quot;) COLUMN(NAME=&quot;inv_hold.tran_date&quot;) COLUMN(NAME=&quot;inv_hold.site_code&quot;) COLUMN(NAME=&quot;inv_hold.remarks&quot;) COLUMN(NAME=&quot;inv_hold.confirmed&quot;) COLUMN(NAME=&quot;inv_hold.conf_date&quot;) COLUMN(NAME=&quot;inv_hold.emp_code__aprv&quot;) COLUMN(NAME=&quot;inv_hold.chg_user&quot;) COLUMN(NAME=&quot;inv_hold.chg_date&quot;) COLUMN(NAME=&quot;inv_hold.chg_term&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;inv_hold.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;inv_hold.role_code&quot;) COLUMN(NAME=&quot;wf_role.descr&quot;) COLUMN(NAME=&quot;inv_hold.lock_code&quot;) COLUMN(NAME=&quot;inv_lock.descr&quot;) COLUMN(NAME=&quot;inv_hold.ref_id&quot;) COLUMN(NAME=&quot;inv_hold.ref_ser&quot;) COLUMN(NAME=&quot;inv_hold.ref_no&quot;) JOIN (LEFT=&quot;inv_hold.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;inv_hold.emp_code__aprv&quot; ) JOIN (LEFT=&quot;inv_hold.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;department.dept_code&quot; OUTER1 =&quot;inv_hold.dept_code&quot; ) JOIN (LEFT=&quot;inv_hold.role_code&quot; OP =&quot;=&quot;RIGHT=&quot;wf_role.role_code&quot; OUTER1 =&quot;inv_hold.role_code&quot; ) JOIN (LEFT=&quot;inv_hold.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; ) JOIN (LEFT=&quot;inv_hold.lock_code&quot; OP =&quot;=&quot;RIGHT=&quot;inv_lock.lock_code&quot; )WHERE( EXP1 =&quot;inv_hold.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>inv_hold</update> <update>inv_hold</update>
<updatewhere>1</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>tran_id</name> <name>tran_id</name>
...@@ -728,16 +721,53 @@ ...@@ -728,16 +721,53 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>110</x>
<y>166</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Reference ID:</text> <text>Reference ID:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>350</x> <x>357</x>
<y>166</y> <y>166</y>
<height>16</height> <height>16</height>
<width>79</width> <width>72</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1345,78 +1375,6 @@ ...@@ -1345,78 +1375,6 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>181</x>
<y>66</y>
<height>16</height>
<width>333</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</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>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>433</x>
<y>44</y>
<height>16</height>
<width>81</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>21</id> <id>21</id>
...@@ -1456,24 +1414,24 @@ ...@@ -1456,24 +1414,24 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>22</id> <id>11</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>255</color>
<x>111</x> <x>181</x>
<y>166</y> <y>66</y>
<height>16</height> <height>16</height>
<width>66</width> <width>333</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>ref_ser</name> <name>site_descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
...@@ -1486,61 +1444,32 @@ ...@@ -1486,61 +1444,32 @@
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Ref No:</text>
<border>0</border>
<color>33554432</color>
<x>185</x>
<y>166</y>
<height>15</height>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_no_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> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>23</id> <id>2</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>267</x> <x>433</x>
<y>167</y> <y>44</y>
<height>16</height> <height>16</height>
<width>66</width> <width>81</width>
<format>[general]</format> <format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>ref_no</name> <name>tran_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="editmask">
<limit>0</limit> <mask>dd/mm/yy</mask>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
......
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