DBA Data[Home] [Help]

APPS.INV_KANBANCARD_PKG dependencies on FND_MSG_PUB

Line 207: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

203: l_kanban_card_rec.document_detail_id := NULL;
204: RETURN l_kanban_card_rec;
205: EXCEPTION
206: WHEN OTHERS THEN
207: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
208: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Query_Row');
209: END IF;
210:
211: RAISE fnd_api.g_exc_unexpected_error;

Line 208: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Query_Row');

204: RETURN l_kanban_card_rec;
205: EXCEPTION
206: WHEN OTHERS THEN
207: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
208: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Query_Row');
209: END IF;
210:
211: RAISE fnd_api.g_exc_unexpected_error;
212: END query_row;

Line 548: fnd_msg_pub.initialize;

544: l_current_replnsh_cycle_id NUMBER;
545: l_card_status NUMBER;
546: l_supply_status NUMBER;
547: BEGIN
548: fnd_msg_pub.initialize;
549: INV_LOG_UTIL.TRACE('561 Before Callin INSERT INTO mtl_kanban_cards','insert_row');
550: WHILE NOT l_kanban_card_number_ok LOOP
551: SELECT mtl_kanban_cards_s.NEXTVAL
552: INTO l_kanban_card_rec.kanban_card_id

Line 832: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

828: x_return_status := fnd_api.g_ret_sts_error;
829: WHEN fnd_api.g_exc_unexpected_error THEN
830: x_return_status := fnd_api.g_ret_sts_unexp_error;
831: WHEN OTHERS THEN
832: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
833: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Row');
834: END IF;
835:
836: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 833: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Row');

829: WHEN fnd_api.g_exc_unexpected_error THEN
830: x_return_status := fnd_api.g_ret_sts_unexp_error;
831: WHEN OTHERS THEN
832: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
833: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Row');
834: END IF;
835:
836: x_return_status := fnd_api.g_ret_sts_unexp_error;
837: END insert_row;

Line 1113: fnd_msg_pub.initialize;

1109: --add for Ekanban business event
1110: l_msg_data VARCHAR2(1000);
1111:
1112: BEGIN
1113: fnd_msg_pub.initialize;
1114: mydebug('Inside new eKanban update_row ');
1115: l_old_kanban_card_rec := query_row(p_kanban_card_id => p_kanban_card_id);
1116: l_kanban_card_rec.kanban_card_id := p_kanban_card_id;
1117: l_kanban_card_rec.kanban_card_number := p_kanban_card_number;

Line 1356: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1352: x_return_status := fnd_api.g_ret_sts_error;
1353: WHEN fnd_api.g_exc_unexpected_error THEN
1354: x_return_status := fnd_api.g_ret_sts_unexp_error;
1355: WHEN OTHERS THEN
1356: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1357: fnd_msg_pub.add_exc_msg(g_pkg_name, 'update_row');
1358: END IF;
1359:
1360: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 1357: fnd_msg_pub.add_exc_msg(g_pkg_name, 'update_row');

1353: WHEN fnd_api.g_exc_unexpected_error THEN
1354: x_return_status := fnd_api.g_ret_sts_unexp_error;
1355: WHEN OTHERS THEN
1356: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1357: fnd_msg_pub.add_exc_msg(g_pkg_name, 'update_row');
1358: END IF;
1359:
1360: x_return_status := fnd_api.g_ret_sts_unexp_error;
1361: END update_row;

Line 1369: fnd_msg_pub.initialize;

1365: l_supply_status NUMBER;
1366: l_card_status NUMBER;
1367: l_current_replnsh_cycle_id NUMBER;
1368: BEGIN
1369: fnd_msg_pub.initialize;
1370: mydebug('Inside update_row 1');
1371: l_supply_status := p_kanban_card_rec.supply_status;
1372: l_card_status := p_kanban_card_rec.card_status;
1373: l_current_replnsh_cycle_id := p_kanban_card_rec.current_replnsh_cycle_id;

