DBA Data[Home] [Help]

APPS.PO_DISTRIBUTIONS_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_distribution_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 + distribution 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 118: l_dft_exists_tbl(l_dft_exists_index_tbl(i)) := FND_API.G_TRUE;

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

Line 134: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

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

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

151: -- distribution 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 234: IF (p_draft_info.distributions_changed = FND_API.G_FALSE) THEN

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

Line 255: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

251: PO_MESSAGE_S.add_exc_msg
252: ( p_pkg_name => d_pkg_name,
253: p_procedure_name => d_api_name || '.' || d_position
254: );
255: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
256: END apply_changes;
257:
258: -------------------------------------------------------
259: -------------- PRIVATE PROCEDURES ---------------------

Line 353: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

349: PO_MESSAGE_S.add_exc_msg
350: ( p_pkg_name => d_pkg_name,
351: p_procedure_name => d_api_name || '.' || d_position
352: );
353: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
354: END group_records_by_dml_type;
355:
356: END PO_DISTRIBUTIONS_DRAFT_PVT;