DBA Data[Home] [Help]

APPS.PO_CORE_S dependencies on PO_DEBUG

Line 22: := PO_DEBUG.is_debug_stmt_on

18: ;
19:
20: g_debug_stmt CONSTANT
21: BOOLEAN
22: := PO_DEBUG.is_debug_stmt_on
23: ;
24: g_debug_unexp CONSTANT
25: BOOLEAN
26: := PO_DEBUG.is_debug_unexp_on

Line 26: := PO_DEBUG.is_debug_unexp_on

22: := PO_DEBUG.is_debug_stmt_on
23: ;
24: g_debug_unexp CONSTANT
25: BOOLEAN
26: := PO_DEBUG.is_debug_unexp_on
27: ;
28:
29:
30: D_PACKAGE_BASE CONSTANT VARCHAR2(100) := PO_LOG.get_package_base(g_pkg_name);

Line 935: PO_DEBUG.debug_begin(l_log_head);

931:
932: BEGIN
933:
934: IF g_debug_stmt THEN
935: PO_DEBUG.debug_begin(l_log_head);
936: PO_DEBUG.debug_var(l_log_head,l_progress,'x_sob_id',x_sob_id);
937: END IF;
938:
939: l_progress := '010';

Line 936: PO_DEBUG.debug_var(l_log_head,l_progress,'x_sob_id',x_sob_id);

932: BEGIN
933:
934: IF g_debug_stmt THEN
935: PO_DEBUG.debug_begin(l_log_head);
936: PO_DEBUG.debug_var(l_log_head,l_progress,'x_sob_id',x_sob_id);
937: END IF;
938:
939: l_progress := '010';
940:

Line 960: PO_DEBUG.debug_stmt(l_log_head,l_progress,'valid period');

956: IF (l_invalid_period_flag = FND_API.G_FALSE) THEN
957:
958: l_progress := '030';
959: IF g_debug_stmt THEN
960: PO_DEBUG.debug_stmt(l_log_head,l_progress,'valid period');
961: END IF;
962:
963: x_gl_date := TRUNC(SYSDATE);
964:

Line 970: PO_DEBUG.debug_var(l_log_head,l_progress,'x_period',x_period);

966:
967: l_progress := '900';
968:
969: IF g_debug_stmt THEN
970: PO_DEBUG.debug_var(l_log_head,l_progress,'x_period',x_period);
971: PO_DEBUG.debug_var(l_log_head,l_progress,'x_gl_date',x_gl_date);
972: PO_DEBUG.debug_end(l_log_head);
973: END IF;
974:

Line 971: PO_DEBUG.debug_var(l_log_head,l_progress,'x_gl_date',x_gl_date);

967: l_progress := '900';
968:
969: IF g_debug_stmt THEN
970: PO_DEBUG.debug_var(l_log_head,l_progress,'x_period',x_period);
971: PO_DEBUG.debug_var(l_log_head,l_progress,'x_gl_date',x_gl_date);
972: PO_DEBUG.debug_end(l_log_head);
973: END IF;
974:
975: EXCEPTION

Line 972: PO_DEBUG.debug_end(l_log_head);

968:
969: IF g_debug_stmt THEN
970: PO_DEBUG.debug_var(l_log_head,l_progress,'x_period',x_period);
971: PO_DEBUG.debug_var(l_log_head,l_progress,'x_gl_date',x_gl_date);
972: PO_DEBUG.debug_end(l_log_head);
973: END IF;
974:
975: EXCEPTION
976: WHEN OTHERS THEN

Line 978: PO_DEBUG.debug_exc(l_log_head,l_progress);

974:
975: EXCEPTION
976: WHEN OTHERS THEN
977: IF g_debug_unexp THEN
978: PO_DEBUG.debug_exc(l_log_head,l_progress);
979: END IF;
980: RAISE;
981:
982: END get_period_name;

Line 3447: PO_DEBUG.debug_begin(l_log_head);

3443: l_progress VARCHAR2(3) := '000';
3444:
3445: BEGIN
3446: IF g_debug_stmt THEN
3447: PO_DEBUG.debug_begin(l_log_head);
3448: END IF;
3449:
3450: l_progress := '010';
3451:

Line 3904: PO_DEBUG.debug_end(l_log_head);

3900:
3901: END IF;
3902:
3903: IF g_debug_stmt THEN
3904: PO_DEBUG.debug_end(l_log_head);
3905: END IF;
3906:
3907: --Bug# 5391346 END
3908:

Line 3913: PO_DEBUG.debug_exc(l_log_head,l_progress);

3909: RETURN l_total;
3910:
3911: EXCEPTION
3912: WHEN OTHERS THEN
3913: PO_DEBUG.debug_exc(l_log_head,l_progress);
3914: RETURN 0;
3915: END get_gc_amount_released;
3916:
3917: --

Line 4073: PO_DEBUG.debug_begin(l_log_head);

4069:
4070: BEGIN
4071:
4072: IF g_debug_stmt THEN
4073: PO_DEBUG.debug_begin(l_log_head);
4074: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4075: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4076: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4077: END IF;

Line 4074: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

4070: BEGIN
4071:
4072: IF g_debug_stmt THEN
4073: PO_DEBUG.debug_begin(l_log_head);
4074: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4075: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4076: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4077: END IF;
4078:

Line 4075: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);

4071:
4072: IF g_debug_stmt THEN
4073: PO_DEBUG.debug_begin(l_log_head);
4074: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4075: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4076: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4077: END IF;
4078:
4079: l_progress := '010';

Line 4076: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);

4072: IF g_debug_stmt THEN
4073: PO_DEBUG.debug_begin(l_log_head);
4074: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4075: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4076: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4077: END IF;
4078:
4079: l_progress := '010';
4080:

Line 4085: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');

4081: IF (p_doc_level = g_doc_level_HEADER) THEN
4082:
4083: l_progress := '020';
4084: IF g_debug_stmt THEN
4085: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
4086: END IF;
4087:
4088: x_doc_id_tbl := p_doc_level_id_tbl;
4089:

Line 4094: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not headers');

4090: ELSE
4091:
4092: l_progress := '100';
4093: IF g_debug_stmt THEN
4094: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not headers');
4095: END IF;
4096:
4097: -- We need to get outthe header ids in the same ordering as the
4098: -- input id table.

Line 4117: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');

4113: IF (p_doc_type = g_doc_type_REQUISITION) THEN
4114:
4115: l_progress := '120';
4116: IF g_debug_stmt THEN
4117: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');
4118: END IF;
4119:
4120: IF (p_doc_level = g_doc_level_LINE) THEN
4121:

Line 4124: PO_DEBUG.debug_stmt(l_log_head,l_progress,'line');

4120: IF (p_doc_level = g_doc_level_LINE) THEN
4121:
4122: l_progress := '130';
4123: IF g_debug_stmt THEN
4124: PO_DEBUG.debug_stmt(l_log_head,l_progress,'line');
4125: END IF;
4126:
4127: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4128:

Line 4160: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distribution');

4156: ELSIF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
4157:
4158: l_progress := '150';
4159: IF g_debug_stmt THEN
4160: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distribution');
4161: END IF;
4162:
4163: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4164:

Line 4206: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');

4202: ELSE -- PO, PA, RELEASE
4203:
4204: l_progress := '200';
4205: IF g_debug_stmt THEN
4206: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');
4207: END IF;
4208:
4209: IF (p_doc_level = g_doc_level_LINE) THEN
4210:

Line 4213: PO_DEBUG.debug_stmt(l_log_head,l_progress,'line');

4209: IF (p_doc_level = g_doc_level_LINE) THEN
4210:
4211: l_progress := '210';
4212: IF g_debug_stmt THEN
4213: PO_DEBUG.debug_stmt(l_log_head,l_progress,'line');
4214: END IF;
4215:
4216: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4217:

Line 4249: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipment');

4245: ELSIF (p_doc_level = g_doc_level_SHIPMENT) THEN
4246:
4247: l_progress := '230';
4248: IF g_debug_stmt THEN
4249: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipment');
4250: END IF;
4251:
4252: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4253:

Line 4288: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distribution');

4284: ELSIF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
4285:
4286: l_progress := '250';
4287: IF g_debug_stmt THEN
4288: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distribution');
4289: END IF;
4290:
4291: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4292:

Line 4339: PO_DEBUG.debug_var(l_log_head,l_progress,'x_doc_id_tbl',x_doc_id_tbl);

4335:
4336: l_progress := '900';
4337:
4338: IF g_debug_stmt THEN
4339: PO_DEBUG.debug_var(l_log_head,l_progress,'x_doc_id_tbl',x_doc_id_tbl);
4340: PO_DEBUG.debug_end(l_log_head);
4341: END IF;
4342:
4343: EXCEPTION

Line 4340: PO_DEBUG.debug_end(l_log_head);

4336: l_progress := '900';
4337:
4338: IF g_debug_stmt THEN
4339: PO_DEBUG.debug_var(l_log_head,l_progress,'x_doc_id_tbl',x_doc_id_tbl);
4340: PO_DEBUG.debug_end(l_log_head);
4341: END IF;
4342:
4343: EXCEPTION
4344: WHEN OTHERS THEN

Line 4346: PO_DEBUG.debug_exc(l_log_head,l_progress);

4342:
4343: EXCEPTION
4344: WHEN OTHERS THEN
4345: IF g_debug_unexp THEN
4346: PO_DEBUG.debug_exc(l_log_head,l_progress);
4347: END IF;
4348: RAISE;
4349:
4350: END get_document_ids;

Line 4424: PO_DEBUG.debug_begin(l_log_head);

4420:
4421: BEGIN
4422:
4423: IF g_debug_stmt THEN
4424: PO_DEBUG.debug_begin(l_log_head);
4425: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4426: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4427: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4428: END IF;

Line 4425: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

4421: BEGIN
4422:
4423: IF g_debug_stmt THEN
4424: PO_DEBUG.debug_begin(l_log_head);
4425: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4426: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4427: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4428: END IF;
4429:

Line 4426: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);

4422:
4423: IF g_debug_stmt THEN
4424: PO_DEBUG.debug_begin(l_log_head);
4425: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4426: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4427: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4428: END IF;
4429:
4430: l_progress := '010';

Line 4427: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);

4423: IF g_debug_stmt THEN
4424: PO_DEBUG.debug_begin(l_log_head);
4425: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4426: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4427: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4428: END IF;
4429:
4430: l_progress := '010';
4431:

Line 4436: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');

4432: IF (p_doc_level = g_doc_level_LINE) THEN
4433:
4434: l_progress := '020';
4435: IF g_debug_stmt THEN
4436: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
4437: END IF;
4438:
4439: x_line_id_tbl := p_doc_level_id_tbl;
4440:

Line 4445: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');

4441: ELSIF (p_doc_level = g_doc_level_HEADER) THEN
4442:
4443: l_progress := '100';
4444: IF g_debug_stmt THEN
4445: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
4446: END IF;
4447:
4448: ----------------------------------------------------
4449: --Algorithm:

Line 4476: PO_DEBUG.debug_stmt(l_log_head,l_progress,'req headers');

4472: IF (p_doc_type = g_doc_type_REQUISITION) THEN
4473:
4474: l_progress := '130';
4475: IF g_debug_stmt THEN
4476: PO_DEBUG.debug_stmt(l_log_head,l_progress,'req headers');
4477: END IF;
4478:
4479: -- Gather all of the req line ids below this entity level.
4480:

Line 4496: PO_DEBUG.debug_stmt(l_log_head,l_progress,'po/pa headers');

4492: ELSIF (p_doc_type IN (g_doc_type_PO, g_doc_type_PA)) THEN
4493:
4494: l_progress := '150';
4495: IF g_debug_stmt THEN
4496: PO_DEBUG.debug_stmt(l_log_head,l_progress,'po/pa headers');
4497: END IF;
4498:
4499: -- Gather all of the line ids below this entity level.
4500:

Line 4526: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');

4522: THEN
4523:
4524: l_progress := '200';
4525: IF g_debug_stmt THEN
4526: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');
4527: END IF;
4528:
4529: -- We need to get out the line ids in the same ordering as the
4530: -- input id table.

Line 4579: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');

4575: ELSIF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
4576:
4577: l_progress := '300';
4578: IF g_debug_stmt THEN
4579: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');
4580: END IF;
4581:
4582: -- We need to get out the line ids in the same ordering as the
4583: -- input id table.

Line 4602: PO_DEBUG.debug_stmt(l_log_head,l_progress,'req');

4598: IF (p_doc_type = g_doc_type_REQUISITION) THEN
4599:
4600: l_progress := '320';
4601: IF g_debug_stmt THEN
4602: PO_DEBUG.debug_stmt(l_log_head,l_progress,'req');
4603: END IF;
4604:
4605: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4606:

Line 4638: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');

4634: ELSE
4635:
4636: l_progress := '340';
4637: IF g_debug_stmt THEN
4638: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');
4639: END IF;
4640:
4641: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4642:

Line 4683: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_id_tbl',x_line_id_tbl);

4679:
4680: l_progress := '900';
4681:
4682: IF g_debug_stmt THEN
4683: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_id_tbl',x_line_id_tbl);
4684: PO_DEBUG.debug_end(l_log_head);
4685: END IF;
4686:
4687: EXCEPTION

Line 4684: PO_DEBUG.debug_end(l_log_head);

4680: l_progress := '900';
4681:
4682: IF g_debug_stmt THEN
4683: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_id_tbl',x_line_id_tbl);
4684: PO_DEBUG.debug_end(l_log_head);
4685: END IF;
4686:
4687: EXCEPTION
4688: WHEN OTHERS THEN

Line 4690: PO_DEBUG.debug_exc(l_log_head,l_progress);

4686:
4687: EXCEPTION
4688: WHEN OTHERS THEN
4689: IF g_debug_unexp THEN
4690: PO_DEBUG.debug_exc(l_log_head,l_progress);
4691: END IF;
4692: RAISE;
4693:
4694: END get_line_ids;

Line 4771: PO_DEBUG.debug_begin(l_log_head);

4767:
4768: BEGIN
4769:
4770: IF g_debug_stmt THEN
4771: PO_DEBUG.debug_begin(l_log_head);
4772: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4773: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4774: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4775: END IF;

Line 4772: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

4768: BEGIN
4769:
4770: IF g_debug_stmt THEN
4771: PO_DEBUG.debug_begin(l_log_head);
4772: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4773: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4774: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4775: END IF;
4776:

Line 4773: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);

4769:
4770: IF g_debug_stmt THEN
4771: PO_DEBUG.debug_begin(l_log_head);
4772: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4773: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4774: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4775: END IF;
4776:
4777: l_progress := '010';

Line 4774: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);

4770: IF g_debug_stmt THEN
4771: PO_DEBUG.debug_begin(l_log_head);
4772: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4773: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4774: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4775: END IF;
4776:
4777: l_progress := '010';
4778:

Line 4791: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');

4787: IF (p_doc_level = g_doc_level_SHIPMENT) THEN
4788:
4789: l_progress := '100';
4790: IF g_debug_stmt THEN
4791: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');
4792: END IF;
4793:
4794: x_line_location_id_tbl := p_doc_level_id_tbl;
4795:

Line 4800: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not shipments');

4796: ELSE
4797:
4798: l_progress := '200';
4799: IF g_debug_stmt THEN
4800: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not shipments');
4801: END IF;
4802:
4803: -- Load the entity ids into the scratchpad.
4804:

Line 4833: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');

4829: THEN
4830:
4831: l_progress := '410';
4832: IF g_debug_stmt THEN
4833: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');
4834: END IF;
4835:
4836: SELECT POLL.line_location_id
4837: BULK COLLECT INTO x_line_location_id_tbl

Line 4851: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');

4847: ELSIF (p_doc_level = g_doc_level_HEADER) THEN
4848:
4849: l_progress := '430';
4850: IF g_debug_stmt THEN
4851: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
4852: END IF;
4853:
4854: SELECT POLL.line_location_id
4855: BULK COLLECT INTO x_line_location_id_tbl

Line 4873: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');

4869: ELSIF (p_doc_level = g_doc_level_LINE) THEN
4870:
4871: l_progress := '450';
4872: IF g_debug_stmt THEN
4873: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
4874: END IF;
4875:
4876: SELECT POLL.line_location_id
4877: BULK COLLECT INTO x_line_location_id_tbl

Line 4907: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');

4903: ----------------------------------------------------------------
4904:
4905: l_progress := '470';
4906: IF g_debug_stmt THEN
4907: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');
4908: END IF;
4909:
4910: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4911:

Line 4952: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_location_id_tbl',x_line_location_id_tbl);

4948:
4949: l_progress := '900';
4950:
4951: IF g_debug_stmt THEN
4952: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_location_id_tbl',x_line_location_id_tbl);
4953: PO_DEBUG.debug_end(l_log_head);
4954: END IF;
4955:
4956: EXCEPTION

Line 4953: PO_DEBUG.debug_end(l_log_head);

4949: l_progress := '900';
4950:
4951: IF g_debug_stmt THEN
4952: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_location_id_tbl',x_line_location_id_tbl);
4953: PO_DEBUG.debug_end(l_log_head);
4954: END IF;
4955:
4956: EXCEPTION
4957: WHEN OTHERS THEN

Line 4959: PO_DEBUG.debug_exc(l_log_head,l_progress);

4955:
4956: EXCEPTION
4957: WHEN OTHERS THEN
4958: IF g_debug_unexp THEN
4959: PO_DEBUG.debug_exc(l_log_head,l_progress);
4960: END IF;
4961: RAISE;
4962:
4963: END get_line_location_ids;

Line 5034: PO_DEBUG.debug_begin(l_log_head);

5030:
5031: BEGIN
5032:
5033: IF g_debug_stmt THEN
5034: PO_DEBUG.debug_begin(l_log_head);
5035: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5036: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5037: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5038: END IF;

Line 5035: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

5031: BEGIN
5032:
5033: IF g_debug_stmt THEN
5034: PO_DEBUG.debug_begin(l_log_head);
5035: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5036: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5037: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5038: END IF;
5039:

Line 5036: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);

5032:
5033: IF g_debug_stmt THEN
5034: PO_DEBUG.debug_begin(l_log_head);
5035: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5036: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5037: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5038: END IF;
5039:
5040: l_progress := '010';

Line 5037: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);

5033: IF g_debug_stmt THEN
5034: PO_DEBUG.debug_begin(l_log_head);
5035: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5036: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5037: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5038: END IF;
5039:
5040: l_progress := '010';
5041:

Line 5054: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');

5050: IF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
5051:
5052: l_progress := '100';
5053: IF g_debug_stmt THEN
5054: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');
5055: END IF;
5056:
5057: x_distribution_id_tbl := p_doc_level_id_tbl;
5058:

Line 5063: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not dists');

5059: ELSE
5060:
5061: l_progress := '200';
5062: IF g_debug_stmt THEN
5063: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not dists');
5064: END IF;
5065:
5066: -- Load the entity ids into the scratchpad.
5067:

Line 5092: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');

5088: IF (p_doc_type = g_doc_type_REQUISITION) THEN
5089:
5090: l_progress := '300';
5091: IF g_debug_stmt THEN
5092: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');
5093: END IF;
5094:
5095: -- Gather all of the req distribution ids below this entity level.
5096:

Line 5101: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');

5097: IF (p_doc_level = g_doc_level_HEADER) THEN
5098:
5099: l_progress := '310';
5100: IF g_debug_stmt THEN
5101: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
5102: END IF;
5103:
5104: SELECT PRD.distribution_id
5105: BULK COLLECT INTO x_distribution_id_tbl

Line 5121: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');

5117: ELSIF (p_doc_level = g_doc_level_LINE) THEN
5118:
5119: l_progress := '330';
5120: IF g_debug_stmt THEN
5121: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
5122: END IF;
5123:
5124: SELECT PRD.distribution_id
5125: BULK COLLECT INTO x_distribution_id_tbl

Line 5146: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');

5142: ELSE -- PO, PA, Release, etc.
5143:
5144: l_progress := '400';
5145: IF g_debug_stmt THEN
5146: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');
5147: END IF;
5148:
5149: -- Gather all of the distribution ids below this entity level.
5150:

Line 5158: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');

5154: THEN
5155:
5156: l_progress := '410';
5157: IF g_debug_stmt THEN
5158: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');
5159: END IF;
5160:
5161: SELECT POD.po_distribution_id
5162: BULK COLLECT INTO x_distribution_id_tbl

Line 5176: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');

5172: ELSIF (p_doc_level = g_doc_level_HEADER) THEN
5173:
5174: l_progress := '430';
5175: IF g_debug_stmt THEN
5176: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
5177: END IF;
5178:
5179: SELECT POD.po_distribution_id
5180: BULK COLLECT INTO x_distribution_id_tbl

Line 5198: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');

5194: ELSIF (p_doc_level = g_doc_level_LINE) THEN
5195:
5196: l_progress := '450';
5197: IF g_debug_stmt THEN
5198: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
5199: END IF;
5200:
5201: SELECT POD.po_distribution_id
5202: BULK COLLECT INTO x_distribution_id_tbl

Line 5220: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');

5216: ELSIF (p_doc_level = g_doc_level_SHIPMENT) THEN
5217:
5218: l_progress := '470';
5219: IF g_debug_stmt THEN
5220: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');
5221: END IF;
5222:
5223: SELECT POD.po_distribution_id
5224: BULK COLLECT INTO x_distribution_id_tbl

Line 5251: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);

5247:
5248: l_progress := '900';
5249:
5250: IF g_debug_stmt THEN
5251: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5252: PO_DEBUG.debug_end(l_log_head);
5253: END IF;
5254:
5255: EXCEPTION

Line 5252: PO_DEBUG.debug_end(l_log_head);

5248: l_progress := '900';
5249:
5250: IF g_debug_stmt THEN
5251: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5252: PO_DEBUG.debug_end(l_log_head);
5253: END IF;
5254:
5255: EXCEPTION
5256: WHEN OTHERS THEN

Line 5258: PO_DEBUG.debug_exc(l_log_head,l_progress);

5254:
5255: EXCEPTION
5256: WHEN OTHERS THEN
5257: IF g_debug_unexp THEN
5258: PO_DEBUG.debug_exc(l_log_head,l_progress);
5259: END IF;
5260: RAISE;
5261:
5262: END get_distribution_ids;

Line 5324: PO_DEBUG.debug_begin(l_log_head);

5320:
5321: BEGIN
5322:
5323: IF g_debug_stmt THEN
5324: PO_DEBUG.debug_begin(l_log_head);
5325: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5326: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5327: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5328: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);

Line 5325: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

5321: BEGIN
5322:
5323: IF g_debug_stmt THEN
5324: PO_DEBUG.debug_begin(l_log_head);
5325: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5326: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5327: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5328: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);
5329: END IF;

Line 5326: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);

5322:
5323: IF g_debug_stmt THEN
5324: PO_DEBUG.debug_begin(l_log_head);
5325: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5326: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5327: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5328: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);
5329: END IF;
5330:

Line 5327: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);

5323: IF g_debug_stmt THEN
5324: PO_DEBUG.debug_begin(l_log_head);
5325: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5326: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5327: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5328: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);
5329: END IF;
5330:
5331: l_progress := '010';

Line 5328: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);

5324: PO_DEBUG.debug_begin(l_log_head);
5325: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5326: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5327: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5328: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);
5329: END IF;
5330:
5331: l_progress := '010';
5332:

Line 5343: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not dists');

5339: -----------------------------------------------------------------
5340:
5341: l_progress := '200';
5342: IF g_debug_stmt THEN
5343: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not dists');
5344: END IF;
5345:
5346: -- Load the entity ids into the scratchpad.
5347:

Line 5381: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');

5377: IF (p_doc_type = g_doc_type_REQUISITION) THEN
5378:
5379: l_progress := '300';
5380: IF g_debug_stmt THEN
5381: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');
5382: END IF;
5383:
5384: -- Requisitions are not archived, hence this doc type is not
5385: -- supported by this API

Line 5392: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');

5388: ELSE -- PO, Release
5389:
5390: l_progress := '400';
5391: IF g_debug_stmt THEN
5392: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');
5393: END IF;
5394:
5395: -- Gather all of the distribution ids below this entity level.
5396:

Line 5404: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');

5400: THEN
5401:
5402: l_progress := '410';
5403: IF g_debug_stmt THEN
5404: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');
5405: END IF;
5406:
5407: SELECT POD.po_distribution_id
5408: , POD.revision_num

Line 5435: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');

5431: ELSIF (p_doc_level = g_doc_level_HEADER) THEN
5432:
5433: l_progress := '430';
5434: IF g_debug_stmt THEN
5435: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
5436: END IF;
5437:
5438: SELECT POD.po_distribution_id
5439: , POD.revision_num

Line 5469: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');

5465: ELSIF (p_doc_level = g_doc_level_LINE) THEN
5466:
5467: l_progress := '450';
5468: IF g_debug_stmt THEN
5469: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
5470: END IF;
5471:
5472: SELECT POD.po_distribution_id
5473: , POD.revision_num

Line 5503: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');

5499: ELSIF (p_doc_level = g_doc_level_SHIPMENT) THEN
5500:
5501: l_progress := '470';
5502: IF g_debug_stmt THEN
5503: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');
5504: END IF;
5505:
5506: SELECT POD.po_distribution_id
5507: , POD.revision_num

Line 5534: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');

5530: ELSIF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
5531:
5532: l_progress := '490';
5533: IF g_debug_stmt THEN
5534: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');
5535: END IF;
5536:
5537: SELECT POD.po_distribution_id
5538: , POD.revision_num

Line 5574: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);

5570: l_progress := '600';
5571:
5572:
5573: IF g_debug_stmt THEN
5574: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5575: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_rev_num_tbl',x_distribution_rev_num_tbl);
5576: PO_DEBUG.debug_end(l_log_head);
5577: END IF;
5578:

Line 5575: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_rev_num_tbl',x_distribution_rev_num_tbl);

5571:
5572:
5573: IF g_debug_stmt THEN
5574: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5575: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_rev_num_tbl',x_distribution_rev_num_tbl);
5576: PO_DEBUG.debug_end(l_log_head);
5577: END IF;
5578:
5579: EXCEPTION

Line 5576: PO_DEBUG.debug_end(l_log_head);

5572:
5573: IF g_debug_stmt THEN
5574: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5575: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_rev_num_tbl',x_distribution_rev_num_tbl);
5576: PO_DEBUG.debug_end(l_log_head);
5577: END IF;
5578:
5579: EXCEPTION
5580: WHEN OTHERS THEN

Line 5582: PO_DEBUG.debug_exc(l_log_head,l_progress);

5578:
5579: EXCEPTION
5580: WHEN OTHERS THEN
5581: IF g_debug_unexp THEN
5582: PO_DEBUG.debug_exc(l_log_head,l_progress);
5583: END IF;
5584: RAISE;
5585:
5586: END get_dist_ids_from_archive;

Line 5642: PO_DEBUG.debug_begin(l_log_head);

5638:
5639: BEGIN
5640:
5641: IF g_debug_stmt THEN
5642: PO_DEBUG.debug_begin(l_log_head);
5643: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5644: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_id', p_org_id);
5645: END IF;
5646:

Line 5643: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

5639: BEGIN
5640:
5641: IF g_debug_stmt THEN
5642: PO_DEBUG.debug_begin(l_log_head);
5643: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5644: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_id', p_org_id);
5645: END IF;
5646:
5647: l_progress := '010';

Line 5644: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_id', p_org_id);

5640:
5641: IF g_debug_stmt THEN
5642: PO_DEBUG.debug_begin(l_log_head);
5643: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5644: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_id', p_org_id);
5645: END IF;
5646:
5647: l_progress := '010';
5648:

Line 5657: PO_DEBUG.debug_stmt(l_log_head,l_progress,'using FINANCIALS_SYSTEM_PARAMETERS');

5653: IF (p_org_id IS NULL) THEN
5654:
5655: l_progress := '020';
5656: IF g_debug_stmt THEN
5657: PO_DEBUG.debug_stmt(l_log_head,l_progress,'using FINANCIALS_SYSTEM_PARAMETERS');
5658: END IF;
5659:
5660: SELECT FSP.req_encumbrance_flag, FSP.purch_encumbrance_flag
5661: INTO l_req_enc_flag, l_purch_enc_flag

Line 5671: PO_DEBUG.debug_stmt(l_log_head,l_progress,'using FINANCIALS_SYSTEM_PARAMS_ALL');

5667: ELSE
5668:
5669: l_progress := '040';
5670: IF g_debug_stmt THEN
5671: PO_DEBUG.debug_stmt(l_log_head,l_progress,'using FINANCIALS_SYSTEM_PARAMS_ALL');
5672: END IF;
5673:
5674: SELECT FSP.req_encumbrance_flag, FSP.purch_encumbrance_flag
5675: INTO l_req_enc_flag, l_purch_enc_flag

Line 5687: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_enc_flag',l_req_enc_flag);

5683:
5684: l_progress := '060';
5685:
5686: IF g_debug_stmt THEN
5687: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_enc_flag',l_req_enc_flag);
5688: PO_DEBUG.debug_var(l_log_head,l_progress,'l_purch_enc_flag',l_purch_enc_flag);
5689: END IF;
5690:
5691: -- Set the vars for encumbrance checking.

Line 5688: PO_DEBUG.debug_var(l_log_head,l_progress,'l_purch_enc_flag',l_purch_enc_flag);

5684: l_progress := '060';
5685:
5686: IF g_debug_stmt THEN
5687: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_enc_flag',l_req_enc_flag);
5688: PO_DEBUG.debug_var(l_log_head,l_progress,'l_purch_enc_flag',l_purch_enc_flag);
5689: END IF;
5690:
5691: -- Set the vars for encumbrance checking.
5692:

Line 5710: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_encumbrance_on',l_req_encumbrance_on);

5706:
5707: l_progress := '080';
5708:
5709: IF g_debug_stmt THEN
5710: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_encumbrance_on',l_req_encumbrance_on);
5711: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_encumbrance_on',l_po_encumbrance_on);
5712: END IF;
5713:
5714: -- Set the return value for the appropriate doc type.

Line 5711: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_encumbrance_on',l_po_encumbrance_on);

5707: l_progress := '080';
5708:
5709: IF g_debug_stmt THEN
5710: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_encumbrance_on',l_req_encumbrance_on);
5711: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_encumbrance_on',l_po_encumbrance_on);
5712: END IF;
5713:
5714: -- Set the return value for the appropriate doc type.
5715:

Line 5748: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);

5744:
5745: l_progress := '900';
5746:
5747: IF g_debug_stmt THEN
5748: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);
5749: PO_DEBUG.debug_end(l_log_head);
5750: END IF;
5751:
5752: RETURN(l_enc_on);

Line 5749: PO_DEBUG.debug_end(l_log_head);

5745: l_progress := '900';
5746:
5747: IF g_debug_stmt THEN
5748: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);
5749: PO_DEBUG.debug_end(l_log_head);
5750: END IF;
5751:
5752: RETURN(l_enc_on);
5753:

Line 5757: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);

5753:
5754: EXCEPTION
5755: WHEN OTHERS THEN
5756: IF g_debug_unexp THEN
5757: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);
5758: PO_DEBUG.debug_exc(l_log_head,l_progress);
5759: END IF;
5760: RAISE;
5761:

Line 5758: PO_DEBUG.debug_exc(l_log_head,l_progress);

5754: EXCEPTION
5755: WHEN OTHERS THEN
5756: IF g_debug_unexp THEN
5757: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);
5758: PO_DEBUG.debug_exc(l_log_head,l_progress);
5759: END IF;
5760: RAISE;
5761:
5762: END is_encumbrance_on;

Line 6065: PO_DEBUG.debug_stmt

6061: l_progress := '000';
6062: x_return_status := FND_API.g_ret_sts_success;
6063:
6064: IF g_debug_stmt THEN
6065: PO_DEBUG.debug_stmt
6066: (p_log_head => g_log_head||'check_inv_org_in_sob',
6067: p_token => 'invoked',
6068: p_message => 'inv org ID: '||p_inv_org_id||' sob ID: '||p_sob_id);
6069: END IF;

Line 6112: PO_DEBUG.debug_var

6108: x_in_sob := FALSE;
6109: END;
6110:
6111: IF g_debug_stmt THEN
6112: PO_DEBUG.debug_var
6113: (p_log_head => g_log_head||'check_inv_org_in_sob',
6114: p_progress => l_progress,
6115: p_name => 'x_in_sob',
6116: p_value => x_in_sob);

Line 6128: PO_DEBUG.debug_exc

6124: p_procedure_name => 'check_inv_org_in_sob',
6125: p_error_text => 'Progress: '||l_progress||
6126: ' Error: '||SUBSTRB(SQLERRM,1,215));
6127: IF g_debug_unexp THEN
6128: PO_DEBUG.debug_exc
6129: (p_log_head => g_log_head||'check_inv_org_in_sob',
6130: p_progress => l_progress);
6131: END IF;
6132: END check_inv_org_in_sob;

Line 6174: PO_DEBUG.debug_stmt

6170: l_progress := '000';
6171: x_return_status := FND_API.g_ret_sts_success;
6172:
6173: IF g_debug_stmt THEN
6174: PO_DEBUG.debug_stmt
6175: (p_log_head => g_log_head||'get_inv_org_ou_id',
6176: p_token => 'invoked',
6177: p_message => 'inv org ID: '||p_inv_org_id);
6178: END IF;

Line 6203: PO_DEBUG.debug_var

6199:
6200: l_progress := '020';
6201:
6202: IF g_debug_stmt THEN
6203: PO_DEBUG.debug_var
6204: (p_log_head => g_log_head||'get_inv_org_ou_id',
6205: p_progress => l_progress,
6206: p_name => 'x_ou_id',
6207: p_value => x_ou_id);

Line 6218: PO_DEBUG.debug_exc

6214: p_procedure_name => 'get_inv_org_ou_id',
6215: p_error_text => 'Progress: '||l_progress||
6216: ' Error: '||SUBSTRB(SQLERRM,1,215));
6217: IF g_debug_unexp THEN
6218: PO_DEBUG.debug_exc
6219: (p_log_head => g_log_head||'get_inv_org_ou_id',
6220: p_progress => l_progress);
6221: END IF;
6222: END get_inv_org_ou_id;

Line 6262: PO_DEBUG.debug_stmt

6258: l_progress := '000';
6259: x_return_status := FND_API.g_ret_sts_success;
6260:
6261: IF g_debug_stmt THEN
6262: PO_DEBUG.debug_stmt
6263: (p_log_head => g_log_head||'get_inv_org_sob_id',
6264: p_token => 'invoked',
6265: p_message => 'inv org ID: '||p_inv_org_id);
6266: END IF;

Line 6283: PO_DEBUG.debug_var

6279:
6280: l_progress := '020';
6281:
6282: IF g_debug_stmt THEN
6283: PO_DEBUG.debug_var
6284: (p_log_head => g_log_head||'get_inv_org_sob_id',
6285: p_progress => l_progress,
6286: p_name => 'x_sob_id',
6287: p_value => x_sob_id);

Line 6298: PO_DEBUG.debug_exc

6294: p_procedure_name => 'get_inv_org_sob_id',
6295: p_error_text => 'Progress: '||l_progress||
6296: ' Error: '||SUBSTRB(SQLERRM,1,215));
6297: IF g_debug_unexp THEN
6298: PO_DEBUG.debug_exc
6299: (p_log_head => g_log_head||'get_inv_org_sob_id',
6300: p_progress => l_progress);
6301: END IF;
6302: END get_inv_org_sob_id;

Line 6359: PO_DEBUG.debug_stmt

6355: l_progress := '000';
6356: x_return_status := FND_API.g_ret_sts_success;
6357:
6358: IF g_debug_stmt THEN
6359: PO_DEBUG.debug_stmt
6360: (p_log_head => g_log_head||'get_inv_org_info',
6361: p_token => 'invoked',
6362: p_message => 'inv org ID: '||p_inv_org_id);
6363: END IF;

Line 6393: PO_DEBUG.debug_stmt

6389:
6390: l_progress := '020';
6391:
6392: IF g_debug_stmt THEN
6393: PO_DEBUG.debug_stmt
6394: (p_log_head => g_log_head||'get_inv_org_info',
6395: p_token => 'output',
6396: p_message => 'bg ID: '||x_business_group_id||' sob ID: '||
6397: x_set_of_books_id||' coa ID: '||x_chart_of_accounts_id||

Line 6410: PO_DEBUG.debug_exc

6406: p_procedure_name => 'get_inv_org_info',
6407: p_error_text => 'Progress: '||l_progress||
6408: ' Error: '||SUBSTRB(SQLERRM,1,215));
6409: IF g_debug_unexp THEN
6410: PO_DEBUG.debug_exc
6411: (p_log_head => g_log_head||'get_inv_org_info',
6412: p_progress => l_progress);
6413: END IF;
6414: END get_inv_org_info;

Line 6479: PO_DEBUG.debug_begin(l_log_head);

6475:
6476: BEGIN
6477:
6478: IF g_debug_stmt THEN
6479: PO_DEBUG.debug_begin(l_log_head);
6480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6481: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6483: END IF;

Line 6480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

6476: BEGIN
6477:
6478: IF g_debug_stmt THEN
6479: PO_DEBUG.debug_begin(l_log_head);
6480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6481: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6483: END IF;
6484:

Line 6481: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

6477:
6478: IF g_debug_stmt THEN
6479: PO_DEBUG.debug_begin(l_log_head);
6480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6481: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6483: END IF;
6484:
6485: l_progress := '010';

Line 6482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

6478: IF g_debug_stmt THEN
6479: PO_DEBUG.debug_begin(l_log_head);
6480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6481: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6483: END IF;
6484:
6485: l_progress := '010';
6486:

Line 6679: PO_DEBUG.debug_stmt(l_log_head,l_progress,'got encumbrance counts');

6675:
6676: END IF;
6677:
6678: IF g_debug_stmt THEN
6679: PO_DEBUG.debug_stmt(l_log_head,l_progress,'got encumbrance counts');
6680: END IF;
6681:
6682: l_progress := '900';
6683: IF g_debug_stmt THEN

Line 6684: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);

6680: END IF;
6681:
6682: l_progress := '900';
6683: IF g_debug_stmt THEN
6684: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6685: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6686: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6687: PO_DEBUG.debug_end(l_log_head);
6688: END IF;

Line 6685: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);

6681:
6682: l_progress := '900';
6683: IF g_debug_stmt THEN
6684: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6685: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6686: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6687: PO_DEBUG.debug_end(l_log_head);
6688: END IF;
6689:

Line 6686: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);

6682: l_progress := '900';
6683: IF g_debug_stmt THEN
6684: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6685: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6686: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6687: PO_DEBUG.debug_end(l_log_head);
6688: END IF;
6689:
6690: EXCEPTION

Line 6687: PO_DEBUG.debug_end(l_log_head);

6683: IF g_debug_stmt THEN
6684: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6685: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6686: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6687: PO_DEBUG.debug_end(l_log_head);
6688: END IF;
6689:
6690: EXCEPTION
6691: WHEN OTHERS THEN

Line 6693: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);

6689:
6690: EXCEPTION
6691: WHEN OTHERS THEN
6692: IF g_debug_unexp THEN
6693: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6694: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6695: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6696: PO_DEBUG.debug_exc(l_log_head,l_progress);
6697: END IF;

Line 6694: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);

6690: EXCEPTION
6691: WHEN OTHERS THEN
6692: IF g_debug_unexp THEN
6693: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6694: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6695: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6696: PO_DEBUG.debug_exc(l_log_head,l_progress);
6697: END IF;
6698: RAISE;

Line 6695: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);

6691: WHEN OTHERS THEN
6692: IF g_debug_unexp THEN
6693: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6694: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6695: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6696: PO_DEBUG.debug_exc(l_log_head,l_progress);
6697: END IF;
6698: RAISE;
6699:

Line 6696: PO_DEBUG.debug_exc(l_log_head,l_progress);

6692: IF g_debug_unexp THEN
6693: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6694: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6695: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6696: PO_DEBUG.debug_exc(l_log_head,l_progress);
6697: END IF;
6698: RAISE;
6699:
6700: END get_open_encumbrance_stats;

Line 6762: PO_DEBUG.debug_begin(l_log_head);

6758:
6759: BEGIN
6760:
6761: IF g_debug_stmt THEN
6762: PO_DEBUG.debug_begin(l_log_head);
6763: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6766: END IF;

Line 6763: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

6759: BEGIN
6760:
6761: IF g_debug_stmt THEN
6762: PO_DEBUG.debug_begin(l_log_head);
6763: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6766: END IF;
6767:

Line 6764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

6760:
6761: IF g_debug_stmt THEN
6762: PO_DEBUG.debug_begin(l_log_head);
6763: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6766: END IF;
6767:
6768: l_progress := '010';

Line 6765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

6761: IF g_debug_stmt THEN
6762: PO_DEBUG.debug_begin(l_log_head);
6763: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6766: END IF;
6767:
6768: l_progress := '010';
6769:

Line 6789: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);

6785: END IF;
6786:
6787: l_progress := '900';
6788: IF g_debug_stmt THEN
6789: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);
6790: PO_DEBUG.debug_end(l_log_head);
6791: END IF;
6792:
6793: EXCEPTION

Line 6790: PO_DEBUG.debug_end(l_log_head);

6786:
6787: l_progress := '900';
6788: IF g_debug_stmt THEN
6789: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);
6790: PO_DEBUG.debug_end(l_log_head);
6791: END IF;
6792:
6793: EXCEPTION
6794: WHEN OTHERS THEN

Line 6796: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);

6792:
6793: EXCEPTION
6794: WHEN OTHERS THEN
6795: IF g_debug_unexp THEN
6796: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);
6797: PO_DEBUG.debug_exc(l_log_head,l_progress);
6798: END IF;
6799: RAISE;
6800:

Line 6797: PO_DEBUG.debug_exc(l_log_head,l_progress);

6793: EXCEPTION
6794: WHEN OTHERS THEN
6795: IF g_debug_unexp THEN
6796: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);
6797: PO_DEBUG.debug_exc(l_log_head,l_progress);
6798: END IF;
6799: RAISE;
6800:
6801: END should_display_reserved;

Line 6860: PO_DEBUG.debug_begin(l_log_head);

6856:
6857: BEGIN
6858:
6859: IF g_debug_stmt THEN
6860: PO_DEBUG.debug_begin(l_log_head);
6861: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6862: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6863: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6864: END IF;

Line 6861: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

6857: BEGIN
6858:
6859: IF g_debug_stmt THEN
6860: PO_DEBUG.debug_begin(l_log_head);
6861: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6862: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6863: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6864: END IF;
6865:

Line 6862: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

6858:
6859: IF g_debug_stmt THEN
6860: PO_DEBUG.debug_begin(l_log_head);
6861: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6862: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6863: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6864: END IF;
6865:
6866: l_progress := '010';

Line 6863: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

6859: IF g_debug_stmt THEN
6860: PO_DEBUG.debug_begin(l_log_head);
6861: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6862: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6863: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6864: END IF;
6865:
6866: l_progress := '010';
6867:

Line 6887: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);

6883: END IF;
6884:
6885: l_progress := '900';
6886: IF g_debug_stmt THEN
6887: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);
6888: PO_DEBUG.debug_end(l_log_head);
6889: END IF;
6890:
6891: EXCEPTION

Line 6888: PO_DEBUG.debug_end(l_log_head);

6884:
6885: l_progress := '900';
6886: IF g_debug_stmt THEN
6887: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);
6888: PO_DEBUG.debug_end(l_log_head);
6889: END IF;
6890:
6891: EXCEPTION
6892: WHEN OTHERS THEN

Line 6894: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);

6890:
6891: EXCEPTION
6892: WHEN OTHERS THEN
6893: IF g_debug_unexp THEN
6894: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);
6895: PO_DEBUG.debug_exc(l_log_head,l_progress);
6896: END IF;
6897: RAISE;
6898:

Line 6895: PO_DEBUG.debug_exc(l_log_head,l_progress);

6891: EXCEPTION
6892: WHEN OTHERS THEN
6893: IF g_debug_unexp THEN
6894: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);
6895: PO_DEBUG.debug_exc(l_log_head,l_progress);
6896: END IF;
6897: RAISE;
6898:
6899: END is_fully_reserved;

Line 6957: PO_DEBUG.debug_begin(l_log_head);

6953:
6954: BEGIN
6955:
6956: IF g_debug_stmt THEN
6957: PO_DEBUG.debug_begin(l_log_head);
6958: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6959: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6960: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6961: END IF;

Line 6958: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

6954: BEGIN
6955:
6956: IF g_debug_stmt THEN
6957: PO_DEBUG.debug_begin(l_log_head);
6958: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6959: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6960: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6961: END IF;
6962:

Line 6959: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

6955:
6956: IF g_debug_stmt THEN
6957: PO_DEBUG.debug_begin(l_log_head);
6958: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6959: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6960: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6961: END IF;
6962:
6963: l_progress := '010';

Line 6960: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

6956: IF g_debug_stmt THEN
6957: PO_DEBUG.debug_begin(l_log_head);
6958: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6959: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6960: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6961: END IF;
6962:
6963: l_progress := '010';
6964:

Line 6984: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);

6980: END IF;
6981:
6982: l_progress := '900';
6983: IF g_debug_stmt THEN
6984: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);
6985: PO_DEBUG.debug_end(l_log_head);
6986: END IF;
6987:
6988: EXCEPTION

Line 6985: PO_DEBUG.debug_end(l_log_head);

6981:
6982: l_progress := '900';
6983: IF g_debug_stmt THEN
6984: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);
6985: PO_DEBUG.debug_end(l_log_head);
6986: END IF;
6987:
6988: EXCEPTION
6989: WHEN OTHERS THEN

Line 6991: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);

6987:
6988: EXCEPTION
6989: WHEN OTHERS THEN
6990: IF g_debug_unexp THEN
6991: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);
6992: PO_DEBUG.debug_exc(l_log_head,l_progress);
6993: END IF;
6994: RAISE;
6995:

Line 6992: PO_DEBUG.debug_exc(l_log_head,l_progress);

6988: EXCEPTION
6989: WHEN OTHERS THEN
6990: IF g_debug_unexp THEN
6991: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);
6992: PO_DEBUG.debug_exc(l_log_head,l_progress);
6993: END IF;
6994: RAISE;
6995:
6996: END are_any_dists_reserved;

Line 7031: PO_DEBUG.debug_begin(l_log_head);

7027:
7028: BEGIN
7029:
7030: IF g_debug_stmt THEN
7031: PO_DEBUG.debug_begin(l_log_head);
7032: END IF;
7033:
7034: l_progress := '010';
7035:

Line 7045: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);

7041: ;
7042:
7043: l_progress := '900';
7044: IF g_debug_stmt THEN
7045: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);
7046: PO_DEBUG.debug_end(l_log_head);
7047: END IF;
7048:
7049: EXCEPTION

Line 7046: PO_DEBUG.debug_end(l_log_head);

7042:
7043: l_progress := '900';
7044: IF g_debug_stmt THEN
7045: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);
7046: PO_DEBUG.debug_end(l_log_head);
7047: END IF;
7048:
7049: EXCEPTION
7050: WHEN OTHERS THEN

Line 7052: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);

7048:
7049: EXCEPTION
7050: WHEN OTHERS THEN
7051: IF g_debug_unexp THEN
7052: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);
7053: PO_DEBUG.debug_exc(l_log_head,l_progress);
7054: END IF;
7055:
7056: END get_reserved_lookup;

Line 7053: PO_DEBUG.debug_exc(l_log_head,l_progress);

7049: EXCEPTION
7050: WHEN OTHERS THEN
7051: IF g_debug_unexp THEN
7052: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);
7053: PO_DEBUG.debug_exc(l_log_head,l_progress);
7054: END IF;
7055:
7056: END get_reserved_lookup;
7057:

Line 7111: PO_DEBUG.handle_unexp_error(p_pkg_name => g_pkg_name,

7107: END IF;
7108:
7109: EXCEPTION
7110: WHEN OTHERS THEN
7111: PO_DEBUG.handle_unexp_error(p_pkg_name => g_pkg_name,
7112: p_proc_name => l_proc_name );
7113: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
7114: END validate_yes_no_param;
7115: -- Bug 3373453 END

Line 7148: PO_DEBUG.debug_begin(l_log_head);

7144:
7145: BEGIN
7146:
7147: IF g_debug_stmt THEN
7148: PO_DEBUG.debug_begin(l_log_head);
7149: END IF;
7150:
7151: l_progress := '010';
7152:

Line 7161: PO_DEBUG.debug_var(l_log_head,l_progress,'x_nextval',x_nextval);

7157:
7158: l_progress := '900';
7159:
7160: IF g_debug_stmt THEN
7161: PO_DEBUG.debug_var(l_log_head,l_progress,'x_nextval',x_nextval);
7162: PO_DEBUG.debug_end(l_log_head);
7163: END IF;
7164:
7165: RETURN(x_nextval);

Line 7162: PO_DEBUG.debug_end(l_log_head);

7158: l_progress := '900';
7159:
7160: IF g_debug_stmt THEN
7161: PO_DEBUG.debug_var(l_log_head,l_progress,'x_nextval',x_nextval);
7162: PO_DEBUG.debug_end(l_log_head);
7163: END IF;
7164:
7165: RETURN(x_nextval);
7166:

Line 7171: PO_DEBUG.debug_var(l_log_head,l_progress,'x_nextval',x_nextval);

7167: EXCEPTION
7168: WHEN OTHERS THEN
7169: PO_MESSAGE_S.sql_error(g_pkg_name,l_proc_name,l_progress,SQLCODE,SQLERRM);
7170: IF g_debug_stmt THEN
7171: PO_DEBUG.debug_var(l_log_head,l_progress,'x_nextval',x_nextval);
7172: END IF;
7173: RAISE;
7174:
7175: END get_session_gt_nextval;