Commit c94d37ce authored by ysawant's avatar ysawant

*Updated metadata and sql of emp_add_chg and emp_det_chg components[13-01-2020]

emp_add_chg11.xml
emp_add_chg21.xml
emp_det_chg11.xml
emp_det_chg21.xml
d_emp_add_chg_brow.srd
d_emp_add_chg_edit.srd
d_emp_det_chg_brow.srd
d_emp_det_chg_edit.srd


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215048 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c9330ee1
......@@ -73,7 +73,6 @@
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
<item display="Cancelled" data="X"/>
</values>
</table_column>
<table_column>
......@@ -1311,14 +1310,14 @@
<y>1</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
......@@ -1612,7 +1611,7 @@
<name>cur_city</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>20</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......@@ -1936,7 +1935,7 @@
<name>per_city</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>20</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
......
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>656</height>
<height>571</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -180,7 +180,6 @@
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
<item display="Cancelled" data="X"/>
</values>
</table_column>
<table_column>
......@@ -353,198 +352,6 @@
<color>553648127</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed On :</text>
<border>0</border>
<color>0</color>
<x>99</x>
<y>496</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>0</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>34</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>202</x>
<y>497</y>
<height>16</height>
<width>74</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed By :</text>
<border>0</border>
<color>0</color>
<x>290</x>
<y>496</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>0</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>35</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>365</x>
<y>496</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed From :</text>
<border>0</border>
<color>0</color>
<x>457</x>
<y>496</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>0</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>36</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>544</x>
<y>497</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -1459,7 +1266,7 @@
<visible>1</visible>
<EditStyle style="edit">
<limit>20</limit>
<case>upper</case>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -2544,6 +2351,198 @@
<color>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>36</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>522</x>
<y>497</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed From :</text>
<border>0</border>
<color>0</color>
<x>435</x>
<y>497</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>0</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>35</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>343</x>
<y>497</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed By :</text>
<border>0</border>
<color>0</color>
<x>268</x>
<y>497</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>0</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>34</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>180</x>
<y>497</y>
<height>16</height>
<width>74</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed On :</text>
<border>0</border>
<color>0</color>
<x>77</x>
<y>497</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>0</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -133,7 +133,7 @@
<dbname>employee_det_change.trans_mode</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee_det_change&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee_det_change.emp_code&quot;) COLUMN(NAME=&quot;employee_det_change.status&quot;) COLUMN(NAME=&quot;employee_det_change.conf_date&quot;) COLUMN(NAME=&quot;employee_det_change.emp_code__aprv&quot;) COLUMN(NAME=&quot;employee_det_change.tran_id&quot;) COMPUTE(NAME=&quot;CASE WHEN EMPLOYEE.EMP_FNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_FNAME_LONG ELSE EMPLOYEE.EMP_FNAME END AS EMP_FNAME&quot;) COMPUTE(NAME=&quot;CASE WHEN EMPLOYEE.EMP_MNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_MNAME_LONG ELSE EMPLOYEE.EMP_MNAME END AS EMP_MNAME&quot;) COMPUTE(NAME=&quot;CASE WHEN EMPLOYEE.EMP_LNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_LNAME_LONG ELSE EMPLOYEE.EMP_LNAME END AS EMP_LNAME&quot;) COLUMN(NAME=&quot;employee.emp_site&quot;) COLUMN(NAME=&quot;employee.work_site&quot;) COLUMN(NAME=&quot;employee.pay_site&quot;) COLUMN(NAME=&quot;employee_det_change.trans_mode&quot;) JOIN (LEFT=&quot;employee_det_change.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;EMPLOYEE_DET_CHANGE.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:tran_date__fr&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;EMPLOYEE_DET_CHANGE.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:tran_date__to&quot; ) ) ARG(NAME = &quot;tran_date__fr&quot; TYPE = datetime) ARG(NAME = &quot;tran_date__to&quot; TYPE = datetime) </retrieve>
<update>employee_det_change</update>
<update>EMPLOYEE_DET_CHANGE</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......
......@@ -18,7 +18,7 @@ table(column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbnam
column=(type=char(5) updatewhereclause=yes name=work_site dbname="employee.work_site" )
column=(type=char(5) updatewhereclause=yes name=pay_site dbname="employee.pay_site" )
column=(type=char(1) update=yes updatewhereclause=yes name=trans_mode dbname="employee_det_change.trans_mode" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_det_change~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_det_change.emp_code~") COLUMN(NAME=~"employee_det_change.status~") COLUMN(NAME=~"employee_det_change.conf_date~") COLUMN(NAME=~"employee_det_change.emp_code__aprv~") COLUMN(NAME=~"employee_det_change.tran_id~") COMPUTE(NAME=~"CASE WHEN EMPLOYEE.EMP_FNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_FNAME_LONG ELSE EMPLOYEE.EMP_FNAME END AS EMP_FNAME~") COMPUTE(NAME=~"CASE WHEN EMPLOYEE.EMP_MNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_MNAME_LONG ELSE EMPLOYEE.EMP_MNAME END AS EMP_MNAME~") COMPUTE(NAME=~"CASE WHEN EMPLOYEE.EMP_LNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_LNAME_LONG ELSE EMPLOYEE.EMP_LNAME END AS EMP_LNAME~") COLUMN(NAME=~"employee.emp_site~") COLUMN(NAME=~"employee.work_site~") COLUMN(NAME=~"employee.pay_site~") COLUMN(NAME=~"employee_det_change.trans_mode~") JOIN (LEFT=~"employee_det_change.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"EMPLOYEE_DET_CHANGE.TRAN_DATE~" OP =~">=~" EXP2 =~":tran_date__fr~" LOGIC =~"and~" ) WHERE( EXP1 =~"EMPLOYEE_DET_CHANGE.TRAN_DATE~" OP =~"<=~" EXP2 =~":tran_date__to~" ) ) ARG(NAME = ~"tran_date__fr~" TYPE = datetime) ARG(NAME = ~"tran_date__to~" TYPE = datetime) " update="employee_det_change" updatewhere=0 updatekeyinplace=no arguments=(("tran_date__fr", datetime),("tran_date__to", datetime)) )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee_det_change~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee_det_change.emp_code~") COLUMN(NAME=~"employee_det_change.status~") COLUMN(NAME=~"employee_det_change.conf_date~") COLUMN(NAME=~"employee_det_change.emp_code__aprv~") COLUMN(NAME=~"employee_det_change.tran_id~") COMPUTE(NAME=~"CASE WHEN EMPLOYEE.EMP_FNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_FNAME_LONG ELSE EMPLOYEE.EMP_FNAME END AS EMP_FNAME~") COMPUTE(NAME=~"CASE WHEN EMPLOYEE.EMP_MNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_MNAME_LONG ELSE EMPLOYEE.EMP_MNAME END AS EMP_MNAME~") COMPUTE(NAME=~"CASE WHEN EMPLOYEE.EMP_LNAME_LONG IS NOT NULL THEN EMPLOYEE.EMP_LNAME_LONG ELSE EMPLOYEE.EMP_LNAME END AS EMP_LNAME~") COLUMN(NAME=~"employee.emp_site~") COLUMN(NAME=~"employee.work_site~") COLUMN(NAME=~"employee.pay_site~") COLUMN(NAME=~"employee_det_change.trans_mode~") JOIN (LEFT=~"employee_det_change.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"EMPLOYEE_DET_CHANGE.TRAN_DATE~" OP =~">=~" EXP2 =~":tran_date__fr~" LOGIC =~"and~" ) WHERE( EXP1 =~"EMPLOYEE_DET_CHANGE.TRAN_DATE~" OP =~"<=~" EXP2 =~":tran_date__to~" ) ) ARG(NAME = ~"tran_date__fr~" TYPE = datetime) ARG(NAME = ~"tran_date__to~" TYPE = datetime) " update="EMPLOYEE_DET_CHANGE" updatewhere=0 updatekeyinplace=no arguments=(("tran_date__fr", datetime),("tran_date__to", datetime)) )
text(band=header alignment="0" text="Employee Code" border="6" color="0" x="2" y="3" height="16" width="90" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="0" text="First Name" border="6" color="0" x="94" y="3" height="16" width="141" html.valueishtml="0" name=emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="0" text="Middle Name" border="6" color="0" x="237" y="3" height="16" width="141" html.valueishtml="0" name=emp_mname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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