DBA Data[Home] [Help]

APPS.PQH_PSF_BUS dependencies on HR_ALL_POSITIONS_F

Line 670: from hr_all_positions_f

666: and abv.effective_end_date between p_validation_start_date and p_validation_end_date
667: and asg.effective_end_date between p_validation_start_date and p_validation_end_date
668: union
669: select effective_start_date, business_group_id
670: from hr_all_positions_f
671: where position_id = p_position_id
672: and effective_start_date between p_validation_start_date and p_validation_end_date;
673: --
674: cursor c_position_id(p_assignment_id number, p_effective_date date) is

Line 682: from hr_all_positions_f

678: and p_effective_date between effective_start_date and effective_end_date;
679: --
680: cursor c_position_fte(p_position_id number, p_date date) is
681: select overlap_period, fte, organization_id
682: from hr_all_positions_f
683: where position_id = p_position_id
684: and p_date between effective_start_date and effective_end_date;
685: --
686: begin

Line 777: l_position_id hr_all_positions_f.position_id%type;

773: p_value number,
774: p_unit varchar2,
775: p_effective_date date) is
776: l_proc varchar2(100) := 'per_abv_insert_validate';
777: l_position_id hr_all_positions_f.position_id%type;
778: l_fte hr_all_positions_f.fte%type;
779: l_max_persons hr_all_positions_f.max_persons%type;
780: l_position_type hr_all_positions_f.position_type%type;
781: l_organization_id number;

Line 778: l_fte hr_all_positions_f.fte%type;

774: p_unit varchar2,
775: p_effective_date date) is
776: l_proc varchar2(100) := 'per_abv_insert_validate';
777: l_position_id hr_all_positions_f.position_id%type;
778: l_fte hr_all_positions_f.fte%type;
779: l_max_persons hr_all_positions_f.max_persons%type;
780: l_position_type hr_all_positions_f.position_type%type;
781: l_organization_id number;
782: l_sum_abv number:=0;

Line 779: l_max_persons hr_all_positions_f.max_persons%type;

775: p_effective_date date) is
776: l_proc varchar2(100) := 'per_abv_insert_validate';
777: l_position_id hr_all_positions_f.position_id%type;
778: l_fte hr_all_positions_f.fte%type;
779: l_max_persons hr_all_positions_f.max_persons%type;
780: l_position_type hr_all_positions_f.position_type%type;
781: l_organization_id number;
782: l_sum_abv number:=0;
783: l_pos_budget_fte number:=0;

Line 780: l_position_type hr_all_positions_f.position_type%type;

776: l_proc varchar2(100) := 'per_abv_insert_validate';
777: l_position_id hr_all_positions_f.position_id%type;
778: l_fte hr_all_positions_f.fte%type;
779: l_max_persons hr_all_positions_f.max_persons%type;
780: l_position_type hr_all_positions_f.position_type%type;
781: l_organization_id number;
782: l_sum_abv number:=0;
783: l_pos_budget_fte number:=0;
784: l_person_id number;

Line 802: from hr_all_positions_f psf

798: and p_effective_date between paf.effective_start_date and paf.effective_end_date;
799:
800: cursor c_positions is
801: select position_id, fte, max_persons, position_type, organization_id, overlap_period
802: from hr_all_positions_f psf
803: where position_id =
804: (select position_id
805: from per_all_assignments_f paf
806: where paf.assignment_id = p_assignment_id

Line 937: l_position_id hr_all_positions_f.position_id%type;

933: p_validation_start_date date,
934: p_validation_end_date date,
935: p_datetrack_mode varchar2) is
936: l_proc varchar2(100) := 'per_abv_update_validate';
937: l_position_id hr_all_positions_f.position_id%type;
938: l_fte hr_all_positions_f.fte%type;
939: l_max_persons hr_all_positions_f.max_persons%type;
940: l_position_type hr_all_positions_f.position_type%type;
941: l_organization_id number;

Line 938: l_fte hr_all_positions_f.fte%type;

934: p_validation_end_date date,
935: p_datetrack_mode varchar2) is
936: l_proc varchar2(100) := 'per_abv_update_validate';
937: l_position_id hr_all_positions_f.position_id%type;
938: l_fte hr_all_positions_f.fte%type;
939: l_max_persons hr_all_positions_f.max_persons%type;
940: l_position_type hr_all_positions_f.position_type%type;
941: l_organization_id number;
942: l_sum_abv number;

Line 939: l_max_persons hr_all_positions_f.max_persons%type;

