DBA Data[Home] [Help]

APPS.WSM_INFINITE_SCHEDULER_GRP dependencies on WIP_LOGGER

Line 94: l_params wip_logger.param_tbl_t;

90: x_returnStatus out nocopy varchar2,
91: x_errorMsg out nocopy varchar2) is
92:
93: l_logLevel NUMBER := fnd_log.g_current_runtime_level;
94: l_params wip_logger.param_tbl_t;
95: l_retStatus VARCHAR2(1);
96: l_resTbls wip_infResSched_grp.op_res_rectbl_t;
97: l_repLineID NUMBER;
98: l_opTbl num_tbl_t;

Line 113: wip_logger.entryPoint(

109: if (l_logLevel <= wip_constants.trace_logging) then
110: l_params(1).paramName := 'p_wipEntityID';
111: l_params(1).paramValue := p_wipEntityID;
112:
113: wip_logger.entryPoint(
114: p_procName => 'wsm_infinite_scheduler_grp.schedule',
115: p_params => l_params,
116: x_returnStatus => x_returnStatus);
117: if(x_returnStatus <> fnd_api.g_ret_sts_success) then

Line 125: wip_logger.log('validate parameters p_scheduleMode...', l_retStatus);

121: x_returnStatus := fnd_api.g_ret_sts_success;
122:
123: -- do validation here
124: if (l_logLevel <= wip_constants.full_logging) then
125: wip_logger.log('validate parameters p_scheduleMode...', l_retStatus);
126: end if;
127: if p_scheduleMode NOT IN (
128: WIP_CONSTANTS.MIDPOINT,
129: WIP_CONSTANTS.MIDPOINT_FORWARDS,

Line 140: wip_logger.log('scheduling lot based job...', l_retStatus);

136: end if;
137:
138: -- call private API
139: if (l_logLevel <= wip_constants.full_logging) then
140: wip_logger.log('scheduling lot based job...', l_retStatus);
141: end if;
142: wsm_infinite_scheduler_pvt.schedule(
143: p_initMsgList => p_initMsgList,
144: p_endDebug => p_endDebug,

Line 164: wip_logger.exitPoint(

160: when e_invalid_mode then
161: x_returnStatus := fnd_api.g_ret_sts_unexp_error;
162: x_errorMsg := 'p_scheduleMode = ' || p_scheduleMode || ' is not supported';
163: if (l_logLevel <= wip_constants.trace_logging) then
164: wip_logger.exitPoint(
165: p_procName => 'wsm_infinite_scheduler_grp.schedule',
166: p_procReturnStatus => x_returnStatus,
167: p_msg => 'error: ' || x_errorMsg,
168: x_returnStatus => l_retStatus);

Line 170: wip_logger.cleanup(l_retStatus);

166: p_procReturnStatus => x_returnStatus,
167: p_msg => 'error: ' || x_errorMsg,
168: x_returnStatus => l_retStatus);
169: if(fnd_api.to_boolean(nvl(p_endDebug, fnd_api.g_true))) then
170: wip_logger.cleanup(l_retStatus);
171: end if;
172: end if;
173:
174: when fnd_api.g_exc_unexpected_error then

Line 180: wip_logger.exitPoint(

176: wip_utilities.get_message_stack(
177: p_msg => x_errorMsg,
178: p_delete_stack => fnd_api.g_false);
179: if (l_logLevel <= wip_constants.trace_logging) then
180: wip_logger.exitPoint(
181: p_procName => 'wsm_infinite_scheduler_grp.schedule',
182: p_procReturnStatus => x_returnStatus,
183: p_msg => 'error: ' || x_errorMsg,
184: x_returnStatus => l_retStatus);

Line 186: wip_logger.cleanup(l_retStatus);

182: p_procReturnStatus => x_returnStatus,
183: p_msg => 'error: ' || x_errorMsg,
184: x_returnStatus => l_retStatus);
185: if(fnd_api.to_boolean(nvl(p_endDebug, fnd_api.g_true))) then
186: wip_logger.cleanup(l_retStatus);
187: end if;
188: end if;
189:
190: when others then

Line 200: wip_logger.exitPoint(

196: wip_utilities.get_message_stack(
197: p_msg => x_errorMsg,
198: p_delete_stack => fnd_api.g_false);
199: if (l_logLevel <= wip_constants.trace_logging) then
200: wip_logger.exitPoint(
201: p_procName => 'wsm_infinite_scheduler_grp.schedule',
202: p_procReturnStatus => x_returnStatus,
203: p_msg => 'unexp error: ' || x_errorMsg,
204: x_returnStatus => l_retStatus);

Line 206: wip_logger.cleanup(l_retStatus);

202: p_procReturnStatus => x_returnStatus,
203: p_msg => 'unexp error: ' || x_errorMsg,
204: x_returnStatus => l_retStatus);
205: if(fnd_api.to_boolean(nvl(p_endDebug, fnd_api.g_true))) then
206: wip_logger.cleanup(l_retStatus);
207: end if;
208: end if;
209:
210: end schedule;