DBA Data[Home] [Help]

APPS.OZF_SUPP_TRADE_PROFILE_PVT dependencies on FND_MESSAGE

Line 920: FND_MESSAGE.set_name('OZF', 'OZF_USER_PROFILE_MISSING');

916: -- =========================================================================
917: IF FND_GLOBAL.User_Id IS NULL
918: THEN
919: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
920: FND_MESSAGE.set_name('OZF', 'OZF_USER_PROFILE_MISSING');
921: FND_MSG_PUB.add;
922: END IF;
923: RAISE FND_API.G_EXC_ERROR;
924: END IF;

Line 1084: FND_MESSAGE.set_name('OZF', 'OZF_TABLE_HANDLER_ERROR');

1080:
1081: EXCEPTION
1082: WHEN OTHERS THEN
1083: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1084: FND_MESSAGE.set_name('OZF', 'OZF_TABLE_HANDLER_ERROR');
1085: FND_MSG_PUB.add;
1086: END IF;
1087:
1088: RAISE FND_API.G_EXC_ERROR;

Line 1115: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCES_LOCKED');

1111: EXCEPTION
1112: WHEN OZF_Utility_PVT.resource_locked THEN
1113: x_return_status := FND_API.g_ret_sts_error;
1114: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1115: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCES_LOCKED');
1116: FND_MSG_PUB.add;
1117: END IF;
1118: WHEN FND_API.G_EXC_ERROR THEN
1119: ROLLBACK TO Create_Supp_Trade_Profile_PVT;

Line 1231: FND_MESSAGE.set_name('OZF', 'OZF_API_RECORD_NOT_FOUND');

1227: OPEN c_supp_trade;
1228: FETCH c_supp_trade INTO l_ref_supp_trade_profile_rec;
1229: IF ( c_supp_trade%NOTFOUND) THEN
1230: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1231: FND_MESSAGE.set_name('OZF', 'OZF_API_RECORD_NOT_FOUND');
1232: FND_MSG_PUB.add;
1233: END IF;
1234: RAISE FND_API.G_EXC_ERROR;
1235: END IF;

Line 1245: FND_MESSAGE.set_name('OZF', 'OZF_API_NO_OBJ_VER_NUM');

1241:
1242: IF (l_tar_supp_trade_profile_rec.object_version_number is NULL or
1243: l_tar_supp_trade_profile_rec.object_version_number = FND_API.G_MISS_NUM ) THEN
1244: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1245: FND_MESSAGE.set_name('OZF', 'OZF_API_NO_OBJ_VER_NUM');
1246: FND_MSG_PUB.add;
1247: END IF;
1248: raise FND_API.G_EXC_ERROR;
1249: End if;

Line 1476: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCE_LOCKED');

1472: EXCEPTION
1473: WHEN OZF_Utility_PVT.resource_locked THEN
1474: x_return_status := FND_API.g_ret_sts_error;
1475: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1476: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCE_LOCKED');
1477: FND_MSG_PUB.add;
1478: END IF;
1479: WHEN FND_API.G_EXC_ERROR THEN
1480: ROLLBACK TO UPDATE_Supp_Trade_Profile_PVT;

Line 1580: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCES_LOCKED');

1576: EXCEPTION
1577: WHEN OZF_Utility_PVT.resource_locked THEN
1578: x_return_status := FND_API.g_ret_sts_error;
1579: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1580: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCES_LOCKED');
1581: FND_MSG_PUB.add;
1582: END IF;
1583: WHEN FND_API.G_EXC_ERROR THEN
1584: ROLLBACK TO Delete_Supp_Trade_Profile_PVT;

Line 1669: FND_MESSAGE.set_name('OZF', 'OZF_API_RECORD_NOT_FOUND');

1665: FETCH c_Supp_Trade_Profile INTO l_SUPP_TRADE_PROFILE_ID;
1666: IF (c_Supp_Trade_Profile%NOTFOUND) THEN
1667: CLOSE c_Supp_Trade_Profile;
1668: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1669: FND_MESSAGE.set_name('OZF', 'OZF_API_RECORD_NOT_FOUND');
1670: FND_MSG_PUB.add;
1671: END IF;
1672: RAISE FND_API.g_exc_error;
1673: END IF;

Line 1687: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCES LOCKED');

1683: EXCEPTION
1684: WHEN OZF_Utility_PVT.resource_locked THEN
1685: x_return_status := FND_API.g_ret_sts_error;
1686: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1687: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCES LOCKED');
1688: FND_MSG_PUB.add;
1689: END IF;
1690: WHEN FND_API.G_EXC_ERROR THEN
1691: ROLLBACK TO LOCK_Supp_Trade_Profile_PVT;

Line 1775: FND_MESSAGE.set_name('OZF', 'OZF_SUPP_TRADE_PROFILE_DUPLIC');

1771: END IF;
1772: --Seed the message OZF_SUPP_TRADE_DUPLICATE
1773: IF l_valid_flag = FND_API.g_false THEN
1774: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1775: FND_MESSAGE.set_name('OZF', 'OZF_SUPP_TRADE_PROFILE_DUPLIC');
1776: FND_MSG_PUB.add;
1777: END IF;
1778: x_return_status := FND_API.G_RET_STS_ERROR;
1779: END IF;

Line 1805: FND_MESSAGE.set_name('OZF', 'OZF_SUPPLIER_MISSING');

1801: IF p_supp_trade_profile_rec.supplier_id = FND_API.g_miss_num OR
1802: p_supp_trade_profile_rec.supplier_id IS NULL
1803: THEN
1804: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1805: FND_MESSAGE.set_name('OZF', 'OZF_SUPPLIER_MISSING');
1806: FND_MSG_PUB.add;
1807: END IF;
1808: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1809: END IF;

Line 1814: FND_MESSAGE.set_name('OZF', 'OZF_SUPPLIER_SITE_MISSING');

1810: IF p_supp_trade_profile_rec.supplier_site_id = FND_API.g_miss_num OR
1811: p_supp_trade_profile_rec.supplier_site_id IS NULL
1812: THEN
1813: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1814: FND_MESSAGE.set_name('OZF', 'OZF_SUPPLIER_SITE_MISSING');
1815: FND_MSG_PUB.add;
1816: END IF;
1817: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1818: END IF;

Line 1824: FND_MESSAGE.set_name('OZF', 'OZF_CUSTOMER_MISSING');

1820: IF p_supp_trade_profile_rec.party_id = FND_API.g_miss_num OR
1821: p_supp_trade_profile_rec.party_id IS NULL
1822: THEN
1823: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1824: FND_MESSAGE.set_name('OZF', 'OZF_CUSTOMER_MISSING');
1825: FND_MSG_PUB.add;
1826: END IF;
1827: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1828: END IF;

Line 1833: FND_MESSAGE.set_name('OZF', 'OZF_CUSTOMER_ACCOUNT_MISSING');

1829: IF p_supp_trade_profile_rec.cust_account_id = FND_API.g_miss_num OR
1830: p_supp_trade_profile_rec.cust_account_id IS NULL
1831: THEN
1832: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1833: FND_MESSAGE.set_name('OZF', 'OZF_CUSTOMER_ACCOUNT_MISSING');
1834: FND_MSG_PUB.add;
1835: END IF;
1836: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1837: END IF;

Line 1981: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCE_LOCKED ');

1977: EXCEPTION
1978: WHEN OZF_Utility_PVT.resource_locked THEN
1979: x_return_status := FND_API.g_ret_sts_error;
1980: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1981: FND_MESSAGE.set_name('OZF', 'OZF_API_RESOURCE_LOCKED ');
1982: FND_MSG_PUB.add;
1983: END IF;
1984: WHEN FND_API.G_EXC_ERROR THEN
1985: ROLLBACK TO VALIDATE_Supp_Trade_Prfl_PVT;

Line 2042: FND_MESSAGE.set_name('OZF', 'OZF_DEFAULT_DAYS_INVALID_VAL');

2038: ( p_supp_trade_profile_rec.default_days_covered > 9999 or
2039: p_supp_trade_profile_rec.default_days_covered < 0)
2040: THEN
2041: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2042: FND_MESSAGE.set_name('OZF', 'OZF_DEFAULT_DAYS_INVALID_VAL');
2043: FND_MSG_PUB.add;
2044: END IF;
2045: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2046: END IF ;

Line 2054: FND_MESSAGE.set_name('OZF', 'OZF_QTY_INC_TOLERANCE_INVALID');

2050: p_supp_trade_profile_rec.qty_increase_tolerance < 0)
2051: THEN
2052: x_return_status := FND_API.G_RET_STS_ERROR;
2053: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2054: FND_MESSAGE.set_name('OZF', 'OZF_QTY_INC_TOLERANCE_INVALID');
2055: FND_MSG_PUB.add;
2056: END IF;
2057: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2058: END IF ;

Line 2065: FND_MESSAGE.set_name('OZF', 'OZF_GRACE_DAYS_INVALID_VAL');

2061: p_supp_trade_profile_rec.grace_days < 0)
2062: THEN
2063: x_return_status := FND_API.G_RET_STS_ERROR;
2064: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2065: FND_MESSAGE.set_name('OZF', 'OZF_GRACE_DAYS_INVALID_VAL');
2066: FND_MSG_PUB.add;
2067: END IF;
2068: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2069: END IF ;

Line 2076: FND_MESSAGE.set_name('OZF', 'OZF_AUTH_PERIOD_INVALID_VAL');

2072: p_supp_trade_profile_rec.authorization_period < 0)
2073: THEN
2074: x_return_status := FND_API.G_RET_STS_ERROR;
2075: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2076: FND_MESSAGE.set_name('OZF', 'OZF_AUTH_PERIOD_INVALID_VAL');
2077: FND_MSG_PUB.add;
2078: END IF;
2079: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2080: END IF ;

Line 2087: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_FREQ_NEG');

2083: p_supp_trade_profile_rec.claim_frequency < 0
2084: THEN
2085: x_return_status := FND_API.G_RET_STS_ERROR;
2086: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2087: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_FREQ_NEG');
2088: FND_MSG_PUB.add;
2089: END IF;
2090: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2091: END IF ;

Line 2098: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_AMT_INVALID');

2094: THEN
2095: IF (p_supp_trade_profile_rec.min_claim_amt < 0)
2096: THEN
2097: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2098: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_AMT_INVALID');
2099: FND_MSG_PUB.add;
2100: END IF;
2101: x_return_status := FND_API.G_RET_STS_ERROR;
2102: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 2111: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_LINE_AMT_NEG');

2107: THEN
2108: IF (p_supp_trade_profile_rec.min_claim_amt_line_lvl < 0)
2109: THEN
2110: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2111: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_LINE_AMT_NEG');
2112: FND_MSG_PUB.add;
2113: END IF;
2114: x_return_status := FND_API.G_RET_STS_ERROR;
2115: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 2128: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_AMT_ERROR');

2124:
2125: IF (p_supp_trade_profile_rec.min_claim_amt < p_supp_trade_profile_rec.min_claim_amt_line_lvl)
2126: THEN
2127: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2128: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_AMT_ERROR');
2129: FND_MSG_PUB.add;
2130: END IF;
2131: x_return_status := FND_API.G_RET_STS_ERROR;
2132: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 2142: FND_MESSAGE.set_name('OZF', 'OZF_DAYS_BEF_CLAIMING_DEBIT');

2138: p_supp_trade_profile_rec.days_before_claiming_debit < 0
2139: THEN
2140: x_return_status := FND_API.G_RET_STS_ERROR;
2141: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2142: FND_MESSAGE.set_name('OZF', 'OZF_DAYS_BEF_CLAIMING_DEBIT');
2143: FND_MSG_PUB.add;
2144: END IF;
2145: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2146: END IF ;