DBA Data[Home] [Help]

APPS.PO_DOCUMENT_ACTION_UTIL dependencies on PO_LOG

Line 146: IF (PO_LOG.d_proc) THEN

142:
143: BEGIN
144:
145: d_progress := 0;
146: IF (PO_LOG.d_proc) THEN
147: PO_LOG.proc_begin(d_module);
148: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
149: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
150: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);

Line 147: PO_LOG.proc_begin(d_module);

143: BEGIN
144:
145: d_progress := 0;
146: IF (PO_LOG.d_proc) THEN
147: PO_LOG.proc_begin(d_module);
148: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
149: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
150: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
151: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);

Line 148: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

144:
145: d_progress := 0;
146: IF (PO_LOG.d_proc) THEN
147: PO_LOG.proc_begin(d_module);
148: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
149: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
150: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
151: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
152: END IF;

Line 149: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

145: d_progress := 0;
146: IF (PO_LOG.d_proc) THEN
147: PO_LOG.proc_begin(d_module);
148: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
149: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
150: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
151: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
152: END IF;
153:

Line 150: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);

146: IF (PO_LOG.d_proc) THEN
147: PO_LOG.proc_begin(d_module);
148: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
149: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
150: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
151: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
152: END IF;
153:
154: l_ret_val := FALSE;

Line 151: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);

147: PO_LOG.proc_begin(d_module);
148: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
149: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
150: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
151: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
152: END IF;
153:
154: l_ret_val := FALSE;
155:

Line 171: IF (PO_LOG.d_stmt) THEN

167: INTO l_auth_status, l_head_closed, l_frozen_flag, l_user_hold_flag;
168: CLOSE state_rel;
169:
170: d_progress := 30;
171: IF (PO_LOG.d_stmt) THEN
172: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
173: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
174: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
175: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);

Line 172: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);

168: CLOSE state_rel;
169:
170: d_progress := 30;
171: IF (PO_LOG.d_stmt) THEN
172: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
173: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
174: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
175: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
176:

Line 173: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);

169:
170: d_progress := 30;
171: IF (PO_LOG.d_stmt) THEN
172: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
173: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
174: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
175: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
176:
177: END IF;

Line 174: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);

170: d_progress := 30;
171: IF (PO_LOG.d_stmt) THEN
172: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
173: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
174: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
175: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
176:
177: END IF;
178:

Line 175: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);

171: IF (PO_LOG.d_stmt) THEN
172: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
173: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
174: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
175: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
176:
177: END IF;
178:
179: IF (p_shipment_id IS NOT NULL)

Line 189: IF (PO_LOG.d_stmt) THEN

185: FETCH ship_closed INTO l_ship_closed;
186: CLOSE ship_closed;
187:
188: d_progress := 50;
189: IF (PO_LOG.d_stmt) THEN
190: PO_LOG.stmt(d_module, d_progress, 'l_ship_closed', l_ship_closed);
191: END IF;
192:
193: END IF;

Line 190: PO_LOG.stmt(d_module, d_progress, 'l_ship_closed', l_ship_closed);

186: CLOSE ship_closed;
187:
188: d_progress := 50;
189: IF (PO_LOG.d_stmt) THEN
190: PO_LOG.stmt(d_module, d_progress, 'l_ship_closed', l_ship_closed);
191: END IF;
192:
193: END IF;
194:

Line 207: IF (PO_LOG.d_stmt) THEN

203: CLOSE state_po;
204:
205: d_progress := 70;
206:
207: IF (PO_LOG.d_stmt) THEN
208: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
209: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
210: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
211: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);

Line 208: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);

204:
205: d_progress := 70;
206:
207: IF (PO_LOG.d_stmt) THEN
208: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
209: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
210: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
211: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
212:

Line 209: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);

205: d_progress := 70;
206:
207: IF (PO_LOG.d_stmt) THEN
208: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
209: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
210: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
211: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
212:
213: END IF;

Line 210: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);

206:
207: IF (PO_LOG.d_stmt) THEN
208: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
209: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
210: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
211: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
212:
213: END IF;
214:

Line 211: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);

207: IF (PO_LOG.d_stmt) THEN
208: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
209: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
210: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
211: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
212:
213: END IF;
214:
215: IF (p_shipment_id IS NOT NULL) THEN

Line 224: IF (PO_LOG.d_stmt) THEN

220: FETCH ship_closed INTO l_ship_closed;
221: CLOSE ship_closed;
222:
223: d_progress := 90;
224: IF (PO_LOG.d_stmt) THEN
225: PO_LOG.stmt(d_module, d_progress, 'l_ship_closed', l_ship_closed);
226: END IF;
227:
228: END IF;

Line 225: PO_LOG.stmt(d_module, d_progress, 'l_ship_closed', l_ship_closed);

221: CLOSE ship_closed;
222:
223: d_progress := 90;
224: IF (PO_LOG.d_stmt) THEN
225: PO_LOG.stmt(d_module, d_progress, 'l_ship_closed', l_ship_closed);
226: END IF;
227:
228: END IF;
229:

Line 239: IF (PO_LOG.d_stmt) THEN

235: FETCH line_closed INTO l_line_closed;
236: CLOSE line_closed;
237:
238: d_progress := 110;
239: IF (PO_LOG.d_stmt) THEN
240: PO_LOG.stmt(d_module, d_progress, 'l_line_closed', l_line_closed);
241: END IF;
242:
243: END IF;

Line 240: PO_LOG.stmt(d_module, d_progress, 'l_line_closed', l_line_closed);

236: CLOSE line_closed;
237:
238: d_progress := 110;
239: IF (PO_LOG.d_stmt) THEN
240: PO_LOG.stmt(d_module, d_progress, 'l_line_closed', l_line_closed);
241: END IF;
242:
243: END IF;
244:

Line 254: IF (PO_LOG.d_stmt) THEN

250: FETCH state_req INTO l_auth_status, l_head_closed;
251: CLOSE state_req;
252:
253: d_progress := 130;
254: IF (PO_LOG.d_stmt) THEN
255: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
256: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
257: END IF;
258:

Line 255: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);

251: CLOSE state_req;
252:
253: d_progress := 130;
254: IF (PO_LOG.d_stmt) THEN
255: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
256: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
257: END IF;
258:
259: ELSE

Line 256: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);

252:
253: d_progress := 130;
254: IF (PO_LOG.d_stmt) THEN
255: PO_LOG.stmt(d_module, d_progress, 'l_auth_status', l_auth_status);
256: PO_LOG.stmt(d_module, d_progress, 'l_head_closed', l_head_closed);
257: END IF;
258:
259: ELSE
260:

Line 264: IF (PO_LOG.d_exc) THEN

260:
261: d_progress := 140;
262: l_ret_sts := 'U';
263: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, 'Bad Document Type');
264: IF (PO_LOG.d_exc) THEN
265: PO_LOG.exc(d_module, d_progress, 'Bad Document Type');
266: END IF;
267: RAISE PO_CORE_S.g_early_return_exc;
268:

Line 265: PO_LOG.exc(d_module, d_progress, 'Bad Document Type');

261: d_progress := 140;
262: l_ret_sts := 'U';
263: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, 'Bad Document Type');
264: IF (PO_LOG.d_exc) THEN
265: PO_LOG.exc(d_module, d_progress, 'Bad Document Type');
266: END IF;
267: RAISE PO_CORE_S.g_early_return_exc;
268:
269: END IF;

Line 285: IF (PO_LOG.d_stmt) THEN

281: END IF;
282: END LOOP;
283:
284: d_progress := 160;
285: IF (PO_LOG.d_stmt) THEN
286: PO_LOG.stmt(d_module, d_progress, 'l_state_found', l_state_found);
287: END IF;
288:
289: IF NOT l_state_found

Line 286: PO_LOG.stmt(d_module, d_progress, 'l_state_found', l_state_found);

282: END LOOP;
283:
284: d_progress := 160;
285: IF (PO_LOG.d_stmt) THEN
286: PO_LOG.stmt(d_module, d_progress, 'l_state_found', l_state_found);
287: END IF;
288:
289: IF NOT l_state_found
290: THEN

Line 293: IF (PO_LOG.d_stmt) THEN

289: IF NOT l_state_found
290: THEN
291:
292: d_progress := 170;
293: IF (PO_LOG.d_stmt) THEN
294: PO_LOG.stmt(d_module, d_progress, 'Current Authorization Status Not Allowed.');
295:
296: END IF;
297:

Line 294: PO_LOG.stmt(d_module, d_progress, 'Current Authorization Status Not Allowed.');

290: THEN
291:
292: d_progress := 170;
293: IF (PO_LOG.d_stmt) THEN
294: PO_LOG.stmt(d_module, d_progress, 'Current Authorization Status Not Allowed.');
295:
296: END IF;
297:
298: l_ret_sts := 'S';

Line 308: IF (PO_LOG.d_stmt) THEN

304: l_closed_code := NVL(l_ship_closed, l_line_closed);
305: l_closed_code := NVL(l_closed_code, l_head_closed);
306:
307: d_progress := 180;
308: IF (PO_LOG.d_stmt) THEN
309: PO_LOG.stmt(d_module, d_progress, 'l_closed_code', l_closed_code);
310: END IF;
311:
312: l_state_found := FALSE;

Line 309: PO_LOG.stmt(d_module, d_progress, 'l_closed_code', l_closed_code);

305: l_closed_code := NVL(l_closed_code, l_head_closed);
306:
307: d_progress := 180;
308: IF (PO_LOG.d_stmt) THEN
309: PO_LOG.stmt(d_module, d_progress, 'l_closed_code', l_closed_code);
310: END IF;
311:
312: l_state_found := FALSE;
313:

Line 325: IF (PO_LOG.d_stmt) THEN

321: END IF;
322: END LOOP;
323:
324: d_progress := 190;
325: IF (PO_LOG.d_stmt) THEN
326: PO_LOG.stmt(d_module, d_progress, 'l_state_found', l_state_found);
327: END IF;
328:
329: IF NOT l_state_found

Line 326: PO_LOG.stmt(d_module, d_progress, 'l_state_found', l_state_found);

322: END LOOP;
323:
324: d_progress := 190;
325: IF (PO_LOG.d_stmt) THEN
326: PO_LOG.stmt(d_module, d_progress, 'l_state_found', l_state_found);
327: END IF;
328:
329: IF NOT l_state_found
330: THEN

Line 333: IF (PO_LOG.d_stmt) THEN

329: IF NOT l_state_found
330: THEN
331:
332: d_progress := 200;
333: IF (PO_LOG.d_stmt) THEN
334: PO_LOG.stmt(d_module, d_progress, 'Current Closed Status Not Allowed.');
335:
336: END IF;
337:

Line 334: PO_LOG.stmt(d_module, d_progress, 'Current Closed Status Not Allowed.');

330: THEN
331:
332: d_progress := 200;
333: IF (PO_LOG.d_stmt) THEN
334: PO_LOG.stmt(d_module, d_progress, 'Current Closed Status Not Allowed.');
335:
336: END IF;
337:
338: l_ret_sts := 'S';

Line 350: IF (PO_LOG.d_stmt) THEN

346:
347: THEN
348:
349: d_progress := 210;
350: IF (PO_LOG.d_stmt) THEN
351: PO_LOG.stmt(d_module, d_progress, 'Encumbrance is on. Checking reserved state');
352:
353: END IF;
354:

Line 351: PO_LOG.stmt(d_module, d_progress, 'Encumbrance is on. Checking reserved state');

347: THEN
348:
349: d_progress := 210;
350: IF (PO_LOG.d_stmt) THEN
351: PO_LOG.stmt(d_module, d_progress, 'Encumbrance is on. Checking reserved state');
352:
353: END IF;
354:
355: PO_CORE_S.is_fully_reserved(

Line 363: IF (PO_LOG.d_stmt) THEN

359: , x_fully_reserved_flag => l_fully_res_flag
360: );
361:
362: d_progress := 220;
363: IF (PO_LOG.d_stmt) THEN
364: PO_LOG.stmt(d_module, d_progress, 'l_fully_res_flag', l_fully_res_flag);
365:
366: END IF;
367:

Line 364: PO_LOG.stmt(d_module, d_progress, 'l_fully_res_flag', l_fully_res_flag);

360: );
361:
362: d_progress := 220;
363: IF (PO_LOG.d_stmt) THEN
364: PO_LOG.stmt(d_module, d_progress, 'l_fully_res_flag', l_fully_res_flag);
365:
366: END IF;
367:
368: IF (p_allowed_states.fully_reserved_flag <> l_fully_res_flag)

Line 372: IF (PO_LOG.d_stmt) THEN

368: IF (p_allowed_states.fully_reserved_flag <> l_fully_res_flag)
369: THEN
370:
371: d_progress := 230;
372: IF (PO_LOG.d_stmt) THEN
373: PO_LOG.stmt(d_module, d_progress, 'Current Encumbrance reservation state not allowed.');
374:
375: END IF;
376:

Line 373: PO_LOG.stmt(d_module, d_progress, 'Current Encumbrance reservation state not allowed.');

369: THEN
370:
371: d_progress := 230;
372: IF (PO_LOG.d_stmt) THEN
373: PO_LOG.stmt(d_module, d_progress, 'Current Encumbrance reservation state not allowed.');
374:
375: END IF;
376:
377: l_ret_sts := 'S';

Line 394: IF (PO_LOG.d_stmt) THEN

390: AND (p_allowed_states.frozen_flag <> l_frozen_flag))
391: THEN
392:
393: d_progress := 250;
394: IF (PO_LOG.d_stmt) THEN
395: PO_LOG.stmt(d_module, d_progress, 'Frozen flags do not match.');
396: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.frozen_flag', p_allowed_states.frozen_flag);
397:
398: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);

Line 395: PO_LOG.stmt(d_module, d_progress, 'Frozen flags do not match.');

391: THEN
392:
393: d_progress := 250;
394: IF (PO_LOG.d_stmt) THEN
395: PO_LOG.stmt(d_module, d_progress, 'Frozen flags do not match.');
396: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.frozen_flag', p_allowed_states.frozen_flag);
397:
398: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
399: END IF;

Line 396: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.frozen_flag', p_allowed_states.frozen_flag);

392:
393: d_progress := 250;
394: IF (PO_LOG.d_stmt) THEN
395: PO_LOG.stmt(d_module, d_progress, 'Frozen flags do not match.');
396: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.frozen_flag', p_allowed_states.frozen_flag);
397:
398: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
399: END IF;
400:

Line 398: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);

394: IF (PO_LOG.d_stmt) THEN
395: PO_LOG.stmt(d_module, d_progress, 'Frozen flags do not match.');
396: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.frozen_flag', p_allowed_states.frozen_flag);
397:
398: PO_LOG.stmt(d_module, d_progress, 'l_frozen_flag', l_frozen_flag);
399: END IF;
400:
401: l_ret_sts := 'S';
402: RAISE PO_CORE_S.g_early_return_exc;

Line 411: IF (PO_LOG.d_stmt) THEN

407: AND (p_allowed_states.hold_flag <> l_user_hold_flag))
408: THEN
409:
410: d_progress := 260;
411: IF (PO_LOG.d_stmt) THEN
412: PO_LOG.stmt(d_module, d_progress, 'Hold flags do not match.');
413: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.hold_flag', p_allowed_states.hold_flag);
414:
415: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);

Line 412: PO_LOG.stmt(d_module, d_progress, 'Hold flags do not match.');

408: THEN
409:
410: d_progress := 260;
411: IF (PO_LOG.d_stmt) THEN
412: PO_LOG.stmt(d_module, d_progress, 'Hold flags do not match.');
413: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.hold_flag', p_allowed_states.hold_flag);
414:
415: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
416: END IF;

Line 413: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.hold_flag', p_allowed_states.hold_flag);

409:
410: d_progress := 260;
411: IF (PO_LOG.d_stmt) THEN
412: PO_LOG.stmt(d_module, d_progress, 'Hold flags do not match.');
413: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.hold_flag', p_allowed_states.hold_flag);
414:
415: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
416: END IF;
417:

Line 415: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);

411: IF (PO_LOG.d_stmt) THEN
412: PO_LOG.stmt(d_module, d_progress, 'Hold flags do not match.');
413: PO_LOG.stmt(d_module, d_progress, 'p_allowed_states.hold_flag', p_allowed_states.hold_flag);
414:
415: PO_LOG.stmt(d_module, d_progress, 'l_user_hold_flag', l_user_hold_flag);
416: END IF;
417:
418: l_ret_sts := 'S';
419: RAISE PO_CORE_S.g_early_return_exc;

Line 437: IF (PO_LOG.d_proc) THEN

433:
434: x_return_status := l_ret_sts;
435:
436: d_progress := 280;
437: IF (PO_LOG.d_proc) THEN
438: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
439: PO_LOG.proc_return(d_module, l_ret_val);
440: PO_LOG.proc_end(d_module);
441: END IF;

Line 438: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

434: x_return_status := l_ret_sts;
435:
436: d_progress := 280;
437: IF (PO_LOG.d_proc) THEN
438: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
439: PO_LOG.proc_return(d_module, l_ret_val);
440: PO_LOG.proc_end(d_module);
441: END IF;
442:

Line 439: PO_LOG.proc_return(d_module, l_ret_val);

435:
436: d_progress := 280;
437: IF (PO_LOG.d_proc) THEN
438: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
439: PO_LOG.proc_return(d_module, l_ret_val);
440: PO_LOG.proc_end(d_module);
441: END IF;
442:
443: RETURN (l_ret_val);

Line 440: PO_LOG.proc_end(d_module);

436: d_progress := 280;
437: IF (PO_LOG.d_proc) THEN
438: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
439: PO_LOG.proc_return(d_module, l_ret_val);
440: PO_LOG.proc_end(d_module);
441: END IF;
442:
443: RETURN (l_ret_val);
444:

Line 472: IF (PO_LOG.d_exc) THEN

468:
469: x_return_status := 'U';
470:
471: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
472: IF (PO_LOG.d_exc) THEN
473: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
474: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
475: PO_LOG.proc_return(d_module, l_ret_val);
476: PO_LOG.proc_end(d_module);

Line 473: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

469: x_return_status := 'U';
470:
471: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
472: IF (PO_LOG.d_exc) THEN
473: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
474: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
475: PO_LOG.proc_return(d_module, l_ret_val);
476: PO_LOG.proc_end(d_module);
477: END IF;

Line 474: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

470:
471: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
472: IF (PO_LOG.d_exc) THEN
473: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
474: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
475: PO_LOG.proc_return(d_module, l_ret_val);
476: PO_LOG.proc_end(d_module);
477: END IF;
478:

Line 475: PO_LOG.proc_return(d_module, l_ret_val);

471: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
472: IF (PO_LOG.d_exc) THEN
473: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
474: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
475: PO_LOG.proc_return(d_module, l_ret_val);
476: PO_LOG.proc_end(d_module);
477: END IF;
478:
479: return FALSE;

Line 476: PO_LOG.proc_end(d_module);

472: IF (PO_LOG.d_exc) THEN
473: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
474: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
475: PO_LOG.proc_return(d_module, l_ret_val);
476: PO_LOG.proc_end(d_module);
477: END IF;
478:
479: return FALSE;
480:

Line 501: IF (PO_LOG.d_proc) THEN

497:
498: BEGIN
499:
500: d_progress := 0;
501: IF (PO_LOG.d_proc) THEN
502: PO_LOG.proc_begin(d_module);
503: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
504: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
505: END IF;

Line 502: PO_LOG.proc_begin(d_module);

498: BEGIN
499:
500: d_progress := 0;
501: IF (PO_LOG.d_proc) THEN
502: PO_LOG.proc_begin(d_module);
503: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
504: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
505: END IF;
506:

Line 503: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

499:
500: d_progress := 0;
501: IF (PO_LOG.d_proc) THEN
502: PO_LOG.proc_begin(d_module);
503: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
504: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
505: END IF;
506:
507: l_ret_sts := 'S';

Line 504: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

500: d_progress := 0;
501: IF (PO_LOG.d_proc) THEN
502: PO_LOG.proc_begin(d_module);
503: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
504: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
505: END IF;
506:
507: l_ret_sts := 'S';
508:

Line 520: IF (PO_LOG.d_stmt) THEN

516: FROM po_releases_all por
517: WHERE por.po_release_id = p_document_id;
518:
519: d_progress := 30;
520: IF (PO_LOG.d_stmt) THEN
521: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);
522: END IF;
523:
524: ELSIF (p_document_type in ('PO', 'PA'))

Line 521: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);

517: WHERE por.po_release_id = p_document_id;
518:
519: d_progress := 30;
520: IF (PO_LOG.d_stmt) THEN
521: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);
522: END IF;
523:
524: ELSIF (p_document_type in ('PO', 'PA'))
525: THEN

Line 535: IF (PO_LOG.d_stmt) THEN

531: FROM po_headers_all poh
532: WHERE poh.po_header_id = p_document_id;
533:
534: d_progress := 50;
535: IF (PO_LOG.d_stmt) THEN
536: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);
537: END IF;
538:
539: ELSIF (p_document_type = 'REQUISITION') THEN

Line 536: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);

532: WHERE poh.po_header_id = p_document_id;
533:
534: d_progress := 50;
535: IF (PO_LOG.d_stmt) THEN
536: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);
537: END IF;
538:
539: ELSIF (p_document_type = 'REQUISITION') THEN
540:

Line 549: IF (PO_LOG.d_stmt) THEN

545: FROM po_requisition_headers_all porh
546: WHERE porh.requisition_header_id = p_document_id;
547:
548: d_progress := 70;
549: IF (PO_LOG.d_stmt) THEN
550: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);
551: END IF;
552:
553: ELSE

Line 550: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);

546: WHERE porh.requisition_header_id = p_document_id;
547:
548: d_progress := 70;
549: IF (PO_LOG.d_stmt) THEN
550: PO_LOG.stmt(d_module, d_progress, 'x_preparer_id', x_preparer_id);
551: END IF;
552:
553: ELSE
554:

Line 559: IF (PO_LOG.d_exc) THEN

555: l_ret_sts := 'U';
556:
557: d_progress := 80;
558: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, 'Bad Document Type');
559: IF (PO_LOG.d_exc) THEN
560: PO_LOG.exc(d_module, d_progress, 'Bad Document Type');
561: END IF;
562:
563: END IF;

Line 560: PO_LOG.exc(d_module, d_progress, 'Bad Document Type');

556:
557: d_progress := 80;
558: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, 'Bad Document Type');
559: IF (PO_LOG.d_exc) THEN
560: PO_LOG.exc(d_module, d_progress, 'Bad Document Type');
561: END IF;
562:
563: END IF;
564:

Line 568: IF (PO_LOG.d_proc) THEN

564:
565: x_return_status := l_ret_sts;
566:
567: d_progress := 100;
568: IF (PO_LOG.d_proc) THEN
569: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
570: PO_LOG.proc_end(d_module, 'x_preparer_id', x_preparer_id);
571: PO_LOG.proc_end(d_module);
572: END IF;

Line 569: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

565: x_return_status := l_ret_sts;
566:
567: d_progress := 100;
568: IF (PO_LOG.d_proc) THEN
569: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
570: PO_LOG.proc_end(d_module, 'x_preparer_id', x_preparer_id);
571: PO_LOG.proc_end(d_module);
572: END IF;
573:

Line 570: PO_LOG.proc_end(d_module, 'x_preparer_id', x_preparer_id);

566:
567: d_progress := 100;
568: IF (PO_LOG.d_proc) THEN
569: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
570: PO_LOG.proc_end(d_module, 'x_preparer_id', x_preparer_id);
571: PO_LOG.proc_end(d_module);
572: END IF;
573:
574: RETURN;

Line 571: PO_LOG.proc_end(d_module);

567: d_progress := 100;
568: IF (PO_LOG.d_proc) THEN
569: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
570: PO_LOG.proc_end(d_module, 'x_preparer_id', x_preparer_id);
571: PO_LOG.proc_end(d_module);
572: END IF;
573:
574: RETURN;
575:

Line 582: IF (PO_LOG.d_exc) THEN

578: WHEN OTHERS THEN
579: x_return_status := 'U';
580:
581: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
582: IF (PO_LOG.d_exc) THEN
583: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
584: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
585: PO_LOG.proc_end(d_module);
586: END IF;

Line 583: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

579: x_return_status := 'U';
580:
581: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
582: IF (PO_LOG.d_exc) THEN
583: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
584: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
585: PO_LOG.proc_end(d_module);
586: END IF;
587:

Line 584: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

580:
581: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
582: IF (PO_LOG.d_exc) THEN
583: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
584: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
585: PO_LOG.proc_end(d_module);
586: END IF;
587:
588: RETURN;

Line 585: PO_LOG.proc_end(d_module);

581: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
582: IF (PO_LOG.d_exc) THEN
583: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
584: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
585: PO_LOG.proc_end(d_module);
586: END IF;
587:
588: RETURN;
589:

Line 614: IF (PO_LOG.d_proc) THEN

610:
611: BEGIN
612:
613: d_progress := 0;
614: IF (PO_LOG.d_proc) THEN
615: PO_LOG.proc_begin(d_module);
616: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
617: END IF;
618:

Line 615: PO_LOG.proc_begin(d_module);

611: BEGIN
612:
613: d_progress := 0;
614: IF (PO_LOG.d_proc) THEN
615: PO_LOG.proc_begin(d_module);
616: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
617: END IF;
618:
619: BEGIN

Line 616: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

612:
613: d_progress := 0;
614: IF (PO_LOG.d_proc) THEN
615: PO_LOG.proc_begin(d_module);
616: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
617: END IF;
618:
619: BEGIN
620: d_progress := 10;

Line 631: IF (PO_LOG.d_stmt) THEN

627:
628: x_employee_flag := TRUE;
629:
630: d_progress := 20;
631: IF (PO_LOG.d_stmt) THEN
632: PO_LOG.stmt(d_module, d_progress, 'x_employee_id', x_employee_id);
633: PO_LOG.stmt(d_module, d_progress, 'x_employee_name', x_employee_name);
634: PO_LOG.stmt(d_module, d_progress, 'x_location_id', x_location_id);
635: END IF;

Line 632: PO_LOG.stmt(d_module, d_progress, 'x_employee_id', x_employee_id);

628: x_employee_flag := TRUE;
629:
630: d_progress := 20;
631: IF (PO_LOG.d_stmt) THEN
632: PO_LOG.stmt(d_module, d_progress, 'x_employee_id', x_employee_id);
633: PO_LOG.stmt(d_module, d_progress, 'x_employee_name', x_employee_name);
634: PO_LOG.stmt(d_module, d_progress, 'x_location_id', x_location_id);
635: END IF;
636:

Line 633: PO_LOG.stmt(d_module, d_progress, 'x_employee_name', x_employee_name);

629:
630: d_progress := 20;
631: IF (PO_LOG.d_stmt) THEN
632: PO_LOG.stmt(d_module, d_progress, 'x_employee_id', x_employee_id);
633: PO_LOG.stmt(d_module, d_progress, 'x_employee_name', x_employee_name);
634: PO_LOG.stmt(d_module, d_progress, 'x_location_id', x_location_id);
635: END IF;
636:
637: EXCEPTION

Line 634: PO_LOG.stmt(d_module, d_progress, 'x_location_id', x_location_id);

630: d_progress := 20;
631: IF (PO_LOG.d_stmt) THEN
632: PO_LOG.stmt(d_module, d_progress, 'x_employee_id', x_employee_id);
633: PO_LOG.stmt(d_module, d_progress, 'x_employee_name', x_employee_name);
634: PO_LOG.stmt(d_module, d_progress, 'x_location_id', x_location_id);
635: END IF;
636:
637: EXCEPTION
638: WHEN no_data_found THEN

Line 644: IF (PO_LOG.d_stmt) THEN

640: x_location_id := NULL;
641: END;
642:
643: d_progress := 30;
644: IF (PO_LOG.d_stmt) THEN
645: PO_LOG.stmt(d_module, d_progress, 'x_employee_flag', x_employee_flag);
646: END IF;
647:
648: IF (x_location_id IS NOT NULL)

Line 645: PO_LOG.stmt(d_module, d_progress, 'x_employee_flag', x_employee_flag);

641: END;
642:
643: d_progress := 30;
644: IF (PO_LOG.d_stmt) THEN
645: PO_LOG.stmt(d_module, d_progress, 'x_employee_flag', x_employee_flag);
646: END IF;
647:
648: IF (x_location_id IS NOT NULL)
649: THEN

Line 665: IF (PO_LOG.d_stmt) THEN

661: AND hr.inventory_organization_id = ood.organization_id (+)
662: AND nvl(ood.set_of_books_id, fsp.set_of_books_id) = fsp.set_of_books_id;
663:
664: d_progress := 50;
665: IF (PO_LOG.d_stmt) THEN
666: PO_LOG.stmt(d_module, d_progress, 'x_location_code', x_location_code);
667: END IF;
668:
669: EXCEPTION

Line 666: PO_LOG.stmt(d_module, d_progress, 'x_location_code', x_location_code);

662: AND nvl(ood.set_of_books_id, fsp.set_of_books_id) = fsp.set_of_books_id;
663:
664: d_progress := 50;
665: IF (PO_LOG.d_stmt) THEN
666: PO_LOG.stmt(d_module, d_progress, 'x_location_code', x_location_code);
667: END IF;
668:
669: EXCEPTION
670: WHEN no_data_found THEN

Line 691: IF (PO_LOG.d_stmt) THEN

687:
688: x_is_buyer_flag := TRUE;
689:
690: d_progress := 70;
691: IF (PO_LOG.d_stmt) THEN
692: PO_LOG.stmt(d_module, d_progress, 'x_is_buyer_flag', x_is_buyer_flag);
693: END IF;
694:
695: EXCEPTION

Line 692: PO_LOG.stmt(d_module, d_progress, 'x_is_buyer_flag', x_is_buyer_flag);

688: x_is_buyer_flag := TRUE;
689:
690: d_progress := 70;
691: IF (PO_LOG.d_stmt) THEN
692: PO_LOG.stmt(d_module, d_progress, 'x_is_buyer_flag', x_is_buyer_flag);
693: END IF;
694:
695: EXCEPTION
696: WHEN no_data_found THEN

Line 699: IF (PO_LOG.d_stmt) THEN

695: EXCEPTION
696: WHEN no_data_found THEN
697: x_is_buyer_flag := FALSE;
698: d_progress := 75;
699: IF (PO_LOG.d_stmt) THEN
700: PO_LOG.stmt(d_module, d_progress, 'x_is_buyer_flag', x_is_buyer_flag);
701: END IF;
702: END;
703:

Line 700: PO_LOG.stmt(d_module, d_progress, 'x_is_buyer_flag', x_is_buyer_flag);

696: WHEN no_data_found THEN
697: x_is_buyer_flag := FALSE;
698: d_progress := 75;
699: IF (PO_LOG.d_stmt) THEN
700: PO_LOG.stmt(d_module, d_progress, 'x_is_buyer_flag', x_is_buyer_flag);
701: END IF;
702: END;
703:
704: END IF; -- if x_employee_flag

Line 708: IF (PO_LOG.d_proc) THEN

704: END IF; -- if x_employee_flag
705:
706: x_return_status := 'S';
707: d_progress := 100;
708: IF (PO_LOG.d_proc) THEN
709: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
710: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);

Line 709: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

705:
706: x_return_status := 'S';
707: d_progress := 100;
708: IF (PO_LOG.d_proc) THEN
709: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
710: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);
713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);

Line 710: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);

706: x_return_status := 'S';
707: d_progress := 100;
708: IF (PO_LOG.d_proc) THEN
709: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
710: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);
713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);
714: PO_LOG.proc_end(d_module, 'x_location_code', x_location_code);

Line 711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);

707: d_progress := 100;
708: IF (PO_LOG.d_proc) THEN
709: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
710: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);
713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);
714: PO_LOG.proc_end(d_module, 'x_location_code', x_location_code);
715: PO_LOG.proc_end(d_module, 'x_is_buyer_flag', x_is_buyer_flag);

Line 712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);

708: IF (PO_LOG.d_proc) THEN
709: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
710: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);
713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);
714: PO_LOG.proc_end(d_module, 'x_location_code', x_location_code);
715: PO_LOG.proc_end(d_module, 'x_is_buyer_flag', x_is_buyer_flag);
716: PO_LOG.proc_end(d_module);

Line 713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);

709: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
710: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);
713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);
714: PO_LOG.proc_end(d_module, 'x_location_code', x_location_code);
715: PO_LOG.proc_end(d_module, 'x_is_buyer_flag', x_is_buyer_flag);
716: PO_LOG.proc_end(d_module);
717: END IF;

Line 714: PO_LOG.proc_end(d_module, 'x_location_code', x_location_code);

710: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);
713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);
714: PO_LOG.proc_end(d_module, 'x_location_code', x_location_code);
715: PO_LOG.proc_end(d_module, 'x_is_buyer_flag', x_is_buyer_flag);
716: PO_LOG.proc_end(d_module);
717: END IF;
718:

Line 715: PO_LOG.proc_end(d_module, 'x_is_buyer_flag', x_is_buyer_flag);

711: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);
713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);
714: PO_LOG.proc_end(d_module, 'x_location_code', x_location_code);
715: PO_LOG.proc_end(d_module, 'x_is_buyer_flag', x_is_buyer_flag);
716: PO_LOG.proc_end(d_module);
717: END IF;
718:
719: RETURN;

Line 716: PO_LOG.proc_end(d_module);

712: PO_LOG.proc_end(d_module, 'x_employee_name', x_employee_name);
713: PO_LOG.proc_end(d_module, 'x_location_id', x_location_id);
714: PO_LOG.proc_end(d_module, 'x_location_code', x_location_code);
715: PO_LOG.proc_end(d_module, 'x_is_buyer_flag', x_is_buyer_flag);
716: PO_LOG.proc_end(d_module);
717: END IF;
718:
719: RETURN;
720:

Line 726: IF (PO_LOG.d_exc) THEN

722: WHEN OTHERS THEN
723: x_return_status := 'U';
724:
725: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
726: IF (PO_LOG.d_exc) THEN
727: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
728: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
729: PO_LOG.proc_end(d_module);
730: END IF;

Line 727: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

723: x_return_status := 'U';
724:
725: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
726: IF (PO_LOG.d_exc) THEN
727: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
728: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
729: PO_LOG.proc_end(d_module);
730: END IF;
731:

Line 728: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

724:
725: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
726: IF (PO_LOG.d_exc) THEN
727: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
728: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
729: PO_LOG.proc_end(d_module);
730: END IF;
731:
732: RETURN;

Line 729: PO_LOG.proc_end(d_module);

725: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
726: IF (PO_LOG.d_exc) THEN
727: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
728: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
729: PO_LOG.proc_end(d_module);
730: END IF;
731:
732: RETURN;
733:

Line 751: IF (PO_LOG.d_proc) THEN

747:
748: BEGIN
749:
750: d_progress := 0;
751: IF (PO_LOG.d_proc) THEN
752: PO_LOG.proc_begin(d_module);
753: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
754: END IF;
755:

Line 752: PO_LOG.proc_begin(d_module);

748: BEGIN
749:
750: d_progress := 0;
751: IF (PO_LOG.d_proc) THEN
752: PO_LOG.proc_begin(d_module);
753: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
754: END IF;
755:
756: BEGIN

Line 753: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

749:
750: d_progress := 0;
751: IF (PO_LOG.d_proc) THEN
752: PO_LOG.proc_begin(d_module);
753: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
754: END IF;
755:
756: BEGIN
757:

Line 769: IF (PO_LOG.d_stmt) THEN

765:
766: x_employee_flag := TRUE;
767:
768: d_progress := 20;
769: IF (PO_LOG.d_stmt) THEN
770: PO_LOG.stmt(d_module, d_progress, 'x_employee_id', x_employee_id);
771: END IF;
772:
773: EXCEPTION

Line 770: PO_LOG.stmt(d_module, d_progress, 'x_employee_id', x_employee_id);

766: x_employee_flag := TRUE;
767:
768: d_progress := 20;
769: IF (PO_LOG.d_stmt) THEN
770: PO_LOG.stmt(d_module, d_progress, 'x_employee_id', x_employee_id);
771: END IF;
772:
773: EXCEPTION
774: WHEN no_data_found THEN

Line 782: IF (PO_LOG.d_proc) THEN

778:
779:
780: x_return_status := 'S';
781: d_progress := 100;
782: IF (PO_LOG.d_proc) THEN
783: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
784: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
785: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
786: PO_LOG.proc_end(d_module);

Line 783: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

779:
780: x_return_status := 'S';
781: d_progress := 100;
782: IF (PO_LOG.d_proc) THEN
783: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
784: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
785: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
786: PO_LOG.proc_end(d_module);
787: END IF;

Line 784: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);

780: x_return_status := 'S';
781: d_progress := 100;
782: IF (PO_LOG.d_proc) THEN
783: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
784: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
785: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
786: PO_LOG.proc_end(d_module);
787: END IF;
788:

Line 785: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);

781: d_progress := 100;
782: IF (PO_LOG.d_proc) THEN
783: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
784: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
785: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
786: PO_LOG.proc_end(d_module);
787: END IF;
788:
789: RETURN;

Line 786: PO_LOG.proc_end(d_module);

782: IF (PO_LOG.d_proc) THEN
783: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
784: PO_LOG.proc_end(d_module, 'x_employee_flag', x_employee_flag);
785: PO_LOG.proc_end(d_module, 'x_employee_id', x_employee_id);
786: PO_LOG.proc_end(d_module);
787: END IF;
788:
789: RETURN;
790:

Line 796: IF (PO_LOG.d_exc) THEN

792: WHEN OTHERS THEN
793: x_return_status := 'U';
794:
795: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
796: IF (PO_LOG.d_exc) THEN
797: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
798: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
799: PO_LOG.proc_end(d_module);
800: END IF;

Line 797: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

793: x_return_status := 'U';
794:
795: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
796: IF (PO_LOG.d_exc) THEN
797: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
798: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
799: PO_LOG.proc_end(d_module);
800: END IF;
801:

Line 798: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

794:
795: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
796: IF (PO_LOG.d_exc) THEN
797: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
798: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
799: PO_LOG.proc_end(d_module);
800: END IF;
801:
802: RETURN;

Line 799: PO_LOG.proc_end(d_module);

795: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
796: IF (PO_LOG.d_exc) THEN
797: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
798: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
799: PO_LOG.proc_end(d_module);
800: END IF;
801:
802: RETURN;
803:

Line 842: IF (PO_LOG.d_proc) THEN

838:
839: BEGIN
840:
841: d_progress := 0;
842: IF (PO_LOG.d_proc) THEN
843: PO_LOG.proc_begin(d_module);
844: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

Line 843: PO_LOG.proc_begin(d_module);

839: BEGIN
840:
841: d_progress := 0;
842: IF (PO_LOG.d_proc) THEN
843: PO_LOG.proc_begin(d_module);
844: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
847: PO_LOG.proc_begin(d_module, 'p_action', p_action);

Line 844: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

840:
841: d_progress := 0;
842: IF (PO_LOG.d_proc) THEN
843: PO_LOG.proc_begin(d_module);
844: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
847: PO_LOG.proc_begin(d_module, 'p_action', p_action);
848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);

Line 845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

841: d_progress := 0;
842: IF (PO_LOG.d_proc) THEN
843: PO_LOG.proc_begin(d_module);
844: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
847: PO_LOG.proc_begin(d_module, 'p_action', p_action);
848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);

Line 846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

842: IF (PO_LOG.d_proc) THEN
843: PO_LOG.proc_begin(d_module);
844: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
847: PO_LOG.proc_begin(d_module, 'p_action', p_action);
848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);

Line 847: PO_LOG.proc_begin(d_module, 'p_action', p_action);

843: PO_LOG.proc_begin(d_module);
844: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
847: PO_LOG.proc_begin(d_module, 'p_action', p_action);
848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
851: PO_LOG.proc_begin(d_module, 'p_note', p_note);

Line 848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);

844: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
847: PO_LOG.proc_begin(d_module, 'p_action', p_action);
848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
851: PO_LOG.proc_begin(d_module, 'p_note', p_note);
852: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);

Line 849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);

845: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
847: PO_LOG.proc_begin(d_module, 'p_action', p_action);
848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
851: PO_LOG.proc_begin(d_module, 'p_note', p_note);
852: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
853: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);

Line 850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);

846: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
847: PO_LOG.proc_begin(d_module, 'p_action', p_action);
848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
851: PO_LOG.proc_begin(d_module, 'p_note', p_note);
852: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
853: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
854: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);

Line 851: PO_LOG.proc_begin(d_module, 'p_note', p_note);

847: PO_LOG.proc_begin(d_module, 'p_action', p_action);
848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
851: PO_LOG.proc_begin(d_module, 'p_note', p_note);
852: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
853: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
854: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
855: END IF;

Line 852: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);

848: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
851: PO_LOG.proc_begin(d_module, 'p_note', p_note);
852: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
853: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
854: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
855: END IF;
856:

Line 853: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);

849: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
851: PO_LOG.proc_begin(d_module, 'p_note', p_note);
852: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
853: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
854: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
855: END IF;
856:
857: l_user_id := FND_GLOBAL.USER_ID;

Line 854: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);

850: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
851: PO_LOG.proc_begin(d_module, 'p_note', p_note);
852: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
853: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
854: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
855: END IF;
856:
857: l_user_id := FND_GLOBAL.USER_ID;
858: l_login_id := FND_GLOBAL.LOGIN_ID;

Line 861: IF (PO_LOG.d_stmt) THEN

857: l_user_id := FND_GLOBAL.USER_ID;
858: l_login_id := FND_GLOBAL.LOGIN_ID;
859:
860: d_progress := 10;
861: IF (PO_LOG.d_stmt) THEN
862: PO_LOG.stmt(d_module, d_progress, 'l_user_id', l_user_id);
863: PO_LOG.stmt(d_module, d_progress, 'l_login_id', l_login_id);
864: END IF;
865:

Line 862: PO_LOG.stmt(d_module, d_progress, 'l_user_id', l_user_id);

858: l_login_id := FND_GLOBAL.LOGIN_ID;
859:
860: d_progress := 10;
861: IF (PO_LOG.d_stmt) THEN
862: PO_LOG.stmt(d_module, d_progress, 'l_user_id', l_user_id);
863: PO_LOG.stmt(d_module, d_progress, 'l_login_id', l_login_id);
864: END IF;
865:
866: BEGIN

Line 863: PO_LOG.stmt(d_module, d_progress, 'l_login_id', l_login_id);

859:
860: d_progress := 10;
861: IF (PO_LOG.d_stmt) THEN
862: PO_LOG.stmt(d_module, d_progress, 'l_user_id', l_user_id);
863: PO_LOG.stmt(d_module, d_progress, 'l_login_id', l_login_id);
864: END IF;
865:
866: BEGIN
867:

Line 891: IF (PO_LOG.d_stmt) THEN

887: THEN
888:
889: l_emp_id := NULL;
890:
891: IF (PO_LOG.d_stmt) THEN
892: PO_LOG.stmt(d_module, d_progress, 'user is not employee');
893: END IF;
894:
895: END IF;

Line 892: PO_LOG.stmt(d_module, d_progress, 'user is not employee');

888:
889: l_emp_id := NULL;
890:
891: IF (PO_LOG.d_stmt) THEN
892: PO_LOG.stmt(d_module, d_progress, 'user is not employee');
893: END IF;
894:
895: END IF;
896:

Line 946: IF (PO_LOG.d_stmt) THEN

942:
943: END IF;
944:
945: d_progress := 90;
946: IF (PO_LOG.d_stmt) THEN
947: PO_LOG.stmt(d_module, d_progress, 'l_old_status', l_old_status);
948: PO_LOG.stmt(d_module, d_progress, 'l_creation_date', l_creation_date);
949: PO_LOG.stmt(d_module, d_progress, 'l_revision_num', l_revision_num);
950: END IF;

Line 947: PO_LOG.stmt(d_module, d_progress, 'l_old_status', l_old_status);

943: END IF;
944:
945: d_progress := 90;
946: IF (PO_LOG.d_stmt) THEN
947: PO_LOG.stmt(d_module, d_progress, 'l_old_status', l_old_status);
948: PO_LOG.stmt(d_module, d_progress, 'l_creation_date', l_creation_date);
949: PO_LOG.stmt(d_module, d_progress, 'l_revision_num', l_revision_num);
950: END IF;
951:

Line 948: PO_LOG.stmt(d_module, d_progress, 'l_creation_date', l_creation_date);

944:
945: d_progress := 90;
946: IF (PO_LOG.d_stmt) THEN
947: PO_LOG.stmt(d_module, d_progress, 'l_old_status', l_old_status);
948: PO_LOG.stmt(d_module, d_progress, 'l_creation_date', l_creation_date);
949: PO_LOG.stmt(d_module, d_progress, 'l_revision_num', l_revision_num);
950: END IF;
951:
952: handle_auth_action_history(

Line 949: PO_LOG.stmt(d_module, d_progress, 'l_revision_num', l_revision_num);

945: d_progress := 90;
946: IF (PO_LOG.d_stmt) THEN
947: PO_LOG.stmt(d_module, d_progress, 'l_old_status', l_old_status);
948: PO_LOG.stmt(d_module, d_progress, 'l_creation_date', l_creation_date);
949: PO_LOG.stmt(d_module, d_progress, 'l_revision_num', l_revision_num);
950: END IF;
951:
952: handle_auth_action_history(
953: p_document_id => p_document_id

Line 1010: IF (PO_LOG.d_exc) THEN

1006: EXCEPTION
1007: WHEN PO_CORE_S.g_early_return_exc THEN
1008: l_ret_sts := 'U';
1009: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, l_err_msg);
1010: IF (PO_LOG.d_exc) THEN
1011: PO_LOG.exc(d_module, d_progress, l_err_msg);
1012: END IF;
1013:
1014: END;

Line 1011: PO_LOG.exc(d_module, d_progress, l_err_msg);

1007: WHEN PO_CORE_S.g_early_return_exc THEN
1008: l_ret_sts := 'U';
1009: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, l_err_msg);
1010: IF (PO_LOG.d_exc) THEN
1011: PO_LOG.exc(d_module, d_progress, l_err_msg);
1012: END IF;
1013:
1014: END;
1015:

Line 1018: IF (PO_LOG.d_proc) THEN

1014: END;
1015:
1016: x_return_status := l_ret_sts;
1017: d_progress := 130;
1018: IF (PO_LOG.d_proc) THEN
1019: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1020: PO_LOG.proc_end(d_module);
1021: END IF;
1022:

Line 1019: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1015:
1016: x_return_status := l_ret_sts;
1017: d_progress := 130;
1018: IF (PO_LOG.d_proc) THEN
1019: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1020: PO_LOG.proc_end(d_module);
1021: END IF;
1022:
1023: RETURN;

Line 1020: PO_LOG.proc_end(d_module);

1016: x_return_status := l_ret_sts;
1017: d_progress := 130;
1018: IF (PO_LOG.d_proc) THEN
1019: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1020: PO_LOG.proc_end(d_module);
1021: END IF;
1022:
1023: RETURN;
1024:

Line 1030: IF (PO_LOG.d_exc) THEN

1026: WHEN OTHERS THEN
1027: x_return_status := 'U';
1028:
1029: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1030: IF (PO_LOG.d_exc) THEN
1031: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1032: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1033: PO_LOG.proc_end(d_module);
1034: END IF;

Line 1031: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

1027: x_return_status := 'U';
1028:
1029: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1030: IF (PO_LOG.d_exc) THEN
1031: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1032: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1033: PO_LOG.proc_end(d_module);
1034: END IF;
1035:

Line 1032: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1028:
1029: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1030: IF (PO_LOG.d_exc) THEN
1031: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1032: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1033: PO_LOG.proc_end(d_module);
1034: END IF;
1035:
1036: RETURN;

Line 1033: PO_LOG.proc_end(d_module);

1029: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1030: IF (PO_LOG.d_exc) THEN
1031: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1032: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1033: PO_LOG.proc_end(d_module);
1034: END IF;
1035:
1036: RETURN;
1037:

Line 1074: IF (PO_LOG.d_proc) THEN

1070:
1071: BEGIN
1072:
1073: d_progress := 0;
1074: IF (PO_LOG.d_proc) THEN
1075: PO_LOG.proc_begin(d_module);
1076: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

Line 1075: PO_LOG.proc_begin(d_module);

1071: BEGIN
1072:
1073: d_progress := 0;
1074: IF (PO_LOG.d_proc) THEN
1075: PO_LOG.proc_begin(d_module);
1076: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);

Line 1076: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

1072:
1073: d_progress := 0;
1074: IF (PO_LOG.d_proc) THEN
1075: PO_LOG.proc_begin(d_module);
1076: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);

Line 1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

1073: d_progress := 0;
1074: IF (PO_LOG.d_proc) THEN
1075: PO_LOG.proc_begin(d_module);
1076: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);
1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);

Line 1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

1074: IF (PO_LOG.d_proc) THEN
1075: PO_LOG.proc_begin(d_module);
1076: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);
1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
1082: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);

Line 1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);

1075: PO_LOG.proc_begin(d_module);
1076: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);
1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
1082: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
1083: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

Line 1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);

1076: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);
1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
1082: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
1083: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1084: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);

Line 1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);

1077: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);
1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
1082: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
1083: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1084: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1085: END IF;

Line 1082: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);

1078: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);
1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
1082: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
1083: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1084: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1085: END IF;
1086:

Line 1083: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

1079: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);
1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
1082: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
1083: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1084: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1085: END IF;
1086:
1087: d_progress := 10;

Line 1084: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);

1080: PO_LOG.proc_begin(d_module, 'p_reason', p_reason);
1081: PO_LOG.proc_begin(d_module, 'p_line_id', p_line_id);
1082: PO_LOG.proc_begin(d_module, 'p_shipment_id', p_shipment_id);
1083: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1084: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1085: END IF;
1086:
1087: d_progress := 10;
1088:

Line 1113: IF (PO_LOG.d_stmt) THEN

1109: IF (l_emp_flag IS NULL) THEN
1110: l_emp_id := NULL;
1111: END IF;
1112:
1113: IF (PO_LOG.d_stmt) THEN
1114: PO_LOG.stmt(d_module, d_progress, 'l_emp_flag', l_emp_flag);
1115: PO_LOG.stmt(d_module, d_progress, 'l_emp_id', l_emp_id);
1116: END IF;
1117:

Line 1114: PO_LOG.stmt(d_module, d_progress, 'l_emp_flag', l_emp_flag);

1110: l_emp_id := NULL;
1111: END IF;
1112:
1113: IF (PO_LOG.d_stmt) THEN
1114: PO_LOG.stmt(d_module, d_progress, 'l_emp_flag', l_emp_flag);
1115: PO_LOG.stmt(d_module, d_progress, 'l_emp_id', l_emp_id);
1116: END IF;
1117:
1118: d_progress := 40;

Line 1115: PO_LOG.stmt(d_module, d_progress, 'l_emp_id', l_emp_id);

1111: END IF;
1112:
1113: IF (PO_LOG.d_stmt) THEN
1114: PO_LOG.stmt(d_module, d_progress, 'l_emp_flag', l_emp_flag);
1115: PO_LOG.stmt(d_module, d_progress, 'l_emp_id', l_emp_id);
1116: END IF;
1117:
1118: d_progress := 40;
1119:

Line 1154: IF (PO_LOG.d_stmt) THEN

1150:
1151: END IF; -- if (p_action IN ('CANCEL', 'FINALLY CLOSE'))
1152:
1153: d_progress := 100;
1154: IF (PO_LOG.d_stmt) THEN
1155: PO_LOG.stmt(d_module, d_progress, 'l_ctl_repaced_null_entry', l_ctl_replaced_null_entry);
1156: END IF;
1157:
1158: IF (NOT l_ctl_replaced_null_entry)

Line 1155: PO_LOG.stmt(d_module, d_progress, 'l_ctl_repaced_null_entry', l_ctl_replaced_null_entry);

1151: END IF; -- if (p_action IN ('CANCEL', 'FINALLY CLOSE'))
1152:
1153: d_progress := 100;
1154: IF (PO_LOG.d_stmt) THEN
1155: PO_LOG.stmt(d_module, d_progress, 'l_ctl_repaced_null_entry', l_ctl_replaced_null_entry);
1156: END IF;
1157:
1158: IF (NOT l_ctl_replaced_null_entry)
1159: THEN

Line 1185: IF (PO_LOG.d_stmt) THEN

1181: AND poah.action_code IS NOT NULL;
1182:
1183: d_progress := 130;
1184:
1185: IF (PO_LOG.d_stmt) THEN
1186: PO_LOG.stmt(d_module, d_progress, 'l_count_hist', l_count_hist);
1187: END IF;
1188:
1189: IF (l_count_hist > 0)

Line 1186: PO_LOG.stmt(d_module, d_progress, 'l_count_hist', l_count_hist);

1182:
1183: d_progress := 130;
1184:
1185: IF (PO_LOG.d_stmt) THEN
1186: PO_LOG.stmt(d_module, d_progress, 'l_count_hist', l_count_hist);
1187: END IF;
1188:
1189: IF (l_count_hist > 0)
1190: THEN

Line 1266: IF (PO_LOG.d_stmt) THEN

1262: FROM po_headers_all poh
1263: WHERE poh.po_header_id = p_document_id;
1264:
1265: d_progress := 160;
1266: IF (PO_LOG.d_stmt) THEN
1267: PO_LOG.stmt(d_module, d_progress, 'l_revision_num', l_revision_num);
1268: END IF;
1269:
1270: INSERT INTO po_action_history(

Line 1267: PO_LOG.stmt(d_module, d_progress, 'l_revision_num', l_revision_num);

1263: WHERE poh.po_header_id = p_document_id;
1264:
1265: d_progress := 160;
1266: IF (PO_LOG.d_stmt) THEN
1267: PO_LOG.stmt(d_module, d_progress, 'l_revision_num', l_revision_num);
1268: END IF;
1269:
1270: INSERT INTO po_action_history(
1271: object_id

Line 1326: IF (PO_LOG.d_exc) THEN

1322: EXCEPTION
1323: WHEN PO_CORE_S.g_early_return_exc THEN
1324: l_ret_sts := 'U';
1325: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, d_msg);
1326: IF (PO_LOG.d_exc) THEN
1327: PO_LOG.exc(d_module, d_progress, d_msg);
1328: END IF;
1329: END;
1330:

Line 1327: PO_LOG.exc(d_module, d_progress, d_msg);

1323: WHEN PO_CORE_S.g_early_return_exc THEN
1324: l_ret_sts := 'U';
1325: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, d_msg);
1326: IF (PO_LOG.d_exc) THEN
1327: PO_LOG.exc(d_module, d_progress, d_msg);
1328: END IF;
1329: END;
1330:
1331: x_return_status := l_ret_sts;

Line 1333: IF (PO_LOG.d_proc) THEN

1329: END;
1330:
1331: x_return_status := l_ret_sts;
1332:
1333: IF (PO_LOG.d_proc) THEN
1334: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1335: PO_LOG.proc_end(d_module);
1336: END IF;
1337:

Line 1334: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1330:
1331: x_return_status := l_ret_sts;
1332:
1333: IF (PO_LOG.d_proc) THEN
1334: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1335: PO_LOG.proc_end(d_module);
1336: END IF;
1337:
1338: RETURN;

Line 1335: PO_LOG.proc_end(d_module);

1331: x_return_status := l_ret_sts;
1332:
1333: IF (PO_LOG.d_proc) THEN
1334: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1335: PO_LOG.proc_end(d_module);
1336: END IF;
1337:
1338: RETURN;
1339:

Line 1345: IF (PO_LOG.d_exc) THEN

1341: WHEN OTHERS THEN
1342: x_return_status := 'U';
1343:
1344: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1345: IF (PO_LOG.d_exc) THEN
1346: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1347: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1348: PO_LOG.proc_end(d_module);
1349: END IF;

Line 1346: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

1342: x_return_status := 'U';
1343:
1344: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1345: IF (PO_LOG.d_exc) THEN
1346: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1347: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1348: PO_LOG.proc_end(d_module);
1349: END IF;
1350:

Line 1347: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1343:
1344: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1345: IF (PO_LOG.d_exc) THEN
1346: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1347: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1348: PO_LOG.proc_end(d_module);
1349: END IF;
1350:
1351: RETURN;

Line 1348: PO_LOG.proc_end(d_module);

1344: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1345: IF (PO_LOG.d_exc) THEN
1346: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1347: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1348: PO_LOG.proc_end(d_module);
1349: END IF;
1350:
1351: RETURN;
1352:

Line 1383: IF (PO_LOG.d_proc) THEN

1379:
1380: BEGIN
1381:
1382: d_progress := 0;
1383: IF (PO_LOG.d_proc) THEN
1384: PO_LOG.proc_begin(d_module);
1385: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

Line 1384: PO_LOG.proc_begin(d_module);

1380: BEGIN
1381:
1382: d_progress := 0;
1383: IF (PO_LOG.d_proc) THEN
1384: PO_LOG.proc_begin(d_module);
1385: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);

Line 1385: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

1381:
1382: d_progress := 0;
1383: IF (PO_LOG.d_proc) THEN
1384: PO_LOG.proc_begin(d_module);
1385: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);

Line 1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

1382: d_progress := 0;
1383: IF (PO_LOG.d_proc) THEN
1384: PO_LOG.proc_begin(d_module);
1385: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);

Line 1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

1383: IF (PO_LOG.d_proc) THEN
1384: PO_LOG.proc_begin(d_module);
1385: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);

Line 1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);

1384: PO_LOG.proc_begin(d_module);
1385: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);

Line 1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);

1385: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);
1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);

Line 1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);

1386: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);
1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
1394: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

Line 1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);

1387: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);
1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
1394: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1395: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);

Line 1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);

1388: PO_LOG.proc_begin(d_module, 'p_action', p_action);
1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);
1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
1394: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1395: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1396: PO_LOG.proc_begin(d_module, 'p_old_status', p_old_status);

Line 1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);

1389: PO_LOG.proc_begin(d_module, 'p_fwd_to_id', p_fwd_to_id);
1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);
1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
1394: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1395: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1396: PO_LOG.proc_begin(d_module, 'p_old_status', p_old_status);
1397: END IF;

Line 1394: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

1390: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);
1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
1394: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1395: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1396: PO_LOG.proc_begin(d_module, 'p_old_status', p_old_status);
1397: END IF;
1398:

Line 1395: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);

1391: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);
1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
1394: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1395: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1396: PO_LOG.proc_begin(d_module, 'p_old_status', p_old_status);
1397: END IF;
1398:
1399: d_progress := 10;

Line 1396: PO_LOG.proc_begin(d_module, 'p_old_status', p_old_status);

1392: PO_LOG.proc_begin(d_module, 'p_note', p_note);
1393: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
1394: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1395: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
1396: PO_LOG.proc_begin(d_module, 'p_old_status', p_old_status);
1397: END IF;
1398:
1399: d_progress := 10;
1400:

Line 1583: IF (PO_LOG.d_exc) THEN

1579: EXCEPTION
1580: WHEN PO_CORE_S.g_early_return_exc THEN
1581: l_ret_sts := 'U';
1582: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, 'Insert or update action history not successful');
1583: IF (PO_LOG.d_exc) THEN
1584: PO_LOG.exc(d_module, d_progress, 'Insert or update action history not successful');
1585: END IF;
1586:
1587: END;

Line 1584: PO_LOG.exc(d_module, d_progress, 'Insert or update action history not successful');

1580: WHEN PO_CORE_S.g_early_return_exc THEN
1581: l_ret_sts := 'U';
1582: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, 'Insert or update action history not successful');
1583: IF (PO_LOG.d_exc) THEN
1584: PO_LOG.exc(d_module, d_progress, 'Insert or update action history not successful');
1585: END IF;
1586:
1587: END;
1588:

Line 1591: IF (PO_LOG.d_proc) THEN

1587: END;
1588:
1589: x_return_status := l_ret_sts;
1590: d_progress := 100;
1591: IF (PO_LOG.d_proc) THEN
1592: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1593: PO_LOG.proc_end(d_module);
1594: END IF;
1595:

Line 1592: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1588:
1589: x_return_status := l_ret_sts;
1590: d_progress := 100;
1591: IF (PO_LOG.d_proc) THEN
1592: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1593: PO_LOG.proc_end(d_module);
1594: END IF;
1595:
1596: RETURN;

Line 1593: PO_LOG.proc_end(d_module);

1589: x_return_status := l_ret_sts;
1590: d_progress := 100;
1591: IF (PO_LOG.d_proc) THEN
1592: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1593: PO_LOG.proc_end(d_module);
1594: END IF;
1595:
1596: RETURN;
1597:

Line 1603: IF (PO_LOG.d_exc) THEN

1599: WHEN OTHERS THEN
1600: x_return_status := 'U';
1601:
1602: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1603: IF (PO_LOG.d_exc) THEN
1604: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1605: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1606: PO_LOG.proc_end(d_module);
1607: END IF;

Line 1604: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

1600: x_return_status := 'U';
1601:
1602: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1603: IF (PO_LOG.d_exc) THEN
1604: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1605: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1606: PO_LOG.proc_end(d_module);
1607: END IF;
1608:

Line 1605: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1601:
1602: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1603: IF (PO_LOG.d_exc) THEN
1604: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1605: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1606: PO_LOG.proc_end(d_module);
1607: END IF;
1608:
1609: RETURN;

Line 1606: PO_LOG.proc_end(d_module);

1602: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1603: IF (PO_LOG.d_exc) THEN
1604: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1605: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1606: PO_LOG.proc_end(d_module);
1607: END IF;
1608:
1609: RETURN;
1610:

Line 1639: IF (PO_LOG.d_proc) THEN

1635:
1636: BEGIN
1637:
1638: d_progress := 0;
1639: IF (PO_LOG.d_proc) THEN
1640: PO_LOG.proc_begin(d_module);
1641: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1642: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1643: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

Line 1640: PO_LOG.proc_begin(d_module);

1636: BEGIN
1637:
1638: d_progress := 0;
1639: IF (PO_LOG.d_proc) THEN
1640: PO_LOG.proc_begin(d_module);
1641: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1642: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1643: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1644: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);

Line 1641: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

1637:
1638: d_progress := 0;
1639: IF (PO_LOG.d_proc) THEN
1640: PO_LOG.proc_begin(d_module);
1641: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1642: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1643: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1644: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
1645: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

Line 1642: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

1638: d_progress := 0;
1639: IF (PO_LOG.d_proc) THEN
1640: PO_LOG.proc_begin(d_module);
1641: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1642: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1643: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1644: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
1645: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1646: END IF;

Line 1643: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

1639: IF (PO_LOG.d_proc) THEN
1640: PO_LOG.proc_begin(d_module);
1641: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1642: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1643: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1644: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
1645: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1646: END IF;
1647:

Line 1644: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);

1640: PO_LOG.proc_begin(d_module);
1641: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1642: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1643: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1644: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
1645: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1646: END IF;
1647:
1648: BEGIN

Line 1645: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

1641: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1642: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1643: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1644: PO_LOG.proc_begin(d_module, 'p_new_status', p_new_status);
1645: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1646: END IF;
1647:
1648: BEGIN
1649:

Line 1879: IF (PO_LOG.d_exc) THEN

1875: EXCEPTION
1876: WHEN PO_CORE_S.g_early_return_exc THEN
1877: l_ret_sts := 'U';
1878: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, l_err_msg);
1879: IF (PO_LOG.d_exc) THEN
1880: PO_LOG.exc(d_module, d_progress, l_err_msg);
1881: END IF;
1882: END;
1883:

Line 1880: PO_LOG.exc(d_module, d_progress, l_err_msg);

1876: WHEN PO_CORE_S.g_early_return_exc THEN
1877: l_ret_sts := 'U';
1878: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, l_err_msg);
1879: IF (PO_LOG.d_exc) THEN
1880: PO_LOG.exc(d_module, d_progress, l_err_msg);
1881: END IF;
1882: END;
1883:
1884:

Line 1887: IF (PO_LOG.d_proc) THEN

1883:
1884:
1885: x_return_status := l_ret_sts;
1886: d_progress := 200;
1887: IF (PO_LOG.d_proc) THEN
1888: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1889: PO_LOG.proc_end(d_module);
1890: END IF;
1891:

Line 1888: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1884:
1885: x_return_status := l_ret_sts;
1886: d_progress := 200;
1887: IF (PO_LOG.d_proc) THEN
1888: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1889: PO_LOG.proc_end(d_module);
1890: END IF;
1891:
1892: RETURN;

Line 1889: PO_LOG.proc_end(d_module);

1885: x_return_status := l_ret_sts;
1886: d_progress := 200;
1887: IF (PO_LOG.d_proc) THEN
1888: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1889: PO_LOG.proc_end(d_module);
1890: END IF;
1891:
1892: RETURN;
1893:

Line 1899: IF (PO_LOG.d_exc) THEN

1895: WHEN OTHERS THEN
1896: x_return_status := 'U';
1897:
1898: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1899: IF (PO_LOG.d_exc) THEN
1900: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1901: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1902: PO_LOG.proc_end(d_module);
1903: END IF;

Line 1900: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

1896: x_return_status := 'U';
1897:
1898: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1899: IF (PO_LOG.d_exc) THEN
1900: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1901: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1902: PO_LOG.proc_end(d_module);
1903: END IF;
1904:

Line 1901: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1897:
1898: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1899: IF (PO_LOG.d_exc) THEN
1900: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1901: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1902: PO_LOG.proc_end(d_module);
1903: END IF;
1904:
1905: RETURN;

Line 1902: PO_LOG.proc_end(d_module);

1898: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
1899: IF (PO_LOG.d_exc) THEN
1900: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
1901: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1902: PO_LOG.proc_end(d_module);
1903: END IF;
1904:
1905: RETURN;
1906:

Line 1932: IF (PO_LOG.d_proc) THEN

1928:
1929: BEGIN
1930:
1931: d_progress := 0;
1932: IF (PO_LOG.d_proc) THEN
1933: PO_LOG.proc_begin(d_module);
1934: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

Line 1933: PO_LOG.proc_begin(d_module);

1929: BEGIN
1930:
1931: d_progress := 0;
1932: IF (PO_LOG.d_proc) THEN
1933: PO_LOG.proc_begin(d_module);
1934: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);

Line 1934: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

1930:
1931: d_progress := 0;
1932: IF (PO_LOG.d_proc) THEN
1933: PO_LOG.proc_begin(d_module);
1934: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
1938: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);

Line 1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

1931: d_progress := 0;
1932: IF (PO_LOG.d_proc) THEN
1933: PO_LOG.proc_begin(d_module);
1934: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
1938: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
1939: PO_LOG.proc_begin(d_module, 'p_doc_creation_date', p_doc_creation_date);

Line 1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

1932: IF (PO_LOG.d_proc) THEN
1933: PO_LOG.proc_begin(d_module);
1934: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
1938: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
1939: PO_LOG.proc_begin(d_module, 'p_doc_creation_date', p_doc_creation_date);
1940: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

Line 1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);

1933: PO_LOG.proc_begin(d_module);
1934: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
1938: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
1939: PO_LOG.proc_begin(d_module, 'p_doc_creation_date', p_doc_creation_date);
1940: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1941: END IF;

Line 1938: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);

1934: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
1938: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
1939: PO_LOG.proc_begin(d_module, 'p_doc_creation_date', p_doc_creation_date);
1940: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1941: END IF;
1942:

Line 1939: PO_LOG.proc_begin(d_module, 'p_doc_creation_date', p_doc_creation_date);

1935: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
1938: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
1939: PO_LOG.proc_begin(d_module, 'p_doc_creation_date', p_doc_creation_date);
1940: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1941: END IF;
1942:
1943: d_progress := 10;

Line 1940: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

1936: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
1937: PO_LOG.proc_begin(d_module, 'p_notify_action', p_notify_action);
1938: PO_LOG.proc_begin(d_module, 'p_notify_employee', p_notify_employee);
1939: PO_LOG.proc_begin(d_module, 'p_doc_creation_date', p_doc_creation_date);
1940: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
1941: END IF;
1942:
1943: d_progress := 10;
1944:

Line 1991: IF (PO_LOG.d_proc) THEN

1987: END IF; -- p_notify_action IS NOT NULL
1988:
1989: x_return_status := 'S';
1990: d_progress := 100;
1991: IF (PO_LOG.d_proc) THEN
1992: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1993: PO_LOG.proc_end(d_module);
1994: END IF;
1995:

Line 1992: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

1988:
1989: x_return_status := 'S';
1990: d_progress := 100;
1991: IF (PO_LOG.d_proc) THEN
1992: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1993: PO_LOG.proc_end(d_module);
1994: END IF;
1995:
1996: RETURN;

Line 1993: PO_LOG.proc_end(d_module);

