DBA Data[Home] [Help]

APPS.EAM_WOLCOSTING_PUB dependencies on FND_MSG_PUB

Line 94: FND_MSG_PUB.initialize;

90: END IF;
91:
92: -- Initialize message list if p_init_msg_list is set to TRUE.
93: IF FND_API.to_boolean(p_init_msg_list) THEN
94: FND_MSG_PUB.initialize;
95: END IF;
96:
97: -- Initialize API return status to success
98: x_return_status := FND_API.g_ret_sts_success;

Line 182: FND_MSG_PUB.Add_Exc_Msg

178: );
179:
180: END LOOP;
181:
182: FND_MSG_PUB.Add_Exc_Msg
183: ( p_pkg_name => G_PKG_NAME ,
184: p_procedure_name => l_api_name ,
185: p_error_text => 'Inserted data into snapshot table. Calling the API for rollup'
186: );

Line 199: FND_MSG_PUB.Add_Exc_Msg

195: x_return_status => x_return_status,
196: p_init_msg_list => FND_API.G_TRUE,
197: p_commit => FND_API.G_TRUE );
198:
199: FND_MSG_PUB.Add_Exc_Msg
200: ( p_pkg_name => G_PKG_NAME ,
201: p_procedure_name => l_api_name ,
202: p_error_text => 'Called the API'
203: );

Line 211: FND_MSG_PUB.Add_Exc_Msg

207:
208: -- Standard check of p_commit.
209: IF FND_API.TO_BOOLEAN(p_commit) THEN
210: COMMIT WORK;
211: FND_MSG_PUB.Add_Exc_Msg
212: ( p_pkg_name => G_PKG_NAME ,
213: p_procedure_name => l_api_name ,
214: p_error_text => 'Committed the entry into hierarchy snapshot and rollup costs table'
215: );

Line 220: FND_MSG_PUB.count_and_get(

216: END IF;
217:
218: -- See all the messages generated and stored into the msg table
219:
220: FND_MSG_PUB.count_and_get(
221: p_encoded => FND_API.G_FALSE,
222: p_count => x_msg_count,
223: p_data => x_msg_data
224: );

Line 230: l_msg_data := FND_MSG_PUB.get(indexCount, FND_API.G_FALSE);

226: IF x_msg_count > 0
227: THEN
228: FOR indexCount IN 1 ..x_msg_count
229: LOOP
230: l_msg_data := FND_MSG_PUB.get(indexCount, FND_API.G_FALSE);
231: -- DBMS_OUTPUT.PUT_LINE(indexCount ||'-'||l_msg_data);
232: END LOOP;
233: END IF;
234:

Line 240: FND_MSG_PUB.count_and_get(

236: EXCEPTION
237: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
238: ROLLBACK TO insert_into_snapshot_pub;
239: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
240: FND_MSG_PUB.count_and_get(
241: p_encoded => FND_API.G_FALSE,
242: p_count => x_msg_count,
243: p_data => x_msg_data
244: );

Line 250: l_msg_data := FND_MSG_PUB.get(indexCount, FND_API.G_FALSE);

246: IF x_msg_count > 0
247: THEN
248: FOR indexCount IN 1 ..x_msg_count
249: LOOP
250: l_msg_data := FND_MSG_PUB.get(indexCount, FND_API.G_FALSE);
251: -- DBMS_OUTPUT.PUT_LINE(indexCount ||'-'||l_msg_data);
252: END LOOP;
253: END IF;
254:

Line 258: IF FND_MSG_PUB.Check_Msg_Level

254:
255: WHEN OTHERS THEN
256: ROLLBACK TO insert_into_snapshot_pub;
257: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
258: IF FND_MSG_PUB.Check_Msg_Level
259: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
260: THEN
261: FND_MSG_PUB.Add_Exc_Msg
262: ( G_PKG_NAME ,

Line 259: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

255: WHEN OTHERS THEN
256: ROLLBACK TO insert_into_snapshot_pub;
257: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
258: IF FND_MSG_PUB.Check_Msg_Level
259: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
260: THEN
261: FND_MSG_PUB.Add_Exc_Msg
262: ( G_PKG_NAME ,
263: l_api_name

Line 261: FND_MSG_PUB.Add_Exc_Msg

257: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
258: IF FND_MSG_PUB.Check_Msg_Level
259: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
260: THEN
261: FND_MSG_PUB.Add_Exc_Msg
262: ( G_PKG_NAME ,
263: l_api_name
264: );
265: END IF;

Line 266: FND_MSG_PUB.count_and_get(

262: ( G_PKG_NAME ,
263: l_api_name
264: );
265: END IF;
266: FND_MSG_PUB.count_and_get(
267: p_encoded => FND_API.G_FALSE,
268: p_count => x_msg_count,
269: p_data => x_msg_data
270: );

Line 275: l_msg_data := FND_MSG_PUB.get(indexCount, FND_API.G_FALSE);

271: IF x_msg_count > 0
272: THEN
273: FOR indexCount IN 1 ..x_msg_count
274: LOOP
275: l_msg_data := FND_MSG_PUB.get(indexCount, FND_API.G_FALSE);
276: --DBMS_OUTPUT.PUT_LINE(indexCount ||'-'||l_msg_data);
277: END LOOP;
278: END IF;
279: