3978:
3979:
3980: WSM_infinite_scheduler_PVT.schedule
3981: (
3982: p_initMsgList => FND_API.g_true,
3983: p_endDebug => FND_API.g_true,
3984: p_orgID => p_org_id,
3985: p_wipEntityID => p_wip_entity_id,
3986: p_scheduleMode => nvl(p_inf_sch_mode, l_inf_sch_mode),
3979:
3980: WSM_infinite_scheduler_PVT.schedule
3981: (
3982: p_initMsgList => FND_API.g_true,
3983: p_endDebug => FND_API.g_true,
3984: p_orgID => p_org_id,
3985: p_wipEntityID => p_wip_entity_id,
3986: p_scheduleMode => nvl(p_inf_sch_mode, l_inf_sch_mode),
3987: p_startDate => l_inf_sch_start_date,
3999: '): WSM_infinite_scheduler_PVT.schedule returned '||l_inf_sch_returnStatus);
4000: END IF;
4001:
4002: -- Start : We do not need to error if Inf Sch fails, since dates will be calculated while moving --
4003: IF(l_inf_sch_returnStatus <> FND_API.G_RET_STS_SUCCESS) THEN
4004:
4005: fnd_file.put_line(fnd_file.log, 'Warning : Could not infinite schedule the job successfully');
4006: fnd_file.put_line(fnd_file.log, l_err_buf);
4007: x_err_code := -1; --Warning
4946: l_stmt_num := 90;
4947:
4948: WSM_infinite_scheduler_PVT.schedule
4949: (
4950: p_initMsgList => FND_API.g_true,
4951: p_endDebug => FND_API.g_true,
4952: p_orgID => l_org_id,
4953: p_wipEntityID => p_new_wip_entity_id,
4954: p_scheduleMode => nvl(p_inf_sch_mode, l_inf_sch_mode),
4947:
4948: WSM_infinite_scheduler_PVT.schedule
4949: (
4950: p_initMsgList => FND_API.g_true,
4951: p_endDebug => FND_API.g_true,
4952: p_orgID => l_org_id,
4953: p_wipEntityID => p_new_wip_entity_id,
4954: p_scheduleMode => nvl(p_inf_sch_mode, l_inf_sch_mode),
4955: p_startDate => l_inf_sch_start_date,
4966: '): WSM_infinite_scheduler_PVT.schedule returned '||l_inf_sch_returnStatus);
4967: END IF;
4968:
4969: -- Start : We do not need to error if Inf Sch fails, since dates will be calculated while moving --
4970: IF(l_inf_sch_returnStatus <> FND_API.G_RET_STS_SUCCESS) THEN
4971: fnd_file.put_line(fnd_file.log, 'Warning : Could not infinite schedule the job successfully');
4972: fnd_file.put_line(fnd_file.log, x_err_buf);
4973: END IF;
4974: x_err_code := 0;
6024: x_msg_count =>l_msg_count,
6025: x_msg_data =>l_msg_data
6026: );
6027:
6028: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
6029: x_err_code :=1;
6030: x_err_buf := l_msg_data;
6031: end if;
6032: