DBA Data[Home] [Help]

APPS.WMS_WORKFLOW_WRAPPERS dependencies on FND_MSG_PUB

Line 81: FND_MSG_PUB.ADD;

77: l_api_name ,
78: G_PKG_NAME )
79: THEN
80: FND_MESSAGE.SET_NAME('WMS', 'WMS_CONT_INCOMPATIBLE_API_CALL');
81: FND_MSG_PUB.ADD;
82: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
83: END IF;
84:
85: /* Comment this out because FND package not working in WMSTST

Line 88: -- FND_MSG_PUB.initialize;

84:
85: /* Comment this out because FND package not working in WMSTST
86: -- Initialize message list if p_init_msg_list is set to TRUE.
87: IF FND_API.to_Boolean( p_init_msg_list ) THEN
88: -- FND_MSG_PUB.initialize;
89: END IF;
90: */
91:
92: -- Initialize API return status to success

Line 186: fnd_msg_pub.ADD;

182: mdebug('call to startworkflow failed at 1');
183: END IF;
184:
185: fnd_message.set_name('WMS', 'WMS_START_WORKFLOW_FAILED');
186: fnd_msg_pub.ADD;
187: RAISE fnd_api.g_exc_unexpected_error;
188: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN
189: IF (l_debug = 1) THEN
190: mdebug('call to startworkflow failed at 2 ');

Line 194: fnd_msg_pub.ADD;

190: mdebug('call to startworkflow failed at 2 ');
191: END IF;
192:
193: fnd_message.set_name('WMS', 'WMS_START_WORKFLOW_FAILED');
194: fnd_msg_pub.ADD;
195: RAISE fnd_api.g_exc_error;
196: END IF;
197: --bug 6924639
198: /*

Line 205: FND_MSG_PUB.ADD;

201: IF (l_debug = 1) THEN
202: mdebug('call to startworkflow failed ');
203: END IF;
204: FND_MESSAGE.SET_NAME('WMS', 'WMS_START_WORKFLOW_FAILED');
205: FND_MSG_PUB.ADD;
206: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
207: END IF;
208: */
209: EXCEPTION

Line 216: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

212: mdebug('expected error in '||l_api_name);
213: END IF;
214: ROLLBACK TO wf_wrapper_pvt;
215: x_return_status := FND_API.G_RET_STS_ERROR;
216: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
217: ,p_data => x_msg_data);
218:
219: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
220: IF (l_debug = 1) THEN

Line 226: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

222: END IF;
223: ROLLBACK TO wf_wrapper_pvt;
224: mdebug('ROLLBACK to wf_wrapper_pvt succeeded');
225: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
226: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
227: ,p_data => x_msg_data);
228:
229: WHEN OTHERS THEN
230: IF (l_debug = 1) THEN

Line 235: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

231: mdebug('others error in '||l_api_name);
232: END IF;
233: ROLLBACK TO wf_wrapper_pvt;
234: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
235: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
236: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
237: END IF;
238: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
239: , p_data => x_msg_data);

Line 236: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);

232: END IF;
233: ROLLBACK TO wf_wrapper_pvt;
234: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
235: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
236: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
237: END IF;
238: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
239: , p_data => x_msg_data);
240: END wf_wrapper;

Line 238: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

234: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
235: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
236: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
237: END IF;
238: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
239: , p_data => x_msg_data);
240: END wf_wrapper;
241:
242:

Line 969: fnd_msg_pub.ADD;

965:
966: -- make sure that reason name is not null
967: if (p_reason_id is null ) then
968: fnd_message.set_name('INV','INV_FIELD_INVALID');
969: fnd_msg_pub.ADD;
970: RAISE fnd_api.g_exc_error;
971: end if;
972:
973: IF (l_debug = 1) THEN

Line 1427: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

1423: mdebug('exception:FND_API.G_EXC_ERROR at l_error: '||l_error);
1424: END IF;
1425: ROLLBACK TO wf_start_workflow_pvt;
1426: x_return_status := FND_API.G_RET_STS_ERROR;
1427: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1428: ,p_data => x_msg_data);
1429:
1430: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1431: IF (l_debug = 1) THEN

Line 1436: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

1432: mdebug('exception: FND_API.G_EXC_UNEXPECTED_ERROR at l_error: '||l_error);
1433: END IF;
1434: ROLLBACK TO wf_start_workflow_pvt;
1435: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1436: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1437: ,p_data => x_msg_data);
1438:
1439: WHEN OTHERS THEN
1440: IF (l_debug = 1) THEN

Line 1445: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

1441: mdebug('exception: in when otheres at l_error: '||l_error);
1442: END IF;
1443: ROLLBACK TO wf_start_workflow_pvt;
1444: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1445: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1446: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
1447: END IF;
1448: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1449: , p_data => x_msg_data);

Line 1446: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);

1442: END IF;
1443: ROLLBACK TO wf_start_workflow_pvt;
1444: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1445: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1446: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
1447: END IF;
1448: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1449: , p_data => x_msg_data);
1450: END wf_start_workflow;

Line 1448: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

1444: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1445: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1446: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
1447: END IF;
1448: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1449: , p_data => x_msg_data);
1450: END wf_start_workflow;
1451:
1452:

Line 1582: fnd_msg_pub.count_and_get

1578:
1579: g_return_status := lx_return_status; --Bug 6116046
1580: mdebug('Setting g_returnstatus to success');
1581: -- check for errors
1582: fnd_msg_pub.count_and_get
1583: ( p_count => lx_msg_count
1584: , p_data => lx_msg_data
1585: );
1586:

Line 1597: lx_msg_data := fnd_msg_pub.get(I,'F');

1593: mdebug(replace(lx_msg_data,chr(0),' '));
1594: END IF;
1595: ELSE
1596: For I in 1..lx_msg_count LOOP
1597: lx_msg_data := fnd_msg_pub.get(I,'F');
1598: IF (l_debug = 1) THEN
1599: mdebug(replace(lx_msg_data,chr(0),' '));
1600: END IF;
1601: END LOOP;

Line 1631: fnd_msg_pub.count_and_get

1627: aname => 'XW_MSG_DATA',
1628: avalue => lx_msg_data);
1629:
1630: -- check for errors
1631: fnd_msg_pub.count_and_get
1632: ( p_count => lx_msg_count
1633: , p_data => lx_msg_data
1634: );
1635:

Line 1646: lx_msg_data := fnd_msg_pub.get(I,'F');

1642: mdebug(replace(lx_msg_data,chr(0),' '));
1643: END IF;
1644: ELSE
1645: For I in 1..lx_msg_count LOOP
1646: lx_msg_data := fnd_msg_pub.get(I,'F');
1647: IF (l_debug = 1) THEN
1648: mdebug(replace(lx_msg_data,chr(0),' '));
1649: END IF;
1650: END LOOP;

Line 1653: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

1649: END IF;
1650: END LOOP;
1651: END IF;
1652:
1653: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1654: THEN
1655: fnd_msg_pub.add_exc_msg
1656: ( g_pkg_name
1657: , 'WMS_Inadequate_Quantity'

Line 1655: fnd_msg_pub.add_exc_msg

1651: END IF;
1652:
1653: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1654: THEN
1655: fnd_msg_pub.add_exc_msg
1656: ( g_pkg_name
1657: , 'WMS_Inadequate_Quantity'
1658: );
1659: END IF;

Line 1688: fnd_msg_pub.count_and_get

1684: aname => 'XW_MSG_DATA',
1685: avalue => lx_msg_data);
1686:
1687: -- check for errors
1688: fnd_msg_pub.count_and_get
1689: ( p_count => lx_msg_count
1690: , p_data => lx_msg_data
1691: );
1692:

Line 1703: lx_msg_data := fnd_msg_pub.get(I,'F');

1699: mdebug(replace(lx_msg_data,chr(0),' '));
1700: END IF;
1701: ELSE
1702: For I in 1..lx_msg_count LOOP
1703: lx_msg_data := fnd_msg_pub.get(I,'F');
1704: IF (l_debug = 1) THEN
1705: mdebug(replace(lx_msg_data,chr(0),' '));
1706: END IF;
1707: END LOOP;

Line 1710: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

1706: END IF;
1707: END LOOP;
1708: END IF;
1709:
1710: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1711: THEN
1712: fnd_msg_pub.add_exc_msg
1713: ( g_pkg_name
1714: , 'WMS_Inadequate_Quantity'

Line 1712: fnd_msg_pub.add_exc_msg

1708: END IF;
1709:
1710: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1711: THEN
1712: fnd_msg_pub.add_exc_msg
1713: ( g_pkg_name
1714: , 'WMS_Inadequate_Quantity'
1715: );
1716: END IF;

Line 1721: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

1717:
1718:
1719:
1720: WHEN OTHERS THEN
1721: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1722: THEN
1723: fnd_msg_pub.add_exc_msg
1724: ( g_pkg_name
1725: , 'WMS_Inadequate_Quantity'

Line 1723: fnd_msg_pub.add_exc_msg

1719:
1720: WHEN OTHERS THEN
1721: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1722: THEN
1723: fnd_msg_pub.add_exc_msg
1724: ( g_pkg_name
1725: , 'WMS_Inadequate_Quantity'
1726: );
1727: END IF;

Line 1749: fnd_msg_pub.count_and_get

1745: aname => 'XW_MSG_DATA',
1746: avalue => lx_msg_data);
1747:
1748: -- check for errors
1749: fnd_msg_pub.count_and_get
1750: ( p_count => lx_msg_count
1751: , p_data => lx_msg_data
1752: );
1753:

Line 1764: lx_msg_data := fnd_msg_pub.get(I,'F');

1760: mdebug(replace(lx_msg_data,chr(0),' '));
1761: END IF;
1762: ELSE
1763: For I in 1..lx_msg_count LOOP
1764: lx_msg_data := fnd_msg_pub.get(I,'F');
1765: IF (l_debug = 1) THEN
1766: mdebug(replace(lx_msg_data,chr(0),' '));
1767: END IF;
1768: END LOOP;

Line 1771: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

1767: END IF;
1768: END LOOP;
1769: END IF;
1770:
1771: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1772: THEN
1773: fnd_msg_pub.add_exc_msg
1774: ( g_pkg_name
1775: , 'WMS_Inadequate_Quantity'

Line 1773: fnd_msg_pub.add_exc_msg

1769: END IF;
1770:
1771: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1772: THEN
1773: fnd_msg_pub.add_exc_msg
1774: ( g_pkg_name
1775: , 'WMS_Inadequate_Quantity'
1776: );
1777: END IF;

Line 1904: lmsg := fnd_msg_pub.get;

1900: END IF;
1901: -- debugging for cycle count
1902:
1903: for x in 1..x_msg_count loop
1904: lmsg := fnd_msg_pub.get;
1905: IF (l_debug = 1) THEN
1906: mdebug(x||':'||substr(lmsg, 0, 240));
1907: END IF;
1908: end loop;

Line 1933: fnd_msg_pub.count_and_get

1929: IF (l_debug = 1) THEN
1930: mdebug('exc error in wf_cycle_count');
1931: END IF;
1932: x_return_status := fnd_api.g_ret_sts_error;
1933: fnd_msg_pub.count_and_get
1934: ( p_count => x_msg_count,
1935: p_data => x_msg_data
1936: );
1937:

Line 1960: fnd_msg_pub.count_and_get

1956: IF (l_debug = 1) THEN
1957: mdebug('unexpected error in wf_cycle_count');
1958: END IF;
1959: x_return_status := fnd_api.g_ret_sts_unexp_error ;
1960: fnd_msg_pub.count_and_get
1961: ( p_count => x_msg_count,
1962: p_data => x_msg_data
1963: );
1964: --Bug 6116046 Begin

Line 1987: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

1983: IF (l_debug = 1) THEN
1984: mdebug('others error in wf_cycle_count');
1985: END IF;
1986: x_return_status := fnd_api.g_ret_sts_unexp_error;
1987: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1988: THEN
1989: fnd_msg_pub.add_exc_msg
1990: ( g_pkg_name
1991: , 'wf_cycle_count'

Line 1989: fnd_msg_pub.add_exc_msg

1985: END IF;
1986: x_return_status := fnd_api.g_ret_sts_unexp_error;
1987: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1988: THEN
1989: fnd_msg_pub.add_exc_msg
1990: ( g_pkg_name
1991: , 'wf_cycle_count'
1992: );
1993: END IF;

Line 1994: fnd_msg_pub.count_and_get

1990: ( g_pkg_name
1991: , 'wf_cycle_count'
1992: );
1993: END IF;
1994: fnd_msg_pub.count_and_get
1995: ( p_count => x_msg_count,
1996: p_data => x_msg_data
1997: );
1998: --Bug 6116046 Begin

Line 2099: fnd_msg_pub.count_and_get

2095: IF (l_debug = 1) THEN
2096: mdebug('exc error in wf_is_task_processed');
2097: END IF;
2098: x_return_status := fnd_api.g_ret_sts_error;
2099: fnd_msg_pub.count_and_get
2100: ( p_count => x_msg_count,
2101: p_data => x_msg_data
2102: );
2103:

Line 2109: fnd_msg_pub.count_and_get

2105: IF (l_debug = 1) THEN
2106: mdebug('unexpected error in wf_is_task_processed');
2107: END IF;
2108: x_return_status := fnd_api.g_ret_sts_unexp_error ;
2109: fnd_msg_pub.count_and_get
2110: ( p_count => x_msg_count,
2111: p_data => x_msg_data
2112: );
2113:

Line 2120: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

2116: IF (l_debug = 1) THEN
2117: mdebug('others error in wf_is_task_processed at');
2118: END IF;
2119: x_return_status := fnd_api.g_ret_sts_unexp_error;
2120: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2121: THEN
2122: fnd_msg_pub.add_exc_msg
2123: ( g_pkg_name
2124: , 'wf_is_task_processed'

Line 2122: fnd_msg_pub.add_exc_msg

2118: END IF;
2119: x_return_status := fnd_api.g_ret_sts_unexp_error;
2120: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2121: THEN
2122: fnd_msg_pub.add_exc_msg
2123: ( g_pkg_name
2124: , 'wf_is_task_processed'
2125: );
2126: END IF;

Line 2127: fnd_msg_pub.count_and_get

2123: ( g_pkg_name
2124: , 'wf_is_task_processed'
2125: );
2126: END IF;
2127: fnd_msg_pub.count_and_get
2128: ( p_count => x_msg_count,
2129: p_data => x_msg_data
2130: );
2131:

Line 2236: fnd_msg_pub.count_and_get

2232: IF (l_debug = 1) THEN
2233: mdebug('exc error in wf_generate_next_task');
2234: END IF;
2235: lx_return_status := fnd_api.g_ret_sts_error;
2236: fnd_msg_pub.count_and_get
2237: ( p_count => lx_msg_count,
2238: p_data => lx_msg_data
2239: );
2240:

Line 2246: fnd_msg_pub.count_and_get

2242: IF (l_debug = 1) THEN
2243: mdebug('unexpected error in wf_generate_next_task');
2244: END IF;
2245: lx_return_status := fnd_api.g_ret_sts_unexp_error ;
2246: fnd_msg_pub.count_and_get
2247: ( p_count => lx_msg_count,
2248: p_data => lx_msg_data
2249: );
2250:

Line 2257: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

2253: IF (l_debug = 1) THEN
2254: mdebug('others error in wf_generate_next_task');
2255: END IF;
2256: lx_return_status := fnd_api.g_ret_sts_unexp_error;
2257: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2258: THEN
2259: fnd_msg_pub.add_exc_msg
2260: ( g_pkg_name
2261: , 'wf_generate_next_task'

Line 2259: fnd_msg_pub.add_exc_msg

2255: END IF;
2256: lx_return_status := fnd_api.g_ret_sts_unexp_error;
2257: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2258: THEN
2259: fnd_msg_pub.add_exc_msg
2260: ( g_pkg_name
2261: , 'wf_generate_next_task'
2262: );
2263: END IF;

Line 2264: fnd_msg_pub.count_and_get

2260: ( g_pkg_name
2261: , 'wf_generate_next_task'
2262: );
2263: END IF;
2264: fnd_msg_pub.count_and_get
2265: ( p_count => lx_msg_count,
2266: p_data => lx_msg_data
2267: );
2268:

Line 2464: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

2460: WHEN FND_API.G_EXC_ERROR THEN
2461: --
2462: x_return_status := FND_API.G_RET_STS_ERROR;
2463: --
2464: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
2465: ,p_data => x_msg_data);
2466: --
2467: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2468: --

Line 2471: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

2467: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2468: --
2469: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2470: --
2471: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
2472: ,p_data => x_msg_data);
2473: --
2474: WHEN OTHERS THEN
2475: ROLLBACK TO wms_insuff_qty_PUB;

Line 2479: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2475: ROLLBACK TO wms_insuff_qty_PUB;
2476: --
2477: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2478: --
2479: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2480: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
2481: END IF;
2482: --
2483: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

Line 2480: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);

2476: --
2477: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2478: --
2479: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2480: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
2481: END IF;
2482: --
2483: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
2484: , p_data => x_msg_data);

Line 2483: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

2479: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2480: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
2481: END IF;
2482: --
2483: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
2484: , p_data => x_msg_data);
2485:
2486:
2487: END wms_insuff_qty_wrapper;

Line 2643: fnd_msg_pub.count_and_get

2639: aname => 'XW_MSG_DATA',
2640: avalue => lx_msg_data);
2641:
2642: -- check for errors
2643: fnd_msg_pub.count_and_get
2644: ( p_count => lx_msg_count
2645: , p_data => lx_msg_data
2646: );
2647:

Line 2658: lx_msg_data := fnd_msg_pub.get(I,'F');

2654: mdebug(replace(lx_msg_data,chr(0),' '));
2655: END IF;
2656: ELSE
2657: For I in 1..lx_msg_count LOOP
2658: lx_msg_data := fnd_msg_pub.get(I,'F');
2659: IF (l_debug = 1) THEN
2660: mdebug(replace(lx_msg_data,chr(0),' '));
2661: END IF;
2662: END LOOP;

Line 2690: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

2686: WHEN fnd_api.g_exc_unexpected_error THEN
2687: lx_return_status := fnd_api.g_ret_sts_unexp_error ;
2688:
2689: WHEN OTHERS THEN
2690: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2691: THEN
2692: fnd_msg_pub.add_exc_msg
2693: ( g_pkg_name
2694: , 'WMS_Inadequate_Quantity'

Line 2692: fnd_msg_pub.add_exc_msg

2688:
2689: WHEN OTHERS THEN
2690: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2691: THEN
2692: fnd_msg_pub.add_exc_msg
2693: ( g_pkg_name
2694: , 'WMS_Inadequate_Quantity'
2695: );
2696: END IF;