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 967: fnd_msg_pub.ADD;

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

Line 1419: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

1415: mdebug('exception:FND_API.G_EXC_ERROR at l_error: '||l_error);
1416: END IF;
1417: ROLLBACK TO wf_start_workflow_pvt;
1418: x_return_status := FND_API.G_RET_STS_ERROR;
1419: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1420: ,p_data => x_msg_data);
1421:
1422: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1423: IF (l_debug = 1) THEN

Line 1428: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

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

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

1433: mdebug('exception: in when otheres at l_error: '||l_error);
1434: END IF;
1435: ROLLBACK TO wf_start_workflow_pvt;
1436: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1437: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1438: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
1439: END IF;
1440: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1441: , p_data => x_msg_data);

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

1434: END IF;
1435: ROLLBACK TO wf_start_workflow_pvt;
1436: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1437: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1438: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
1439: END IF;
1440: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1441: , p_data => x_msg_data);
1442: END wf_start_workflow;

Line 1440: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

1436: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1437: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1438: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
1439: END IF;
1440: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
1441: , p_data => x_msg_data);
1442: END wf_start_workflow;
1443:
1444:

Line 1574: fnd_msg_pub.count_and_get

1570:
1571: g_return_status := lx_return_status; --Bug 6116046
1572: mdebug('Setting g_returnstatus to success');
1573: -- check for errors
1574: fnd_msg_pub.count_and_get
1575: ( p_count => lx_msg_count
1576: , p_data => lx_msg_data
1577: );
1578:

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

1585: mdebug(replace(lx_msg_data,chr(0),' '));
1586: END IF;
1587: ELSE
1588: For I in 1..lx_msg_count LOOP
1589: lx_msg_data := fnd_msg_pub.get(I,'F');
1590: IF (l_debug = 1) THEN
1591: mdebug(replace(lx_msg_data,chr(0),' '));
1592: END IF;
1593: END LOOP;

Line 1623: fnd_msg_pub.count_and_get

1619: aname => 'XW_MSG_DATA',
1620: avalue => lx_msg_data);
1621:
1622: -- check for errors
1623: fnd_msg_pub.count_and_get
1624: ( p_count => lx_msg_count
1625: , p_data => lx_msg_data
1626: );
1627:

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

1634: mdebug(replace(lx_msg_data,chr(0),' '));
1635: END IF;
1636: ELSE
1637: For I in 1..lx_msg_count LOOP
1638: lx_msg_data := fnd_msg_pub.get(I,'F');
1639: IF (l_debug = 1) THEN
1640: mdebug(replace(lx_msg_data,chr(0),' '));
1641: END IF;
1642: END LOOP;

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

1641: END IF;
1642: END LOOP;
1643: END IF;
1644:
1645: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1646: THEN
1647: fnd_msg_pub.add_exc_msg
1648: ( g_pkg_name
1649: , 'WMS_Inadequate_Quantity'

Line 1647: fnd_msg_pub.add_exc_msg

1643: END IF;
1644:
1645: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1646: THEN
1647: fnd_msg_pub.add_exc_msg
1648: ( g_pkg_name
1649: , 'WMS_Inadequate_Quantity'
1650: );
1651: END IF;

Line 1680: fnd_msg_pub.count_and_get

1676: aname => 'XW_MSG_DATA',
1677: avalue => lx_msg_data);
1678:
1679: -- check for errors
1680: fnd_msg_pub.count_and_get
1681: ( p_count => lx_msg_count
1682: , p_data => lx_msg_data
1683: );
1684:

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

1691: mdebug(replace(lx_msg_data,chr(0),' '));
1692: END IF;
1693: ELSE
1694: For I in 1..lx_msg_count LOOP
1695: lx_msg_data := fnd_msg_pub.get(I,'F');
1696: IF (l_debug = 1) THEN
1697: mdebug(replace(lx_msg_data,chr(0),' '));
1698: END IF;
1699: END LOOP;

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

1698: END IF;
1699: END LOOP;
1700: END IF;
1701:
1702: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1703: THEN
1704: fnd_msg_pub.add_exc_msg
1705: ( g_pkg_name
1706: , 'WMS_Inadequate_Quantity'

Line 1704: fnd_msg_pub.add_exc_msg

1700: END IF;
1701:
1702: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1703: THEN
1704: fnd_msg_pub.add_exc_msg
1705: ( g_pkg_name
1706: , 'WMS_Inadequate_Quantity'
1707: );
1708: END IF;

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

1709:
1710:
1711:
1712: WHEN OTHERS THEN
1713: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1714: THEN
1715: fnd_msg_pub.add_exc_msg
1716: ( g_pkg_name
1717: , 'WMS_Inadequate_Quantity'

Line 1715: fnd_msg_pub.add_exc_msg

1711:
1712: WHEN OTHERS THEN
1713: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1714: THEN
1715: fnd_msg_pub.add_exc_msg
1716: ( g_pkg_name
1717: , 'WMS_Inadequate_Quantity'
1718: );
1719: END IF;

Line 1741: fnd_msg_pub.count_and_get

1737: aname => 'XW_MSG_DATA',
1738: avalue => lx_msg_data);
1739:
1740: -- check for errors
1741: fnd_msg_pub.count_and_get
1742: ( p_count => lx_msg_count
1743: , p_data => lx_msg_data
1744: );
1745:

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

1752: mdebug(replace(lx_msg_data,chr(0),' '));
1753: END IF;
1754: ELSE
1755: For I in 1..lx_msg_count LOOP
1756: lx_msg_data := fnd_msg_pub.get(I,'F');
1757: IF (l_debug = 1) THEN
1758: mdebug(replace(lx_msg_data,chr(0),' '));
1759: END IF;
1760: END LOOP;

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

1759: END IF;
1760: END LOOP;
1761: END IF;
1762:
1763: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1764: THEN
1765: fnd_msg_pub.add_exc_msg
1766: ( g_pkg_name
1767: , 'WMS_Inadequate_Quantity'

Line 1765: fnd_msg_pub.add_exc_msg

1761: END IF;
1762:
1763: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1764: THEN
1765: fnd_msg_pub.add_exc_msg
1766: ( g_pkg_name
1767: , 'WMS_Inadequate_Quantity'
1768: );
1769: END IF;

Line 1877: lmsg := fnd_msg_pub.get;

1873: END IF;
1874: -- debugging for cycle count
1875:
1876: for x in 1..x_msg_count loop
1877: lmsg := fnd_msg_pub.get;
1878: IF (l_debug = 1) THEN
1879: mdebug(x||':'||substr(lmsg, 0, 240));
1880: END IF;
1881: end loop;

Line 1906: fnd_msg_pub.count_and_get

1902: IF (l_debug = 1) THEN
1903: mdebug('exc error in wf_cycle_count');
1904: END IF;
1905: x_return_status := fnd_api.g_ret_sts_error;
1906: fnd_msg_pub.count_and_get
1907: ( p_count => x_msg_count,
1908: p_data => x_msg_data
1909: );
1910:

Line 1933: fnd_msg_pub.count_and_get

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

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

1956: IF (l_debug = 1) THEN
1957: mdebug('others error in wf_cycle_count');
1958: END IF;
1959: x_return_status := fnd_api.g_ret_sts_unexp_error;
1960: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1961: THEN
1962: fnd_msg_pub.add_exc_msg
1963: ( g_pkg_name
1964: , 'wf_cycle_count'

Line 1962: fnd_msg_pub.add_exc_msg

1958: END IF;
1959: x_return_status := fnd_api.g_ret_sts_unexp_error;
1960: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1961: THEN
1962: fnd_msg_pub.add_exc_msg
1963: ( g_pkg_name
1964: , 'wf_cycle_count'
1965: );
1966: END IF;

Line 1967: fnd_msg_pub.count_and_get

1963: ( g_pkg_name
1964: , 'wf_cycle_count'
1965: );
1966: END IF;
1967: fnd_msg_pub.count_and_get
1968: ( p_count => x_msg_count,
1969: p_data => x_msg_data
1970: );
1971: --Bug 6116046 Begin

Line 2065: fnd_msg_pub.count_and_get

2061: IF (l_debug = 1) THEN
2062: mdebug('exc error in wf_is_task_processed');
2063: END IF;
2064: x_return_status := fnd_api.g_ret_sts_error;
2065: fnd_msg_pub.count_and_get
2066: ( p_count => x_msg_count,
2067: p_data => x_msg_data
2068: );
2069:

Line 2075: fnd_msg_pub.count_and_get

2071: IF (l_debug = 1) THEN
2072: mdebug('unexpected error in wf_is_task_processed');
2073: END IF;
2074: x_return_status := fnd_api.g_ret_sts_unexp_error ;
2075: fnd_msg_pub.count_and_get
2076: ( p_count => x_msg_count,
2077: p_data => x_msg_data
2078: );
2079:

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

2082: IF (l_debug = 1) THEN
2083: mdebug('others error in wf_is_task_processed at');
2084: END IF;
2085: x_return_status := fnd_api.g_ret_sts_unexp_error;
2086: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2087: THEN
2088: fnd_msg_pub.add_exc_msg
2089: ( g_pkg_name
2090: , 'wf_is_task_processed'

Line 2088: fnd_msg_pub.add_exc_msg

2084: END IF;
2085: x_return_status := fnd_api.g_ret_sts_unexp_error;
2086: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2087: THEN
2088: fnd_msg_pub.add_exc_msg
2089: ( g_pkg_name
2090: , 'wf_is_task_processed'
2091: );
2092: END IF;

Line 2093: fnd_msg_pub.count_and_get

2089: ( g_pkg_name
2090: , 'wf_is_task_processed'
2091: );
2092: END IF;
2093: fnd_msg_pub.count_and_get
2094: ( p_count => x_msg_count,
2095: p_data => x_msg_data
2096: );
2097:

Line 2202: fnd_msg_pub.count_and_get

2198: IF (l_debug = 1) THEN
2199: mdebug('exc error in wf_generate_next_task');
2200: END IF;
2201: lx_return_status := fnd_api.g_ret_sts_error;
2202: fnd_msg_pub.count_and_get
2203: ( p_count => lx_msg_count,
2204: p_data => lx_msg_data
2205: );
2206:

Line 2212: fnd_msg_pub.count_and_get

2208: IF (l_debug = 1) THEN
2209: mdebug('unexpected error in wf_generate_next_task');
2210: END IF;
2211: lx_return_status := fnd_api.g_ret_sts_unexp_error ;
2212: fnd_msg_pub.count_and_get
2213: ( p_count => lx_msg_count,
2214: p_data => lx_msg_data
2215: );
2216:

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

2219: IF (l_debug = 1) THEN
2220: mdebug('others error in wf_generate_next_task');
2221: END IF;
2222: lx_return_status := fnd_api.g_ret_sts_unexp_error;
2223: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2224: THEN
2225: fnd_msg_pub.add_exc_msg
2226: ( g_pkg_name
2227: , 'wf_generate_next_task'

Line 2225: fnd_msg_pub.add_exc_msg

2221: END IF;
2222: lx_return_status := fnd_api.g_ret_sts_unexp_error;
2223: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2224: THEN
2225: fnd_msg_pub.add_exc_msg
2226: ( g_pkg_name
2227: , 'wf_generate_next_task'
2228: );
2229: END IF;

Line 2230: fnd_msg_pub.count_and_get

2226: ( g_pkg_name
2227: , 'wf_generate_next_task'
2228: );
2229: END IF;
2230: fnd_msg_pub.count_and_get
2231: ( p_count => lx_msg_count,
2232: p_data => lx_msg_data
2233: );
2234:

Line 2430: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

2426: WHEN FND_API.G_EXC_ERROR THEN
2427: --
2428: x_return_status := FND_API.G_RET_STS_ERROR;
2429: --
2430: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
2431: ,p_data => x_msg_data);
2432: --
2433: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2434: --

Line 2437: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

2433: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2434: --
2435: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2436: --
2437: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
2438: ,p_data => x_msg_data);
2439: --
2440: WHEN OTHERS THEN
2441: ROLLBACK TO wms_insuff_qty_PUB;

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

2441: ROLLBACK TO wms_insuff_qty_PUB;
2442: --
2443: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2444: --
2445: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2446: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
2447: END IF;
2448: --
2449: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

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

2442: --
2443: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2444: --
2445: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2446: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
2447: END IF;
2448: --
2449: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
2450: , p_data => x_msg_data);

Line 2449: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count

2445: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2446: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
2447: END IF;
2448: --
2449: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count
2450: , p_data => x_msg_data);
2451:
2452:
2453: END wms_insuff_qty_wrapper;

Line 2609: fnd_msg_pub.count_and_get

2605: aname => 'XW_MSG_DATA',
2606: avalue => lx_msg_data);
2607:
2608: -- check for errors
2609: fnd_msg_pub.count_and_get
2610: ( p_count => lx_msg_count
2611: , p_data => lx_msg_data
2612: );
2613:

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

2620: mdebug(replace(lx_msg_data,chr(0),' '));
2621: END IF;
2622: ELSE
2623: For I in 1..lx_msg_count LOOP
2624: lx_msg_data := fnd_msg_pub.get(I,'F');
2625: IF (l_debug = 1) THEN
2626: mdebug(replace(lx_msg_data,chr(0),' '));
2627: END IF;
2628: END LOOP;

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

2652: WHEN fnd_api.g_exc_unexpected_error THEN
2653: lx_return_status := fnd_api.g_ret_sts_unexp_error ;
2654:
2655: WHEN OTHERS THEN
2656: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2657: THEN
2658: fnd_msg_pub.add_exc_msg
2659: ( g_pkg_name
2660: , 'WMS_Inadequate_Quantity'

Line 2658: fnd_msg_pub.add_exc_msg

2654:
2655: WHEN OTHERS THEN
2656: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2657: THEN
2658: fnd_msg_pub.add_exc_msg
2659: ( g_pkg_name
2660: , 'WMS_Inadequate_Quantity'
2661: );
2662: END IF;