1989: x_return_status := 'S';
1990: d_progress := 100;
1991: IF (PO_LOG.d_proc) THEN
1992: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
1993: PO_LOG.proc_end(d_module);
1994: END IF;
1995:
1996: RETURN;
1997:

Line 2003: IF (PO_LOG.d_exc) THEN

1999: WHEN OTHERS THEN
2000: x_return_status := 'U';
2001:
2002: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2003: IF (PO_LOG.d_exc) THEN
2004: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2005: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2006: PO_LOG.proc_end(d_module);
2007: END IF;

Line 2004: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

2000: x_return_status := 'U';
2001:
2002: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2003: IF (PO_LOG.d_exc) THEN
2004: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2005: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2006: PO_LOG.proc_end(d_module);
2007: END IF;
2008:

Line 2005: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

2001:
2002: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2003: IF (PO_LOG.d_exc) THEN
2004: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2005: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2006: PO_LOG.proc_end(d_module);
2007: END IF;
2008:
2009: RETURN;

Line 2006: PO_LOG.proc_end(d_module);

2002: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2003: IF (PO_LOG.d_exc) THEN
2004: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2005: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2006: PO_LOG.proc_end(d_module);
2007: END IF;
2008:
2009: RETURN;
2010:

Line 2039: IF (PO_LOG.d_proc) THEN

2035:
2036: BEGIN
2037:
2038: d_progress := 0;
2039: IF (PO_LOG.d_proc) THEN
2040: PO_LOG.proc_begin(d_module);
2041: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

Line 2040: PO_LOG.proc_begin(d_module);

2036: BEGIN
2037:
2038: d_progress := 0;
2039: IF (PO_LOG.d_proc) THEN
2040: PO_LOG.proc_begin(d_module);
2041: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

Line 2041: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

2037:
2038: d_progress := 0;
2039: IF (PO_LOG.d_proc) THEN
2040: PO_LOG.proc_begin(d_module);
2041: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);

Line 2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);

2038: d_progress := 0;
2039: IF (PO_LOG.d_proc) THEN
2040: PO_LOG.proc_begin(d_module);
2041: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);

Line 2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

2039: IF (PO_LOG.d_proc) THEN
2040: PO_LOG.proc_begin(d_module);
2041: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);

Line 2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);

2040: PO_LOG.proc_begin(d_module);
2041: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);

Line 2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);

2041: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2049: PO_LOG.proc_begin(d_module, 'p_note', p_note);

Line 2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);

2042: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2049: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2050: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

Line 2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);

2043: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2049: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2050: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2051: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);

Line 2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);

2044: PO_LOG.proc_begin(d_module, 'p_document_subtype', p_document_subtype);
2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2049: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2050: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2051: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
2052: END IF;

Line 2049: PO_LOG.proc_begin(d_module, 'p_note', p_note);

2045: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2049: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2050: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2051: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
2052: END IF;
2053:

Line 2050: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

2046: PO_LOG.proc_begin(d_module, 'p_employee_id', p_employee_id);
2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2049: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2050: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2051: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
2052: END IF;
2053:
2054: d_progress := 10;

Line 2051: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);

2047: PO_LOG.proc_begin(d_module, 'p_offline_code', p_offline_code);
2048: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2049: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2050: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2051: PO_LOG.proc_begin(d_module, 'p_login_id', p_login_id);
2052: END IF;
2053:
2054: d_progress := 10;
2055:

Line 2073: IF (PO_LOG.d_stmt) THEN

2069: THEN
2070: l_sequence_num := 0;
2071: END IF;
2072:
2073: IF (PO_LOG.d_stmt) THEN
2074: PO_LOG.stmt(d_module, d_progress, 'l_sequence_num', l_sequence_num);
2075: END IF;
2076: --
2077:

Line 2074: PO_LOG.stmt(d_module, d_progress, 'l_sequence_num', l_sequence_num);

2070: l_sequence_num := 0;
2071: END IF;
2072:
2073: IF (PO_LOG.d_stmt) THEN
2074: PO_LOG.stmt(d_module, d_progress, 'l_sequence_num', l_sequence_num);
2075: END IF;
2076: --
2077:
2078: d_progress := 20;

Line 2127: IF (PO_LOG.d_proc) THEN

2123: );
2124:
2125: x_return_status := 'S';
2126: d_progress := 100;
2127: IF (PO_LOG.d_proc) THEN
2128: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2129: PO_LOG.proc_end(d_module);
2130: END IF;
2131:

Line 2128: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

2124:
2125: x_return_status := 'S';
2126: d_progress := 100;
2127: IF (PO_LOG.d_proc) THEN
2128: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2129: PO_LOG.proc_end(d_module);
2130: END IF;
2131:
2132: RETURN;

Line 2129: PO_LOG.proc_end(d_module);

2125: x_return_status := 'S';
2126: d_progress := 100;
2127: IF (PO_LOG.d_proc) THEN
2128: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2129: PO_LOG.proc_end(d_module);
2130: END IF;
2131:
2132: RETURN;
2133:

Line 2139: IF (PO_LOG.d_exc) THEN

2135: WHEN OTHERS THEN
2136: x_return_status := 'U';
2137:
2138: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2139: IF (PO_LOG.d_exc) THEN
2140: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2141: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2142: PO_LOG.proc_end(d_module);
2143: END IF;

Line 2140: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

2136: x_return_status := 'U';
2137:
2138: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2139: IF (PO_LOG.d_exc) THEN
2140: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2141: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2142: PO_LOG.proc_end(d_module);
2143: END IF;
2144:

Line 2141: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

2137:
2138: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2139: IF (PO_LOG.d_exc) THEN
2140: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2141: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2142: PO_LOG.proc_end(d_module);
2143: END IF;
2144:
2145: RETURN;

Line 2142: PO_LOG.proc_end(d_module);

2138: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2139: IF (PO_LOG.d_exc) THEN
2140: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2141: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2142: PO_LOG.proc_end(d_module);
2143: END IF;
2144:
2145: RETURN;
2146:

Line 2167: IF (PO_LOG.d_proc) THEN

2163:
2164: BEGIN
2165:
2166: d_progress := 0;
2167: IF (PO_LOG.d_proc) THEN
2168: PO_LOG.proc_begin(d_module);
2169: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

Line 2168: PO_LOG.proc_begin(d_module);

2164: BEGIN
2165:
2166: d_progress := 0;
2167: IF (PO_LOG.d_proc) THEN
2168: PO_LOG.proc_begin(d_module);
2169: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);

Line 2169: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);

2165:
2166: d_progress := 0;
2167: IF (PO_LOG.d_proc) THEN
2168: PO_LOG.proc_begin(d_module);
2169: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2173: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);

Line 2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);

2166: d_progress := 0;
2167: IF (PO_LOG.d_proc) THEN
2168: PO_LOG.proc_begin(d_module);
2169: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2173: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2174: PO_LOG.proc_begin(d_module, 'p_note', p_note);

Line 2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);

2167: IF (PO_LOG.d_proc) THEN
2168: PO_LOG.proc_begin(d_module);
2169: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2173: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2174: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2175: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

Line 2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);

2168: PO_LOG.proc_begin(d_module);
2169: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2173: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2174: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2175: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2176: END IF;

Line 2173: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);

2169: PO_LOG.proc_begin(d_module, 'p_document_id', p_document_id);
2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2173: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2174: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2175: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2176: END IF;
2177:

Line 2174: PO_LOG.proc_begin(d_module, 'p_note', p_note);

2170: PO_LOG.proc_begin(d_module, 'p_revision_num', p_revision_num);
2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2173: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2174: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2175: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2176: END IF;
2177:
2178: d_progress := 10;

Line 2175: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);

2171: PO_LOG.proc_begin(d_module, 'p_document_type', p_document_type);
2172: PO_LOG.proc_begin(d_module, 'p_action', p_action);
2173: PO_LOG.proc_begin(d_module, 'p_approval_path_id', p_approval_path_id);
2174: PO_LOG.proc_begin(d_module, 'p_note', p_note);
2175: PO_LOG.proc_begin(d_module, 'p_user_id', p_user_id);
2176: END IF;
2177:
2178: d_progress := 10;
2179:

Line 2194: IF (PO_LOG.d_proc) THEN

2190: AND action_code IS NULL;
2191:
2192: x_return_status := 'S';
2193: d_progress := 100;
2194: IF (PO_LOG.d_proc) THEN
2195: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2196: PO_LOG.proc_end(d_module);
2197: END IF;
2198:

Line 2195: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

2191:
2192: x_return_status := 'S';
2193: d_progress := 100;
2194: IF (PO_LOG.d_proc) THEN
2195: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2196: PO_LOG.proc_end(d_module);
2197: END IF;
2198:
2199: RETURN;

Line 2196: PO_LOG.proc_end(d_module);

2192: x_return_status := 'S';
2193: d_progress := 100;
2194: IF (PO_LOG.d_proc) THEN
2195: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2196: PO_LOG.proc_end(d_module);
2197: END IF;
2198:
2199: RETURN;
2200:

Line 2206: IF (PO_LOG.d_exc) THEN

2202: WHEN OTHERS THEN
2203: x_return_status := 'U';
2204:
2205: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2206: IF (PO_LOG.d_exc) THEN
2207: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2208: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2209: PO_LOG.proc_end(d_module);
2210: END IF;

Line 2207: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);

2203: x_return_status := 'U';
2204:
2205: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2206: IF (PO_LOG.d_exc) THEN
2207: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2208: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2209: PO_LOG.proc_end(d_module);
2210: END IF;
2211:

Line 2208: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);

2204:
2205: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2206: IF (PO_LOG.d_exc) THEN
2207: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2208: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2209: PO_LOG.proc_end(d_module);
2210: END IF;
2211:
2212: RETURN;

Line 2209: PO_LOG.proc_end(d_module);

2205: PO_DOCUMENT_ACTION_PVT.error_msg_append(d_module, d_progress, SQLCODE, SQLERRM);
2206: IF (PO_LOG.d_exc) THEN
2207: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
2208: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
2209: PO_LOG.proc_end(d_module);
2210: END IF;
2211:
2212: RETURN;
2213: