DBA Data[Home] [Help]

APPS.PO_PDOI_PRICE_DIFF_PROCESS_PVT dependencies on FND_API

Line 82: FND_API.g_FALSE

78: intf_headers.draft_id,
79: NVL(draft_headers.style_id, txn_headers.style_id),
80:
81: -- set initial value for error_flag
82: FND_API.g_FALSE
83: FROM PO_PRICE_DIFF_INTERFACE intf_price_diffs,
84: PO_LINE_LOCATIONS_INTERFACE intf_locs,
85: PO_LINES_INTERFACE intf_lines,
86: PO_HEADERS_INTERFACE intf_headers,

Line 296: x_price_diffs.price_diff_num_unique_tbl(i) = FND_API.g_FALSE) THEN

292:
293: FOR i IN 1..x_price_diffs.rec_count
294: LOOP
295: IF (x_price_diffs.price_diff_num_tbl(i) IS NULL OR
296: x_price_diffs.price_diff_num_unique_tbl(i) = FND_API.g_FALSE) THEN
297: x_price_diffs.price_diff_num_tbl(i) :=
298: PO_PDOI_MAINPROC_UTL_PVT.get_next_price_diff_num
299: (
300: p_entity_type => x_price_diffs.entity_type_tbl(i),

Line 334: -- FND_API.G_TRUE.

330: --x_dists
331: -- The record contains the values to be validated.
332: -- If there is error(s) on any attribute of the price differential row,
333: -- corresponding value in error_flag_tbl will be set with value
334: -- FND_API.G_TRUE.
335: --OUT:
336: --End of Comments
337: ------------------------------------------------------------------------
338: ------------------------------------------------------------------------

Line 413: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

409: IF (PO_LOG.d_stmt) THEN
410: PO_LOG.stmt(d_module, d_position, 'vaidate price diffs return fatal');
411: END IF;
412:
413: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
414: END IF;
415:
416: PO_TIMING_UTL.stop_time(PO_PDOI_CONSTANTS.g_T_PRICE_DIFF_VALIDATE);
417:

Line 440: -- corresponding value in error_flag_tbl will be set with value FND_API.G_FALSE.

436: -----------------------------------------------------------------------
437: --Start of Comments
438: --Name: populate_error_flag
439: --Function:
440: -- corresponding value in error_flag_tbl will be set with value FND_API.G_FALSE.
441: --Parameters:
442: --IN:
443: --p_results
444: -- The validation results that contains the errored line information.

Line 450: -- FND_API.G_TRUE.

446: --p_price_diffs
447: -- The record contains the values to be validated.
448: -- If there is error(s) on any attribute of the price differential row,
449: -- corresponding value in error_flag_tbl will be set with value
450: -- FND_API.G_TRUE.
451: --OUT:
452: --End of Comments
453: ------------------------------------------------------------------------
454: PROCEDURE populate_error_flag

Line 491: .err_tolerance_exceeded = FND_API.g_TRUE) THEN

487: -- hit for CATALOG UPLOAD
488: IF (PO_PDOI_PARAMS.g_request.calling_module =
489: PO_PDOI_CONSTANTS.g_call_mod_CATALOG_UPLOAD AND
490: PO_PDOI_PARAMS.g_docs_info(PO_PDOI_PARAMS.g_request.interface_header_id)
491: .err_tolerance_exceeded = FND_API.g_TRUE) THEN
492: d_position := 20;
493:
494: IF (PO_LOG.d_stmt) THEN
495: PO_LOG.stmt(d_module, d_position, 'after error tolerance exceeded, collect error on index', l_index);

Line 514: x_price_diffs.error_flag_tbl(l_index) := FND_API.g_TRUE;

510: IF (PO_LOG.d_stmt) THEN
511: PO_LOG.stmt(d_module, d_position, 'error on index', l_index);
512: END IF;
513:
514: x_price_diffs.error_flag_tbl(l_index) := FND_API.g_TRUE;
515:
516: -- Bug 5215781:
517: -- price diff level errors will be counted in line errors and threshold will be
518: -- checked; If threshold is hit, reject all price diff records that are processed

Line 546: PO_PDOI_PARAMS.g_docs_info(l_intf_header_id).err_tolerance_exceeded := FND_API.g_TRUE;

542: PO_LOG.stmt(d_module, d_position, 'threshold hit on line',
543: x_price_diffs.intf_line_id_tbl(l_index));
544: END IF;
545:
546: PO_PDOI_PARAMS.g_docs_info(l_intf_header_id).err_tolerance_exceeded := FND_API.g_TRUE;
547:
548: -- reject all rows after this row
549: FOR j IN l_index+1..x_price_diffs.rec_count LOOP
550: x_price_diffs.error_flag_tbl(j) := FND_API.g_TRUE;

Line 550: x_price_diffs.error_flag_tbl(j) := FND_API.g_TRUE;

546: PO_PDOI_PARAMS.g_docs_info(l_intf_header_id).err_tolerance_exceeded := FND_API.g_TRUE;
547:
548: -- reject all rows after this row
549: FOR j IN l_index+1..x_price_diffs.rec_count LOOP
550: x_price_diffs.error_flag_tbl(j) := FND_API.g_TRUE;
551: END LOOP;
552: END IF;
553: END IF;
554: END IF;