DBA Data[Home] [Help]

APPS.INV_KANBANCARD_PKG dependencies on FND_MSG_PUB

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

192: l_kanban_card_rec.document_detail_id := NULL;
193: RETURN l_kanban_card_rec;
194: EXCEPTION
195: WHEN OTHERS THEN
196: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
197: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Query_Row');
198: END IF;
199:
200: RAISE fnd_api.g_exc_unexpected_error;

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

193: RETURN l_kanban_card_rec;
194: EXCEPTION
195: WHEN OTHERS THEN
196: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
197: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Query_Row');
198: END IF;
199:
200: RAISE fnd_api.g_exc_unexpected_error;
201: END query_row;

Line 491: fnd_msg_pub.initialize;

487: l_current_replnsh_cycle_id NUMBER;
488: l_card_status NUMBER;
489: l_supply_status NUMBER;
490: BEGIN
491: fnd_msg_pub.initialize;
492:
493: WHILE NOT l_kanban_card_number_ok LOOP
494: SELECT mtl_kanban_cards_s.NEXTVAL
495: INTO l_kanban_card_rec.kanban_card_id

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

752: x_return_status := fnd_api.g_ret_sts_error;
753: WHEN fnd_api.g_exc_unexpected_error THEN
754: x_return_status := fnd_api.g_ret_sts_unexp_error;
755: WHEN OTHERS THEN
756: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
757: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Row');
758: END IF;
759:
760: x_return_status := fnd_api.g_ret_sts_unexp_error;

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

753: WHEN fnd_api.g_exc_unexpected_error THEN
754: x_return_status := fnd_api.g_ret_sts_unexp_error;
755: WHEN OTHERS THEN
756: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
757: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Row');
758: END IF;
759:
760: x_return_status := fnd_api.g_ret_sts_unexp_error;
761: END insert_row;

Line 991: fnd_msg_pub.initialize;

987: l_current_replenish_cycle_id NUMBER;
988: l_return_status VARCHAR2(1) := fnd_api.g_ret_sts_success;
989: l_supply_status NUMBER;
990: BEGIN
991: fnd_msg_pub.initialize;
992: mydebug('Inside update_row 2');
993: l_old_kanban_card_rec := query_row(p_kanban_card_id => p_kanban_card_id);
994: l_kanban_card_rec.kanban_card_id := p_kanban_card_id;
995: l_kanban_card_rec.kanban_card_number := p_kanban_card_number;

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

1179: x_return_status := fnd_api.g_ret_sts_error;
1180: WHEN fnd_api.g_exc_unexpected_error THEN
1181: x_return_status := fnd_api.g_ret_sts_unexp_error;
1182: WHEN OTHERS THEN
1183: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1184: fnd_msg_pub.add_exc_msg(g_pkg_name, 'update_row');
1185: END IF;
1186:
1187: x_return_status := fnd_api.g_ret_sts_unexp_error;

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

1180: WHEN fnd_api.g_exc_unexpected_error THEN
1181: x_return_status := fnd_api.g_ret_sts_unexp_error;
1182: WHEN OTHERS THEN
1183: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1184: fnd_msg_pub.add_exc_msg(g_pkg_name, 'update_row');
1185: END IF;
1186:
1187: x_return_status := fnd_api.g_ret_sts_unexp_error;
1188: END update_row;

Line 1196: fnd_msg_pub.initialize;

1192: l_supply_status NUMBER;
1193: l_card_status NUMBER;
1194: l_current_replnsh_cycle_id NUMBER;
1195: BEGIN
1196: fnd_msg_pub.initialize;
1197: mydebug('Inside update_row 1');
1198: l_supply_status := p_kanban_card_rec.supply_status;
1199: l_card_status := p_kanban_card_rec.card_status;
1200: l_current_replnsh_cycle_id := p_kanban_card_rec.current_replnsh_cycle_id;

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

1268: RAISE fnd_api.g_exc_error;
1269: WHEN fnd_api.g_exc_unexpected_error THEN
1270: RAISE fnd_api.g_exc_unexpected_error;
1271: WHEN OTHERS THEN
1272: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1273: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Row');
1274: END IF;
1275:
1276: RAISE fnd_api.g_exc_unexpected_error;

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

1269: WHEN fnd_api.g_exc_unexpected_error THEN
1270: RAISE fnd_api.g_exc_unexpected_error;
1271: WHEN OTHERS THEN
1272: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1273: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Row');
1274: END IF;
1275:
1276: RAISE fnd_api.g_exc_unexpected_error;
1277: END update_row;

Line 1283: fnd_msg_pub.initialize;

1279: PROCEDURE update_card_status(p_kanban_card_rec IN OUT NOCOPY inv_kanban_pvt.kanban_card_rec_type, p_card_status IN NUMBER) IS
1280: l_return_status VARCHAR2(1);
1281: l_card_status NUMBER;
1282: BEGIN
1283: fnd_msg_pub.initialize;
1284: l_card_status := p_card_status;
1285: update_row(
1286: x_return_status => l_return_status
1287: , p_kanban_card_id => p_kanban_card_rec.kanban_card_id

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

1343: RAISE fnd_api.g_exc_error;
1344: WHEN fnd_api.g_exc_unexpected_error THEN
1345: RAISE fnd_api.g_exc_unexpected_error;
1346: WHEN OTHERS THEN
1347: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1348: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Card_Status');
1349: END IF;
1350:
1351: RAISE fnd_api.g_exc_unexpected_error;

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

1344: WHEN fnd_api.g_exc_unexpected_error THEN
1345: RAISE fnd_api.g_exc_unexpected_error;
1346: WHEN OTHERS THEN
1347: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1348: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Update_Card_Status');
1349: END IF;
1350:
1351: RAISE fnd_api.g_exc_unexpected_error;
1352: END update_card_status;

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

1368: x_return_status := fnd_api.g_ret_sts_error;
1369: WHEN fnd_api.g_exc_unexpected_error THEN
1370: x_return_status := fnd_api.g_ret_sts_unexp_error;
1371: WHEN OTHERS THEN
1372: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1373: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Row');
1374: END IF;
1375:
1376: x_return_status := fnd_api.g_ret_sts_unexp_error;

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

1369: WHEN fnd_api.g_exc_unexpected_error THEN
1370: x_return_status := fnd_api.g_ret_sts_unexp_error;
1371: WHEN OTHERS THEN
1372: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1373: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Row');
1374: END IF;
1375:
1376: x_return_status := fnd_api.g_ret_sts_unexp_error;
1377: END delete_row;

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

1486: EXCEPTION
1487: WHEN fnd_api.g_exc_error THEN
1488: RAISE fnd_api.g_exc_error;
1489: WHEN OTHERS THEN
1490: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1491: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Activity_For_Card');
1492: END IF;
1493:
1494: RAISE fnd_api.g_exc_unexpected_error;

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

1487: WHEN fnd_api.g_exc_error THEN
1488: RAISE fnd_api.g_exc_error;
1489: WHEN OTHERS THEN
1490: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1491: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Insert_Activity_For_Card');
1492: END IF;
1493:
1494: RAISE fnd_api.g_exc_unexpected_error;
1495: END insert_activity_for_card;

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

1503: EXCEPTION
1504: WHEN fnd_api.g_exc_error THEN
1505: RAISE fnd_api.g_exc_error;
1506: WHEN OTHERS THEN
1507: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1508: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Cards_For_Pull_Seq');
1509: END IF;
1510:
1511: RAISE fnd_api.g_exc_unexpected_error;

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

1504: WHEN fnd_api.g_exc_error THEN
1505: RAISE fnd_api.g_exc_error;
1506: WHEN OTHERS THEN
1507: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1508: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Cards_For_Pull_Seq');
1509: END IF;
1510:
1511: RAISE fnd_api.g_exc_unexpected_error;
1512: END delete_cards_for_pull_seq;

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

1518: EXCEPTION
1519: WHEN fnd_api.g_exc_error THEN
1520: RAISE fnd_api.g_exc_error;
1521: WHEN OTHERS THEN
1522: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1523: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Card');
1524: END IF;
1525:
1526: RAISE fnd_api.g_exc_unexpected_error;

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

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

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

1536: EXCEPTION
1537: WHEN fnd_api.g_exc_error THEN
1538: RAISE fnd_api.g_exc_error;
1539: WHEN OTHERS THEN
1540: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1541: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Pull_Seq');
1542: END IF;
1543:
1544: RAISE fnd_api.g_exc_unexpected_error;

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

1537: WHEN fnd_api.g_exc_error THEN
1538: RAISE fnd_api.g_exc_error;
1539: WHEN OTHERS THEN
1540: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1541: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Delete_Activity_For_Pull_Seq');
1542: END IF;
1543:
1544: RAISE fnd_api.g_exc_unexpected_error;
1545: END delete_activity_for_pull_seq;