DBA Data[Home] [Help]

APPS.PO_LINES_DRAFT_PVT dependencies on FND_API

Line 33: -- If only draft_id is provided, this program returns FND_API.G_TRUE for

29: -- None
30: --Function:
31: -- Checks whether there is any draft changes in the draft table
32: -- given the draft_id or draft_id + po_line_id
33: -- If only draft_id is provided, this program returns FND_API.G_TRUE for
34: -- any draft changes in this table for the draft
35: -- If the whole primary key is provided (draft_id + line id), then
36: -- it return true if there is draft for this particular record in
37: -- the draft table

Line 49: -- FND_API.G_TRUE if there are draft changes

45: --OUT:
46: --Returns:
47: -- Array of flags indicating whether draft changes exist for the corresponding
48: -- entry in the input parameter. For each entry in the returning array:
49: -- FND_API.G_TRUE if there are draft changes
50: -- FND_API.G_FALSE if there aren't draft changes
51: --Notes:
52: --Testing:
53: --End of Comments

Line 50: -- FND_API.G_FALSE if there aren't draft changes

46: --Returns:
47: -- Array of flags indicating whether draft changes exist for the corresponding
48: -- entry in the input parameter. For each entry in the returning array:
49: -- FND_API.G_TRUE if there are draft changes
50: -- FND_API.G_FALSE if there aren't draft changes
51: --Notes:
52: --Testing:
53: --End of Comments
54: ------------------------------------------------------------------------

Line 80: l_dft_exists_tbl(i) := FND_API.G_FALSE;

76: l_dft_exists_tbl.extend(p_draft_id_tbl.COUNT);
77:
78: FOR i IN 1..l_index_tbl.COUNT LOOP
79: l_index_tbl(i) := i;
80: l_dft_exists_tbl(i) := FND_API.G_FALSE;
81: END LOOP;
82:
83: d_position := 10;
84:

Line 117: l_dft_exists_tbl(l_dft_exists_index_tbl(i)) := FND_API.G_TRUE;

113:
114: d_position := 40;
115:
116: FOR i IN 1..l_dft_exists_index_tbl.COUNT LOOP
117: l_dft_exists_tbl(l_dft_exists_index_tbl(i)) := FND_API.G_TRUE;
118: END LOOP;
119:
120: IF (PO_LOG.d_stmt) THEN
121: PO_LOG.stmt(d_module, d_position, '# of records that have dft changes',

Line 133: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

129: PO_MESSAGE_S.add_exc_msg
130: ( p_pkg_name => d_pkg_name,
131: p_procedure_name => d_api_name || '.' || d_position
132: );
133: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
134: END draft_changes_exist;
135:
136:
137: -----------------------------------------------------------------------

Line 155: -- FND_API.G_TRUE if there are draft changes

151: -- po line unique identifier
152: --IN OUT:
153: --OUT:
154: --Returns:
155: -- FND_API.G_TRUE if there are draft changes
156: -- FND_API.G_FALSE if there aren't draft changes
157: --Notes:
158: --Testing:
159: --End of Comments

Line 156: -- FND_API.G_FALSE if there aren't draft changes

152: --IN OUT:
153: --OUT:
154: --Returns:
155: -- FND_API.G_TRUE if there are draft changes
156: -- FND_API.G_FALSE if there aren't draft changes
157: --Notes:
158: --Testing:
159: --End of Comments
160: ------------------------------------------------------------------------

Line 195: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

191: PO_MESSAGE_S.add_exc_msg
192: ( p_pkg_name => d_pkg_name,
193: p_procedure_name => d_api_name || '.' || d_position
194: );
195: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
196: END draft_changes_exist;
197:
198:
199: -----------------------------------------------------------------------

Line 237: IF (p_draft_info.lines_changed = FND_API.G_FALSE) THEN

233: IF (PO_LOG.d_proc) THEN
234: PO_LOG.proc_begin(d_module);
235: END IF;
236:
237: IF (p_draft_info.lines_changed = FND_API.G_FALSE) THEN
238: IF (PO_LOG.d_stmt) THEN
239: PO_LOG.stmt(d_module, d_position, 'no change-no need to apply');
240: END IF;
241:

Line 278: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

274: PO_MESSAGE_S.add_exc_msg
275: ( p_pkg_name => d_pkg_name,
276: p_procedure_name => d_api_name || '.' || d_position
277: );
278: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
279:
280: END apply_changes;
281:
282: -- bug4176111

Line 325: p_draft_info.lines_changed = FND_API.G_FALSE) THEN

321: IF ((NOT (p_draft_info.doc_type = 'PO' AND
322: p_draft_info.doc_subtype = 'STANDARD') AND
323: NOT (p_draft_info.doc_type = 'PA' AND
324: p_draft_info.doc_subtype = 'BLANKET')) OR
325: p_draft_info.lines_changed = FND_API.G_FALSE) THEN
326:
327: RETURN;
328: END IF;
329:

Line 372: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

368: PO_MESSAGE_S.add_exc_msg
369: ( p_pkg_name => d_pkg_name,
370: p_procedure_name => d_api_name || '.' || d_position
371: );
372: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
373:
374: END maintain_retroactive_change;
375:
376: -------------------------------------------------------

Line 471: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

467: PO_MESSAGE_S.add_exc_msg
468: ( p_pkg_name => d_pkg_name,
469: p_procedure_name => d_api_name || '.' || d_position
470: );
471: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
472: END group_records_by_dml_type;
473:
474:
475: END PO_LINES_DRAFT_PVT;