DBA Data[Home] [Help]

APPS.PO_SOURCING2_SV dependencies on PO_DEBUG

Line 24: g_debug_stmt BOOLEAN := PO_DEBUG.is_debug_stmt_on;

20: g_fnd_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('AFLOG_ENABLED'), 'N');
21:
22: --
23: -- Debugging
24: g_debug_stmt BOOLEAN := PO_DEBUG.is_debug_stmt_on;
25: g_debug_unexp BOOLEAN := PO_DEBUG.is_debug_unexp_on;
26: --
27:
28: --

Line 25: g_debug_unexp BOOLEAN := PO_DEBUG.is_debug_unexp_on;

21:
22: --
23: -- Debugging
24: g_debug_stmt BOOLEAN := PO_DEBUG.is_debug_stmt_on;
25: g_debug_unexp BOOLEAN := PO_DEBUG.is_debug_unexp_on;
26: --
27:
28: --
29: PROCEDURE get_break_price(p_order_quantity IN NUMBER,

Line 429: PO_DEBUG.debug_begin(l_log_head);

425: -- Bug 3340552, initialize with passed in price
426: -- l_price := p_in_price;
427:
428: IF g_debug_stmt THEN
429: PO_DEBUG.debug_begin(l_log_head);
430: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_api_version', p_api_version);
431: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);

Line 430: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_api_version', p_api_version);

426: -- l_price := p_in_price;
427:
428: IF g_debug_stmt THEN
429: PO_DEBUG.debug_begin(l_log_head);
430: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_api_version', p_api_version);
431: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);

Line 431: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);

427:
428: IF g_debug_stmt THEN
429: PO_DEBUG.debug_begin(l_log_head);
430: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_api_version', p_api_version);
431: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);

Line 432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);

428: IF g_debug_stmt THEN
429: PO_DEBUG.debug_begin(l_log_head);
430: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_api_version', p_api_version);
431: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);
436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);

Line 433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);

429: PO_DEBUG.debug_begin(l_log_head);
430: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_api_version', p_api_version);
431: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);
436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);

Line 434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);

430: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_api_version', p_api_version);
431: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);
436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);

Line 435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);

431: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);
436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);
439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);

Line 436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);

432: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);
436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);
439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);
440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);

Line 437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);

433: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);
436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);
439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);
440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);
441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);

Line 438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);

434: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);
436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);
439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);
440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);
441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);
442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);

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

435: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_cum_flag', p_cum_flag);
436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);
439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);
440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);
441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);
442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);
443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);

Line 440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);

436: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);
439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);
440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);
441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);
442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);
443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);
444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);

Line 441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);

437: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);
439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);
440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);
441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);
442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);
443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);
444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);
445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);

Line 442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);

438: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_contract_id', p_contract_id);
439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);
440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);
441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);
442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);
443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);
444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);
445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);
446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);

Line 443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);

439: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_org_id', p_org_id);
440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);
441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);
442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);
443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);
444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);
445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);
446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);
447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);

Line 444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);

440: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_id', p_supplier_id);
441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);
442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);
443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);
444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);
445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);
446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);
447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);
448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);

Line 445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);

441: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_site_id', p_supplier_site_id);
442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);
443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);
444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);
445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);
446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);
447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);
448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);
449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);

Line 446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);

442: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_creation_date', p_creation_date);
443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);
444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);
445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);
446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);
447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);
448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);
449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);
450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);

Line 447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);

443: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_header_id', p_order_header_id);
444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);
445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);
446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);
447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);
448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);
449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);
450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);
451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);

Line 448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);

444: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id);
445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);
446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);
447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);
448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);
449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);
450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);
451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);
452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);

Line 449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);

445: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_type_id', p_line_type_id);
446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);
447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);
448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);
449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);
450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);
451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);
452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);
453: --

Line 450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);

446: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_revision', p_item_revision);
447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);
448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);
449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);
450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);
451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);
452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);
453: --
454: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_draft_id', p_draft_id);

Line 451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);

447: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_item_id', p_item_id);
448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);
449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);
450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);
451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);
452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);
453: --
454: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_draft_id', p_draft_id);
455: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_src_flag', p_src_flag);

Line 452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);

448: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_category_id', p_category_id);
449: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_supplier_item_num', p_supplier_item_num);
450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);
451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);
452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);
453: --
454: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_draft_id', p_draft_id);
455: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_src_flag', p_src_flag);
456: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_doc_sub_type', p_doc_sub_type);

Line 454: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_draft_id', p_draft_id);

450: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_uom', p_uom);
451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);
452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);
453: --
454: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_draft_id', p_draft_id);
455: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_src_flag', p_src_flag);
456: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_doc_sub_type', p_doc_sub_type);
457: --
458: END IF;

Line 455: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_src_flag', p_src_flag);

451: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_in_price', p_in_price);
452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);
453: --
454: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_draft_id', p_draft_id);
455: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_src_flag', p_src_flag);
456: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_doc_sub_type', p_doc_sub_type);
457: --
458: END IF;
459: --

Line 456: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_doc_sub_type', p_doc_sub_type);

452: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_currency_code', p_currency_code);
453: --
454: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_draft_id', p_draft_id);
455: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_src_flag', p_src_flag);
456: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_doc_sub_type', p_doc_sub_type);
457: --
458: END IF;
459: --
460:

Line 472: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get source document header id and type');

468: -- SQL Why : Get source document line id to call GET_CUSTOM_PRICE_DATE,
469: -- Get source document type since we only allow custom pricing for
470: -- Blanket and Quotation.
471: IF g_debug_stmt THEN
472: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get source document header id and type');
473: END IF;
474:
475: IF (p_po_line_id IS NOT NULL) THEN
476: SELECT ph.type_lookup_code,

Line 503: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call get_custom_price_date');

499:
500: /* call the Custom Pricing Date API */
501: l_progress := '010';
502: IF g_debug_stmt THEN
503: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call get_custom_price_date');
504: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_header_id', l_source_document_header_id);
505: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_line_id', p_po_line_id);
506: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_quantity', p_order_quantity);
507: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_location_id', p_ship_to_loc);

Line 504: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_header_id', l_source_document_header_id);

500: /* call the Custom Pricing Date API */
501: l_progress := '010';
502: IF g_debug_stmt THEN
503: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call get_custom_price_date');
504: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_header_id', l_source_document_header_id);
505: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_line_id', p_po_line_id);
506: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_quantity', p_order_quantity);
507: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_location_id', p_ship_to_loc);
508: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_organization_id', p_ship_to_org);

Line 505: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_line_id', p_po_line_id);

501: l_progress := '010';
502: IF g_debug_stmt THEN
503: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call get_custom_price_date');
504: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_header_id', l_source_document_header_id);
505: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_line_id', p_po_line_id);
506: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_quantity', p_order_quantity);
507: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_location_id', p_ship_to_loc);
508: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_organization_id', p_ship_to_org);
509: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);

Line 506: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_quantity', p_order_quantity);

502: IF g_debug_stmt THEN
503: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call get_custom_price_date');
504: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_header_id', l_source_document_header_id);
505: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_line_id', p_po_line_id);
506: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_quantity', p_order_quantity);
507: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_location_id', p_ship_to_loc);
508: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_organization_id', p_ship_to_org);
509: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
510: END IF; /* IF g_debug_stmt */

Line 507: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_location_id', p_ship_to_loc);

503: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call get_custom_price_date');
504: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_header_id', l_source_document_header_id);
505: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_line_id', p_po_line_id);
506: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_quantity', p_order_quantity);
507: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_location_id', p_ship_to_loc);
508: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_organization_id', p_ship_to_org);
509: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
510: END IF; /* IF g_debug_stmt */
511:

Line 508: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_organization_id', p_ship_to_org);

504: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_header_id', l_source_document_header_id);
505: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_line_id', p_po_line_id);
506: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_quantity', p_order_quantity);
507: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_location_id', p_ship_to_loc);
508: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_organization_id', p_ship_to_org);
509: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
510: END IF; /* IF g_debug_stmt */
511:
512: /*Bug5598011 Pass the order_type as PO */

Line 509: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);

505: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_source_document_line_id', p_po_line_id);
506: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_quantity', p_order_quantity);
507: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_location_id', p_ship_to_loc);
508: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_organization_id', p_ship_to_org);
509: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
510: END IF; /* IF g_debug_stmt */
511:
512: /*Bug5598011 Pass the order_type as PO */
513: PO_CUSTOM_PRICE_PUB.GET_CUSTOM_PRICE_DATE

Line 529: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Calling get_custom_price_date');

525:
526:
527: l_progress := '020';
528: IF g_debug_stmt THEN
529: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Calling get_custom_price_date');
530: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_pricing_date', l_pricing_date);
531: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_return_status', l_return_status);
532: END IF; /* IF g_debug_stmt */
533:

Line 530: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_pricing_date', l_pricing_date);

526:
527: l_progress := '020';
528: IF g_debug_stmt THEN
529: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Calling get_custom_price_date');
530: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_pricing_date', l_pricing_date);
531: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_return_status', l_return_status);
532: END IF; /* IF g_debug_stmt */
533:
534: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN

Line 531: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_return_status', l_return_status);

527: l_progress := '020';
528: IF g_debug_stmt THEN
529: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Calling get_custom_price_date');
530: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_pricing_date', l_pricing_date);
531: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_return_status', l_return_status);
532: END IF; /* IF g_debug_stmt */
533:
534: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
535: app_exception.raise_exception;

Line 555: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get Release Quantity');

551: -- To improve performance, moved this so that we only call
552: -- get_release_quantity if pricing is cumulative.
553: l_progress := '040';
554: IF g_debug_stmt THEN
555: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get Release Quantity');
556: END IF;
557:
558: /* Call get_release_quantity to a) determine how to select
559: ** the correct break price and b) the quantity released against

Line 569: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get Release Quantity');

565: match_type);
566:
567: l_progress := '060';
568: IF g_debug_stmt THEN
569: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get Release Quantity');
570: END IF;
571: --
572:
573: -- Bug 670873, lpo, 05/28/98

Line 665: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);

661: l_rate := NULL;
662:
663: l_progress := '125';
664: IF g_debug_stmt THEN
665: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);
666: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_adv_price', l_adv_price);
667: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(GBPA)');
668: END IF; /* IF g_debug_stmt */
669:

Line 666: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_adv_price', l_adv_price);

662:
663: l_progress := '125';
664: IF g_debug_stmt THEN
665: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);
666: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_adv_price', l_adv_price);
667: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(GBPA)');
668: END IF; /* IF g_debug_stmt */
669:
670:

Line 667: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(GBPA)');

663: l_progress := '125';
664: IF g_debug_stmt THEN
665: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);
666: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_adv_price', l_adv_price);
667: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(GBPA)');
668: END IF; /* IF g_debug_stmt */
669:
670:
671: PO_ADVANCED_PRICE_PVT.get_advanced_price

Line 706: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Call Advanced Pricing API(GBPA)');

702: , x_return_status => l_return_status );
703:
704: l_progress := '130';
705: IF g_debug_stmt THEN
706: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Call Advanced Pricing API(GBPA)');
707: END IF;
708:
709: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
710: app_exception.raise_exception;

Line 715: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', l_return_status);

711: END IF; /* IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) */
712:
713: l_progress := '135';
714: IF g_debug_stmt THEN
715: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', l_return_status);
716: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', l_base_unit_price);
717: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', l_price);
718: END IF;
719:

Line 716: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', l_base_unit_price);

712:
713: l_progress := '135';
714: IF g_debug_stmt THEN
715: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', l_return_status);
716: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', l_base_unit_price);
717: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', l_price);
718: END IF;
719:
720: ELSE /* Invalid Line type*/

Line 717: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', l_price);

713: l_progress := '135';
714: IF g_debug_stmt THEN
715: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', l_return_status);
716: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', l_base_unit_price);
717: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', l_price);
718: END IF;
719:
720: ELSE /* Invalid Line type*/
721:

Line 723: PO_DEBUG.debug_stmt(l_log_head, l_progress,

719:
720: ELSE /* Invalid Line type*/
721:
722: IF g_debug_stmt THEN
723: PO_DEBUG.debug_stmt(l_log_head, l_progress,
724: 'Not a valid price type to call Advanced Pricing API(GBPA)');
725: END IF;
726:
727: END IF; /*IF (PO_ADVANCED_PRICE_PVT.is_valid_qp_line_type(p_line_type_id))*/

Line 753: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(CPA)');

749:
750: IF (PO_ADVANCED_PRICE_PVT.is_valid_qp_line_type(p_line_type_id)) THEN
751: l_progress := '180';
752: IF g_debug_stmt THEN
753: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(CPA)');
754: END IF;
755:
756: l_progress := '200';
757: IF g_debug_stmt THEN

Line 758: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get Currency Info');

754: END IF;
755:
756: l_progress := '200';
757: IF g_debug_stmt THEN
758: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get Currency Info');
759: END IF; /* IF g_debug_stmt */
760:
761:
762: -- bug5339880

Line 777: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);

773: l_rate := NULL;
774:
775: l_progress := '220';
776: IF g_debug_stmt THEN
777: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);
778: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(CPA)');
779: END IF; /* IF g_debug_stmt */
780:
781: PO_ADVANCED_PRICE_PVT.get_advanced_price

Line 778: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(CPA)');

774:
775: l_progress := '220';
776: IF g_debug_stmt THEN
777: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);
778: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(CPA)');
779: END IF; /* IF g_debug_stmt */
780:
781: PO_ADVANCED_PRICE_PVT.get_advanced_price
782: (p_org_id => p_org_id

Line 817: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Call Advanced Pricing API(CPA)');

813: , x_return_status => l_return_status );
814:
815: l_progress := '380';
816: IF g_debug_stmt THEN
817: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Call Advanced Pricing API(CPA)');
818: END IF;
819:
820: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
821: app_exception.raise_exception;

Line 829: PO_DEBUG.debug_stmt(l_log_head, l_progress,

825: x_base_unit_price := l_base_unit_price;
826: ELSE
827: l_progress := '400';
828: IF g_debug_stmt THEN
829: PO_DEBUG.debug_stmt(l_log_head, l_progress,
830: 'Not a valid price type to call Advanced Pricing API(CPA)');
831: END IF;
832: END IF; /*IF (PO_ADVANCED_PRICE_PVT.is_valid_qp_line_type(p_line_type_id))*/
833:

Line 841: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(NSD - No Source Document)');

837:
838: IF (PO_ADVANCED_PRICE_PVT.is_valid_qp_line_type(p_line_type_id)) THEN
839: l_progress := '420';
840: IF g_debug_stmt THEN
841: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(NSD - No Source Document)');
842: END IF;
843:
844: l_progress := '440';
845: IF g_debug_stmt THEN

Line 846: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get Currency Info');

842: END IF;
843:
844: l_progress := '440';
845: IF g_debug_stmt THEN
846: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Get Currency Info');
847: END IF;
848:
849: -- Use the currency code passed as parameter.
850: l_currency_code := p_currency_code;

Line 857: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);

853: l_rate := NULL;
854:
855: l_progress := '460';
856: IF g_debug_stmt THEN
857: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);
858: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(NSD - No Source Document)');
859: END IF;
860:
861: PO_ADVANCED_PRICE_PVT.get_advanced_price

Line 858: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(NSD - No Source Document)');

854:
855: l_progress := '460';
856: IF g_debug_stmt THEN
857: PO_DEBUG.debug_var(l_log_head, l_progress, 'l_currency_code', l_currency_code);
858: PO_DEBUG.debug_stmt(l_log_head, l_progress,'Call Advanced Pricing API(NSD - No Source Document)');
859: END IF;
860:
861: PO_ADVANCED_PRICE_PVT.get_advanced_price
862: (p_org_id => p_org_id

Line 893: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Call Advanced Pricing API(NSD - No Source Document)');

889: , x_return_status => l_return_status );
890:
891: l_progress := '480';
892: IF g_debug_stmt THEN
893: PO_DEBUG.debug_stmt(l_log_head, l_progress,'After Call Advanced Pricing API(NSD - No Source Document)');
894: END IF;
895:
896: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
897: app_exception.raise_exception;

Line 904: PO_DEBUG.debug_stmt(l_log_head, l_progress,

900: x_base_unit_price := l_base_unit_price;
901: ELSE
902: l_progress := '500';
903: IF g_debug_stmt THEN
904: PO_DEBUG.debug_stmt(l_log_head, l_progress,
905: 'Not a valid price type to call Advanced Pricing API(NSD - No Source Document)');
906: END IF;
907: END IF; /*IF (PO_ADVANCED_PRICE_PVT.is_valid_qp_line_type(p_line_type_id))*/
908: --

Line 923: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'Call get_custom_po_price');

919:
920: --
921: l_progress := '140';
922: IF g_debug_stmt THEN
923: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'Call get_custom_po_price');
924: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
925: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);

Line 924: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);

920: --
921: l_progress := '140';
922: IF g_debug_stmt THEN
923: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'Call get_custom_po_price');
924: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
925: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);

