DBA Data[Home] [Help]

APPS.PA_SCHEDULE_PUB dependencies on PA_SCHEDULE_PVT

Line 2595: -- Bug 2135616: when this is called by PA_SCHEDULE_PVT.resolve_conflicts to remove

2591: -- updated in all situations. For example, the approval status
2592: -- should not be updated when changing the status after failure
2593: -- or success. This is a work around and will be removed when the
2594: -- approval flow is redesigned.
2595: -- Bug 2135616: when this is called by PA_SCHEDULE_PVT.resolve_conflicts to remove
2596: -- conflicts, the approval status should not change.
2597: IF (FND_API.TO_BOOLEAN(NVL(l_save_to_hist,FND_API.G_TRUE))
2598: AND p_remove_conflict_flag = 'N') THEN
2599:

Line 2622: PA_SCHEDULE_PVT.get_assignment_schedule(p_assignment_id,

2618: PA_SCHEDULE_UTILS.log_message(1, 'Before Calling the API get_assignment_schedule ....');
2619:
2620: -- Calling the PVT API This api will bring the asignment schedule for the passed
2621: -- asignment id and it will store the schedule in tabel of record i.e l_tr_sch_rec_tab.
2622: PA_SCHEDULE_PVT.get_assignment_schedule(p_assignment_id,
2623: l_tr_sch_rec_tab,
2624: l_x_return_status,
2625: x_msg_count,
2626: x_msg_data );

Line 2714: PA_SCHEDULE_PVT.apply_change_duration(l_tr_sch_rec_tab,

2710: rec_sch_excp.exception_type_code = 'SHIFT_DURATION') then
2711: IF (l_x_return_status = FND_API.G_RET_STS_SUCCESS ) THEN
2712: -- calling PVT API that will change the duration and generate a new schedule
2713: -- on the basis of passed schedule and exception record
2714: PA_SCHEDULE_PVT.apply_change_duration(l_tr_sch_rec_tab,
2715: l_sch_except_rec,
2716: l_out_tr_sch_rec_tab,
2717: l_x_return_status,
2718: x_msg_count,

Line 2736: PA_SCHEDULE_PVT.apply_other_changes(l_tr_sch_rec_tab,

2732: -- calling PVT API that will apply the changes
2733: PA_SCHEDULE_UTILS.log_message (1,' IN THE ELSE PART AND starting of apply other changes ');
2734: PA_SCHEDULE_UTILS.log_message(1, 'Calling apply_other_changes1 :', l_tr_sch_rec_tab);
2735: --PA_SCHEDULE_UTILS.log_message(1, 'Calling apply_other_changes2 :', l_sch_except_rec);
2736: PA_SCHEDULE_PVT.apply_other_changes(l_tr_sch_rec_tab,
2737: l_sch_except_rec,
2738: l_out_tr_sch_rec_tab,
2739: l_x_return_status,
2740: x_msg_count,

Line 2775: PA_SCHEDULE_PVT.apply_schedule_change(l_chg_tr_sch_rec_tab,

2771: PA_SCHEDULE_UTILS.log_message(1, 'Before Calling the API apply_schedule_change ....');
2772:
2773: IF (l_x_return_status = FND_API.G_RET_STS_SUCCESS ) THEN
2774: -- Calling the PVT api that will change the schedule
2775: PA_SCHEDULE_PVT.apply_schedule_change(l_chg_tr_sch_rec_tab,
2776: l_del_tr_sch_rec_tab,
2777: l_x_return_status,
2778: x_msg_count,
2779: x_msg_data);

Line 2785: -- Calling the API PA_SCHEDULE_PVT.apply_assignment_change

2781:
2782: PA_SCHEDULE_UTILS.log_message(1, 'After Calling the API apply_schedule_change ....');
2783:
2784: IF (l_x_return_status = FND_API.G_RET_STS_SUCCESS ) THEN
2785: -- Calling the API PA_SCHEDULE_PVT.apply_assignment_change
2786:
2787: -- jmarques: 1776658: Get old duration.
2788: select start_date, end_date, resource_id, record_version_number -- Unilog Selected record_version_number too
2789: into l_old_start_date, l_old_end_date, l_resource_id, l_record_version_number_wo_chg

Line 2802: PA_SCHEDULE_PVT.apply_assignment_change(

2798: -- jmarques: 1776658: Fix variables so that no null values are present.
2799: l_new_start_date := NVL(l_new_start_date, l_old_start_date);
2800: l_new_end_date := NVL(l_new_end_date, l_old_end_date);
2801:
2802: PA_SCHEDULE_PVT.apply_assignment_change(
2803: p_record_version_number => l_record_version_number,
2804: chg_tr_sch_rec_tab => l_chg_tr_sch_rec_tab,
2805: sch_except_record_tab => l_sch_except_record_tab,
2806: x_return_status => l_x_return_status,

Line 3990: PA_SCHEDULE_UTILS.log_message(1,'Calling pa_schedule_pvt.get_assignment_schedule');

3986: END IF; -- l_call_cng_work_patt_out_range THEN
3987:
3988: END IF; -- l_call_change_duration THEN*
3989:
3990: PA_SCHEDULE_UTILS.log_message(1,'Calling pa_schedule_pvt.get_assignment_schedule');
3991:
3992: pa_schedule_pvt.get_assignment_schedule ( p_assignment_id => p_assignment_id ,
3993: p_start_date => l_actual_start_date ,
3994: p_end_date => l_actual_end_date ,

Line 3992: pa_schedule_pvt.get_assignment_schedule ( p_assignment_id => p_assignment_id ,

3988: END IF; -- l_call_change_duration THEN*
3989:
3990: PA_SCHEDULE_UTILS.log_message(1,'Calling pa_schedule_pvt.get_assignment_schedule');
3991:
3992: pa_schedule_pvt.get_assignment_schedule ( p_assignment_id => p_assignment_id ,
3993: p_start_date => l_actual_start_date ,
3994: p_end_date => l_actual_end_date ,
3995: x_sch_record_tab => l_sch_record_tab ,
3996: x_return_status => x_return_status ,

Line 4017: PA_SCHEDULE_UTILS.log_message(1,'After calling pa_schedule_pvt.get_assignment_schedule l_sch_record_tab.count='||l_sch_record_tab.count);

4013: l_sch_record_tab(1).saturday_hours := 0;
4014: l_sch_record_tab(1).sunday_hours := 0;
4015: END IF;
4016:
4017: PA_SCHEDULE_UTILS.log_message(1,'After calling pa_schedule_pvt.get_assignment_schedule l_sch_record_tab.count='||l_sch_record_tab.count);
4018:
4019: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
4020: raise API_ERROR;
4021: END IF;