|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: |
ACCEPT SAL_PR_PD_END_DATE PROMPT 'Enter SALARIED PR Period End Date as YYYY/MM/DD:';
ACCEPT CO_ID PROMPT 'Enter Company to Process - IMPR, NORM, or NRSH:';
SELECT p.emp_id, l.ded_num, d.descr,f.ss_num, f.ou_id, SUM(NVL( l.amt, 0 )),
p.gross_pay, e.pct, f.last_name, f.first_name, f.middle_initial
FROM lab_tran l, deduction d, pr_chk_hist p, emp_ded e, employee f
WHERE (f.alpha_6 = '&CO_ID' OR f.alpha_6 = '&&CO_ID' OR f.alpha_6 = '&&&CO_ID')
AND (l.ded_num = '553' OR IF(IS NOT NULL(e.pct),l.ded_num = '567'))
AND l.ded_num = d.ded_num
AND l.pr_chk_sa_num = p.pr_chk_sa_num
AND ((p.pay_group_num IN ('200','250','325', '600', '750')
AND p.prd_end_date = to_char(to_date('&SAL_PR_PD_END_DATE','YYYY/MM/DD')-7,'YYYY/MM/DD'))
OR (p.prd_end_date = '&&sal_pr_pd_end_date'
AND p.pay_group_num IN ('100', '300', '400', '600', '700')))
AND ((p.emp_id = e.emp_id AND e.ded_num = '553') OR (p.emp_id = e.emp_id AND e.ded_num = '567'))
AND f.emp_id = p.emp_id GROUP BY p.emp_id,f.ss_num, f.ou_id, l.ded_num, d.descr, p.gross_pay,
e.pct, f.last_name, f.first_name, f.middle_initial
HAVING SUM(NVL( l.amt, 0 )) <> 0
ORDER BY p.emp_id
|
Advertisement
| Hall of Fame |