DBA Data[Home] [Help]

APPS.WIP_WS_UTIL dependencies on BOM_SHIFT_DATES

Line 466: from bom_shift_dates bsd

462: end if;
463:
464: select min(bsd.shift_date)
465: into l_next_working_date
466: from bom_shift_dates bsd
467: where bsd.calendar_code = p_calendar_code
468: and bsd.shift_date > trunc(p_date,'ddd')
469: and bsd.seq_num is not null;
470:

Line 509: from bom_shift_dates bsd,

505: elsif ( p_shift_num is not null ) then
506: select bsd.shift_date + at.from_time /(24*60*60),
507: bsd.shift_date + at.to_time/(24*60*60)
508: into l_start_date, l_end_date
509: from bom_shift_dates bsd,
510: (select min(bst.from_time) from_time,
511: max(bst.to_time + decode(sign(to_time - from_time), -1, 24*60*60, 0)) to_time,
512: mp.calendar_code
513: from bom_shift_times bst, mtl_parameters mp

Line 774: from bom_shift_dates bsd, bom_resource_shifts brs,

770: Is
771: cursor c_shift_periods(p_cal_code varchar2, p_date date, p_dept_id number, p_resource_id number)
772: is
773: select bsd.shift_date, bst.from_time, bst.to_time
774: from bom_shift_dates bsd, bom_resource_shifts brs,
775: bom_shift_times bst, mtl_parameters mp
776: where mp.organization_id = p_organization_id and
777: bsd.calendar_code = p_cal_code and
778: bsd.exception_set_id = mp.calendar_exception_set_id and