DBA Data[Home] [Help]

APPS.GMF_ALLOCATIONDEFINITION_PVT dependencies on FND_MSG_PUB

Line 50: G_debug_level NUMBER(2) := FND_MSG_PUB.G_Msg_Level_Threshold; -- Use this variable everywhere

46:
47: -- Global variables
48: G_PKG_NAME CONSTANT VARCHAR2(30) := 'GMF_AllocationDefinition_PVT';
49:
50: G_debug_level NUMBER(2) := FND_MSG_PUB.G_Msg_Level_Threshold; -- Use this variable everywhere
51: -- to decide to log a debug msg.
52:
53:
54:

Line 118: FND_MSG_PUB.initialize;

114: SAVEPOINT Create_Alloc_Definition_PVT;
115:
116: -- Initialize message list if p_init_msg_list is set to TRUE.
117: IF FND_API.to_Boolean( p_init_msg_list ) THEN
118: FND_MSG_PUB.initialize;
119: END IF;
120:
121: -- Standard call to check for call compatibility.
122: IF NOT FND_API.Compatible_API_Call ( l_api_version ,

Line 140: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN -- Bug 2659435

136: INTO l_line_no
137: FROM gl_aloc_bas
138: WHERE alloc_id = p_allocation_definition_rec.alloc_id ;
139:
140: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN -- Bug 2659435
141: log_msg('Inserting record for alloc_id : ' ||
142: p_allocation_definition_rec.alloc_id || ' line_no : ' || l_line_no);
143: END IF;
144:

Line 193: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN -- Bug 2659435

189: , 0 -- p_allocation_definition_rec.delete_mark
190: )
191: ;
192:
193: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN -- Bug 2659435
194: log_msg('1 row inserted');
195: END IF;
196:
197: -- Standard call to get message count and if count is 1, get message info.

Line 198: FND_MSG_PUB.Count_And_Get

194: log_msg('1 row inserted');
195: END IF;
196:
197: -- Standard call to get message count and if count is 1, get message info.
198: FND_MSG_PUB.Count_And_Get
199: ( p_count => x_msg_count ,
200: p_data => x_msg_data
201: );
202:

Line 207: FND_MSG_PUB.Count_And_Get

203: EXCEPTION
204: WHEN FND_API.G_EXC_ERROR THEN
205: ROLLBACK TO Create_Alloc_Definition_PVT;
206: x_return_status := FND_API.G_RET_STS_ERROR ;
207: FND_MSG_PUB.Count_And_Get
208: ( p_count => x_msg_count ,
209: p_data => x_msg_data
210: );
211: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 214: FND_MSG_PUB.Count_And_Get

210: );
211: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
212: ROLLBACK TO Create_Alloc_Definition_PVT;
213: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
214: FND_MSG_PUB.Count_And_Get
215: ( p_count => x_msg_count ,
216: p_data => x_msg_data
217: );
218: WHEN OTHERS THEN

Line 221: IF FND_MSG_PUB.Check_Msg_Level

217: );
218: WHEN OTHERS THEN
219: ROLLBACK TO Create_Alloc_Definition_PVT;
220: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
221: IF FND_MSG_PUB.Check_Msg_Level
222: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
223: THEN
224: FND_MSG_PUB.Add_Exc_Msg
225: ( G_PKG_NAME ,

Line 222: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

218: WHEN OTHERS THEN
219: ROLLBACK TO Create_Alloc_Definition_PVT;
220: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
221: IF FND_MSG_PUB.Check_Msg_Level
222: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
223: THEN
224: FND_MSG_PUB.Add_Exc_Msg
225: ( G_PKG_NAME ,
226: l_api_name

Line 224: FND_MSG_PUB.Add_Exc_Msg

220: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
221: IF FND_MSG_PUB.Check_Msg_Level
222: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
223: THEN
224: FND_MSG_PUB.Add_Exc_Msg
225: ( G_PKG_NAME ,
226: l_api_name
227: );
228: END IF;

Line 229: FND_MSG_PUB.Count_And_Get

225: ( G_PKG_NAME ,
226: l_api_name
227: );
228: END IF;
229: FND_MSG_PUB.Count_And_Get
230: ( p_count => x_msg_count ,
231: p_data => x_msg_data
232: );
233:

Line 294: FND_MSG_PUB.initialize;

290: SAVEPOINT Update_Alloc_Definition_PVT;
291:
292: -- Initialize message list if p_init_msg_list is set to TRUE.
293: IF FND_API.to_Boolean( p_init_msg_list ) THEN
294: FND_MSG_PUB.initialize;
295: END IF;
296:
297: -- Standard call to check for call compatibility.
298: IF NOT FND_API.Compatible_API_Call ( l_api_version ,

Line 309: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN -- Bug 2659435

305:
306: -- Initialize API return status to success
307: x_return_status := FND_API.G_RET_STS_SUCCESS;
308:
309: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN -- Bug 2659435
310: log_msg('Updating record for alloc_id : ' ||
311: p_allocation_definition_rec.alloc_id || ' line_no : ' || p_allocation_definition_rec.line_no);
312: END IF;
313:

Line 367: FND_MSG_PUB.Count_And_Get

363: AND line_no = p_allocation_definition_rec.line_no
364: ;
365:
366: -- Standard call to get message count and if count is 1, get message info.
367: FND_MSG_PUB.Count_And_Get
368: ( p_count => x_msg_count ,
369: p_data => x_msg_data
370: );
371:

Line 376: FND_MSG_PUB.Count_And_Get

372: EXCEPTION
373: WHEN FND_API.G_EXC_ERROR THEN
374: ROLLBACK TO Update_Alloc_Definition_PVT;
375: x_return_status := FND_API.G_RET_STS_ERROR ;
376: FND_MSG_PUB.Count_And_Get
377: ( p_count => x_msg_count ,
378: p_data => x_msg_data
379: );
380: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 383: FND_MSG_PUB.Count_And_Get

379: );
380: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
381: ROLLBACK TO Update_Alloc_Definition_PVT;
382: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
383: FND_MSG_PUB.Count_And_Get
384: ( p_count => x_msg_count ,
385: p_data => x_msg_data
386: );
387: WHEN OTHERS THEN

Line 390: IF FND_MSG_PUB.Check_Msg_Level

386: );
387: WHEN OTHERS THEN
388: ROLLBACK TO Update_Alloc_Definition_PVT;
389: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
390: IF FND_MSG_PUB.Check_Msg_Level
391: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
392: THEN
393: FND_MSG_PUB.Add_Exc_Msg
394: ( G_PKG_NAME ,

Line 391: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

387: WHEN OTHERS THEN
388: ROLLBACK TO Update_Alloc_Definition_PVT;
389: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
390: IF FND_MSG_PUB.Check_Msg_Level
391: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
392: THEN
393: FND_MSG_PUB.Add_Exc_Msg
394: ( G_PKG_NAME ,
395: l_api_name

Line 393: FND_MSG_PUB.Add_Exc_Msg

389: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
390: IF FND_MSG_PUB.Check_Msg_Level
391: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
392: THEN
393: FND_MSG_PUB.Add_Exc_Msg
394: ( G_PKG_NAME ,
395: l_api_name
396: );
397: END IF;

Line 398: FND_MSG_PUB.Count_And_Get

394: ( G_PKG_NAME ,
395: l_api_name
396: );
397: END IF;
398: FND_MSG_PUB.Count_And_Get
399: ( p_count => x_msg_count ,
400: p_data => x_msg_data
401: );
402:

Line 432: -- IF FND_MSG_PUB.Check_Msg_Level (p_msg_lvl) THEN -- Bug 2659435

428: )
429: IS
430: BEGIN
431:
432: -- IF FND_MSG_PUB.Check_Msg_Level (p_msg_lvl) THEN -- Bug 2659435
433: FND_MESSAGE.SET_NAME('GMF','GMF_API_DEBUG');
434: FND_MESSAGE.SET_TOKEN('MSG',p_msg_text);
435: FND_MSG_PUB.Add;
436: -- END IF;

Line 435: FND_MSG_PUB.Add;

431:
432: -- IF FND_MSG_PUB.Check_Msg_Level (p_msg_lvl) THEN -- Bug 2659435
433: FND_MESSAGE.SET_NAME('GMF','GMF_API_DEBUG');
434: FND_MESSAGE.SET_TOKEN('MSG',p_msg_text);
435: FND_MSG_PUB.Add;
436: -- END IF;
437:
438: END log_msg ;
439: