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 930: PO_DEBUG.debug_begin(l_log_head);

926:
927: BEGIN
928:
929: IF g_debug_stmt THEN
930: PO_DEBUG.debug_begin(l_log_head);
931: PO_DEBUG.debug_var(l_log_head,l_progress,'x_sob_id',x_sob_id);
932: END IF;
933:
934: l_progress := '010';

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

927: BEGIN
928:
929: IF g_debug_stmt THEN
930: PO_DEBUG.debug_begin(l_log_head);
931: PO_DEBUG.debug_var(l_log_head,l_progress,'x_sob_id',x_sob_id);
932: END IF;
933:
934: l_progress := '010';
935:

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

951: IF (l_invalid_period_flag = FND_API.G_FALSE) THEN
952:
953: l_progress := '030';
954: IF g_debug_stmt THEN
955: PO_DEBUG.debug_stmt(l_log_head,l_progress,'valid period');
956: END IF;
957:
958: x_gl_date := TRUNC(SYSDATE);
959:

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

961:
962: l_progress := '900';
963:
964: IF g_debug_stmt THEN
965: PO_DEBUG.debug_var(l_log_head,l_progress,'x_period',x_period);
966: PO_DEBUG.debug_var(l_log_head,l_progress,'x_gl_date',x_gl_date);
967: PO_DEBUG.debug_end(l_log_head);
968: END IF;
969:

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

962: l_progress := '900';
963:
964: IF g_debug_stmt THEN
965: PO_DEBUG.debug_var(l_log_head,l_progress,'x_period',x_period);
966: PO_DEBUG.debug_var(l_log_head,l_progress,'x_gl_date',x_gl_date);
967: PO_DEBUG.debug_end(l_log_head);
968: END IF;
969:
970: EXCEPTION

Line 967: PO_DEBUG.debug_end(l_log_head);

963:
964: IF g_debug_stmt THEN
965: PO_DEBUG.debug_var(l_log_head,l_progress,'x_period',x_period);
966: PO_DEBUG.debug_var(l_log_head,l_progress,'x_gl_date',x_gl_date);
967: PO_DEBUG.debug_end(l_log_head);
968: END IF;
969:
970: EXCEPTION
971: WHEN OTHERS THEN

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

969:
970: EXCEPTION
971: WHEN OTHERS THEN
972: IF g_debug_unexp THEN
973: PO_DEBUG.debug_exc(l_log_head,l_progress);
974: END IF;
975: RAISE;
976:
977: END get_period_name;

Line 3313: PO_DEBUG.debug_begin(l_log_head);

3309: l_progress VARCHAR2(3) := '000';
3310:
3311: BEGIN
3312: IF g_debug_stmt THEN
3313: PO_DEBUG.debug_begin(l_log_head);
3314: END IF;
3315:
3316: l_progress := '010';
3317:

Line 3754: PO_DEBUG.debug_end(l_log_head);

3750:
3751: END IF;
3752:
3753: IF g_debug_stmt THEN
3754: PO_DEBUG.debug_end(l_log_head);
3755: END IF;
3756:
3757: --Bug# 5391346 END
3758:

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

3759: RETURN l_total;
3760:
3761: EXCEPTION
3762: WHEN OTHERS THEN
3763: PO_DEBUG.debug_exc(l_log_head,l_progress);
3764: RETURN 0;
3765: END get_gc_amount_released;
3766:
3767: --

Line 3923: PO_DEBUG.debug_begin(l_log_head);

3919:
3920: BEGIN
3921:
3922: IF g_debug_stmt THEN
3923: PO_DEBUG.debug_begin(l_log_head);
3924: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3925: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3926: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
3927: END IF;

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

3920: BEGIN
3921:
3922: IF g_debug_stmt THEN
3923: PO_DEBUG.debug_begin(l_log_head);
3924: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3925: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3926: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
3927: END IF;
3928:

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

3921:
3922: IF g_debug_stmt THEN
3923: PO_DEBUG.debug_begin(l_log_head);
3924: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3925: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3926: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
3927: END IF;
3928:
3929: l_progress := '010';

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

3922: IF g_debug_stmt THEN
3923: PO_DEBUG.debug_begin(l_log_head);
3924: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3925: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3926: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
3927: END IF;
3928:
3929: l_progress := '010';
3930:

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

3931: IF (p_doc_level = g_doc_level_HEADER) THEN
3932:
3933: l_progress := '020';
3934: IF g_debug_stmt THEN
3935: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
3936: END IF;
3937:
3938: x_doc_id_tbl := p_doc_level_id_tbl;
3939:

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

3940: ELSE
3941:
3942: l_progress := '100';
3943: IF g_debug_stmt THEN
3944: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not headers');
3945: END IF;
3946:
3947: -- We need to get outthe header ids in the same ordering as the
3948: -- input id table.

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

3963: IF (p_doc_type = g_doc_type_REQUISITION) THEN
3964:
3965: l_progress := '120';
3966: IF g_debug_stmt THEN
3967: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');
3968: END IF;
3969:
3970: IF (p_doc_level = g_doc_level_LINE) THEN
3971:

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

3970: IF (p_doc_level = g_doc_level_LINE) THEN
3971:
3972: l_progress := '130';
3973: IF g_debug_stmt THEN
3974: PO_DEBUG.debug_stmt(l_log_head,l_progress,'line');
3975: END IF;
3976:
3977: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
3978:

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

4006: ELSIF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
4007:
4008: l_progress := '150';
4009: IF g_debug_stmt THEN
4010: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distribution');
4011: END IF;
4012:
4013: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4014:

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

4052: ELSE -- PO, PA, RELEASE
4053:
4054: l_progress := '200';
4055: IF g_debug_stmt THEN
4056: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');
4057: END IF;
4058:
4059: IF (p_doc_level = g_doc_level_LINE) THEN
4060:

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

4059: IF (p_doc_level = g_doc_level_LINE) THEN
4060:
4061: l_progress := '210';
4062: IF g_debug_stmt THEN
4063: PO_DEBUG.debug_stmt(l_log_head,l_progress,'line');
4064: END IF;
4065:
4066: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4067:

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

4095: ELSIF (p_doc_level = g_doc_level_SHIPMENT) THEN
4096:
4097: l_progress := '230';
4098: IF g_debug_stmt THEN
4099: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipment');
4100: END IF;
4101:
4102: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4103:

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

4134: ELSIF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
4135:
4136: l_progress := '250';
4137: IF g_debug_stmt THEN
4138: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distribution');
4139: END IF;
4140:
4141: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4142:

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

4185:
4186: l_progress := '900';
4187:
4188: IF g_debug_stmt THEN
4189: PO_DEBUG.debug_var(l_log_head,l_progress,'x_doc_id_tbl',x_doc_id_tbl);
4190: PO_DEBUG.debug_end(l_log_head);
4191: END IF;
4192:
4193: EXCEPTION

Line 4190: PO_DEBUG.debug_end(l_log_head);

4186: l_progress := '900';
4187:
4188: IF g_debug_stmt THEN
4189: PO_DEBUG.debug_var(l_log_head,l_progress,'x_doc_id_tbl',x_doc_id_tbl);
4190: PO_DEBUG.debug_end(l_log_head);
4191: END IF;
4192:
4193: EXCEPTION
4194: WHEN OTHERS THEN

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

4192:
4193: EXCEPTION
4194: WHEN OTHERS THEN
4195: IF g_debug_unexp THEN
4196: PO_DEBUG.debug_exc(l_log_head,l_progress);
4197: END IF;
4198: RAISE;
4199:
4200: END get_document_ids;

Line 4258: PO_DEBUG.debug_begin(l_log_head);

4254:
4255: BEGIN
4256:
4257: IF g_debug_stmt THEN
4258: PO_DEBUG.debug_begin(l_log_head);
4259: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4260: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4261: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4262: END IF;

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

4255: BEGIN
4256:
4257: IF g_debug_stmt THEN
4258: PO_DEBUG.debug_begin(l_log_head);
4259: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4260: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4261: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4262: END IF;
4263:

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

4256:
4257: IF g_debug_stmt THEN
4258: PO_DEBUG.debug_begin(l_log_head);
4259: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4260: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4261: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4262: END IF;
4263:
4264: l_progress := '010';

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

4257: IF g_debug_stmt THEN
4258: PO_DEBUG.debug_begin(l_log_head);
4259: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4260: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4261: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4262: END IF;
4263:
4264: l_progress := '010';
4265:

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

4266: IF (p_doc_level = g_doc_level_LINE) THEN
4267:
4268: l_progress := '020';
4269: IF g_debug_stmt THEN
4270: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
4271: END IF;
4272:
4273: x_line_id_tbl := p_doc_level_id_tbl;
4274:

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

4275: ELSIF (p_doc_level = g_doc_level_HEADER) THEN
4276:
4277: l_progress := '100';
4278: IF g_debug_stmt THEN
4279: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
4280: END IF;
4281:
4282: ----------------------------------------------------
4283: --Algorithm:

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

4306: IF (p_doc_type = g_doc_type_REQUISITION) THEN
4307:
4308: l_progress := '130';
4309: IF g_debug_stmt THEN
4310: PO_DEBUG.debug_stmt(l_log_head,l_progress,'req headers');
4311: END IF;
4312:
4313: -- Gather all of the req line ids below this entity level.
4314:

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

4326: ELSIF (p_doc_type IN (g_doc_type_PO, g_doc_type_PA)) THEN
4327:
4328: l_progress := '150';
4329: IF g_debug_stmt THEN
4330: PO_DEBUG.debug_stmt(l_log_head,l_progress,'po/pa headers');
4331: END IF;
4332:
4333: -- Gather all of the line ids below this entity level.
4334:

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

4355: THEN
4356:
4357: l_progress := '200';
4358: IF g_debug_stmt THEN
4359: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');
4360: END IF;
4361:
4362: -- We need to get out the line ids in the same ordering as the
4363: -- input id table.

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

4407: ELSIF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
4408:
4409: l_progress := '300';
4410: IF g_debug_stmt THEN
4411: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');
4412: END IF;
4413:
4414: -- We need to get out the line ids in the same ordering as the
4415: -- input id table.

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

4430: IF (p_doc_type = g_doc_type_REQUISITION) THEN
4431:
4432: l_progress := '320';
4433: IF g_debug_stmt THEN
4434: PO_DEBUG.debug_stmt(l_log_head,l_progress,'req');
4435: END IF;
4436:
4437: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4438:

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

4466: ELSE
4467:
4468: l_progress := '340';
4469: IF g_debug_stmt THEN
4470: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');
4471: END IF;
4472:
4473: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4474:

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

4510:
4511: l_progress := '900';
4512:
4513: IF g_debug_stmt THEN
4514: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_id_tbl',x_line_id_tbl);
4515: PO_DEBUG.debug_end(l_log_head);
4516: END IF;
4517:
4518: EXCEPTION

Line 4515: PO_DEBUG.debug_end(l_log_head);

4511: l_progress := '900';
4512:
4513: IF g_debug_stmt THEN
4514: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_id_tbl',x_line_id_tbl);
4515: PO_DEBUG.debug_end(l_log_head);
4516: END IF;
4517:
4518: EXCEPTION
4519: WHEN OTHERS THEN

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

4517:
4518: EXCEPTION
4519: WHEN OTHERS THEN
4520: IF g_debug_unexp THEN
4521: PO_DEBUG.debug_exc(l_log_head,l_progress);
4522: END IF;
4523: RAISE;
4524:
4525: END get_line_ids;

Line 4585: PO_DEBUG.debug_begin(l_log_head);

4581:
4582: BEGIN
4583:
4584: IF g_debug_stmt THEN
4585: PO_DEBUG.debug_begin(l_log_head);
4586: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4587: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4588: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4589: END IF;

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

4582: BEGIN
4583:
4584: IF g_debug_stmt THEN
4585: PO_DEBUG.debug_begin(l_log_head);
4586: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4587: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4588: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4589: END IF;
4590:

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

4583:
4584: IF g_debug_stmt THEN
4585: PO_DEBUG.debug_begin(l_log_head);
4586: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4587: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4588: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4589: END IF;
4590:
4591: l_progress := '010';

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

4584: IF g_debug_stmt THEN
4585: PO_DEBUG.debug_begin(l_log_head);
4586: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4587: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4588: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4589: END IF;
4590:
4591: l_progress := '010';
4592:

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

4601: IF (p_doc_level = g_doc_level_SHIPMENT) THEN
4602:
4603: l_progress := '100';
4604: IF g_debug_stmt THEN
4605: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');
4606: END IF;
4607:
4608: x_line_location_id_tbl := p_doc_level_id_tbl;
4609:

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

4610: ELSE
4611:
4612: l_progress := '200';
4613: IF g_debug_stmt THEN
4614: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not shipments');
4615: END IF;
4616:
4617: -- Load the entity ids into the scratchpad.
4618:

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

4643: THEN
4644:
4645: l_progress := '410';
4646: IF g_debug_stmt THEN
4647: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');
4648: END IF;
4649:
4650: SELECT POLL.line_location_id
4651: BULK COLLECT INTO x_line_location_id_tbl

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

4661: ELSIF (p_doc_level = g_doc_level_HEADER) THEN
4662:
4663: l_progress := '430';
4664: IF g_debug_stmt THEN
4665: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
4666: END IF;
4667:
4668: SELECT POLL.line_location_id
4669: BULK COLLECT INTO x_line_location_id_tbl

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

4682: ELSIF (p_doc_level = g_doc_level_LINE) THEN
4683:
4684: l_progress := '450';
4685: IF g_debug_stmt THEN
4686: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
4687: END IF;
4688:
4689: SELECT POLL.line_location_id
4690: BULK COLLECT INTO x_line_location_id_tbl

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

4715: ----------------------------------------------------------------
4716:
4717: l_progress := '470';
4718: IF g_debug_stmt THEN
4719: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');
4720: END IF;
4721:
4722: /* Start Bug 3292870: Split query to make it compatible with 8i db. */
4723:

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

4759:
4760: l_progress := '900';
4761:
4762: IF g_debug_stmt THEN
4763: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_location_id_tbl',x_line_location_id_tbl);
4764: PO_DEBUG.debug_end(l_log_head);
4765: END IF;
4766:
4767: EXCEPTION

Line 4764: PO_DEBUG.debug_end(l_log_head);

4760: l_progress := '900';
4761:
4762: IF g_debug_stmt THEN
4763: PO_DEBUG.debug_var(l_log_head,l_progress,'x_line_location_id_tbl',x_line_location_id_tbl);
4764: PO_DEBUG.debug_end(l_log_head);
4765: END IF;
4766:
4767: EXCEPTION
4768: WHEN OTHERS THEN

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

4766:
4767: EXCEPTION
4768: WHEN OTHERS THEN
4769: IF g_debug_unexp THEN
4770: PO_DEBUG.debug_exc(l_log_head,l_progress);
4771: END IF;
4772: RAISE;
4773:
4774: END get_line_location_ids;

Line 4829: PO_DEBUG.debug_begin(l_log_head);

4825:
4826: BEGIN
4827:
4828: IF g_debug_stmt THEN
4829: PO_DEBUG.debug_begin(l_log_head);
4830: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4831: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4832: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4833: END IF;

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

4826: BEGIN
4827:
4828: IF g_debug_stmt THEN
4829: PO_DEBUG.debug_begin(l_log_head);
4830: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4831: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4832: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4833: END IF;
4834:

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

4827:
4828: IF g_debug_stmt THEN
4829: PO_DEBUG.debug_begin(l_log_head);
4830: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4831: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4832: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4833: END IF;
4834:
4835: l_progress := '010';

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

4828: IF g_debug_stmt THEN
4829: PO_DEBUG.debug_begin(l_log_head);
4830: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4831: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4832: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4833: END IF;
4834:
4835: l_progress := '010';
4836:

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

4845: IF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
4846:
4847: l_progress := '100';
4848: IF g_debug_stmt THEN
4849: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');
4850: END IF;
4851:
4852: x_distribution_id_tbl := p_doc_level_id_tbl;
4853:

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

4854: ELSE
4855:
4856: l_progress := '200';
4857: IF g_debug_stmt THEN
4858: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not dists');
4859: END IF;
4860:
4861: -- Load the entity ids into the scratchpad.
4862:

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

4883: IF (p_doc_type = g_doc_type_REQUISITION) THEN
4884:
4885: l_progress := '300';
4886: IF g_debug_stmt THEN
4887: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');
4888: END IF;
4889:
4890: -- Gather all of the req distribution ids below this entity level.
4891:

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

4892: IF (p_doc_level = g_doc_level_HEADER) THEN
4893:
4894: l_progress := '310';
4895: IF g_debug_stmt THEN
4896: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
4897: END IF;
4898:
4899: SELECT PRD.distribution_id
4900: BULK COLLECT INTO x_distribution_id_tbl

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

4912: ELSIF (p_doc_level = g_doc_level_LINE) THEN
4913:
4914: l_progress := '330';
4915: IF g_debug_stmt THEN
4916: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
4917: END IF;
4918:
4919: SELECT PRD.distribution_id
4920: BULK COLLECT INTO x_distribution_id_tbl

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

4937: ELSE -- PO, PA, Release, etc.
4938:
4939: l_progress := '400';
4940: IF g_debug_stmt THEN
4941: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');
4942: END IF;
4943:
4944: -- Gather all of the distribution ids below this entity level.
4945:

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

4949: THEN
4950:
4951: l_progress := '410';
4952: IF g_debug_stmt THEN
4953: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');
4954: END IF;
4955:
4956: SELECT POD.po_distribution_id
4957: BULK COLLECT INTO x_distribution_id_tbl

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

4967: ELSIF (p_doc_level = g_doc_level_HEADER) THEN
4968:
4969: l_progress := '430';
4970: IF g_debug_stmt THEN
4971: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
4972: END IF;
4973:
4974: SELECT POD.po_distribution_id
4975: BULK COLLECT INTO x_distribution_id_tbl

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

4988: ELSIF (p_doc_level = g_doc_level_LINE) THEN
4989:
4990: l_progress := '450';
4991: IF g_debug_stmt THEN
4992: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
4993: END IF;
4994:
4995: SELECT POD.po_distribution_id
4996: BULK COLLECT INTO x_distribution_id_tbl

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

5009: ELSIF (p_doc_level = g_doc_level_SHIPMENT) THEN
5010:
5011: l_progress := '470';
5012: IF g_debug_stmt THEN
5013: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');
5014: END IF;
5015:
5016: SELECT POD.po_distribution_id
5017: BULK COLLECT INTO x_distribution_id_tbl

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

5039:
5040: l_progress := '900';
5041:
5042: IF g_debug_stmt THEN
5043: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5044: PO_DEBUG.debug_end(l_log_head);
5045: END IF;
5046:
5047: EXCEPTION

Line 5044: PO_DEBUG.debug_end(l_log_head);

5040: l_progress := '900';
5041:
5042: IF g_debug_stmt THEN
5043: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5044: PO_DEBUG.debug_end(l_log_head);
5045: END IF;
5046:
5047: EXCEPTION
5048: WHEN OTHERS THEN

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

5046:
5047: EXCEPTION
5048: WHEN OTHERS THEN
5049: IF g_debug_unexp THEN
5050: PO_DEBUG.debug_exc(l_log_head,l_progress);
5051: END IF;
5052: RAISE;
5053:
5054: END get_distribution_ids;

Line 5116: PO_DEBUG.debug_begin(l_log_head);

5112:
5113: BEGIN
5114:
5115: IF g_debug_stmt THEN
5116: PO_DEBUG.debug_begin(l_log_head);
5117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);

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

5113: BEGIN
5114:
5115: IF g_debug_stmt THEN
5116: PO_DEBUG.debug_begin(l_log_head);
5117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);
5121: END IF;

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

5114:
5115: IF g_debug_stmt THEN
5116: PO_DEBUG.debug_begin(l_log_head);
5117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);
5121: END IF;
5122:

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

5115: IF g_debug_stmt THEN
5116: PO_DEBUG.debug_begin(l_log_head);
5117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);
5121: END IF;
5122:
5123: l_progress := '010';

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

5116: PO_DEBUG.debug_begin(l_log_head);
5117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
5119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
5120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_revision_num', p_doc_revision_num);
5121: END IF;
5122:
5123: l_progress := '010';
5124:

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

5131: -----------------------------------------------------------------
5132:
5133: l_progress := '200';
5134: IF g_debug_stmt THEN
5135: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not dists');
5136: END IF;
5137:
5138: -- Load the entity ids into the scratchpad.
5139:

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

5169: IF (p_doc_type = g_doc_type_REQUISITION) THEN
5170:
5171: l_progress := '300';
5172: IF g_debug_stmt THEN
5173: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');
5174: END IF;
5175:
5176: -- Requisitions are not archived, hence this doc type is not
5177: -- supported by this API

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

5180: ELSE -- PO, Release
5181:
5182: l_progress := '400';
5183: IF g_debug_stmt THEN
5184: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not req');
5185: END IF;
5186:
5187: -- Gather all of the distribution ids below this entity level.
5188:

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

5192: THEN
5193:
5194: l_progress := '410';
5195: IF g_debug_stmt THEN
5196: PO_DEBUG.debug_stmt(l_log_head,l_progress,'release');
5197: END IF;
5198:
5199: SELECT POD.po_distribution_id
5200: , POD.revision_num

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

5223: ELSIF (p_doc_level = g_doc_level_HEADER) THEN
5224:
5225: l_progress := '430';
5226: IF g_debug_stmt THEN
5227: PO_DEBUG.debug_stmt(l_log_head,l_progress,'headers');
5228: END IF;
5229:
5230: SELECT POD.po_distribution_id
5231: , POD.revision_num

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

5257: ELSIF (p_doc_level = g_doc_level_LINE) THEN
5258:
5259: l_progress := '450';
5260: IF g_debug_stmt THEN
5261: PO_DEBUG.debug_stmt(l_log_head,l_progress,'lines');
5262: END IF;
5263:
5264: SELECT POD.po_distribution_id
5265: , POD.revision_num

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

5291: ELSIF (p_doc_level = g_doc_level_SHIPMENT) THEN
5292:
5293: l_progress := '470';
5294: IF g_debug_stmt THEN
5295: PO_DEBUG.debug_stmt(l_log_head,l_progress,'shipments');
5296: END IF;
5297:
5298: SELECT POD.po_distribution_id
5299: , POD.revision_num

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

5322: ELSIF (p_doc_level = g_doc_level_DISTRIBUTION) THEN
5323:
5324: l_progress := '490';
5325: IF g_debug_stmt THEN
5326: PO_DEBUG.debug_stmt(l_log_head,l_progress,'distributions');
5327: END IF;
5328:
5329: SELECT POD.po_distribution_id
5330: , POD.revision_num

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

5362: l_progress := '600';
5363:
5364:
5365: IF g_debug_stmt THEN
5366: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5367: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_rev_num_tbl',x_distribution_rev_num_tbl);
5368: PO_DEBUG.debug_end(l_log_head);
5369: END IF;
5370:

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

5363:
5364:
5365: IF g_debug_stmt THEN
5366: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5367: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_rev_num_tbl',x_distribution_rev_num_tbl);
5368: PO_DEBUG.debug_end(l_log_head);
5369: END IF;
5370:
5371: EXCEPTION

Line 5368: PO_DEBUG.debug_end(l_log_head);

5364:
5365: IF g_debug_stmt THEN
5366: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_id_tbl',x_distribution_id_tbl);
5367: PO_DEBUG.debug_var(l_log_head,l_progress,'x_distribution_rev_num_tbl',x_distribution_rev_num_tbl);
5368: PO_DEBUG.debug_end(l_log_head);
5369: END IF;
5370:
5371: EXCEPTION
5372: WHEN OTHERS THEN

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

5370:
5371: EXCEPTION
5372: WHEN OTHERS THEN
5373: IF g_debug_unexp THEN
5374: PO_DEBUG.debug_exc(l_log_head,l_progress);
5375: END IF;
5376: RAISE;
5377:
5378: END get_dist_ids_from_archive;

Line 5434: PO_DEBUG.debug_begin(l_log_head);

5430:
5431: BEGIN
5432:
5433: IF g_debug_stmt THEN
5434: PO_DEBUG.debug_begin(l_log_head);
5435: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5436: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_id', p_org_id);
5437: END IF;
5438:

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

5431: BEGIN
5432:
5433: IF g_debug_stmt THEN
5434: PO_DEBUG.debug_begin(l_log_head);
5435: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5436: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_id', p_org_id);
5437: END IF;
5438:
5439: l_progress := '010';

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

5432:
5433: IF g_debug_stmt THEN
5434: PO_DEBUG.debug_begin(l_log_head);
5435: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
5436: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_id', p_org_id);
5437: END IF;
5438:
5439: l_progress := '010';
5440:

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

5445: IF (p_org_id IS NULL) THEN
5446:
5447: l_progress := '020';
5448: IF g_debug_stmt THEN
5449: PO_DEBUG.debug_stmt(l_log_head,l_progress,'using FINANCIALS_SYSTEM_PARAMETERS');
5450: END IF;
5451:
5452: SELECT FSP.req_encumbrance_flag, FSP.purch_encumbrance_flag
5453: INTO l_req_enc_flag, l_purch_enc_flag

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

5459: ELSE
5460:
5461: l_progress := '040';
5462: IF g_debug_stmt THEN
5463: PO_DEBUG.debug_stmt(l_log_head,l_progress,'using FINANCIALS_SYSTEM_PARAMS_ALL');
5464: END IF;
5465:
5466: SELECT FSP.req_encumbrance_flag, FSP.purch_encumbrance_flag
5467: INTO l_req_enc_flag, l_purch_enc_flag

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

5475:
5476: l_progress := '060';
5477:
5478: IF g_debug_stmt THEN
5479: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_enc_flag',l_req_enc_flag);
5480: PO_DEBUG.debug_var(l_log_head,l_progress,'l_purch_enc_flag',l_purch_enc_flag);
5481: END IF;
5482:
5483: -- Set the vars for encumbrance checking.

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

5476: l_progress := '060';
5477:
5478: IF g_debug_stmt THEN
5479: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_enc_flag',l_req_enc_flag);
5480: PO_DEBUG.debug_var(l_log_head,l_progress,'l_purch_enc_flag',l_purch_enc_flag);
5481: END IF;
5482:
5483: -- Set the vars for encumbrance checking.
5484:

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

5498:
5499: l_progress := '080';
5500:
5501: IF g_debug_stmt THEN
5502: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_encumbrance_on',l_req_encumbrance_on);
5503: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_encumbrance_on',l_po_encumbrance_on);
5504: END IF;
5505:
5506: -- Set the return value for the appropriate doc type.

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

5499: l_progress := '080';
5500:
5501: IF g_debug_stmt THEN
5502: PO_DEBUG.debug_var(l_log_head,l_progress,'l_req_encumbrance_on',l_req_encumbrance_on);
5503: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_encumbrance_on',l_po_encumbrance_on);
5504: END IF;
5505:
5506: -- Set the return value for the appropriate doc type.
5507:

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

5536:
5537: l_progress := '900';
5538:
5539: IF g_debug_stmt THEN
5540: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);
5541: PO_DEBUG.debug_end(l_log_head);
5542: END IF;
5543:
5544: RETURN(l_enc_on);

Line 5541: PO_DEBUG.debug_end(l_log_head);

5537: l_progress := '900';
5538:
5539: IF g_debug_stmt THEN
5540: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);
5541: PO_DEBUG.debug_end(l_log_head);
5542: END IF;
5543:
5544: RETURN(l_enc_on);
5545:

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

5545:
5546: EXCEPTION
5547: WHEN OTHERS THEN
5548: IF g_debug_unexp THEN
5549: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);
5550: PO_DEBUG.debug_exc(l_log_head,l_progress);
5551: END IF;
5552: RAISE;
5553:

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

5546: EXCEPTION
5547: WHEN OTHERS THEN
5548: IF g_debug_unexp THEN
5549: PO_DEBUG.debug_var(l_log_head,l_progress,'l_enc_on',l_enc_on);
5550: PO_DEBUG.debug_exc(l_log_head,l_progress);
5551: END IF;
5552: RAISE;
5553:
5554: END is_encumbrance_on;

Line 5857: PO_DEBUG.debug_stmt

5853: l_progress := '000';
5854: x_return_status := FND_API.g_ret_sts_success;
5855:
5856: IF g_debug_stmt THEN
5857: PO_DEBUG.debug_stmt
5858: (p_log_head => g_log_head||'check_inv_org_in_sob',
5859: p_token => 'invoked',
5860: p_message => 'inv org ID: '||p_inv_org_id||' sob ID: '||p_sob_id);
5861: END IF;

Line 5904: PO_DEBUG.debug_var

5900: x_in_sob := FALSE;
5901: END;
5902:
5903: IF g_debug_stmt THEN
5904: PO_DEBUG.debug_var
5905: (p_log_head => g_log_head||'check_inv_org_in_sob',
5906: p_progress => l_progress,
5907: p_name => 'x_in_sob',
5908: p_value => x_in_sob);

Line 5920: PO_DEBUG.debug_exc

5916: p_procedure_name => 'check_inv_org_in_sob',
5917: p_error_text => 'Progress: '||l_progress||
5918: ' Error: '||SUBSTRB(SQLERRM,1,215));
5919: IF g_debug_unexp THEN
5920: PO_DEBUG.debug_exc
5921: (p_log_head => g_log_head||'check_inv_org_in_sob',
5922: p_progress => l_progress);
5923: END IF;
5924: END check_inv_org_in_sob;

Line 5966: PO_DEBUG.debug_stmt

5962: l_progress := '000';
5963: x_return_status := FND_API.g_ret_sts_success;
5964:
5965: IF g_debug_stmt THEN
5966: PO_DEBUG.debug_stmt
5967: (p_log_head => g_log_head||'get_inv_org_ou_id',
5968: p_token => 'invoked',
5969: p_message => 'inv org ID: '||p_inv_org_id);
5970: END IF;

Line 5995: PO_DEBUG.debug_var

5991:
5992: l_progress := '020';
5993:
5994: IF g_debug_stmt THEN
5995: PO_DEBUG.debug_var
5996: (p_log_head => g_log_head||'get_inv_org_ou_id',
5997: p_progress => l_progress,
5998: p_name => 'x_ou_id',
5999: p_value => x_ou_id);

Line 6010: PO_DEBUG.debug_exc

6006: p_procedure_name => 'get_inv_org_ou_id',
6007: p_error_text => 'Progress: '||l_progress||
6008: ' Error: '||SUBSTRB(SQLERRM,1,215));
6009: IF g_debug_unexp THEN
6010: PO_DEBUG.debug_exc
6011: (p_log_head => g_log_head||'get_inv_org_ou_id',
6012: p_progress => l_progress);
6013: END IF;
6014: END get_inv_org_ou_id;

Line 6054: PO_DEBUG.debug_stmt

6050: l_progress := '000';
6051: x_return_status := FND_API.g_ret_sts_success;
6052:
6053: IF g_debug_stmt THEN
6054: PO_DEBUG.debug_stmt
6055: (p_log_head => g_log_head||'get_inv_org_sob_id',
6056: p_token => 'invoked',
6057: p_message => 'inv org ID: '||p_inv_org_id);
6058: END IF;

Line 6075: PO_DEBUG.debug_var

6071:
6072: l_progress := '020';
6073:
6074: IF g_debug_stmt THEN
6075: PO_DEBUG.debug_var
6076: (p_log_head => g_log_head||'get_inv_org_sob_id',
6077: p_progress => l_progress,
6078: p_name => 'x_sob_id',
6079: p_value => x_sob_id);

Line 6090: PO_DEBUG.debug_exc

6086: p_procedure_name => 'get_inv_org_sob_id',
6087: p_error_text => 'Progress: '||l_progress||
6088: ' Error: '||SUBSTRB(SQLERRM,1,215));
6089: IF g_debug_unexp THEN
6090: PO_DEBUG.debug_exc
6091: (p_log_head => g_log_head||'get_inv_org_sob_id',
6092: p_progress => l_progress);
6093: END IF;
6094: END get_inv_org_sob_id;

Line 6151: PO_DEBUG.debug_stmt

6147: l_progress := '000';
6148: x_return_status := FND_API.g_ret_sts_success;
6149:
6150: IF g_debug_stmt THEN
6151: PO_DEBUG.debug_stmt
6152: (p_log_head => g_log_head||'get_inv_org_info',
6153: p_token => 'invoked',
6154: p_message => 'inv org ID: '||p_inv_org_id);
6155: END IF;

Line 6185: PO_DEBUG.debug_stmt

6181:
6182: l_progress := '020';
6183:
6184: IF g_debug_stmt THEN
6185: PO_DEBUG.debug_stmt
6186: (p_log_head => g_log_head||'get_inv_org_info',
6187: p_token => 'output',
6188: p_message => 'bg ID: '||x_business_group_id||' sob ID: '||
6189: x_set_of_books_id||' coa ID: '||x_chart_of_accounts_id||

Line 6202: PO_DEBUG.debug_exc

6198: p_procedure_name => 'get_inv_org_info',
6199: p_error_text => 'Progress: '||l_progress||
6200: ' Error: '||SUBSTRB(SQLERRM,1,215));
6201: IF g_debug_unexp THEN
6202: PO_DEBUG.debug_exc
6203: (p_log_head => g_log_head||'get_inv_org_info',
6204: p_progress => l_progress);
6205: END IF;
6206: END get_inv_org_info;

Line 6271: PO_DEBUG.debug_begin(l_log_head);

6267:
6268: BEGIN
6269:
6270: IF g_debug_stmt THEN
6271: PO_DEBUG.debug_begin(l_log_head);
6272: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6273: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6274: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6275: END IF;

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

6268: BEGIN
6269:
6270: IF g_debug_stmt THEN
6271: PO_DEBUG.debug_begin(l_log_head);
6272: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6273: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6274: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6275: END IF;
6276:

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

6269:
6270: IF g_debug_stmt THEN
6271: PO_DEBUG.debug_begin(l_log_head);
6272: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6273: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6274: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6275: END IF;
6276:
6277: l_progress := '010';

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

6270: IF g_debug_stmt THEN
6271: PO_DEBUG.debug_begin(l_log_head);
6272: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6273: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6274: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6275: END IF;
6276:
6277: l_progress := '010';
6278:

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

6467:
6468: END IF;
6469:
6470: IF g_debug_stmt THEN
6471: PO_DEBUG.debug_stmt(l_log_head,l_progress,'got encumbrance counts');
6472: END IF;
6473:
6474: l_progress := '900';
6475: IF g_debug_stmt THEN

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

6472: END IF;
6473:
6474: l_progress := '900';
6475: IF g_debug_stmt THEN
6476: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6477: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6478: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6479: PO_DEBUG.debug_end(l_log_head);
6480: END IF;

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

6473:
6474: l_progress := '900';
6475: IF g_debug_stmt THEN
6476: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6477: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6478: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6479: PO_DEBUG.debug_end(l_log_head);
6480: END IF;
6481:

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

6474: l_progress := '900';
6475: IF g_debug_stmt THEN
6476: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6477: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6478: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6479: PO_DEBUG.debug_end(l_log_head);
6480: END IF;
6481:
6482: EXCEPTION

Line 6479: PO_DEBUG.debug_end(l_log_head);

6475: IF g_debug_stmt THEN
6476: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6477: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6478: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6479: PO_DEBUG.debug_end(l_log_head);
6480: END IF;
6481:
6482: EXCEPTION
6483: WHEN OTHERS THEN

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

6481:
6482: EXCEPTION
6483: WHEN OTHERS THEN
6484: IF g_debug_unexp THEN
6485: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6486: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6487: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6488: PO_DEBUG.debug_exc(l_log_head,l_progress);
6489: END IF;

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

6482: EXCEPTION
6483: WHEN OTHERS THEN
6484: IF g_debug_unexp THEN
6485: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6486: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6487: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6488: PO_DEBUG.debug_exc(l_log_head,l_progress);
6489: END IF;
6490: RAISE;

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

6483: WHEN OTHERS THEN
6484: IF g_debug_unexp THEN
6485: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6486: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6487: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6488: PO_DEBUG.debug_exc(l_log_head,l_progress);
6489: END IF;
6490: RAISE;
6491:

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

6484: IF g_debug_unexp THEN
6485: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reserved_count',x_reserved_count);
6486: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreserved_count',x_unreserved_count);
6487: PO_DEBUG.debug_var(l_log_head,l_progress,'x_prevented_count',x_prevented_count);
6488: PO_DEBUG.debug_exc(l_log_head,l_progress);
6489: END IF;
6490: RAISE;
6491:
6492: END get_open_encumbrance_stats;

Line 6554: PO_DEBUG.debug_begin(l_log_head);

6550:
6551: BEGIN
6552:
6553: IF g_debug_stmt THEN
6554: PO_DEBUG.debug_begin(l_log_head);
6555: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6556: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6557: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6558: END IF;

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

6551: BEGIN
6552:
6553: IF g_debug_stmt THEN
6554: PO_DEBUG.debug_begin(l_log_head);
6555: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6556: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6557: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6558: END IF;
6559:

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

6552:
6553: IF g_debug_stmt THEN
6554: PO_DEBUG.debug_begin(l_log_head);
6555: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6556: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6557: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6558: END IF;
6559:
6560: l_progress := '010';

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

6553: IF g_debug_stmt THEN
6554: PO_DEBUG.debug_begin(l_log_head);
6555: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6556: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6557: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6558: END IF;
6559:
6560: l_progress := '010';
6561:

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

6577: END IF;
6578:
6579: l_progress := '900';
6580: IF g_debug_stmt THEN
6581: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);
6582: PO_DEBUG.debug_end(l_log_head);
6583: END IF;
6584:
6585: EXCEPTION

Line 6582: PO_DEBUG.debug_end(l_log_head);

6578:
6579: l_progress := '900';
6580: IF g_debug_stmt THEN
6581: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);
6582: PO_DEBUG.debug_end(l_log_head);
6583: END IF;
6584:
6585: EXCEPTION
6586: WHEN OTHERS THEN

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

6584:
6585: EXCEPTION
6586: WHEN OTHERS THEN
6587: IF g_debug_unexp THEN
6588: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);
6589: PO_DEBUG.debug_exc(l_log_head,l_progress);
6590: END IF;
6591: RAISE;
6592:

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

6585: EXCEPTION
6586: WHEN OTHERS THEN
6587: IF g_debug_unexp THEN
6588: PO_DEBUG.debug_var(l_log_head,l_progress,'x_display_reserved_flag',x_display_reserved_flag);
6589: PO_DEBUG.debug_exc(l_log_head,l_progress);
6590: END IF;
6591: RAISE;
6592:
6593: END should_display_reserved;

Line 6652: PO_DEBUG.debug_begin(l_log_head);

6648:
6649: BEGIN
6650:
6651: IF g_debug_stmt THEN
6652: PO_DEBUG.debug_begin(l_log_head);
6653: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6654: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6655: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6656: END IF;

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

6649: BEGIN
6650:
6651: IF g_debug_stmt THEN
6652: PO_DEBUG.debug_begin(l_log_head);
6653: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6654: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6655: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6656: END IF;
6657:

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

6650:
6651: IF g_debug_stmt THEN
6652: PO_DEBUG.debug_begin(l_log_head);
6653: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6654: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6655: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6656: END IF;
6657:
6658: l_progress := '010';

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

6651: IF g_debug_stmt THEN
6652: PO_DEBUG.debug_begin(l_log_head);
6653: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6654: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6655: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6656: END IF;
6657:
6658: l_progress := '010';
6659:

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

6675: END IF;
6676:
6677: l_progress := '900';
6678: IF g_debug_stmt THEN
6679: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);
6680: PO_DEBUG.debug_end(l_log_head);
6681: END IF;
6682:
6683: EXCEPTION

Line 6680: PO_DEBUG.debug_end(l_log_head);

6676:
6677: l_progress := '900';
6678: IF g_debug_stmt THEN
6679: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);
6680: PO_DEBUG.debug_end(l_log_head);
6681: END IF;
6682:
6683: EXCEPTION
6684: WHEN OTHERS THEN

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

6682:
6683: EXCEPTION
6684: WHEN OTHERS THEN
6685: IF g_debug_unexp THEN
6686: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);
6687: PO_DEBUG.debug_exc(l_log_head,l_progress);
6688: END IF;
6689: RAISE;
6690:

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

6683: EXCEPTION
6684: WHEN OTHERS THEN
6685: IF g_debug_unexp THEN
6686: PO_DEBUG.debug_var(l_log_head,l_progress,'x_fully_reserved_flag',x_fully_reserved_flag);
6687: PO_DEBUG.debug_exc(l_log_head,l_progress);
6688: END IF;
6689: RAISE;
6690:
6691: END is_fully_reserved;

Line 6749: PO_DEBUG.debug_begin(l_log_head);

6745:
6746: BEGIN
6747:
6748: IF g_debug_stmt THEN
6749: PO_DEBUG.debug_begin(l_log_head);
6750: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6751: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6752: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6753: END IF;

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

6746: BEGIN
6747:
6748: IF g_debug_stmt THEN
6749: PO_DEBUG.debug_begin(l_log_head);
6750: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6751: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6752: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6753: END IF;
6754:

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

6747:
6748: IF g_debug_stmt THEN
6749: PO_DEBUG.debug_begin(l_log_head);
6750: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6751: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6752: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6753: END IF;
6754:
6755: l_progress := '010';

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

6748: IF g_debug_stmt THEN
6749: PO_DEBUG.debug_begin(l_log_head);
6750: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
6751: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
6752: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
6753: END IF;
6754:
6755: l_progress := '010';
6756:

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

6772: END IF;
6773:
6774: l_progress := '900';
6775: IF g_debug_stmt THEN
6776: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);
6777: PO_DEBUG.debug_end(l_log_head);
6778: END IF;
6779:
6780: EXCEPTION

Line 6777: PO_DEBUG.debug_end(l_log_head);

6773:
6774: l_progress := '900';
6775: IF g_debug_stmt THEN
6776: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);
6777: PO_DEBUG.debug_end(l_log_head);
6778: END IF;
6779:
6780: EXCEPTION
6781: WHEN OTHERS THEN

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

6779:
6780: EXCEPTION
6781: WHEN OTHERS THEN
6782: IF g_debug_unexp THEN
6783: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);
6784: PO_DEBUG.debug_exc(l_log_head,l_progress);
6785: END IF;
6786: RAISE;
6787:

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

6780: EXCEPTION
6781: WHEN OTHERS THEN
6782: IF g_debug_unexp THEN
6783: PO_DEBUG.debug_var(l_log_head,l_progress,'x_some_dists_reserved_flag',x_some_dists_reserved_flag);
6784: PO_DEBUG.debug_exc(l_log_head,l_progress);
6785: END IF;
6786: RAISE;
6787:
6788: END are_any_dists_reserved;

Line 6823: PO_DEBUG.debug_begin(l_log_head);

6819:
6820: BEGIN
6821:
6822: IF g_debug_stmt THEN
6823: PO_DEBUG.debug_begin(l_log_head);
6824: END IF;
6825:
6826: l_progress := '010';
6827:

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

6833: ;
6834:
6835: l_progress := '900';
6836: IF g_debug_stmt THEN
6837: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);
6838: PO_DEBUG.debug_end(l_log_head);
6839: END IF;
6840:
6841: EXCEPTION

Line 6838: PO_DEBUG.debug_end(l_log_head);

6834:
6835: l_progress := '900';
6836: IF g_debug_stmt THEN
6837: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);
6838: PO_DEBUG.debug_end(l_log_head);
6839: END IF;
6840:
6841: EXCEPTION
6842: WHEN OTHERS THEN

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

6840:
6841: EXCEPTION
6842: WHEN OTHERS THEN
6843: IF g_debug_unexp THEN
6844: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);
6845: PO_DEBUG.debug_exc(l_log_head,l_progress);
6846: END IF;
6847:
6848: END get_reserved_lookup;

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

6841: EXCEPTION
6842: WHEN OTHERS THEN
6843: IF g_debug_unexp THEN
6844: PO_DEBUG.debug_var(l_log_head,l_progress,'x_displayed_field',x_displayed_field);
6845: PO_DEBUG.debug_exc(l_log_head,l_progress);
6846: END IF;
6847:
6848: END get_reserved_lookup;
6849:

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

6899: END IF;
6900:
6901: EXCEPTION
6902: WHEN OTHERS THEN
6903: PO_DEBUG.handle_unexp_error(p_pkg_name => g_pkg_name,
6904: p_proc_name => l_proc_name );
6905: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
6906: END validate_yes_no_param;
6907: -- Bug 3373453 END

Line 6940: PO_DEBUG.debug_begin(l_log_head);

6936:
6937: BEGIN
6938:
6939: IF g_debug_stmt THEN
6940: PO_DEBUG.debug_begin(l_log_head);
6941: END IF;
6942:
6943: l_progress := '010';
6944:

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

6949:
6950: l_progress := '900';
6951:
6952: IF g_debug_stmt THEN
6953: PO_DEBUG.debug_var(l_log_head,l_progress,'x_nextval',x_nextval);
6954: PO_DEBUG.debug_end(l_log_head);
6955: END IF;
6956:
6957: RETURN(x_nextval);

Line 6954: PO_DEBUG.debug_end(l_log_head);

6950: l_progress := '900';
6951:
6952: IF g_debug_stmt THEN
6953: PO_DEBUG.debug_var(l_log_head,l_progress,'x_nextval',x_nextval);
6954: PO_DEBUG.debug_end(l_log_head);
6955: END IF;
6956:
6957: RETURN(x_nextval);
6958:

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

6959: EXCEPTION
6960: WHEN OTHERS THEN
6961: PO_MESSAGE_S.sql_error(g_pkg_name,l_proc_name,l_progress,SQLCODE,SQLERRM);
6962: IF g_debug_stmt THEN
6963: PO_DEBUG.debug_var(l_log_head,l_progress,'x_nextval',x_nextval);
6964: END IF;
6965: RAISE;
6966:
6967: END get_session_gt_nextval;