DBA Data[Home] [Help]

APPS.WSM_INFINITE_SCHEDULER_GRP dependencies on FND_API

Line 20: -- True (fnd_api.g_true) should be passed

16: -- All the completed operations will not be re-scheduled
17: --
18: -- Parameters:
19: -- + p_initMsgList: Clear the message stack before processing?
20: -- True (fnd_api.g_true) should be passed
21: -- unless relevant messages are being saved
22: -- on the stack. This value defaults to true.
23: --
24: -- + p_endDebug: Pass true (fnd_api.g_true) unless the

Line 24: -- + p_endDebug: Pass true (fnd_api.g_true) unless the

20: -- True (fnd_api.g_true) should be passed
21: -- unless relevant messages are being saved
22: -- on the stack. This value defaults to true.
23: --
24: -- + p_endDebug: Pass true (fnd_api.g_true) unless the
25: -- debug session will be ended at a later
26: -- point by the caller. This value defaults
27: -- to true
28: --

Line 73: -- + x_returnStatus:fnd_api.g_ret_sts_success if the entity

69: -- + p_resSeqNum: Populate to midpoint schedule down to the resource
70: -- level, only used if p_opSeqNum is populated.
71: -- pass -JOB_OP_SEQ_NUM if it is the current op
72: --
73: -- + x_returnStatus:fnd_api.g_ret_sts_success if the entity
74: -- was scheduled successfully.
75: --
76: -- + x_errorMsg: The error message. The error message will also
77: -- be left on the stack.

Line 117: if(x_returnStatus <> fnd_api.g_ret_sts_success) then

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
118: raise fnd_api.g_exc_unexpected_error;
119: end if;
120: end if;
121: x_returnStatus := fnd_api.g_ret_sts_success;

Line 118: raise fnd_api.g_exc_unexpected_error;

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
118: raise fnd_api.g_exc_unexpected_error;
119: end if;
120: end if;
121: x_returnStatus := fnd_api.g_ret_sts_success;
122:

Line 121: x_returnStatus := fnd_api.g_ret_sts_success;

117: if(x_returnStatus <> fnd_api.g_ret_sts_success) then
118: raise fnd_api.g_exc_unexpected_error;
119: end if;
120: end if;
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);

Line 154: if(x_returnStatus <> fnd_api.g_ret_sts_success) then

150: p_opSeqNum => p_opSeqNum,
151: p_resSeqNum => p_resSeqNum,
152: x_returnStatus => x_returnStatus,
153: x_errorMsg => x_errorMsg);
154: if(x_returnStatus <> fnd_api.g_ret_sts_success) then
155: raise fnd_api.g_exc_unexpected_error;
156: end if;
157:
158: exception

Line 155: raise fnd_api.g_exc_unexpected_error;

151: p_resSeqNum => p_resSeqNum,
152: x_returnStatus => x_returnStatus,
153: x_errorMsg => x_errorMsg);
154: if(x_returnStatus <> fnd_api.g_ret_sts_success) then
155: raise fnd_api.g_exc_unexpected_error;
156: end if;
157:
158: exception
159:

Line 161: x_returnStatus := fnd_api.g_ret_sts_unexp_error;

157:
158: exception
159:
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',

Line 169: if(fnd_api.to_boolean(nvl(p_endDebug, fnd_api.g_true))) then

165: p_procName => 'wsm_infinite_scheduler_grp.schedule',
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:

Line 174: when fnd_api.g_exc_unexpected_error then

170: wip_logger.cleanup(l_retStatus);
171: end if;
172: end if;
173:
174: when fnd_api.g_exc_unexpected_error then
175: x_returnStatus := fnd_api.g_ret_sts_unexp_error;
176: wip_utilities.get_message_stack(
177: p_msg => x_errorMsg,
178: p_delete_stack => fnd_api.g_false);

Line 175: x_returnStatus := fnd_api.g_ret_sts_unexp_error;

171: end if;
172: end if;
173:
174: when fnd_api.g_exc_unexpected_error then
175: x_returnStatus := fnd_api.g_ret_sts_unexp_error;
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

Line 178: p_delete_stack => fnd_api.g_false);

174: when fnd_api.g_exc_unexpected_error then
175: x_returnStatus := fnd_api.g_ret_sts_unexp_error;
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,

Line 185: if(fnd_api.to_boolean(nvl(p_endDebug, fnd_api.g_true))) then

181: p_procName => 'wsm_infinite_scheduler_grp.schedule',
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:

Line 191: x_returnStatus := fnd_api.g_ret_sts_unexp_error;

187: end if;
188: end if;
189:
190: when others then
191: x_returnStatus := fnd_api.g_ret_sts_unexp_error;
192: fnd_msg_pub.add_exc_msg(
193: p_pkg_name => 'wsm_infinite_scheduler_grp',
194: p_procedure_name => 'schedule',
195: p_error_text => SQLERRM);

Line 198: p_delete_stack => fnd_api.g_false);

194: p_procedure_name => 'schedule',
195: p_error_text => SQLERRM);
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,

Line 205: if(fnd_api.to_boolean(nvl(p_endDebug, fnd_api.g_true))) then

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);
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: