DBA Data[Home] [Help]

APPS.PO_HEADERS_DRAFT_PVT dependencies on FND_API

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

13: -- None
14: --Function:
15: -- Checks whether there is any draft changes in the draft table
16: -- given the draft_id or draft_id + po_header_id
17: -- If only draft_id is provided, this program returns FND_API.G_TRUE for
18: -- any draft changes in this table for the draft
19: -- If the whole primary key is provided (draft_id + header id), then
20: -- it return true if there is draft for this particular record in
21: -- the draft table

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

29: --OUT:
30: --Returns:
31: -- Array of flags indicating whether draft changes exist for the corresponding
32: -- entry in the input parameter. For each entry in the returning array:
33: -- FND_API.G_TRUE if there are draft changes
34: -- FND_API.G_FALSE if there aren't draft changes
35: --Notes:
36: --Testing:
37: --End of Comments

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

30: --Returns:
31: -- Array of flags indicating whether draft changes exist for the corresponding
32: -- entry in the input parameter. For each entry in the returning array:
33: -- FND_API.G_TRUE if there are draft changes
34: -- FND_API.G_FALSE if there aren't draft changes
35: --Notes:
36: --Testing:
37: --End of Comments
38: ------------------------------------------------------------------------

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

60: l_dft_exists_tbl.extend(p_draft_id_tbl.COUNT);
61:
62: FOR i IN 1..l_index_tbl.COUNT LOOP
63: l_index_tbl(i) := i;
64: l_dft_exists_tbl(i) := FND_API.G_FALSE;
65: END LOOP;
66:
67: d_position := 10;
68:

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

97:
98: d_position := 40;
99:
100: FOR i IN 1..l_dft_exists_index_tbl.COUNT LOOP
101: l_dft_exists_tbl(l_dft_exists_index_tbl(i)) := FND_API.G_TRUE;
102: END LOOP;
103:
104: IF (PO_LOG.d_stmt) THEN
105: PO_LOG.stmt(d_module, d_position, '# of records that have dft changes',

Line 117: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

113: PO_MESSAGE_S.add_exc_msg
114: ( p_pkg_name => d_pkg_name,
115: p_procedure_name => d_api_name || '.' || d_position
116: );
117: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
118: END draft_changes_exist;
119:
120:
121:

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

136: -- po header unique identifier
137: --IN OUT:
138: --OUT:
139: --Returns:
140: -- FND_API.G_TRUE if there are draft changes
141: -- FND_API.G_FALSE if there aren't draft changes
142: --Notes:
143: --Testing:
144: --End of Comments

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

137: --IN OUT:
138: --OUT:
139: --Returns:
140: -- FND_API.G_TRUE if there are draft changes
141: -- FND_API.G_FALSE if there aren't draft changes
142: --Notes:
143: --Testing:
144: --End of Comments
145: ------------------------------------------------------------------------

Line 180: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

176: PO_MESSAGE_S.add_exc_msg
177: ( p_pkg_name => d_pkg_name,
178: p_procedure_name => d_api_name || '.' || d_position
179: );
180: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
181: END draft_changes_exist;
182:
183:
184: -----------------------------------------------------------------------

Line 233: IF (p_draft_info.headers_changed = FND_API.G_FALSE) THEN

229: IF (PO_LOG.d_proc) THEN
230: PO_LOG.proc_begin(d_module);
231: END IF;
232:
233: IF (p_draft_info.headers_changed = FND_API.G_FALSE) THEN
234: IF (PO_LOG.d_stmt) THEN
235: PO_LOG.stmt(d_module, d_position, 'no change-no need to apply');
236: END IF;
237:

Line 325: , p_init_msg_list => FND_API.G_TRUE

321:
322: -- call contract api to delete contract terms
323: OKC_TERMS_UTIL_GRP.delete_doc
324: ( p_api_version => 1.0
325: , p_init_msg_list => FND_API.G_TRUE
326: , p_commit => FND_API.G_FALSE
327: , p_doc_id => p_draft_info.po_header_id
328: , p_doc_type => l_contract_document_type
329: , p_validate_commit => FND_API.G_FALSE

Line 326: , p_commit => FND_API.G_FALSE

322: -- call contract api to delete contract terms
323: OKC_TERMS_UTIL_GRP.delete_doc
324: ( p_api_version => 1.0
325: , p_init_msg_list => FND_API.G_TRUE
326: , p_commit => FND_API.G_FALSE
327: , p_doc_id => p_draft_info.po_header_id
328: , p_doc_type => l_contract_document_type
329: , p_validate_commit => FND_API.G_FALSE
330: , x_return_status => l_return_status

Line 329: , p_validate_commit => FND_API.G_FALSE

325: , p_init_msg_list => FND_API.G_TRUE
326: , p_commit => FND_API.G_FALSE
327: , p_doc_id => p_draft_info.po_header_id
328: , p_doc_type => l_contract_document_type
329: , p_validate_commit => FND_API.G_FALSE
330: , x_return_status => l_return_status
331: , x_msg_data => l_msg_data
332: , x_msg_count => l_msg_count
333: );

Line 338: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

334:
335: d_position := 60;
336: IF (l_return_status <> 'S') THEN
337: -- display error
338: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
339: END IF;
340: ELSIF (l_dml_operation = 'UPDATE') THEN
341:
342: d_position := 70;

Line 365: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

361:
362: d_position := 80;
363: IF (l_return_status <> 'S') THEN
364: -- display error
365: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
366: END IF;
367:
368: END IF;
369:

Line 381: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

377: PO_MESSAGE_S.add_exc_msg
378: ( p_pkg_name => d_pkg_name,
379: p_procedure_name => d_api_name || '.' || d_position
380: );
381: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
382: END apply_changes;
383:
384: END PO_HEADERS_DRAFT_PVT;