DBA Data[Home] [Help]

APPS.PO_RESCHEDULE_PKG dependencies on FND_API

Line 101: RAISE FND_API.G_EXC_ERROR;

97: EXCEPTION
98: WHEN OTHERS THEN
99: add_error_to_msg_list ( p_api_name => l_api_name,
100: p_message => 'An exception Occurred ');
101: RAISE FND_API.G_EXC_ERROR;
102: END;
103:
104: --bug9693292
105: Function RESCHEDULE ( X_need_by_dates_old po_tbl_date,

Line 133: RAISE FND_API.G_EXC_ERROR;

129: EXCEPTION
130: WHEN OTHERS THEN
131: add_error_to_msg_list ( p_api_name => l_api_name,
132: p_message => 'An exception Occurred ');
133: RAISE FND_API.G_EXC_ERROR;
134: END;
135: --bug9693292
136:
137:

Line 232: RAISE FND_API.G_EXC_ERROR;

228: add_error_to_msg_list (
229: p_api_name => l_api_name,
230: p_message => 'Incorrect format for supply number: '||x_supply_number
231: );
232: RAISE FND_API.G_EXC_ERROR;
233: end if;
234:
235: select to_number(substr(x_supply_number, x_pare_left+1,
236: x_pare_right - x_pare_left-1))

Line 266: RAISE FND_API.G_EXC_ERROR;

262: add_error_to_msg_list (
263: p_api_name => l_api_name,
264: p_message => 'Incorrect format for supply number: '||x_supply_number
265: );
266: RAISE FND_API.G_EXC_ERROR;
267: end;
268: end if;
269:
270: l_progress:= '040';

Line 307: RAISE FND_API.G_EXC_ERROR;

303: add_error_to_msg_list (
304: p_api_name => l_api_name,
305: p_message => 'Could not obtain the document operating unit.'
306: );
307: RAISE FND_API.G_EXC_ERROR;
308: END;
309: /*STEP 3: get all the shipments */
310:
311: /* It is not possible to use forall, and bulk collect simultaneously.

Line 529: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN

525: -- debug
526: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_status', l_return_status);
527: -- debug
528:
529: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
530: RAISE FND_API.G_EXC_ERROR;
531: END IF;
532: END IF;
533: -- Construct the shipment changes object.

Line 530: RAISE FND_API.G_EXC_ERROR;

526: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_status', l_return_status);
527: -- debug
528:
529: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
530: RAISE FND_API.G_EXC_ERROR;
531: END IF;
532: END IF;
533: -- Construct the shipment changes object.
534: /*Bug 5633563

Line 574: p_init_msg_list => FND_API.G_TRUE,

570: /*Step 7: Call update_documents; */
571: l_progress:= '150';
572: PO_DOCUMENT_UPDATE_PVT.update_document(
573: p_api_version => 1.0,
574: p_init_msg_list => FND_API.G_TRUE,
575: x_return_status => l_return_status,
576: p_changes => l_changes,
577: p_run_submission_checks => FND_API.G_FALSE,
578: p_launch_approvals_flag => FND_API.G_TRUE,

Line 577: p_run_submission_checks => FND_API.G_FALSE,

573: p_api_version => 1.0,
574: p_init_msg_list => FND_API.G_TRUE,
575: x_return_status => l_return_status,
576: p_changes => l_changes,
577: p_run_submission_checks => FND_API.G_FALSE,
578: p_launch_approvals_flag => FND_API.G_TRUE,
579: p_buyer_id => NULL,
580: p_update_source => NULL,
581: p_override_date => NULL,

Line 578: p_launch_approvals_flag => FND_API.G_TRUE,

574: p_init_msg_list => FND_API.G_TRUE,
575: x_return_status => l_return_status,
576: p_changes => l_changes,
577: p_run_submission_checks => FND_API.G_FALSE,
578: p_launch_approvals_flag => FND_API.G_TRUE,
579: p_buyer_id => NULL,
580: p_update_source => NULL,
581: p_override_date => NULL,
582: x_api_errors => l_api_errors

Line 592: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN

588: PO_DEBUG.debug_stmt(l_log_head,l_progress,'After return from update document');
589: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_status', l_return_status);
590: -- debug
591:
592: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
593: x_error_count := x_error_message.Count; --bug9693292
594: -- PO Change API returned some errors. Add them to the API message list.
595: FND_MSG_PUB.initialize;
596: FOR i IN 1..l_api_errors.message_text.COUNT LOOP

Line 604: RAISE FND_API.G_EXC_ERROR;

600: x_error_message.extend;
601: x_error_message(x_error_count+i) := l_api_errors.message_text(i);
602: --bug9693292
603: END LOOP;
604: RAISE FND_API.G_EXC_ERROR;
605: END IF;
606:
607: l_progress:= '160';
608: -- debug

Line 632: WHEN FND_API.G_EXC_ERROR THEN

628: return TRUE;
629:
630:
631: EXCEPTION
632: WHEN FND_API.G_EXC_ERROR THEN
633: -- Set the org context back to the original operating unit.
634: IF (l_original_org_context IS NOT NULL) THEN
635: PO_MOAC_UTILS_PVT.set_org_context(l_original_org_context) ; --
636: END IF;

Line 691: x_return_status := FND_API.G_RET_STS_SUCCESS;

687: l_log_head CONSTANT VARCHAR2(200) := g_module_prefix || l_api_name;
688: l_progress VARCHAR2(3);
689: BEGIN
690: -- Bug 5255550
691: x_return_status := FND_API.G_RET_STS_SUCCESS;
692: l_progress:= '000';
693: PO_DEBUG.debug_begin(l_log_head);
694:
695: --SQL What: line_location_id, query out

Line 715: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

711: PO_DEBUG.debug_end(l_log_head);
712:
713: EXCEPTION
714: WHEN OTHERS THEN
715: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
716: FND_MSG_PUB.initialize;
717: add_error_to_msg_list (
718: p_api_name => l_api_name,
719: p_message => 'Can not update estimated_pickup_date and ship_method on requisitions');