Line 925: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);

921: l_progress := '140';
922: IF g_debug_stmt THEN
923: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'Call get_custom_po_price');
924: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
925: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);

Line 926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);

922: IF g_debug_stmt THEN
923: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'Call get_custom_po_price');
924: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
925: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);
930: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);

Line 927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);

923: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'Call get_custom_po_price');
924: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
925: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);
930: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
931: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_price', l_price);

Line 928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);

924: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_quantity', p_order_quantity);
925: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);
930: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
931: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_price', l_price);
932: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id); --

Line 929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);

925: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_org', p_ship_to_org);
926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);
930: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
931: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_price', l_price);
932: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id); --
933: END IF; /* IF g_debug_stmt */

Line 930: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);

926: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_ship_to_loc', p_ship_to_loc);
927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);
930: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
931: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_price', l_price);
932: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id); --
933: END IF; /* IF g_debug_stmt */
934:

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

927: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_po_line_id', p_po_line_id);
928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);
930: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
931: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_price', l_price);
932: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id); --
933: END IF; /* IF g_debug_stmt */
934:
935:

Line 932: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id); --

928: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_need_by_date', p_need_by_date);
929: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_pricing_date', l_pricing_date);
930: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_line_location_id', p_line_location_id);
931: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_price', l_price);
932: PO_DEBUG.debug_var(l_log_head, l_progress, 'p_order_line_id', p_order_line_id); --
933: END IF; /* IF g_debug_stmt */
934:
935:
936: PO_CUSTOM_PRICE_PUB.GET_CUSTOM_PO_PRICE(p_api_version => 1.0,

Line 955: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'After Call get_custom_po_price');

951: --
952:
953: l_progress := '520';
954: IF g_debug_stmt THEN
955: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'After Call get_custom_po_price');
956: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_new_price', l_new_price);
957: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);
958: END IF; /* IF g_debug_stmt */
959:

Line 956: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_new_price', l_new_price);

952:
953: l_progress := '520';
954: IF g_debug_stmt THEN
955: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'After Call get_custom_po_price');
956: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_new_price', l_new_price);
957: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);
958: END IF; /* IF g_debug_stmt */
959:
960: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN

Line 957: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);

953: l_progress := '520';
954: IF g_debug_stmt THEN
955: PO_DEBUG.debug_stmt(l_log_head, l_progress, 'After Call get_custom_po_price');
956: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_new_price', l_new_price);
957: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);
958: END IF; /* IF g_debug_stmt */
959:
960: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
961: app_exception.raise_exception;

Line 998: PO_DEBUG.debug_end(l_log_head);

994: END;
995:
996: l_progress := '520';
997: IF g_debug_stmt THEN
998: PO_DEBUG.debug_end(l_log_head);
999: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);
1000: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', x_base_unit_price);
1001: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', x_price);
1002: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price_break_id', x_price_break_id);

Line 999: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);

995:
996: l_progress := '520';
997: IF g_debug_stmt THEN
998: PO_DEBUG.debug_end(l_log_head);
999: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);
1000: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', x_base_unit_price);
1001: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', x_price);
1002: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price_break_id', x_price_break_id);
1003: END IF; /* IF g_debug_stmt */

Line 1000: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', x_base_unit_price);

996: l_progress := '520';
997: IF g_debug_stmt THEN
998: PO_DEBUG.debug_end(l_log_head);
999: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);
1000: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', x_base_unit_price);
1001: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', x_price);
1002: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price_break_id', x_price_break_id);
1003: END IF; /* IF g_debug_stmt */
1004:

Line 1001: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', x_price);

997: IF g_debug_stmt THEN
998: PO_DEBUG.debug_end(l_log_head);
999: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);
1000: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', x_base_unit_price);
1001: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', x_price);
1002: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price_break_id', x_price_break_id);
1003: END IF; /* IF g_debug_stmt */
1004:
1005: EXCEPTION

Line 1002: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price_break_id', x_price_break_id);

998: PO_DEBUG.debug_end(l_log_head);
999: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_return_status', x_return_status);
1000: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_base_unit_price', x_base_unit_price);
1001: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price', x_price);
1002: PO_DEBUG.debug_var(l_log_head, l_progress, 'x_price_break_id', x_price_break_id);
1003: END IF; /* IF g_debug_stmt */
1004:
1005: EXCEPTION
1006: