DBA Data[Home] [Help]

APPS.AR_ADJUSTAPI_PUB dependencies on FND_MSG_PUB

Line 4: G_MSG_UERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR;

1: PACKAGE BODY AR_ADJUSTAPI_PUB AS
2: /* $Header: ARTAADJB.pls 115.3 2003/10/10 19:43:15 mraymond noship $ */
3: G_PKG_NAME CONSTANT VARCHAR2(30) :='AR_ADJUSTAPI_PUB';
4: G_MSG_UERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR;
5: G_MSG_ERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_ERROR;
6: G_MSG_HIGH CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH;
7: G_MSG_MEDIUM CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM;
8: G_MSG_LOW CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW;

Line 5: G_MSG_ERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_ERROR;

1: PACKAGE BODY AR_ADJUSTAPI_PUB AS
2: /* $Header: ARTAADJB.pls 115.3 2003/10/10 19:43:15 mraymond noship $ */
3: G_PKG_NAME CONSTANT VARCHAR2(30) :='AR_ADJUSTAPI_PUB';
4: G_MSG_UERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR;
5: G_MSG_ERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_ERROR;
6: G_MSG_HIGH CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH;
7: G_MSG_MEDIUM CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM;
8: G_MSG_LOW CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW;
9: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');

Line 6: G_MSG_HIGH CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH;

2: /* $Header: ARTAADJB.pls 115.3 2003/10/10 19:43:15 mraymond noship $ */
3: G_PKG_NAME CONSTANT VARCHAR2(30) :='AR_ADJUSTAPI_PUB';
4: G_MSG_UERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR;
5: G_MSG_ERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_ERROR;
6: G_MSG_HIGH CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH;
7: G_MSG_MEDIUM CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM;
8: G_MSG_LOW CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW;
9: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
10:

Line 7: G_MSG_MEDIUM CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM;

3: G_PKG_NAME CONSTANT VARCHAR2(30) :='AR_ADJUSTAPI_PUB';
4: G_MSG_UERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR;
5: G_MSG_ERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_ERROR;
6: G_MSG_HIGH CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH;
7: G_MSG_MEDIUM CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM;
8: G_MSG_LOW CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW;
9: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
10:
11: /*===========================================================================+

Line 8: G_MSG_LOW CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW;

4: G_MSG_UERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR;
5: G_MSG_ERROR CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_ERROR;
6: G_MSG_HIGH CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH;
7: G_MSG_MEDIUM CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM;
8: G_MSG_LOW CONSTANT NUMBER := FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW;
9: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
10:
11: /*===========================================================================+
12: | PROCEDURE |

Line 30: | fnd_msg_pub.check_msg_level |

26: | fnd_api.g_ret_sts_error |
27: | fnd_api.g_ret_sts_error |
28: | fnd_api.g_ret_sts_success |
29: | fnd_api.to_boolean |
30: | fnd_msg_pub.check_msg_level |
31: | fnd_msg_pub.count_and_get |
32: | fnd_msg_pub.initialize |
33: | ar_adjvalidate_pub.Validate_Type |
34: | ar_adjvalidate_pub.Validate_Payschd |

Line 31: | fnd_msg_pub.count_and_get |

27: | fnd_api.g_ret_sts_error |
28: | fnd_api.g_ret_sts_success |
29: | fnd_api.to_boolean |
30: | fnd_msg_pub.check_msg_level |
31: | fnd_msg_pub.count_and_get |
32: | fnd_msg_pub.initialize |
33: | ar_adjvalidate_pub.Validate_Type |
34: | ar_adjvalidate_pub.Validate_Payschd |
35: | ar_adjvalidate_pub.Validate_amount |

Line 32: | fnd_msg_pub.initialize |

28: | fnd_api.g_ret_sts_success |
29: | fnd_api.to_boolean |
30: | fnd_msg_pub.check_msg_level |
31: | fnd_msg_pub.count_and_get |
32: | fnd_msg_pub.initialize |
33: | ar_adjvalidate_pub.Validate_Type |
34: | ar_adjvalidate_pub.Validate_Payschd |
35: | ar_adjvalidate_pub.Validate_amount |
36: | ar_adjvalidate_pub.Validate_Rcvtrxccid |

Line 226: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Validate_Adj_Insert');

222: WHEN OTHERS THEN
223: IF PG_DEBUG in ('Y', 'C') THEN
224: arp_util.debug('EXCEPTION: Validate_Adj_Insert() ', G_MSG_UERROR);
225: END IF;
226: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Validate_Adj_Insert');
227: p_validation_status := FND_API.G_RET_STS_UNEXP_ERROR ;
228: RETURN;
229:
230:

Line 309: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Set_Remaining_Attributes');

305: WHEN OTHERS THEN
306: IF PG_DEBUG in ('Y', 'C') THEN
307: arp_util.debug('EXCEPTION: Set_Remaining_Attributes() ', G_MSG_UERROR);
308: END IF;
309: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Set_Remaining_Attributes');
310: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
311: RETURN;
312:
313: END Set_Remaining_Attributes;

Line 522: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Validate_Adj_Modify');

518: WHEN OTHERS THEN
519: IF PG_DEBUG in ('Y', 'C') THEN
520: arp_util.debug('EXCEPTION: Validate_Adj_Modify() ', G_MSG_UERROR);
521: END IF;
522: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Validate_Adj_Modify');
523: p_validation_status := FND_API.G_RET_STS_UNEXP_ERROR ;
524: RETURN;
525:
526:

Line 663: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Validate_Adj_Reverse');

659: WHEN OTHERS THEN
660: IF PG_DEBUG in ('Y', 'C') THEN
661: arp_util.debug('EXCEPTION: Validate_Adj_Reverse() ', G_MSG_UERROR);
662: END IF;
663: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Validate_Adj_Reverse');
664: p_validation_status := FND_API.G_RET_STS_UNEXP_ERROR ;
665: RETURN;
666:
667:

Line 891: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Validate_Adj_Approve');

887: WHEN OTHERS THEN
888: IF PG_DEBUG in ('Y', 'C') THEN
889: arp_util.debug('EXCEPTION: Validate_Adj_Approve() ', G_MSG_UERROR);
890: END IF;
891: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,'Validate_Adj_Approve');
892: p_validation_status := FND_API.G_RET_STS_UNEXP_ERROR ;
893: RETURN;
894:
895:

Line 916: | fnd_msg_pub.check_msg_level |

912: | fnd_api.g_ret_sts_error |
913: | fnd_api.g_ret_sts_error |
914: | fnd_api.g_ret_sts_success |
915: | fnd_api.to_boolean |
916: | fnd_msg_pub.check_msg_level |
917: | fnd_msg_pub.count_and_get |
918: | fnd_msg_pub.initialize |
919: | ar_adjvalidate_pub.Init_Context_Rec |
920: | ar_adjvalidate_pub.Cache_Details |

Line 917: | fnd_msg_pub.count_and_get |

913: | fnd_api.g_ret_sts_error |
914: | fnd_api.g_ret_sts_success |
915: | fnd_api.to_boolean |
916: | fnd_msg_pub.check_msg_level |
917: | fnd_msg_pub.count_and_get |
918: | fnd_msg_pub.initialize |
919: | ar_adjvalidate_pub.Init_Context_Rec |
920: | ar_adjvalidate_pub.Cache_Details |
921: | |

Line 918: | fnd_msg_pub.initialize |

914: | fnd_api.g_ret_sts_success |
915: | fnd_api.to_boolean |
916: | fnd_msg_pub.check_msg_level |
917: | fnd_msg_pub.count_and_get |
918: | fnd_msg_pub.initialize |
919: | ar_adjvalidate_pub.Init_Context_Rec |
920: | ar_adjvalidate_pub.Cache_Details |
921: | |
922: | ARGUMENTS : IN: |

Line 1002: FND_MSG_PUB.Count_And_Get(

998: /*--------------------------------------------------+
999: | Get message count and if 1, return message data |
1000: +---------------------------------------------------*/
1001:
1002: FND_MSG_PUB.Count_And_Get(
1003: p_encoded => FND_API.G_FALSE,
1004: p_count => p_msg_count,
1005: p_data => p_msg_data
1006: );

Line 1020: FND_MSG_PUB.initialize;

1016: +-------------------------------------------------------------*/
1017:
1018: IF FND_API.to_Boolean( p_init_msg_list )
1019: THEN
1020: FND_MSG_PUB.initialize;
1021: END IF;
1022:
1023: /*------------------------------------------------------------+
1024: | Turn on AR debugging messages only if the most verbose |

Line 1029: IF ( FND_MSG_PUB.Check_Msg_Level( G_MSG_LOW) )

1025: | log is requested. The AR messages do not provide message |
1026: | level information. |
1027: +------------------------------------------------------------*/
1028:
1029: IF ( FND_MSG_PUB.Check_Msg_Level( G_MSG_LOW) )
1030: THEN
1031: arp_util.enable_debug;
1032: ELSE
1033: arp_util.disable_debug;

Line 1127: FND_MSG_PUB.Count_And_Get(

1123: /*--------------------------------------------------+
1124: | Get message count and if 1, return message data |
1125: +---------------------------------------------------*/
1126:
1127: FND_MSG_PUB.Count_And_Get(
1128: p_encoded => FND_API.G_FALSE,
1129: p_count => p_msg_count,
1130: p_data => p_msg_data
1131: );

Line 1168: FND_MSG_PUB.Count_And_Get(

1164: /*--------------------------------------------------+
1165: | Get message count and if 1, return message data |
1166: +---------------------------------------------------*/
1167:
1168: FND_MSG_PUB.Count_And_Get(
1169: p_encoded => FND_API.G_FALSE,
1170: p_count => p_msg_count,
1171: p_data => p_msg_data
1172: );

Line 1210: FND_MSG_PUB.Count_And_Get(

1206: /*--------------------------------------------------+
1207: | Get message count and if 1, return message data |
1208: +---------------------------------------------------*/
1209:
1210: FND_MSG_PUB.Count_And_Get(
1211: p_encoded => FND_API.G_FALSE,
1212: p_count => p_msg_count,
1213: p_data => p_msg_data
1214: );

Line 1238: FND_MSG_PUB.Count_And_Get(

1234: /*---------------------------------------------------+
1235: | Get message count and if 1, return message data |
1236: +---------------------------------------------------*/
1237:
1238: FND_MSG_PUB.Count_And_Get(
1239: p_encoded => FND_API.G_FALSE,
1240: p_count => p_msg_count,
1241: p_data => p_msg_data
1242: );

Line 1279: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

1275: END IF;
1276:
1277: ROLLBACK TO AR_ADJUSTAPI_PUB;
1278: p_return_status := FND_API.G_RET_STS_ERROR ;
1279: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
1280: p_count => p_msg_count,
1281: p_data => p_msg_data
1282: );
1283:

Line 1291: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

1287: arp_util.debug(SQLERRM, G_MSG_ERROR);
1288: END IF;
1289: ROLLBACK TO AR_ADJUSTAPI_PUB ;
1290: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1291: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
1292: p_count => p_msg_count,
1293: p_data => p_msg_data
1294: );
1295:

Line 1315: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

1311: 'Rolling back and setting status to ERROR',
1312: G_MSG_ERROR);
1313: END IF;
1314:
1315: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
1316: p_count => p_msg_count,
1317: p_data => p_msg_data
1318: );
1319: RETURN;

Line 1347: | fnd_msg_pub.check_msg_level |

1343: | fnd_api.g_ret_sts_error |
1344: | fnd_api.g_ret_sts_error |
1345: | fnd_api.g_ret_sts_success |
1346: | fnd_api.to_boolean |
1347: | fnd_msg_pub.check_msg_level |
1348: | fnd_msg_pub.count_and_get |
1349: | fnd_msg_pub.initialize |
1350: | ar_adjustments_pkg.fetch_p |
1351: | ar_process_adjustment.update_adjustment |

Line 1348: | fnd_msg_pub.count_and_get |

1344: | fnd_api.g_ret_sts_error |
1345: | fnd_api.g_ret_sts_success |
1346: | fnd_api.to_boolean |
1347: | fnd_msg_pub.check_msg_level |
1348: | fnd_msg_pub.count_and_get |
1349: | fnd_msg_pub.initialize |
1350: | ar_adjustments_pkg.fetch_p |
1351: | ar_process_adjustment.update_adjustment |
1352: | ar_adjvalidate_pub.within_approval_limit |

Line 1349: | fnd_msg_pub.initialize |

1345: | fnd_api.g_ret_sts_success |
1346: | fnd_api.to_boolean |
1347: | fnd_msg_pub.check_msg_level |
1348: | fnd_msg_pub.count_and_get |
1349: | fnd_msg_pub.initialize |
1350: | ar_adjustments_pkg.fetch_p |
1351: | ar_process_adjustment.update_adjustment |
1352: | ar_adjvalidate_pub.within_approval_limit |
1353: | |

