24: -- added new public APIs
25: -- 12/22/99 VNEDUNGA Changing the procedure to include
26: -- changes coresponding to JTF_TERR-RSC
27: -- chnages
28: -- 03/22/00 VNEDUNGA Putting in FND_MESSAGE calls and
29: -- changes corresponding to FULL_ACCESS_FLAG
30: -- addition
31: -- 06/08/00 VNEDUNGA Changing convert pub to pvt resource record
32: -- 07/14/00 JDOCHERT BUG# 1355914 - FIX
831:
832: -- Debug Message
833: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
834: THEN
835: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
836: fnd_message.set_name ('PROC_NAME', l_api_name);
837: fnd_msg_pub.add;
838: END IF;
839:
832: -- Debug Message
833: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
834: THEN
835: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
836: fnd_message.set_name ('PROC_NAME', l_api_name);
837: fnd_msg_pub.add;
838: END IF;
839:
840: -- Initialize API return status to success
920:
921: -- Debug Message
922: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
923: THEN
924: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
925: fnd_message.set_name ('PROC_NAME', l_api_name);
926: fnd_msg_pub.add;
927: END IF;
928:
921: -- Debug Message
922: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
923: THEN
924: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
925: fnd_message.set_name ('PROC_NAME', l_api_name);
926: fnd_msg_pub.add;
927: END IF;
928:
929: -- Standard call to get message count and if count is 1, get message info.
1036:
1037: -- Debug Message
1038: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1039: THEN
1040: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1041: fnd_message.set_name ('PROC_NAME', l_api_name);
1042: fnd_msg_pub.add;
1043: END IF;
1044:
1037: -- Debug Message
1038: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1039: THEN
1040: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1041: fnd_message.set_name ('PROC_NAME', l_api_name);
1042: fnd_msg_pub.add;
1043: END IF;
1044:
1045: -- Initialize API return status to success
1075:
1076: -- Debug Message
1077: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1078: THEN
1079: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
1080: fnd_message.set_name ('PROC_NAME', l_api_name);
1081: fnd_msg_pub.add;
1082: END IF;
1083:
1076: -- Debug Message
1077: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1078: THEN
1079: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
1080: fnd_message.set_name ('PROC_NAME', l_api_name);
1081: fnd_msg_pub.add;
1082: END IF;
1083:
1084: -- Standard call to get message count and if count is 1, get message info.
1226:
1227: -- Debug Message
1228: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1229: THEN
1230: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1231: fnd_message.set_name ('PROC_NAME', l_api_name);
1232: fnd_msg_pub.add;
1233: END IF;
1234:
1227: -- Debug Message
1228: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1229: THEN
1230: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1231: fnd_message.set_name ('PROC_NAME', l_api_name);
1232: fnd_msg_pub.add;
1233: END IF;
1234:
1235: -- Initialize API return status to success
1309:
1310: -- Debug Message
1311: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1312: THEN
1313: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
1314: fnd_message.set_name ('PROC_NAME', l_api_name);
1315: fnd_msg_pub.add;
1316: END IF;
1317:
1310: -- Debug Message
1311: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1312: THEN
1313: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
1314: fnd_message.set_name ('PROC_NAME', l_api_name);
1315: fnd_msg_pub.add;
1316: END IF;
1317:
1318: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1435:
1436: -- Debug Message
1437: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1438: THEN
1439: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1440: fnd_message.set_name ('PROC_NAME', l_api_name);
1441: fnd_msg_pub.add;
1442: END IF;
1443:
1436: -- Debug Message
1437: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1438: THEN
1439: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1440: fnd_message.set_name ('PROC_NAME', l_api_name);
1441: fnd_msg_pub.add;
1442: END IF;
1443:
1444: -- Initialize API return status to success
1474:
1475: -- Debug Message
1476: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1477: THEN
1478: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
1479: fnd_message.set_name ('PROC_NAME', l_api_name);
1480: fnd_msg_pub.add;
1481: END IF;
1482:
1475: -- Debug Message
1476: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1477: THEN
1478: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
1479: fnd_message.set_name ('PROC_NAME', l_api_name);
1480: fnd_msg_pub.add;
1481: END IF;
1482:
1483: -- Standard call to get message count and if count is 1, get message info.
1603:
1604: -- Debug Message
1605: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1606: THEN
1607: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1608: fnd_message.set_name ('PROC_NAME', l_api_name);
1609: fnd_msg_pub.add;
1610: END IF;
1611:
1604: -- Debug Message
1605: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1606: THEN
1607: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1608: fnd_message.set_name ('PROC_NAME', l_api_name);
1609: fnd_msg_pub.add;
1610: END IF;
1611:
1612: -- Initialize API return status to success
1666:
1667: -- Debug Message
1668: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1669: THEN
1670: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
1671: fnd_message.set_name ('PROC_NAME', l_api_name);
1672: fnd_msg_pub.add;
1673: END IF;
1674:
1667: -- Debug Message
1668: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1669: THEN
1670: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
1671: fnd_message.set_name ('PROC_NAME', l_api_name);
1672: fnd_msg_pub.add;
1673: END IF;
1674:
1675: -- Standard call to get message count and if count is 1, get message info.
1784:
1785: -- Debug Message
1786: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1787: THEN
1788: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1789: fnd_message.set_name ('PROC_NAME', l_api_name);
1790: fnd_msg_pub.add;
1791: END IF;
1792:
1785: -- Debug Message
1786: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1787: THEN
1788: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1789: fnd_message.set_name ('PROC_NAME', l_api_name);
1790: fnd_msg_pub.add;
1791: END IF;
1792:
1793: -- Initialize API return status to success
1824:
1825: -- Debug Message
1826: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1827: THEN
1828: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1829: fnd_message.set_name ('PROC_NAME', l_api_name);
1830: fnd_msg_pub.add;
1831: END IF;
1832:
1825: -- Debug Message
1826: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1827: THEN
1828: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1829: fnd_message.set_name ('PROC_NAME', l_api_name);
1830: fnd_msg_pub.add;
1831: END IF;
1832:
1833: -- Standard call to get message count and if count is 1, get message info.
1953:
1954: -- Debug Message
1955: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1956: THEN
1957: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1958: fnd_message.set_name ('PROC_NAME', l_api_name);
1959: fnd_msg_pub.add;
1960: END IF;
1961:
1954: -- Debug Message
1955: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
1956: THEN
1957: fnd_message.set_name ('JTF', 'JTF_TERR_START_MSG');
1958: fnd_message.set_name ('PROC_NAME', l_api_name);
1959: fnd_msg_pub.add;
1960: END IF;
1961:
1962: -- Initialize API return status to success
2004:
2005: -- Debug Message
2006: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
2007: THEN
2008: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
2009: fnd_message.set_name ('PROC_NAME', l_api_name);
2010: fnd_msg_pub.add;
2011: END IF;
2012:
2005: -- Debug Message
2006: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_debug_low)
2007: THEN
2008: fnd_message.set_name ('JTF', 'JTF_TERR_END_MSG');
2009: fnd_message.set_name ('PROC_NAME', l_api_name);
2010: fnd_msg_pub.add;
2011: END IF;
2012:
2013: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);