DBA Data[Home] [Help]

APPS.AMW_CONTROL_PVT dependencies on FND_MSG_PUB

Line 149: fnd_msg_pub.initialize;

145: RAISE fnd_api.g_exc_unexpected_error;
146: END IF;
147: -- Initialize message list if p_init_msg_list is set to TRUE.
148: IF fnd_api.to_boolean (p_init_msg_list) THEN
149: fnd_msg_pub.initialize;
150: END IF;
151: -- Debug Message
152: ---amw_utility_pvt.debug_message ('Private API: ' || l_api_name || 'start');
153: amw_utility_pvt.debug_message (l_api_name || ' start');

Line 463: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

459: END IF;
460: END IF;
461: amw_utility_pvt.debug_message (l_api_name || ' end');
462: -- Standard call to get message count and if count is 1, get message info.
463: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
464: EXCEPTION
465: WHEN fnd_api.g_exc_error THEN
466: ROLLBACK TO load_control_pvt;
467: x_return_status := fnd_api.g_ret_sts_error;

Line 469: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

465: WHEN fnd_api.g_exc_error THEN
466: ROLLBACK TO load_control_pvt;
467: x_return_status := fnd_api.g_ret_sts_error;
468: -- Standard call to get message count and if count=1, get the message
469: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
470: p_count => x_msg_count,
471: p_data => x_msg_data
472: );
473: WHEN fnd_api.g_exc_unexpected_error THEN

Line 477: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

473: WHEN fnd_api.g_exc_unexpected_error THEN
474: ROLLBACK TO load_control_pvt;
475: x_return_status := fnd_api.g_ret_sts_unexp_error;
476: -- Standard call to get message count and if count=1, get the message
477: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
478: p_count => x_msg_count,
479: p_data => x_msg_data
480: );
481: WHEN OTHERS THEN

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

480: );
481: WHEN OTHERS THEN
482: ROLLBACK TO load_control_pvt;
483: x_return_status := fnd_api.g_ret_sts_unexp_error;
484: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
485: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
486: END IF;
487: -- Standard call to get message count and if count=1, get the message
488: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

Line 485: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

481: WHEN OTHERS THEN
482: ROLLBACK TO load_control_pvt;
483: x_return_status := fnd_api.g_ret_sts_unexp_error;
484: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
485: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
486: END IF;
487: -- Standard call to get message count and if count=1, get the message
488: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
489: p_count => x_msg_count,

Line 488: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

484: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
485: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
486: END IF;
487: -- Standard call to get message count and if count=1, get the message
488: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
489: p_count => x_msg_count,
490: p_data => x_msg_data
491: );
492: END load_control;

Line 547: fnd_msg_pub.initialize;

543: RAISE fnd_api.g_exc_unexpected_error;
544: END IF;
545: -- Initialize message list if p_init_msg_list is set to TRUE.
546: IF fnd_api.to_boolean (p_init_msg_list) THEN
547: fnd_msg_pub.initialize;
548: END IF;
549: -- Debug Message
550: ---amw_utility_pvt.debug_message ('Private API: ' || l_api_name || 'start');
551: amw_utility_pvt.debug_message (l_api_name || 'start');

Line 709: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

705: x_control_rev_id := l_control_rec.control_rev_id;
706: -- Debug Message
707: amw_utility_pvt.debug_message (l_api_name || 'end');
708: -- Standard call to get message count and if count is 1, get message info.
709: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
710: EXCEPTION
711: WHEN amw_utility_pvt.resource_locked THEN
712: x_return_status := fnd_api.g_ret_sts_error;
713: amw_utility_pvt.error_message(p_message_name => 'AMW_API_RESOURCE_LOCKED');

Line 718: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

714: WHEN fnd_api.g_exc_error THEN
715: ROLLBACK TO create_control_pvt;
716: x_return_status := fnd_api.g_ret_sts_error;
717: -- Standard call to get message count and if count=1, get the message
718: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
719: p_count => x_msg_count,
720: p_data => x_msg_data
721: );
722: WHEN fnd_api.g_exc_unexpected_error THEN

Line 726: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

722: WHEN fnd_api.g_exc_unexpected_error THEN
723: ROLLBACK TO create_control_pvt;
724: x_return_status := fnd_api.g_ret_sts_unexp_error;
725: -- Standard call to get message count and if count=1, get the message
726: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
727: p_count => x_msg_count,
728: p_data => x_msg_data
729: );
730: WHEN OTHERS THEN

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

729: );
730: WHEN OTHERS THEN
731: ROLLBACK TO create_control_pvt;
732: x_return_status := fnd_api.g_ret_sts_unexp_error;
733: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
734: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
735: END IF;
736: -- Standard call to get message count and if count=1, get the message
737: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

Line 734: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

730: WHEN OTHERS THEN
731: ROLLBACK TO create_control_pvt;
732: x_return_status := fnd_api.g_ret_sts_unexp_error;
733: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
734: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
735: END IF;
736: -- Standard call to get message count and if count=1, get the message
737: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
738: p_count => x_msg_count,

Line 737: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

733: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
734: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
735: END IF;
736: -- Standard call to get message count and if count=1, get the message
737: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
738: p_count => x_msg_count,
739: p_data => x_msg_data
740: );
741: END create_control;

Line 782: fnd_msg_pub.initialize;

778: RAISE fnd_api.g_exc_unexpected_error;
779: END IF;
780: -- Initialize message list if p_init_msg_list is set to TRUE.
781: IF fnd_api.to_boolean (p_init_msg_list) THEN
782: fnd_msg_pub.initialize;
783: END IF;
784: -- Debug Message
785: ----amw_utility_pvt.debug_message ('Private API: ' || l_api_name || 'start');
786: amw_utility_pvt.debug_message (l_api_name || 'start');

Line 917: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

913: -- Debug Message
914: --amw_utility_pvt.debug_message ('Private API: ' || l_api_name || 'end');
915: amw_utility_pvt.debug_message (l_api_name || 'end');
916: -- Standard call to get message count and if count is 1, get message info.
917: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
918: EXCEPTION
919: WHEN amw_utility_pvt.resource_locked THEN
920: x_return_status := fnd_api.g_ret_sts_error;
921: amw_utility_pvt.error_message(p_message_name => 'AMW_API_RESOURCE_LOCKED');

Line 926: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

922: WHEN fnd_api.g_exc_error THEN
923: ROLLBACK TO update_control_pvt;
924: x_return_status := fnd_api.g_ret_sts_error;
925: -- Standard call to get message count and if count=1, get the message
926: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
927: p_count => x_msg_count,
928: p_data => x_msg_data
929: );
930: WHEN fnd_api.g_exc_unexpected_error THEN

Line 934: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

930: WHEN fnd_api.g_exc_unexpected_error THEN
931: ROLLBACK TO update_control_pvt;
932: x_return_status := fnd_api.g_ret_sts_unexp_error;
933: -- Standard call to get message count and if count=1, get the message
934: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
935: p_count => x_msg_count,
936: p_data => x_msg_data
937: );
938: WHEN OTHERS THEN

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

937: );
938: WHEN OTHERS THEN
939: ROLLBACK TO update_control_pvt;
940: x_return_status := fnd_api.g_ret_sts_unexp_error;
941: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
942: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
943: END IF;
944: -- Standard call to get message count and if count=1, get the message
945: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

Line 942: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

938: WHEN OTHERS THEN
939: ROLLBACK TO update_control_pvt;
940: x_return_status := fnd_api.g_ret_sts_unexp_error;
941: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
942: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
943: END IF;
944: -- Standard call to get message count and if count=1, get the message
945: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
946: p_count => x_msg_count,

Line 945: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

941: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
942: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
943: END IF;
944: -- Standard call to get message count and if count=1, get the message
945: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
946: p_count => x_msg_count,
947: p_data => x_msg_data
948: );
949: END update_control;

Line 977: fnd_msg_pub.initialize;

973: RAISE fnd_api.g_exc_unexpected_error;
974: END IF;
975: -- Initialize message list if p_init_msg_list is set to TRUE.
976: IF fnd_api.to_boolean (p_init_msg_list) THEN
977: fnd_msg_pub.initialize;
978: END IF;
979: -- Debug Message
980: ----amw_utility_pvt.debug_message ('Private API: ' || l_api_name || 'start');
981: amw_utility_pvt.debug_message (l_api_name || 'start');

Line 1004: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

1000: -- Debug Message
1001: ---amw_utility_pvt.debug_message ('Private API: ' || l_api_name || 'end');
1002: amw_utility_pvt.debug_message (l_api_name || ' end');
1003: -- Standard call to get message count and if count is 1, get message info.
1004: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1005: EXCEPTION
1006: WHEN amw_utility_pvt.resource_locked THEN
1007: x_return_status := fnd_api.g_ret_sts_error;
1008: -----amw_utility_pvt.error_message(p_message_name => 'AMW_API_RESOURCE_LOCKED');

Line 1014: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1010: WHEN fnd_api.g_exc_error THEN
1011: ROLLBACK TO delete_control_pvt;
1012: x_return_status := fnd_api.g_ret_sts_error;
1013: -- Standard call to get message count and if count=1, get the message
1014: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1015: p_count => x_msg_count,
1016: p_data => x_msg_data
1017: );
1018: WHEN fnd_api.g_exc_unexpected_error THEN

Line 1022: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1018: WHEN fnd_api.g_exc_unexpected_error THEN
1019: ROLLBACK TO delete_control_pvt;
1020: x_return_status := fnd_api.g_ret_sts_unexp_error;
1021: -- Standard call to get message count and if count=1, get the message
1022: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1023: p_count => x_msg_count,
1024: p_data => x_msg_data
1025: );
1026: WHEN OTHERS THEN

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

1025: );
1026: WHEN OTHERS THEN
1027: ROLLBACK TO delete_control_pvt;
1028: x_return_status := fnd_api.g_ret_sts_unexp_error;
1029: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1030: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1031: END IF;
1032: -- Standard call to get message count and if count=1, get the message
1033: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

Line 1030: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

1026: WHEN OTHERS THEN
1027: ROLLBACK TO delete_control_pvt;
1028: x_return_status := fnd_api.g_ret_sts_unexp_error;
1029: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1030: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1031: END IF;
1032: -- Standard call to get message count and if count=1, get the message
1033: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1034: p_count => x_msg_count,

Line 1033: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1029: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1030: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1031: END IF;
1032: -- Standard call to get message count and if count=1, get the message
1033: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1034: p_count => x_msg_count,
1035: p_data => x_msg_data
1036: );
1037: END delete_control;

Line 1065: fnd_msg_pub.initialize;

1061: ----amw_utility_pvt.debug_message ('Private API: ' || l_api_name || 'start');
1062: amw_utility_pvt.debug_message (l_api_name || 'start');
1063: -- Initialize message list if p_init_msg_list is set to TRUE.
1064: IF fnd_api.to_boolean (p_init_msg_list) THEN
1065: fnd_msg_pub.initialize;
1066: END IF;
1067: -- Standard call to check for call compatibility.
1068: IF NOT fnd_api.compatible_api_call (l_api_version_number,
1069: p_api_version_number,

Line 1084: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_error) THEN

1080: FETCH c_control
1081: INTO l_control_rev_id;
1082: IF (c_control%NOTFOUND) THEN
1083: CLOSE c_control;
1084: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_error) THEN
1085: fnd_message.set_name ('AMS', 'AMW_API_RECORD_NOT_FOUND');
1086: fnd_msg_pub.ADD;
1087: END IF;
1088: RAISE fnd_api.g_exc_error;

Line 1086: fnd_msg_pub.ADD;

1082: IF (c_control%NOTFOUND) THEN
1083: CLOSE c_control;
1084: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_error) THEN
1085: fnd_message.set_name ('AMS', 'AMW_API_RECORD_NOT_FOUND');
1086: fnd_msg_pub.ADD;
1087: END IF;
1088: RAISE fnd_api.g_exc_error;
1089: END IF;
1090: CLOSE c_control;

Line 1092: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1088: RAISE fnd_api.g_exc_error;
1089: END IF;
1090: CLOSE c_control;
1091: -------------------- finish --------------------------
1092: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1093: p_count => x_msg_count,
1094: p_data => x_msg_data
1095: );
1096: amw_utility_pvt.debug_message (l_full_name || ': end');

Line 1105: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1101: WHEN fnd_api.g_exc_error THEN
1102: ROLLBACK TO lock_control_pvt;
1103: x_return_status := fnd_api.g_ret_sts_error;
1104: -- Standard call to get message count and if count=1, get the message
1105: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1106: p_count => x_msg_count,
1107: p_data => x_msg_data
1108: );
1109: WHEN fnd_api.g_exc_unexpected_error THEN

Line 1113: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1109: WHEN fnd_api.g_exc_unexpected_error THEN
1110: ROLLBACK TO lock_control_pvt;
1111: x_return_status := fnd_api.g_ret_sts_unexp_error;
1112: -- Standard call to get message count and if count=1, get the message
1113: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1114: p_count => x_msg_count,
1115: p_data => x_msg_data
1116: );
1117: WHEN OTHERS THEN

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

1116: );
1117: WHEN OTHERS THEN
1118: ROLLBACK TO lock_control_pvt;
1119: x_return_status := fnd_api.g_ret_sts_unexp_error;
1120: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1121: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1122: END IF;
1123: -- Standard call to get message count and if count=1, get the message
1124: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

Line 1121: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

1117: WHEN OTHERS THEN
1118: ROLLBACK TO lock_control_pvt;
1119: x_return_status := fnd_api.g_ret_sts_unexp_error;
1120: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1121: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1122: END IF;
1123: -- Standard call to get message count and if count=1, get the message
1124: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1125: p_count => x_msg_count,

Line 1124: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1120: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1121: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1122: END IF;
1123: -- Standard call to get message count and if count=1, get the message
1124: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1125: p_count => x_msg_count,
1126: p_data => x_msg_data
1127: );
1128: END lock_control;

Line 1624: fnd_msg_pub.initialize;

1620: RAISE fnd_api.g_exc_unexpected_error;
1621: END IF;
1622: -- Initialize message list if p_init_msg_list is set to TRUE.
1623: IF fnd_api.to_boolean (p_init_msg_list) THEN
1624: fnd_msg_pub.initialize;
1625: END IF;
1626: IF p_validation_level >= jtf_plsql_api.g_valid_level_item THEN
1627: check_control_items (p_control_rec => p_control_rec,
1628: p_validation_mode => p_mode,

Line 1665: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

1661: -- Debug Message
1662: ---amw_utility_pvt.debug_message ('Private API: ' || l_api_name || 'end');
1663: amw_utility_pvt.debug_message (l_api_name || 'end');
1664: -- Standard call to get message count and if count is 1, get message info.
1665: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1666: EXCEPTION
1667: WHEN amw_utility_pvt.resource_locked THEN
1668: x_return_status := fnd_api.g_ret_sts_error;
1669: amw_utility_pvt.error_message(p_message_name => 'AMW_API_RESOURCE_LOCKED');

Line 1674: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1670: WHEN fnd_api.g_exc_error THEN
1671: ROLLBACK TO validate_control;
1672: x_return_status := fnd_api.g_ret_sts_error;
1673: -- Standard call to get message count and if count=1, get the message
1674: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1675: p_count => x_msg_count,
1676: p_data => x_msg_data
1677: );
1678: WHEN fnd_api.g_exc_unexpected_error THEN

Line 1682: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1678: WHEN fnd_api.g_exc_unexpected_error THEN
1679: ROLLBACK TO validate_control;
1680: x_return_status := fnd_api.g_ret_sts_unexp_error;
1681: -- Standard call to get message count and if count=1, get the message
1682: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1683: p_count => x_msg_count,
1684: p_data => x_msg_data
1685: );
1686: WHEN OTHERS THEN

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

1685: );
1686: WHEN OTHERS THEN
1687: ROLLBACK TO validate_control;
1688: x_return_status := fnd_api.g_ret_sts_unexp_error;
1689: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1690: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1691: END IF;
1692: -- Standard call to get message count and if count=1, get the message
1693: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

Line 1690: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

1686: WHEN OTHERS THEN
1687: ROLLBACK TO validate_control;
1688: x_return_status := fnd_api.g_ret_sts_unexp_error;
1689: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1690: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1691: END IF;
1692: -- Standard call to get message count and if count=1, get the message
1693: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1694: p_count => x_msg_count,

Line 1693: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,

1689: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1690: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1691: END IF;
1692: -- Standard call to get message count and if count=1, get the message
1693: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false,
1694: p_count => x_msg_count,
1695: p_data => x_msg_data
1696: );
1697: END validate_control;

Line 1710: fnd_msg_pub.initialize;

1706: ) IS
1707: BEGIN
1708: -- Initialize message list if p_init_msg_list is set to TRUE.
1709: IF fnd_api.to_boolean (p_init_msg_list) THEN
1710: fnd_msg_pub.initialize;
1711: END IF;
1712: -- Initialize API return status to SUCCESS
1713: x_return_status := fnd_api.g_ret_sts_success;
1714: -- Hint: Validate data

Line 1775: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

1771: */
1772: -- Debug Message
1773: amw_utility_pvt.debug_message ('Validate_dm_model_rec ends');
1774: -- Standard call to get message count and if count is 1, get message info.
1775: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1776: END validate_control_rec;
1777: END amw_control_pvt;