DBA Data[Home] [Help]

APPS.GME_MAKE_TO_ORDER_PVT dependencies on FND_MSG_PUB

Line 210: FND_MSG_PUB.initialize;

206: /* Check p_init_msg_list
207: =========================================*/
208: IF FND_API.to_boolean(p_init_msg_list)
209: THEN
210: FND_MSG_PUB.initialize;
211: END IF;
212:
213: FND_FILE.Put_Line(FND_FILE.LOG, 'After Initialize ');
214: IF (g_debug <= gme_debug.g_log_statement) THEN

Line 224: FND_MSG_PUB.Add;

220: gme_debug.put_line(g_pkg_name||'.'||l_api_name||' sales order line id parameter is missing ');
221: END IF;
222: FND_MESSAGE.Set_Name('GMI','Missing');
223: FND_MESSAGE.Set_Token('MISSING', 'so_line_id');
224: FND_MSG_PUB.Add;
225: RAISE FND_API.G_EXC_ERROR;
226: END IF;
227: /* ============ IF this line is already reserved to production supply do not process further =========== */
228: IF (g_debug <= gme_debug.g_log_statement) THEN

Line 308: FND_MSG_PUB.Add;

304: IF( l_return_status <> FND_API.G_RET_STS_SUCCESS ) THEN
305: gme_debug.put_line(g_pkg_name||'.'||l_api_name||' Failure to Get_Rule so terminate processing for line '||p_so_line_id);
306: FND_MESSAGE.Set_Name('GMI','Missing');
307: FND_MESSAGE.Set_Token('MISSING', 'rule_id');
308: FND_MSG_PUB.Add;
309: RAISE FND_API.G_EXC_ERROR;
310: END IF;
311:
312: IF (NVL(l_mto_rules_rec.rule_id,0) = 0) THEN

Line 645: l_message := fnd_msg_pub.get(p_encoded => FND_API.G_FALSE);

641: j := to_number(NVL(l_msg_count,0));
642: FOR i in 1..j
643: LOOP
644:
645: l_message := fnd_msg_pub.get(p_encoded => FND_API.G_FALSE);
646: l_message := replace(l_message, chr(0), ' ');
647: gme_debug.put_line(l_message);
648: END LOOP;
649: RAISE fnd_api.g_exc_error;

Line 875: FND_MSG_PUB.Add_Exc_Msg ( g_pkg_name

871: x_return_status := FND_API.G_RET_STS_ERROR;
872: -- errbuf := SUBSTRB(SQLERRM, 1, 150);
873: -- retcode := x_return_status;
874:
875: FND_MSG_PUB.Add_Exc_Msg ( g_pkg_name
876: , l_api_name
877: );
878: FND_MSG_PUB.Count_AND_GET ( p_encoded => FND_API.G_FALSE
879: , p_count => x_msg_count

Line 878: FND_MSG_PUB.Count_AND_GET ( p_encoded => FND_API.G_FALSE

874:
875: FND_MSG_PUB.Add_Exc_Msg ( g_pkg_name
876: , l_api_name
877: );
878: FND_MSG_PUB.Count_AND_GET ( p_encoded => FND_API.G_FALSE
879: , p_count => x_msg_count
880: , p_data => x_msg_data
881: );
882:

Line 893: FND_MSG_PUB.Add_Exc_Msg ( g_pkg_name

889: -- errbuf := SUBSTRB(SQLERRM, 1, 150);
890: -- retcode := x_return_status;
891:
892:
893: FND_MSG_PUB.Add_Exc_Msg ( g_pkg_name
894: , l_api_name
895: );
896: FND_MSG_PUB.Count_AND_GET ( p_encoded=> FND_API.G_FALSE
897: , p_count => x_msg_count

Line 896: FND_MSG_PUB.Count_AND_GET ( p_encoded=> FND_API.G_FALSE

892:
893: FND_MSG_PUB.Add_Exc_Msg ( g_pkg_name
894: , l_api_name
895: );
896: FND_MSG_PUB.Count_AND_GET ( p_encoded=> FND_API.G_FALSE
897: , p_count => x_msg_count
898: , p_data => x_msg_data
899: );
900: WHEN OTHERS THEN

Line 905: FND_MSG_PUB.Add_Exc_Msg ( g_pkg_name

901: --ROLLBACK TO SAVEPOINT create_batch_for_so_line_SP;
902: gme_debug.put_line('sqlcode : ' ||to_char(sqlcode));
903: gme_debug.put_line('sqlerr : '|| SUBSTRB(SQLERRM, 1, 150));
904:
905: FND_MSG_PUB.Add_Exc_Msg ( g_pkg_name
906: , l_api_name
907: );
908:
909: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 914: FND_MSG_PUB.count_and_get

910: -- errbuf := SUBSTRB(SQLERRM, 1, 150);
911: -- retcode := x_return_status;
912:
913: /* Get message count and data */
914: FND_MSG_PUB.count_and_get
915: ( p_count => x_msg_count
916: , p_data => x_msg_data
917: );
918: