DBA Data[Home] [Help]

APPS.PAY_US_TAX_INTERNAL dependencies on PAY_US_EMP_STATE_TAX_RULES_F

Line 119: from pay_us_emp_state_tax_rules_f sta

115: cursor csr_future_state_rule( p_state_code number,
116: p_assignment_id number,
117: l_csr_date date default hr_api.g_sot) is
118: select null
119: from pay_us_emp_state_tax_rules_f sta
120: where sta.assignment_id = p_assignment_id
121: and sta.state_code = p_state_code
122: and sta.effective_start_date > l_csr_date;
123: --

Line 2428: l_state_code pay_us_emp_state_tax_rules_f.state_code%TYPE;

2424: -- Declare cursors and local variables
2425: --
2426: l_proc varchar2(72) := g_package||'delete_fed_tax_rule';
2427: l_effective_date date;
2428: l_state_code pay_us_emp_state_tax_rules_f.state_code%TYPE;
2429: l_emp_fed_tax_rule_id pay_us_emp_fed_tax_rules_f.emp_fed_tax_rule_id%TYPE;
2430: l_effective_start_date pay_us_emp_fed_tax_rules_f.effective_start_date%TYPE;
2431: l_effective_end_date pay_us_emp_fed_tax_rules_f.effective_end_date%TYPE;
2432: l_object_version_number pay_us_emp_fed_tax_rules_f.object_version_number%TYPE;

Line 2448: from pay_us_emp_state_tax_rules_f sta

2444: and fed.effective_end_date;
2445: --
2446: cursor csr_state_rules is
2447: select sta.state_code, sta.object_version_number
2448: from pay_us_emp_state_tax_rules_f sta
2449: where sta.assignment_id = p_assignment_id
2450: and l_effective_date between sta.effective_start_date
2451: and sta.effective_end_date;
2452: --

Line 3976: from pay_us_emp_state_tax_rules_f

3972: ,sta_information27
3973: ,sta_information28
3974: ,sta_information29
3975: ,sta_information30
3976: from pay_us_emp_state_tax_rules_f
3977: where assignment_id = l_csr_assignment_id
3978: and effective_end_date >= l_csr_start_date
3979: and effective_start_date <= l_csr_end_date;
3980: --

Line 4164: from pay_us_emp_state_tax_rules_f sta

4160: and effective_start_date <= l_csr_end_date;
4161: --
4162: cursor csr_asg_state_code is
4163: select sta.state_code
4164: from pay_us_emp_state_tax_rules_f sta
4165: where sta.assignment_id = p_assignment_id;
4166: --
4167: cursor csr_asg_county_code is
4168: select cnt.state_code, cnt.county_code

Line 5241: l_state_code pay_us_emp_state_tax_rules_f.state_code%TYPE;

5237: l_loc_city_code pay_us_city_names.city_code%TYPE;
5238: l_loc_ovrd_state_code pay_us_states.state_code%TYPE;
5239: l_loc_ovrd_county_code pay_us_counties.county_code%TYPE;
5240: l_loc_ovrd_city_code pay_us_city_names.city_code%TYPE;
5241: l_state_code pay_us_emp_state_tax_rules_f.state_code%TYPE;
5242: l_county_code pay_us_emp_county_tax_rules_f.county_code%TYPE;
5243: l_city_code pay_us_emp_city_tax_rules_f.city_code%TYPE;
5244: l_city_pct number;
5245: --

Line 5587: from pay_us_emp_state_tax_rules_f

5583: ,sta_information27
5584: ,sta_information28
5585: ,sta_information29
5586: ,sta_information30
5587: from pay_us_emp_state_tax_rules_f
5588: where assignment_id = l_csr_assignment_id
5589: and l_csr_effective_date between effective_start_date
5590: and effective_end_date;
5591: --

Line 5801: update pay_us_emp_state_tax_rules_f

5797: --
5798: for l_state_rec in csr_state_rec(p_assignment_id, p_defaulting_date)
5799: loop
5800: --
5801: update pay_us_emp_state_tax_rules_f
5802: set effective_start_date = p_new_default_date
5803: where effective_start_date = p_defaulting_date
5804: and assignment_id = p_assignment_id
5805: and state_code = l_state_rec.state_code;

Line 6155: delete from pay_us_emp_state_tax_rules_f

6151: );
6152: --
6153: end loop; -- l_state_rec
6154: --
6155: delete from pay_us_emp_state_tax_rules_f
6156: where assignment_id = p_assignment_id
6157: and effective_start_date < p_new_default_date;
6158: --
6159: for l_county_rec in csr_county_rec(p_assignment_id, p_new_default_date)

Line 6584: update pay_us_emp_state_tax_rules_f

6580: --
6581: for l_state_rec in csr_state_rec(p_assignment_id, l_defaulting_date)
6582: loop
6583: --
6584: update pay_us_emp_state_tax_rules_f
6585: set effective_start_date = l_new_default_date
6586: where effective_start_date = l_defaulting_date
6587: and assignment_id = p_assignment_id
6588: and state_code = l_state_rec.state_code;

Line 6962: update pay_us_emp_state_tax_rules_f

6958: --
6959: for l_state_rec in csr_state_rec(p_assignment_id, l_defaulting_date)
6960: loop
6961: --
6962: update pay_us_emp_state_tax_rules_f
6963: set effective_start_date = l_new_default_date
6964: where effective_start_date = l_defaulting_date
6965: and assignment_id = p_assignment_id
6966: and state_code = l_state_rec.state_code;