DBA Data[Home] [Help]

APPS.IBY_DISBURSE_SINGLE_PMT_PKG dependencies on FND_API

Line 509: IF NOT FND_API.Compatible_API_Call(

505: print_debuginfo(l_module_name, 'Calling app pay req cd: '
506: || p_calling_app_payreq_cd);
507:
508: /* standard call to check for api compatibility */
509: IF NOT FND_API.Compatible_API_Call(
510: l_api_version,
511: p_api_version,
512: l_api_name,
513: G_PKG_NAME) THEN

Line 518: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

514:
515: FND_MESSAGE.SET_NAME('IBY', 'IBY_204400_API_VER_MISMATCH');
516: FND_MSG_PUB.Add;
517:
518: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
519:
520: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
521:
522: END IF;

Line 520: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

516: FND_MSG_PUB.Add;
517:
518: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
519:
520: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
521:
522: END IF;
523:
524: /* initialize message list if p_init_msg_list is set to TRUE. */

Line 525: IF FND_API.to_Boolean(p_init_msg_list) THEN

521:
522: END IF;
523:
524: /* initialize message list if p_init_msg_list is set to TRUE. */
525: IF FND_API.to_Boolean(p_init_msg_list) THEN
526: FND_MSG_PUB.initialize;
527: END IF;
528:
529: /* initialize API return status to success */

Line 530: x_return_status := FND_API.G_RET_STS_SUCCESS;

526: FND_MSG_PUB.initialize;
527: END IF;
528:
529: /* initialize API return status to success */
530: x_return_status := FND_API.G_RET_STS_SUCCESS;
531:
532: /*
533: * Check if parameters are correctly provided.
534: */

Line 554: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

550:
551: /*
552: * Return error status and exit.
553: */
554: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
555:
556: FND_MESSAGE.SET_NAME('IBY', 'IBY_MATURITY_DATE_REQD');
557: FND_MSG_PUB.ADD;
558:

Line 628: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

624:
625: /*
626: * Return error status and exit.
627: */
628: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
629:
630: FND_MESSAGE.SET_NAME('IBY', 'IBY_SINGPAY_INSERT_FAILED');
631: FND_MSG_PUB.ADD;
632:

Line 719: FND_API.G_FALSE,

715: * Call paper document number validation API.
716: */
717: IBY_DISBURSE_UI_API_PUB_PKG.validate_paper_doc_number(
718: l_api_version,
719: FND_API.G_FALSE,
720: p_payment_document_id,
721: l_paper_doc_num,
722: l_return_status,
723: x_msg_count,

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

728: || 'document number validation: '
729: || l_return_status
730: );
731:
732: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
733:
734: print_debuginfo(l_module_name, 'Paper document number '
735: || l_paper_doc_num
736: || ' failed validation.'

Line 744: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

740: || 'not be inserted into database. Returning failure '
741: || 'response.'
742: );
743:
744: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
745:
746: print_debuginfo(l_module_name, 'EXIT');
747:
748: RETURN;

Line 786: FND_API.G_FALSE,

782: );
783:
784: IBY_DISBURSE_UI_API_PUB_PKG.validate_paper_doc_number(
785: l_api_version,
786: FND_API.G_FALSE,
787: p_payment_document_id,
788: l_next_avlbl_paper_doc_num,
789: l_return_status,
790: x_msg_count,

Line 912: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

908: || 'not be inserted into database. Returning failure '
909: || 'response.'
910: );
911:
912: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
913:
914: print_debuginfo(l_module_name, 'EXIT');
915:
916: RETURN;

Line 1080: x_return_status := FND_API.G_RET_STS_SUCCESS;

1076:
1077: /* Bug 7330978 - return back the payment reference number to the caller */
1078: x_pmt_ref_num := l_pmt_rec.payment_reference_number;
1079:
1080: x_return_status := FND_API.G_RET_STS_SUCCESS;
1081:
1082: /*
1083: * Log all the params that we are passing back
1084: * to the caller.

Line 1167: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1163: p_count => x_msg_count,
1164: p_data => x_msg_data
1165: );
1166:
1167: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1168: print_debuginfo(l_module_name, 'EXIT');
1169:
1170: RETURN;
1171:

Line 1236: || FND_API.G_RET_STS_ERROR

1232: * If assignments for single payment request are not
1233: * complete, set the return status to an error status.
1234: */
1235: print_debuginfo(l_module_name, 'Setting return status of API to '
1236: || FND_API.G_RET_STS_ERROR
1237: || ' because assignments were incomplete.'
1238: );
1239:
1240: /* store error ids in output param */

Line 1250: x_return_status := FND_API.G_RET_STS_ERROR;

1246: /*
1247: * Return error status and exit.
1248: */
1249: print_debuginfo(l_module_name, 'Returning error response .. ');
1250: x_return_status := FND_API.G_RET_STS_ERROR;
1251: print_debuginfo(l_module_name, 'EXIT');
1252:
1253: RETURN;
1254:

Line 1285: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1281: p_count => x_msg_count,
1282: p_data => x_msg_data
1283: );
1284:
1285: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1286: print_debuginfo(l_module_name, 'EXIT');
1287:
1288: RETURN;
1289:

Line 1339: || FND_API.G_RET_STS_ERROR

1335: * successfully validated set the return status to an
1336: * error status.
1337: */
1338: print_debuginfo(l_module_name, 'Setting return status of API to '
1339: || FND_API.G_RET_STS_ERROR
1340: || ' because document validations failed.'
1341: );
1342:
1343: /* store error ids in output param */

Line 1353: x_return_status := FND_API.G_RET_STS_ERROR;

1349: /*
1350: * Return error status and exit.
1351: */
1352: print_debuginfo(l_module_name, 'Returning error response .. ');
1353: x_return_status := FND_API.G_RET_STS_ERROR;
1354: print_debuginfo(l_module_name, 'EXIT');
1355:
1356: RETURN;
1357:

Line 1389: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1385: p_count => x_msg_count,
1386: p_data => x_msg_data
1387: );
1388:
1389: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1390: print_debuginfo(l_module_name, 'EXIT');
1391:
1392: RETURN;
1393:

Line 1443: || FND_API.G_RET_STS_ERROR

1439: * successfully grouped into a payment set the return
1440: * status to an error status.
1441: */
1442: print_debuginfo(l_module_name, 'Setting return status of API to '
1443: || FND_API.G_RET_STS_ERROR
1444: || ' because payment creation failed.'
1445: );
1446:
1447: /* store error ids in output param */

Line 1457: x_return_status := FND_API.G_RET_STS_ERROR;

1453: /*
1454: * Return error status and exit.
1455: */
1456: print_debuginfo(l_module_name, 'Returning error response .. ');
1457: x_return_status := FND_API.G_RET_STS_ERROR;
1458: print_debuginfo(l_module_name, 'EXIT');
1459:
1460: RETURN;
1461:

Line 1494: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1490: p_count => x_msg_count,
1491: p_data => x_msg_data
1492: );
1493:
1494: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1495: print_debuginfo(l_module_name, 'EXIT');
1496:
1497: RETURN;
1498:

Line 1506: x_return_status := FND_API.G_RET_STS_SUCCESS;

1502: * If we reached here, it means that the build program
1503: * finished successfully. Set the response message to
1504: * 'success'.
1505: */
1506: x_return_status := FND_API.G_RET_STS_SUCCESS;
1507:
1508: l_payreq_status := IBY_DISBURSE_SUBMIT_PUB_PKG.
1509: get_payreq_status(l_payreq_id);
1510:

Line 1551: FND_API.G_FALSE,

1547: l_paper_doc_num := p_paper_document_number;
1548:
1549: IBY_DISBURSE_UI_API_PUB_PKG.validate_paper_doc_number(
1550: l_api_version,
1551: FND_API.G_FALSE,
1552: p_payment_document_id,
1553: l_paper_doc_num,
1554: l_return_status,
1555: x_msg_count,

Line 1557: FND_API.G_FALSE

1553: l_paper_doc_num,
1554: l_return_status,
1555: x_msg_count,
1556: x_msg_data,
1557: FND_API.G_FALSE
1558: );
1559:
1560: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
1561:

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

1556: x_msg_data,
1557: FND_API.G_FALSE
1558: );
1559:
1560: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
1561:
1562: print_debuginfo(l_module_name, 'Paper document number '
1563: || l_paper_doc_num
1564: || ' failed validation. Aborting ..'

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

1670: -- || 'instruction creation: '
1671: -- || l_retcode
1672: -- );
1673:
1674: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
1675:
1676: /*
1677: * If the payment instruction was not successfully
1678: * created set the return status to an error status.

Line 1701: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1697:
1698: /*
1699: * Return error status and exit.
1700: */
1701: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1702: print_debuginfo(l_module_name, 'EXIT');
1703:
1704: RETURN;
1705:

Line 1742: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1738:
1739: /*
1740: * Return error status and exit.
1741: */
1742: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1743: print_debuginfo(l_module_name, 'EXIT');
1744:
1745: RETURN;
1746:

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

1786: /*
1787: * If check numbering did not succeed return with an
1788: * error.
1789: */
1790: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
1791:
1792: /*
1793: * Fix for bug 5327347:
1794: *

Line 1826: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1822:
1823: /*
1824: * Return error status and exit.
1825: */
1826: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1827: print_debuginfo(l_module_name, 'EXIT');
1828:
1829: RETURN;
1830:

Line 1883: IN FND_API.G_FALSE,

1879: USING
1880: IN l_pmtInstrRec.payment_instruction_id,
1881: IN 'GENERATE',
1882: IN l_api_version,
1883: IN FND_API.G_FALSE,
1884: IN FND_API.G_FALSE,
1885: OUT l_return_status,
1886: OUT l_msg_count,
1887: OUT l_msg_data

Line 1884: IN FND_API.G_FALSE,

1880: IN l_pmtInstrRec.payment_instruction_id,
1881: IN 'GENERATE',
1882: IN l_api_version,
1883: IN FND_API.G_FALSE,
1884: IN FND_API.G_FALSE,
1885: OUT l_return_status,
1886: OUT l_msg_count,
1887: OUT l_msg_data
1888: ;

Line 1902: l_return_status <> FND_API.G_RET_STS_SUCCESS)

1898: * If the called procedure did not return success,
1899: * raise an exception.
1900: */
1901: IF (l_return_status IS NULL OR
1902: l_return_status <> FND_API.G_RET_STS_SUCCESS)
1903: THEN
1904:
1905: print_debuginfo(l_module_name,
1906: 'Fatal: External app callout '''

Line 2054: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2050:
2051: /*
2052: * Return error status and exit.
2053: */
2054: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2055: print_debuginfo(l_module_name, 'EXIT');
2056:
2057: RETURN;
2058:

Line 2099: IF (x_return_status = FND_API.G_RET_STS_SUCCESS) THEN

2095:
2096: print_debuginfo(l_module_name, 'Return status after finalize call '
2097: || x_return_status);
2098:
2099: IF (x_return_status = FND_API.G_RET_STS_SUCCESS) THEN
2100: print_debuginfo(l_module_name, 'Returning success response ..');
2101: ELSE
2102: print_debuginfo(l_module_name, 'Returning error response: '
2103: || x_return_status);

Line 2112: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2108:
2109: /*
2110: * Return error status and exit.
2111: */
2112: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2113:
2114: FND_MESSAGE.SET_NAME('IBY', 'IBY_INS_FINALIZE_STATUS_FAIL');
2115: FND_MESSAGE.SET_TOKEN('INS_ID',
2116: l_pmtInstrRec.payment_instruction_id,

Line 2166: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2162:
2163: /*
2164: * Return error status and exit.
2165: */
2166: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2167: print_debuginfo(l_module_name, 'EXIT');
2168:
2169: RETURN;
2170: