DBA Data[Home] [Help]

APPS.PO_AUTOCREATE_PVT dependencies on FND_API

Line 155: l_return_status := FND_API.G_RET_STS_SUCCESS ;

151: l_progress := '050';
152: x_document_id := PO_AUTOCREATE_PARAMS.g_po_header_id;
153:
154: if x_document_id is not null then
155: l_return_status := FND_API.G_RET_STS_SUCCESS ;
156: --Bug 14006061 : After autocreate is successfully complete need to clear the interface records.
157: wrapup;
158: else
159: l_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

Line 159: l_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

155: l_return_status := FND_API.G_RET_STS_SUCCESS ;
156: --Bug 14006061 : After autocreate is successfully complete need to clear the interface records.
157: wrapup;
158: else
159: l_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
160: END IF;
161:
162:
163: IF g_debug_stmt THEN

Line 191: l_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

187: p_progress => l_progress);
188: END IF;
189: po_message_s.sql_error('CREATE_PO',l_progress,sqlcode);
190: --
191: l_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
192: x_document_id := null;
193: -- Added a Rollback when a Exception was raised
194: -- This Rollbacks all the Changes done when a Exception Condition was raised. This was done to avoid PO's with negative numbers getting created.
195: --raise;

Line 1423: --Call FND API only if there are attachments for the header

1419:
1420: -- Only header changes
1421: IF p_par_line_id_tbl(i) IS NULL THEN
1422:
1423: --Call FND API only if there are attachments for the header
1424: l_attach_count := get_attachment_count(l_po_header_id, p_par_draft_id_tbl(i), 'PO_HEADERS');
1425: IF l_attach_count <> 0
1426: THEN
1427: