DBA Data[Home] [Help]

APPS.PO_PRICE_ADJ_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 + price_adjustment_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 + price_adjustment 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 103: l_dft_exists_tbl(l_dft_exists_index_tbl(i)) := FND_API.G_TRUE;

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

Line 119: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

115: PO_MESSAGE_S.add_exc_msg
116: ( p_pkg_name => d_pkg_name,
117: p_procedure_name => d_api_name || '.' || d_position
118: );
119: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
120: END draft_changes_exist;
121:
122: -----------------------------------------------------------------------
123: --Start of Comments

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

136: -- price adjustment record 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 219: IF (p_draft_info.price_adj_changed = FND_API.G_FALSE) THEN

215: IF (PO_LOG.d_proc) THEN
216: PO_LOG.proc_begin(d_module);
217: END IF;
218:
219: IF (p_draft_info.price_adj_changed = FND_API.G_FALSE) THEN
220: IF (PO_LOG.d_stmt) THEN
221: PO_LOG.stmt(d_module, d_position, 'no change-no need to apply');
222: END IF;
223:

Line 240: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

236: PO_MESSAGE_S.add_exc_msg
237: ( p_pkg_name => d_pkg_name,
238: p_procedure_name => d_api_name || '.' || d_position
239: );
240: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
241: END apply_changes;
242:
243: END PO_PRICE_ADJ_DRAFT_PVT;