Line 1450: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1446: RAISE fnd_api.g_exc_error;
1447: WHEN fnd_api.g_exc_unexpected_error THEN
1448: RAISE fnd_api.g_exc_unexpected_error;
1449: WHEN OTHERS THEN
1450: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1451: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Row');
1452: END IF;
1453:
1454: RAISE fnd_api.g_exc_unexpected_error;

Line 1451: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Row');

1447: WHEN fnd_api.g_exc_unexpected_error THEN
1448: RAISE fnd_api.g_exc_unexpected_error;
1449: WHEN OTHERS THEN
1450: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1451: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Row');
1452: END IF;
1453:
1454: RAISE fnd_api.g_exc_unexpected_error;
1455: END update_row;

Line 1461: fnd_msg_pub.initialize;

1457: PROCEDURE update_card_status(p_kanban_card_rec IN OUT NOCOPY inv_kanban_pvt.kanban_card_rec_type, p_card_status IN NUMBER) IS
1458: l_return_status VARCHAR2(1);
1459: l_card_status NUMBER;
1460: BEGIN
1461: fnd_msg_pub.initialize;
1462: l_card_status := p_card_status;
1463: update_row(
1464: x_return_status => l_return_status
1465: , p_kanban_card_id => p_kanban_card_rec.kanban_card_id

Line 1525: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1521: RAISE fnd_api.g_exc_error;
1522: WHEN fnd_api.g_exc_unexpected_error THEN
1523: RAISE fnd_api.g_exc_unexpected_error;
1524: WHEN OTHERS THEN
1525: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1526: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Card_Status');
1527: END IF;
1528:
1529: RAISE fnd_api.g_exc_unexpected_error;

Line 1526: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Card_Status');

1522: WHEN fnd_api.g_exc_unexpected_error THEN
1523: RAISE fnd_api.g_exc_unexpected_error;
1524: WHEN OTHERS THEN
1525: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1526: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Card_Status');
1527: END IF;
1528:
1529: RAISE fnd_api.g_exc_unexpected_error;
1530: END update_card_status;

Line 1550: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1546: x_return_status := fnd_api.g_ret_sts_error;
1547: WHEN fnd_api.g_exc_unexpected_error THEN
1548: x_return_status := fnd_api.g_ret_sts_unexp_error;
1549: WHEN OTHERS THEN
1550: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1551: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Row');
1552: END IF;
1553:
1554: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 1551: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Row');

1547: WHEN fnd_api.g_exc_unexpected_error THEN
1548: x_return_status := fnd_api.g_ret_sts_unexp_error;
1549: WHEN OTHERS THEN
1550: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1551: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Row');
1552: END IF;
1553:
1554: x_return_status := fnd_api.g_ret_sts_unexp_error;
1555: END delete_row;

Line 1668: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1664: EXCEPTION
1665: WHEN fnd_api.g_exc_error THEN
1666: RAISE fnd_api.g_exc_error;
1667: WHEN OTHERS THEN
1668: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1669: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Activity_For_Card');
1670: END IF;
1671:
1672: RAISE fnd_api.g_exc_unexpected_error;

Line 1669: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Activity_For_Card');

1665: WHEN fnd_api.g_exc_error THEN
1666: RAISE fnd_api.g_exc_error;
1667: WHEN OTHERS THEN
1668: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1669: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Activity_For_Card');
1670: END IF;
1671:
1672: RAISE fnd_api.g_exc_unexpected_error;
1673: END insert_activity_for_card;

Line 1685: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1681: EXCEPTION
1682: WHEN fnd_api.g_exc_error THEN
1683: RAISE fnd_api.g_exc_error;
1684: WHEN OTHERS THEN
1685: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1686: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Cards_For_Pull_Seq');
1687: END IF;
1688:
1689: RAISE fnd_api.g_exc_unexpected_error;

Line 1686: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Cards_For_Pull_Seq');

1682: WHEN fnd_api.g_exc_error THEN
1683: RAISE fnd_api.g_exc_error;
1684: WHEN OTHERS THEN
1685: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1686: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Cards_For_Pull_Seq');
1687: END IF;
1688:
1689: RAISE fnd_api.g_exc_unexpected_error;
1690: END delete_cards_for_pull_seq;

Line 1700: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1696: EXCEPTION
1697: WHEN fnd_api.g_exc_error THEN
1698: RAISE fnd_api.g_exc_error;
1699: WHEN OTHERS THEN
1700: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1701: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Card');
1702: END IF;
1703:
1704: RAISE fnd_api.g_exc_unexpected_error;

Line 1701: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Card');

1697: WHEN fnd_api.g_exc_error THEN
1698: RAISE fnd_api.g_exc_error;
1699: WHEN OTHERS THEN
1700: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1701: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Card');
1702: END IF;
1703:
1704: RAISE fnd_api.g_exc_unexpected_error;
1705: END delete_activity_for_card;

Line 1718: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1714: EXCEPTION
1715: WHEN fnd_api.g_exc_error THEN
1716: RAISE fnd_api.g_exc_error;
1717: WHEN OTHERS THEN
1718: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1719: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Pull_Seq');
1720: END IF;
1721:
1722: RAISE fnd_api.g_exc_unexpected_error;

Line 1719: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Pull_Seq');

1715: WHEN fnd_api.g_exc_error THEN
1716: RAISE fnd_api.g_exc_error;
1717: WHEN OTHERS THEN
1718: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1719: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Pull_Seq');
1720: END IF;
1721:
1722: RAISE fnd_api.g_exc_unexpected_error;
1723: END delete_activity_for_pull_seq;

Line 1797: fnd_msg_pub.initialize;

1793: l_supply_status NUMBER;
1794: --add for Ekanban busniess event
1795: l_msg_data VARCHAR2(1000);
1796: BEGIN
1797: fnd_msg_pub.initialize;
1798: INV_LOG_UTIL.TRACE('-- Start eKanban Changes insert_row','insert_row');
1799: IF p_kanban_card_id IS NULL THEN
1800: WHILE NOT l_kanban_card_number_ok LOOP
1801: SELECT mtl_kanban_cards_s.NEXTVAL

Line 2118: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

2114: x_return_status := fnd_api.g_ret_sts_error;
2115: WHEN fnd_api.g_exc_unexpected_error THEN
2116: x_return_status := fnd_api.g_ret_sts_unexp_error;
2117: WHEN OTHERS THEN
2118: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2119: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Row');
2120: END IF;
2121:
2122: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 2119: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Row');

2115: WHEN fnd_api.g_exc_unexpected_error THEN
2116: x_return_status := fnd_api.g_ret_sts_unexp_error;
2117: WHEN OTHERS THEN
2118: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2119: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Row');
2120: END IF;
2121:
2122: x_return_status := fnd_api.g_ret_sts_unexp_error;
2123: END insert_row;

Line 2369: fnd_msg_pub.initialize;

2365: l_current_replenish_cycle_id NUMBER;
2366: l_return_status VARCHAR2(1) := fnd_api.g_ret_sts_success;
2367: l_supply_status NUMBER;
2368: BEGIN
2369: fnd_msg_pub.initialize;
2370: mydebug('Inside update_row 2');
2371: l_old_kanban_card_rec := query_row(p_kanban_card_id => p_kanban_card_id);
2372: l_kanban_card_rec.kanban_card_id := p_kanban_card_id;
2373: l_kanban_card_rec.kanban_card_number := p_kanban_card_number;

Line 2561: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

2557: x_return_status := fnd_api.g_ret_sts_error;
2558: WHEN fnd_api.g_exc_unexpected_error THEN
2559: x_return_status := fnd_api.g_ret_sts_unexp_error;
2560: WHEN OTHERS THEN
2561: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2562: fnd_msg_pub.add_exc_msg(g_pkg_name, 'update_row');
2563: END IF;
2564:
2565: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 2562: fnd_msg_pub.add_exc_msg(g_pkg_name, 'update_row');

2558: WHEN fnd_api.g_exc_unexpected_error THEN
2559: x_return_status := fnd_api.g_ret_sts_unexp_error;
2560: WHEN OTHERS THEN
2561: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2562: fnd_msg_pub.add_exc_msg(g_pkg_name, 'update_row');
2563: END IF;
2564:
2565: x_return_status := fnd_api.g_ret_sts_unexp_error;
2566: END update_row;