Line 1428: FND_MSG_PUB.Count_And_Get(

1424: /*--------------------------------------------------+
1425: | Get message count and if 1, return message data |
1426: +---------------------------------------------------*/
1427:
1428: FND_MSG_PUB.Count_And_Get(
1429: p_encoded => FND_API.G_FALSE,
1430: p_count => p_msg_count,
1431: p_data => p_msg_data
1432: );

Line 1446: FND_MSG_PUB.initialize;

1442: +-------------------------------------------------------------*/
1443:
1444: IF FND_API.to_Boolean( p_init_msg_list )
1445: THEN
1446: FND_MSG_PUB.initialize;
1447: END IF;
1448:
1449: /*------------------------------------------------------------+
1450: | Turn on AR debugging messages only if the most verbose |

Line 1455: IF ( FND_MSG_PUB.Check_Msg_Level( G_MSG_LOW ) )

1451: | log is requested. The AR messages do not provide message |
1452: | level information. |
1453: +------------------------------------------------------------*/
1454:
1455: IF ( FND_MSG_PUB.Check_Msg_Level( G_MSG_LOW ) )
1456: THEN
1457: arp_util.enable_debug;
1458: ELSE
1459: arp_util.disable_debug;

Line 1586: FND_MSG_PUB.Count_And_Get(

1582: /*--------------------------------------------------+
1583: | Get message count and if 1, return message data |
1584: +---------------------------------------------------*/
1585:
1586: FND_MSG_PUB.Count_And_Get(
1587: p_encoded => FND_API.G_FALSE,
1588: p_count => p_msg_count,
1589: p_data => p_msg_data
1590: );

Line 1629: FND_MSG_PUB.Count_And_Get(

1625: /*--------------------------------------------------+
1626: | Get message count and if 1, return message data |
1627: +---------------------------------------------------*/
1628:
1629: FND_MSG_PUB.Count_And_Get(
1630: p_encoded => FND_API.G_FALSE,
1631: p_count => p_msg_count,
1632: p_data => p_msg_data
1633: );

Line 1652: FND_MSG_PUB.Count_And_Get(

1648: /*---------------------------------------------------+
1649: | Get message count and if 1, return message data |
1650: +---------------------------------------------------*/
1651:
1652: FND_MSG_PUB.Count_And_Get(
1653: p_encoded => FND_API.G_FALSE,
1654: p_count => p_msg_count,
1655: p_data => p_msg_data
1656: );

Line 1693: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

1689: END IF;
1690:
1691: ROLLBACK TO AR_ADJUSTAPI_PUB;
1692: p_return_status := FND_API.G_RET_STS_ERROR ;
1693: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
1694: p_count => p_msg_count,
1695: p_data => p_msg_data
1696: );
1697:

Line 1705: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

1701: arp_util.debug('Modify_Adjustment: ' || SQLERRM, G_MSG_ERROR);
1702: END IF;
1703: ROLLBACK TO AR_ADJUSTAPI_PUB ;
1704: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1705: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
1706: p_count => p_msg_count,
1707: p_data => p_msg_data
1708: );
1709:

Line 1728: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

1724: 'Completion validation error(s) occurred. ' ||
1725: 'Rolling back and setting status to ERROR',
1726: G_MSG_ERROR);
1727: END IF;
1728: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
1729: p_count => p_msg_count,
1730: p_data => p_msg_data
1731: );
1732: RETURN;

Line 1760: | fnd_msg_pub.check_msg_level |

1756: | fnd_api.g_ret_sts_error |
1757: | fnd_api.g_ret_sts_error |
1758: | fnd_api.g_ret_sts_success |
1759: | fnd_api.to_boolean |
1760: | fnd_msg_pub.check_msg_level |
1761: | fnd_msg_pub.count_and_get |
1762: | fnd_msg_pub.initialize |
1763: | ar_adjustments_pkg.fetch_p |
1764: | ar_process_adjustment.reverse_adjustment |

Line 1761: | fnd_msg_pub.count_and_get |

1757: | fnd_api.g_ret_sts_error |
1758: | fnd_api.g_ret_sts_success |
1759: | fnd_api.to_boolean |
1760: | fnd_msg_pub.check_msg_level |
1761: | fnd_msg_pub.count_and_get |
1762: | fnd_msg_pub.initialize |
1763: | ar_adjustments_pkg.fetch_p |
1764: | ar_process_adjustment.reverse_adjustment |
1765: | |

Line 1762: | fnd_msg_pub.initialize |

1758: | fnd_api.g_ret_sts_success |
1759: | fnd_api.to_boolean |
1760: | fnd_msg_pub.check_msg_level |
1761: | fnd_msg_pub.count_and_get |
1762: | fnd_msg_pub.initialize |
1763: | ar_adjustments_pkg.fetch_p |
1764: | ar_process_adjustment.reverse_adjustment |
1765: | |
1766: | ARGUMENTS : IN: |

Line 1843: FND_MSG_PUB.Count_And_Get(

1839: /*--------------------------------------------------+
1840: | Get message count and if 1, return message data |
1841: +---------------------------------------------------*/
1842:
1843: FND_MSG_PUB.Count_And_Get(
1844: p_encoded =>FND_API.G_FALSE,
1845: p_count => p_msg_count,
1846: p_data => p_msg_data
1847: );

Line 1861: FND_MSG_PUB.initialize;

1857: +-------------------------------------------------------------*/
1858:
1859: IF FND_API.to_Boolean( p_init_msg_list )
1860: THEN
1861: FND_MSG_PUB.initialize;
1862: END IF;
1863:
1864: /*------------------------------------------------------------+
1865: | Turn on AR debugging messages only if the most verbose |

Line 1870: IF ( FND_MSG_PUB.Check_Msg_Level( G_MSG_LOW ) )

1866: | log is requested. The AR messages do not provide message |
1867: | level information. |
1868: +------------------------------------------------------------*/
1869:
1870: IF ( FND_MSG_PUB.Check_Msg_Level( G_MSG_LOW ) )
1871: THEN
1872: arp_util.enable_debug;
1873: ELSE
1874: arp_util.disable_debug;

Line 2003: FND_MSG_PUB.Count_And_Get(

1999: /*--------------------------------------------------+
2000: | Get message count and if 1, return message data |
2001: +---------------------------------------------------*/
2002:
2003: FND_MSG_PUB.Count_And_Get(
2004: p_encoded =>FND_API.G_FALSE,
2005: p_count => p_msg_count,
2006: p_data => p_msg_data
2007: );

Line 2046: FND_MSG_PUB.Count_And_Get(

2042: /*--------------------------------------------------+
2043: | Get message count and if 1, return message data |
2044: +---------------------------------------------------*/
2045:
2046: FND_MSG_PUB.Count_And_Get(
2047: p_encoded =>FND_API.G_FALSE,
2048: p_count => p_msg_count,
2049: p_data => p_msg_data
2050: );

Line 2071: FND_MSG_PUB.Count_And_Get(

2067: /*---------------------------------------------------+
2068: | Get message count and if 1, return message data |
2069: +---------------------------------------------------*/
2070:
2071: FND_MSG_PUB.Count_And_Get(
2072: p_encoded =>FND_API.G_FALSE,
2073: p_count => p_msg_count,
2074: p_data => p_msg_data
2075: );

Line 2112: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

2108: END IF;
2109:
2110: ROLLBACK TO AR_ADJUSTAPI_PUB;
2111: p_return_status := FND_API.G_RET_STS_ERROR ;
2112: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
2113: p_count => p_msg_count,
2114: p_data => p_msg_data
2115: );
2116:

Line 2124: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

2120: arp_util.debug('Reverse_Adjustment: ' || SQLERRM, G_MSG_ERROR);
2121: END IF;
2122: ROLLBACK TO AR_ADJUSTAPI_PUB ;
2123: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2124: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
2125: p_count => p_msg_count,
2126: p_data => p_msg_data
2127: );
2128:

Line 2148: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

2144: 'Rolling back and setting status to ERROR',
2145: G_MSG_ERROR);
2146: END IF;
2147:
2148: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
2149: p_count => p_msg_count,
2150: p_data => p_msg_data
2151: );
2152: RETURN;

Line 2180: | fnd_msg_pub.check_msg_level |

2176: | fnd_api.g_ret_sts_error |
2177: | fnd_api.g_ret_sts_error |
2178: | fnd_api.g_ret_sts_success |
2179: | fnd_api.to_boolean |
2180: | fnd_msg_pub.check_msg_level |
2181: | fnd_msg_pub.count_and_get |
2182: | fnd_msg_pub.initialize |
2183: | ar_adjustments_pkg.fetch_p |
2184: | ar_process_adjustment.update_approve_adjustment |

Line 2181: | fnd_msg_pub.count_and_get |

2177: | fnd_api.g_ret_sts_error |
2178: | fnd_api.g_ret_sts_success |
2179: | fnd_api.to_boolean |
2180: | fnd_msg_pub.check_msg_level |
2181: | fnd_msg_pub.count_and_get |
2182: | fnd_msg_pub.initialize |
2183: | ar_adjustments_pkg.fetch_p |
2184: | ar_process_adjustment.update_approve_adjustment |
2185: | |

Line 2182: | fnd_msg_pub.initialize |

2178: | fnd_api.g_ret_sts_success |
2179: | fnd_api.to_boolean |
2180: | fnd_msg_pub.check_msg_level |
2181: | fnd_msg_pub.count_and_get |
2182: | fnd_msg_pub.initialize |
2183: | ar_adjustments_pkg.fetch_p |
2184: | ar_process_adjustment.update_approve_adjustment |
2185: | |
2186: | ARGUMENTS : IN: |

Line 2262: FND_MSG_PUB.Count_And_Get(

2258: /*--------------------------------------------------+
2259: | Get message count and if 1, return message data |
2260: +---------------------------------------------------*/
2261:
2262: FND_MSG_PUB.Count_And_Get(
2263: p_encoded => FND_API.G_FALSE,
2264: p_count => p_msg_count,
2265: p_data => p_msg_data
2266: );

Line 2280: FND_MSG_PUB.initialize;

2276: +-------------------------------------------------------------*/
2277:
2278: IF FND_API.to_Boolean( p_init_msg_list )
2279: THEN
2280: FND_MSG_PUB.initialize;
2281: END IF;
2282:
2283: /*------------------------------------------------------------+
2284: | Turn on AR debugging messages only if the most verbose |

Line 2289: IF ( FND_MSG_PUB.Check_Msg_Level( G_MSG_LOW ) )

2285: | log is requested. The AR messages do not provide message |
2286: | level information. |
2287: +------------------------------------------------------------*/
2288:
2289: IF ( FND_MSG_PUB.Check_Msg_Level( G_MSG_LOW ) )
2290: THEN
2291: arp_util.enable_debug;
2292: ELSE
2293: arp_util.disable_debug;

Line 2421: FND_MSG_PUB.Count_And_Get(

2417: /*--------------------------------------------------+
2418: | Get message count and if 1, return message data |
2419: +---------------------------------------------------*/
2420:
2421: FND_MSG_PUB.Count_And_Get(
2422: p_encoded => FND_API.G_FALSE,
2423: p_count => p_msg_count,
2424: p_data => p_msg_data
2425: );

Line 2465: FND_MSG_PUB.Count_And_Get(

2461: /*--------------------------------------------------+
2462: | Get message count and if 1, return message data |
2463: +---------------------------------------------------*/
2464:
2465: FND_MSG_PUB.Count_And_Get(
2466: p_encoded => FND_API.G_FALSE,
2467: p_count => p_msg_count,
2468: p_data => p_msg_data
2469: );

Line 2490: FND_MSG_PUB.Count_And_Get(

2486: /*---------------------------------------------------+
2487: | Get message count and if 1, return message data |
2488: +---------------------------------------------------*/
2489:
2490: FND_MSG_PUB.Count_And_Get(
2491: p_encoded => FND_API.G_FALSE,
2492: p_count => p_msg_count,
2493: p_data => p_msg_data
2494: );

Line 2531: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

2527: END IF;
2528:
2529: ROLLBACK TO AR_ADJUSTAPI_PUB;
2530: p_return_status := FND_API.G_RET_STS_ERROR ;
2531: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
2532: p_count => p_msg_count,
2533: p_data => p_msg_data
2534: );
2535:

Line 2543: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

2539: arp_util.debug('Approve_Adjustment: ' || SQLERRM, G_MSG_ERROR);
2540: END IF;
2541: ROLLBACK TO AR_ADJUSTAPI_PUB ;
2542: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2543: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
2544: p_count => p_msg_count,
2545: p_data => p_msg_data
2546: );
2547:

Line 2567: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

2563: 'Rolling back and setting status to ERROR',
2564: G_MSG_ERROR);
2565: END IF;
2566:
2567: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
2568: p_count => p_msg_count,
2569: p_data => p_msg_data
2570: );
2571: RETURN;