Commit cdcbf8ac authored by sanashaikh's avatar sanashaikh

Sana S: Modifed on 12/03/20

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217779 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1642bcd3
...@@ -213,17 +213,6 @@ ...@@ -213,17 +213,6 @@
<name>site_descr</name> <name>site_descr</name>
<dbname>site.site_descr</dbname> <dbname>site.site_descr</dbname>
</table_column> </table_column>
<table_column>
<type size="21">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>hr_action</name>
<dbname>hr_action</dbname>
<values>
<item display="Approve" data="A"/>
<item display="Reject" data="R"/>
<item display="Pending" data="P"/>
</values>
</table_column>
<table_column> <table_column>
<type size="4000">char</type> <type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
...@@ -260,8 +249,20 @@ ...@@ -260,8 +249,20 @@
<name>ha_tip</name> <name>ha_tip</name>
<dbname>ha_tip</dbname> <dbname>ha_tip</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;pay_stru_chg_req_hdr&quot; ) TABLE(NAME=&quot;allwdedn&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.cancel_remarks&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.wf_status&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.req_status&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.status_date&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code__auth1&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code__auth2&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code__auth3&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;employee.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.ad_alloc_group&quot;) COLUMN(NAME=&quot;allwdedn.descr&quot;) COLUMN(NAME=&quot;employee.designation&quot;) COLUMN(NAME=&quot;employee.design_code&quot;) COLUMN(NAME=&quot;employee.pay_site&quot;) COMPUTE(NAME=&quot;SITE.DESCR as site_descr&quot;) COMPUTE(NAME=&quot;case when pay_stru_chg_req_hdr.wf_status &lt;&gt; &apos;S&apos; then &apos;Not Applicable&apos; when pay_stru_chg_req_hdr.req_status = &apos;A&apos; then &apos;Approved&apos; when pay_stru_chg_req_hdr.req_status = &apos;C&apos; and pay_stru_chg_req_hdr.wf_status = &apos;R&apos; then &apos;Rejected&apos; when pay_stru_chg_req_hdr.req_status = &apos;C&apos; then &apos;Cancelled by Employee&apos; else &apos;P&apos; end as hr_action&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code__aprv,&apos;FML1&apos;) as emp_code__aprv__name&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code__auth1,&apos;FML1&apos;) as emp_code__auth1__name&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code__auth2,&apos;FML1&apos;) as emp_code__auth2__name&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code__auth3,&apos;FML1&apos;) as emp_code__auth3__name&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code,&apos;FML1&apos;) as emp_name&quot;) COMPUTE(NAME=&quot;DDF_GET_HA_TIP(PAY_STRU_CHG_REQ_HDR.emp_code, PAY_STRU_CHG_REQ_HDR.ad_alloc_group) as ha_tip&quot;) JOIN (LEFT=&quot;pay_stru_chg_req_hdr.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; ) JOIN (LEFT=&quot;employee.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;department.dept_code&quot; ) JOIN (LEFT=&quot;pay_stru_chg_req_hdr.ad_alloc_group&quot; OP =&quot;=&quot;RIGHT=&quot;allwdedn.ad_code&quot; ) JOIN (LEFT=&quot;employee.pay_site&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;PAY_STRU_CHG_REQ_HDR.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve> <table_column>
<update>PAY_STRU_CHG_REQ_HDR</update> <type size="21">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>hr_action</name>
<dbname>hr_action</dbname>
<values>
<item display="Approve" data="A"/>
<item display="Reject" data="R"/>
<item display="Pending" data="P"/>
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;pay_stru_chg_req_hdr&quot; ) TABLE(NAME=&quot;allwdedn&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.cancel_remarks&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.wf_status&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.req_status&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.status_date&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code__auth1&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code__auth2&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.emp_code__auth3&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;employee.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;pay_stru_chg_req_hdr.ad_alloc_group&quot;) COLUMN(NAME=&quot;allwdedn.descr&quot;) COLUMN(NAME=&quot;employee.designation&quot;) COLUMN(NAME=&quot;employee.design_code&quot;) COLUMN(NAME=&quot;employee.pay_site&quot;) COMPUTE(NAME=&quot;SITE.DESCR as site_descr&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code__aprv,&apos;FML1&apos;) as emp_code__aprv__name&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code__auth1,&apos;FML1&apos;) as emp_code__auth1__name&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code__auth2,&apos;FML1&apos;) as emp_code__auth2__name&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code__auth3,&apos;FML1&apos;) as emp_code__auth3__name&quot;) COMPUTE(NAME=&quot;fn_get_emp_name(PAY_STRU_CHG_REQ_HDR.emp_code,&apos;FML1&apos;) as emp_name&quot;) COMPUTE(NAME=&quot;DDF_GET_HA_TIP(PAY_STRU_CHG_REQ_HDR.emp_code, PAY_STRU_CHG_REQ_HDR.ad_alloc_group) as ha_tip&quot;) COMPUTE(NAME=&quot;case when pay_stru_chg_req_hdr.req_status = &apos;C&apos; and pay_stru_chg_req_hdr.wf_status = &apos;R&apos; then &apos;Rejected&apos; when pay_stru_chg_req_hdr.req_status = &apos;A&apos; then &apos;Approved&apos; when pay_stru_chg_req_hdr.req_status = &apos;C&apos; then &apos;Cancelled by Employee&apos; when pay_stru_chg_req_hdr.wf_status &lt;&gt; &apos;S&apos; then &apos;Not Applicable&apos; else &apos;P&apos; end as hr_action
&quot;) JOIN (LEFT=&quot;pay_stru_chg_req_hdr.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; ) JOIN (LEFT=&quot;employee.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;department.dept_code&quot; ) JOIN (LEFT=&quot;pay_stru_chg_req_hdr.ad_alloc_group&quot; OP =&quot;=&quot;RIGHT=&quot;allwdedn.ad_code&quot; ) JOIN (LEFT=&quot;employee.pay_site&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;PAY_STRU_CHG_REQ_HDR.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>pay_stru_chg_req_hdr</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
...@@ -824,7 +825,7 @@ ...@@ -824,7 +825,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>32</id> <id>31</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
...@@ -961,7 +962,7 @@ ...@@ -961,7 +962,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>33</id> <id>32</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
...@@ -1094,7 +1095,7 @@ ...@@ -1094,7 +1095,7 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>27</id> <id>33</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
...@@ -1550,7 +1551,7 @@ ...@@ -1550,7 +1551,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>28</id> <id>27</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
...@@ -1586,7 +1587,7 @@ ...@@ -1586,7 +1587,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>29</id> <id>28</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
...@@ -1622,7 +1623,7 @@ ...@@ -1622,7 +1623,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>30</id> <id>29</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
...@@ -1658,7 +1659,7 @@ ...@@ -1658,7 +1659,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>31</id> <id>30</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
......
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