935: p_datetrack_mode varchar2) is
936: l_proc varchar2(100) := 'per_abv_update_validate';
937: l_position_id hr_all_positions_f.position_id%type;
938: l_fte hr_all_positions_f.fte%type;
939: l_max_persons hr_all_positions_f.max_persons%type;
940: l_position_type hr_all_positions_f.position_type%type;
941: l_organization_id number;
942: l_sum_abv number;
943: l_pos_budget_fte number;

Line 940: l_position_type hr_all_positions_f.position_type%type;

936: l_proc varchar2(100) := 'per_abv_update_validate';
937: l_position_id hr_all_positions_f.position_id%type;
938: l_fte hr_all_positions_f.fte%type;
939: l_max_persons hr_all_positions_f.max_persons%type;
940: l_position_type hr_all_positions_f.position_type%type;
941: l_organization_id number;
942: l_sum_abv number;
943: l_pos_budget_fte number;
944: l_person_id number;

Line 964: from hr_all_positions_f psf

960: and p_effective_date between paf.effective_start_date and paf.effective_end_date;
961: --
962: cursor c_positions(p_effective_date date) is
963: select position_id, fte, max_persons, position_type, organization_id, overlap_period
964: from hr_all_positions_f psf
965: where position_id =
966: (select position_id
967: from per_all_assignments_f paf
968: where paf.assignment_id = p_assignment_id

Line 1394: from hr_all_positions_f

1390: l_funded_status varchar2(30);
1391:
1392: cursor c_positions is
1393: select availability_status_id, business_group_id, position_type, date_effective
1394: from hr_all_positions_f
1395: where position_id = p_position_id
1396: and p_effective_date between effective_start_date and effective_end_date;
1397: begin
1398: l_open_status := 'OPEN';

Line 1588: select position_type, FTE from hr_all_positions_f

1584: l_assignment_id number(15);
1585: l_sum_asg_fte number;
1586: --
1587: CURSOR C1 IS
1588: select position_type, FTE from hr_all_positions_f
1589: where position_id = p_position_id
1590: and p_effective_date
1591: between effective_start_date and effective_end_date;
1592:

Line 1765: from hr_all_positions_f

1761: order by 1,2 desc;
1762:
1763: cursor c_position_type is
1764: select position_type
1765: from hr_all_positions_f
1766: where position_id = p_position_id;
1767:
1768: cursor c3(lp_effective_end_date date) is
1769: select

Line 1800: l_position_type hr_all_positions_f.position_type%type;

1796: l_ol_effective_start_date date;
1797: l_ol_effective_end_date date;
1798:
1799: l_asg_number per_all_assignments_f.assignment_number%type;
1800: l_position_type hr_all_positions_f.position_type%type;
1801: l_asg_effective_start_date date;
1802: l_asg_effective_end_date date;
1803: -- End changes for bug 10220040
1804:

Line 2111: from hr_all_positions_f

2107: function proposed_date_for_layoff(p_position_id number) return date is
2108: l_proposed_date_for_layoff date;
2109: cursor c1 is
2110: select proposed_date_for_layoff
2111: from hr_all_positions_f
2112: where position_id = p_position_id;
2113: begin
2114: open c1;
2115: fetch c1 into l_proposed_date_for_layoff;

Line 2172: function chk_work_pay_term_dates(p_work_period_type_cd hr_all_positions_f.work_period_type_cd%type

2168: close c1;
2169: return(l_work_period_type_cd);
2170: end ;
2171: --
2172: function chk_work_pay_term_dates(p_work_period_type_cd hr_all_positions_f.work_period_type_cd%type
2173: ,p_work_term_end_day_cd hr_all_positions_f.work_term_end_day_cd%type
2174: ,p_work_term_end_month_cd hr_all_positions_f.work_term_end_month_cd%type
2175: ,p_pay_term_end_day_cd hr_all_positions_f.pay_term_end_day_cd%type
2176: ,p_pay_term_end_month_cd hr_all_positions_f.pay_term_end_month_cd%type

Line 2173: ,p_work_term_end_day_cd hr_all_positions_f.work_term_end_day_cd%type

2169: return(l_work_period_type_cd);
2170: end ;
2171: --
2172: function chk_work_pay_term_dates(p_work_period_type_cd hr_all_positions_f.work_period_type_cd%type
2173: ,p_work_term_end_day_cd hr_all_positions_f.work_term_end_day_cd%type
2174: ,p_work_term_end_month_cd hr_all_positions_f.work_term_end_month_cd%type
2175: ,p_pay_term_end_day_cd hr_all_positions_f.pay_term_end_day_cd%type
2176: ,p_pay_term_end_month_cd hr_all_positions_f.pay_term_end_month_cd%type
2177: ,p_term_start_day_cd hr_all_positions_f.term_start_day_cd%type

Line 2174: ,p_work_term_end_month_cd hr_all_positions_f.work_term_end_month_cd%type

2170: end ;
2171: --
2172: function chk_work_pay_term_dates(p_work_period_type_cd hr_all_positions_f.work_period_type_cd%type
2173: ,p_work_term_end_day_cd hr_all_positions_f.work_term_end_day_cd%type
2174: ,p_work_term_end_month_cd hr_all_positions_f.work_term_end_month_cd%type
2175: ,p_pay_term_end_day_cd hr_all_positions_f.pay_term_end_day_cd%type
2176: ,p_pay_term_end_month_cd hr_all_positions_f.pay_term_end_month_cd%type
2177: ,p_term_start_day_cd hr_all_positions_f.term_start_day_cd%type
2178: ,p_term_start_month_cd hr_all_positions_f.term_start_month_cd%type

Line 2175: ,p_pay_term_end_day_cd hr_all_positions_f.pay_term_end_day_cd%type

2171: --
2172: function chk_work_pay_term_dates(p_work_period_type_cd hr_all_positions_f.work_period_type_cd%type
2173: ,p_work_term_end_day_cd hr_all_positions_f.work_term_end_day_cd%type
2174: ,p_work_term_end_month_cd hr_all_positions_f.work_term_end_month_cd%type
2175: ,p_pay_term_end_day_cd hr_all_positions_f.pay_term_end_day_cd%type
2176: ,p_pay_term_end_month_cd hr_all_positions_f.pay_term_end_month_cd%type
2177: ,p_term_start_day_cd hr_all_positions_f.term_start_day_cd%type
2178: ,p_term_start_month_cd hr_all_positions_f.term_start_month_cd%type
2179: ) return boolean is

Line 2176: ,p_pay_term_end_month_cd hr_all_positions_f.pay_term_end_month_cd%type

2172: function chk_work_pay_term_dates(p_work_period_type_cd hr_all_positions_f.work_period_type_cd%type
2173: ,p_work_term_end_day_cd hr_all_positions_f.work_term_end_day_cd%type
2174: ,p_work_term_end_month_cd hr_all_positions_f.work_term_end_month_cd%type
2175: ,p_pay_term_end_day_cd hr_all_positions_f.pay_term_end_day_cd%type
2176: ,p_pay_term_end_month_cd hr_all_positions_f.pay_term_end_month_cd%type
2177: ,p_term_start_day_cd hr_all_positions_f.term_start_day_cd%type
2178: ,p_term_start_month_cd hr_all_positions_f.term_start_month_cd%type
2179: ) return boolean is
2180: begin

Line 2177: ,p_term_start_day_cd hr_all_positions_f.term_start_day_cd%type

2173: ,p_work_term_end_day_cd hr_all_positions_f.work_term_end_day_cd%type
2174: ,p_work_term_end_month_cd hr_all_positions_f.work_term_end_month_cd%type
2175: ,p_pay_term_end_day_cd hr_all_positions_f.pay_term_end_day_cd%type
2176: ,p_pay_term_end_month_cd hr_all_positions_f.pay_term_end_month_cd%type
2177: ,p_term_start_day_cd hr_all_positions_f.term_start_day_cd%type
2178: ,p_term_start_month_cd hr_all_positions_f.term_start_month_cd%type
2179: ) return boolean is
2180: begin
2181: if (p_work_period_type_cd = 'Y') then

Line 2178: ,p_term_start_month_cd hr_all_positions_f.term_start_month_cd%type

2174: ,p_work_term_end_month_cd hr_all_positions_f.work_term_end_month_cd%type
2175: ,p_pay_term_end_day_cd hr_all_positions_f.pay_term_end_day_cd%type
2176: ,p_pay_term_end_month_cd hr_all_positions_f.pay_term_end_month_cd%type
2177: ,p_term_start_day_cd hr_all_positions_f.term_start_day_cd%type
2178: ,p_term_start_month_cd hr_all_positions_f.term_start_month_cd%type
2179: ) return boolean is
2180: begin
2181: if (p_work_period_type_cd = 'Y') then
2182: return(true);

Line 2303: from hr_all_positions_f

2299: l_business_group_id number;
2300: --
2301: cursor c_bus_grp_id(p_position_id number) is
2302: select business_group_id
2303: from hr_all_positions_f
2304: where position_id = p_position_id;
2305: --
2306: cursor c1(p_unit_id number) is select system_type_cd from
2307: per_shared_types where shared_type_id = p_unit_id;

Line 3090: from hr_all_positions_f

3086: l_business_group_id number;
3087: --
3088: cursor c_bus_grp_id(p_position_id number) is
3089: select business_group_id
3090: from hr_all_positions_f
3091: where position_id = p_position_id;
3092: --
3093: cursor c1(p_unit_id number) is select system_type_cd from
3094: per_shared_types where shared_type_id = p_unit_id;

Line 3183: from hr_all_positions_f

3179: l_business_group_id number;
3180: --
3181: cursor c_bus_grp_id(p_position_id number) is
3182: select business_group_id
3183: from hr_all_positions_f
3184: where position_id = p_position_id;
3185: --
3186: cursor c1(p_unit_id number) is select system_type_cd from
3187: per_shared_types where shared_type_id = p_unit_id;

Line 3571: from hr_all_positions_f

3567: function position_fte(p_position_id number, p_effective_date date) return number is
3568: l_fte number;
3569: cursor c1(p_position_id number, p_effective_date date) is
3570: select fte
3571: from hr_all_positions_f
3572: where position_id = p_position_id
3573: and p_effective_date between effective_start_date and effective_end_date;
3574: begin
3575: open c1(p_position_id, p_effective_date);

Line 3652: from hr_all_positions_f psf

3648: and asg.effective_start_date between
3649: p_start_date and nvl(p_end_date, hr_general.end_of_time)
3650: union
3651: select effective_start_date effective_date
3652: from hr_all_positions_f psf
3653: where position_id = p_position_id
3654: and psf.effective_start_date between
3655: p_start_date and nvl(p_end_date, hr_general.end_of_time)
3656: union

Line 3665: from hr_all_positions_f

3661: from dual;
3662: --
3663: cursor c2(p_position_id number) is
3664: select business_group_id
3665: from hr_all_positions_f
3666: where position_id = p_position_id;
3667: --
3668: begin
3669: --

Line 3769: from hr_all_positions_f

3765: l_business_group_id number;
3766: --
3767: cursor c_pos_fte(p_position_id number, p_effective_date date) is
3768: select position_type, overlap_period, business_group_id
3769: from hr_all_positions_f
3770: where position_id = p_position_id
3771: and p_effective_date between effective_start_date and effective_end_date;
3772: ----
3773: /*** index hint added in the select statement of the inner

Line 3934: from hr_all_positions_f

3930: and abv.effective_start_date between asg.effective_start_date and asg.effective_end_date
3931: and asg.effective_start_date between p_validation_start_date and p_validation_end_date
3932: union
3933: select effective_start_date
3934: from hr_all_positions_f
3935: where position_id = p_position_id
3936: and effective_start_date between p_validation_start_date and p_validation_end_date;
3937: --
3938: cursor c2(p_position_id number, p_validation_start_date date, p_validation_end_date date) is

Line 3961: from hr_all_positions_f

3957: and information_type = 'PER_RESERVED')
3958: where effective_start_date >= p_validation_start_date
3959: union
3960: select effective_start_date
3961: from hr_all_positions_f
3962: where position_id = p_position_id
3963: and effective_start_date between p_validation_start_date and p_validation_end_date;
3964: --
3965: begin

Line 4061: from hr_all_positions_f

4057: l_business_group_id number;
4058: --
4059: cursor c_pos_fte(p_position_id number, p_effective_date date) is
4060: select position_type, fte, organization_id, overlap_period, business_group_id
4061: from hr_all_positions_f
4062: where position_id = p_position_id
4063: and p_effective_date between effective_start_date and effective_end_date;
4064: --
4065: begin

Line 4207: from hr_all_positions_f

4203: and abv.effective_start_date between asg.effective_start_date and asg.effective_end_date
4204: and asg.effective_start_date between p_validation_start_date and p_validation_end_date
4205: union
4206: select effective_start_date
4207: from hr_all_positions_f
4208: where position_id = p_position_id
4209: and effective_start_date between p_validation_start_date and p_validation_end_date;
4210: --
4211: cursor c2(p_position_id number, p_validation_start_date date, p_validation_end_date date) is

Line 4228: from hr_all_positions_f

4224: and asg.effective_start_date between p_validation_start_date and p_validation_end_date
4225: and asg.business_group_id = abv.business_group_id
4226: union
4227: select effective_start_date
4228: from hr_all_positions_f
4229: where position_id = p_position_id
4230: and effective_start_date between p_validation_start_date and p_validation_end_date;
4231: --
4232: begin

Line 4443: from hr_all_positions_f

4439: l_business_group_id number;
4440: --
4441: cursor c2(p_position_id number, p_effective_date date) is
4442: select fte, business_group_id
4443: from hr_all_positions_f
4444: where position_id = p_position_id
4445: and p_effective_date
4446: between effective_start_date and effective_end_date;
4447: begin