DBA Data[Home] [Help]

APPS.PO_COPYDOC_SUB dependencies on FND_API

Line 2524: IF (l_return_status <> FND_API.g_ret_sts_success) THEN

2520: (x_return_status => l_return_status,
2521: p_inv_org_id => x_po_shipment_record.ship_to_organization_id,
2522: x_ou_id => l_ship_to_ou_id);
2523:
2524: IF (l_return_status <> FND_API.g_ret_sts_success) THEN
2525: RAISE APP_EXCEPTION.application_exception;
2526: END IF;
2527: --< Bug 3265539 End >
2528:

Line 2873: (p_init_msg_list => FND_API.g_false,

2869:
2870: l_progress := '010';
2871:
2872: PO_SHARED_PROC_PVT.validate_ship_to_org
2873: (p_init_msg_list => FND_API.g_false,
2874: x_return_status => l_return_status,
2875: p_ship_to_org_id => p_ship_to_org_id,
2876: p_item_category_id => p_item_category_id,
2877: p_item_id => p_item_id, -- Bug 3433867

Line 2885: IF (l_return_status <> FND_API.g_ret_sts_success) THEN

2881: x_transaction_flow_header_id => l_transaction_flow_header_id);
2882:
2883: l_progress := '020';
2884:
2885: IF (l_return_status <> FND_API.g_ret_sts_success) THEN
2886: FND_MESSAGE.set_encoded(encoded_message => FND_MSG_PUB.get);
2887: RAISE FND_API.g_exc_error;
2888: END IF;
2889:

Line 2887: RAISE FND_API.g_exc_error;

2883: l_progress := '020';
2884:
2885: IF (l_return_status <> FND_API.g_ret_sts_success) THEN
2886: FND_MESSAGE.set_encoded(encoded_message => FND_MSG_PUB.get);
2887: RAISE FND_API.g_exc_error;
2888: END IF;
2889:
2890: l_progress := '030';
2891:

Line 2898: RAISE FND_API.g_exc_error;

2894: NVL(l_transaction_flow_header_id, -99))
2895: THEN
2896: FND_MESSAGE.set_name(application => 'PO',
2897: name => 'PO_COPY_DOC_INVALID_TXN_FLOW');
2898: RAISE FND_API.g_exc_error;
2899: END IF;
2900:
2901: END IF; --< if txn flow header ID not null >
2902:

Line 2904: WHEN FND_API.g_exc_error THEN

2900:
2901: END IF; --< if txn flow header ID not null >
2902:
2903: EXCEPTION
2904: WHEN FND_API.g_exc_error THEN
2905: PO_COPYDOC_S1.online_report
2906: (x_online_report_id => p_online_report_id,
2907: x_sequence => x_sequence,
2908: x_message => FND_MESSAGE.get,

Line 2987: IF (l_return_status <> FND_API.g_ret_sts_success) THEN

2983: p_online_report_id => p_online_report_id,
2984: x_sequence => x_sequence,
2985: x_key => l_key);
2986:
2987: IF (l_return_status <> FND_API.g_ret_sts_success) THEN
2988: RAISE l_populate_failed_exc;
2989: END IF;
2990:
2991: l_progress := '010';

Line 3216: -- FND_API.g_ret_sts_success - success

3212: -- The online report sequence, which gets incremented when an error is
3213: -- written to PO_ONLINE_REPORT_TEXT.
3214: --OUT:
3215: --x_return_status
3216: -- FND_API.g_ret_sts_success - success
3217: -- FND_API.g_ret_sts_unexp_error - unexpected error occurs
3218: --x_key
3219: -- The next value in the PO_SESSION_GT_S sequence to be used as the key for
3220: -- all the data inserted.

Line 3217: -- FND_API.g_ret_sts_unexp_error - unexpected error occurs

3213: -- written to PO_ONLINE_REPORT_TEXT.
3214: --OUT:
3215: --x_return_status
3216: -- FND_API.g_ret_sts_success - success
3217: -- FND_API.g_ret_sts_unexp_error - unexpected error occurs
3218: --x_key
3219: -- The next value in the PO_SESSION_GT_S sequence to be used as the key for
3220: -- all the data inserted.
3221: --End of Comments

Line 3238: x_return_status := FND_API.g_ret_sts_success;

3234:
3235: BEGIN
3236:
3237: l_progress := '000';
3238: x_return_status := FND_API.g_ret_sts_success;
3239:
3240: -- Get the key for the global session table to use for this GA
3241: SELECT po_session_gt_s.nextval
3242: INTO x_key

Line 3278: x_return_status := FND_API.g_ret_sts_unexp_error;

3274: END IF;
3275:
3276: EXCEPTION
3277: WHEN OTHERS THEN
3278: x_return_status := FND_API.g_ret_sts_unexp_error;
3279: PO_COPYDOC_S1.copydoc_sql_error
3280: (x_routine => 'PO_COPYDOC_SUB.populate_session_gt',
3281: x_progress => l_progress,
3282: x_sqlcode => SQLCODE,