DBA Data[Home] [Help]

APPS.AMS_THLDCHK_PVT dependencies on FND_MESSAGE

Line 430: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');

426: -- Error, check the msg level and added an error message to the
427: -- API message list
428: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
429: THEN -- MMSG
430: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
431: FND_MSG_PUB.Add;
432: END IF;
433:
434: RAISE FND_API.G_EXC_ERROR;

Line 589: FND_MESSAGE.Set_Name('FND', 'AMS_API_RECORD_NOT_FOUND');

585: -- Error, check the msg level and added an error message to the
586: -- API message list
587: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
588: THEN -- MMSG
589: FND_MESSAGE.Set_Name('FND', 'AMS_API_RECORD_NOT_FOUND');
590: FND_MSG_PUB.Add;
591: END IF;
592:
593: RAISE FND_API.G_EXC_ERROR;

Line 642: FND_MESSAGE.SET_NAME('AMS','AMS_API_RESOURCE_LOCKED');

638: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
639:
640: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
641: THEN -- MMSG
642: FND_MESSAGE.SET_NAME('AMS','AMS_API_RESOURCE_LOCKED');
643: FND_MSG_PUB.Add;
644: END IF;
645:
646: FND_MSG_PUB.Count_AND_Get

Line 826: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');

822: -- Error, check the msg level and added an error message to the
823: -- API message list
824: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
825: THEN -- MMSG
826: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
827: FND_MSG_PUB.Add;
828: END IF;
829: RAISE FND_API.G_EXC_ERROR;
830: END IF;

Line 1807: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_UOM_NULL');

1803: -- THEN
1804: -- IF l_chk1_met_rec.metric_uom_code IS NULL THEN
1805: -- IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
1806: -- THEN
1807: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_UOM_NULL');
1808: -- FND_MSG_PUB.Add;
1809: -- END IF;
1810: -- x_return_status := FND_API.G_RET_STS_ERROR;
1811: -- RETURN;

Line 1832: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_UOM');

1828: -- ) = FND_API.G_FALSE
1829: -- THEN
1830: -- IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
1831: -- THEN
1832: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_UOM');
1833: -- FND_MSG_PUB.Add;
1834: -- END IF;
1835:
1836: -- x_return_status := FND_API.G_RET_STS_ERROR;

Line 1844: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_UOM_NULL');

1840: -- ELSE
1841: -- IF l_chk1_met_rec.metric_uom_code IS NOT NULL THEN
1842: -- IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
1843: -- THEN
1844: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_UOM_NULL');
1845: -- FND_MSG_PUB.Add;
1846: -- END IF;
1847:
1848: -- x_return_status := FND_API.G_RET_STS_ERROR;

Line 1858: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_CURR_NULL');

1854: -- IF l_thldchk_rec.chk2_currency_code IS NOT NULL THEN
1855: -- IF l_chk1_met_rec.transaction_currency_code IS NULL THEN
1856: -- IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
1857: -- THEN
1858: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_CURR_NULL');
1859: -- FND_MSG_PUB.Add;
1860: -- END IF;
1861:
1862: -- x_return_status := FND_API.G_RET_STS_ERROR;

Line 1884: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_CURR');

1880: -- ) = FND_API.G_FALSE
1881: -- THEN
1882: -- IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
1883: -- THEN
1884: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_CURR');
1885: -- FND_MSG_PUB.Add;
1886: -- END IF;
1887:
1888: -- x_return_status := FND_API.G_RET_STS_ERROR;

Line 1896: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_CURR_NULL');

1892: -- ELSE
1893: -- IF l_chk1_met_rec.transaction_currency_code IS NOT NULL THEN
1894: -- IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
1895: -- THEN
1896: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_CURR_NULL');
1897: -- FND_MSG_PUB.Add;
1898: --END IF;
1899:
1900: --x_return_status := FND_API.G_RET_STS_ERROR;

Line 1925: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_UOM_CURR');

1921: -- IF l_chk1_met_rec.transaction_currency_code <> l_chk2_met_rec.transaction_currency_code
1922: -- OR l_chk1_met_rec.metric_uom_code <> l_chk2_met_rec.metric_uom_code THEN
1923: -- IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
1924: -- THEN
1925: -- FND_MESSAGE.Set_Name('AMS', 'AMS_TRIG_INVALID_UOM_CURR');
1926: -- FND_MSG_PUB.Add;
1927: -- END IF;
1928:
1929: -- x_return_status := FND_API.G_RET_STS_ERROR;

Line 2029: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');

2025: FETCH c_thldchk INTO l_thldchk_rec;
2026: IF c_thldchk%NOTFOUND THEN
2027: CLOSE c_thldchk;
2028: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
2029: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
2030: FND_MSG_PUB.add;
2031: END IF;
2032: RAISE FND_API.g_exc_error;
2033: END IF;