DBA Data[Home] [Help]

APPS.CSD_OM_INTERFACE_PVT dependencies on FND_MSG_PUB

Line 136: fnd_msg_pub.add;

132: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
133: ELSE
134: fnd_message.set_name('CSD','CSD_INV_PTY_SITE_USE_ID');
135: fnd_message.set_token('CUST_SITE_USE_ID',p_cust_site_use_id );
136: fnd_msg_pub.add;
137: END IF;
138: Debug('Party site does not exist for cust site use ID='||to_char(p_cust_site_use_id) ,l_mod_name,1);
139: Raise FND_API.G_EXC_ERROR ;
140: End;

Line 163: fnd_msg_pub.add;

159: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
160: ELSE
161: fnd_message.set_name('CSD','CSD_INV_PTY_SITE_ID');
162: fnd_message.set_token('PTY_SITE_ID',l_party_site_id);
163: fnd_msg_pub.add;
164: END IF;
165: Debug('Party site does not exist for party site id='||to_char(l_party_site_id) ,l_mod_name,1);
166: Raise FND_API.G_EXC_ERROR ;
167: When TOO_MANY_ROWS then

Line 175: fnd_msg_pub.add;

171: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
172: ELSE
173: fnd_message.set_name('CSD','CSD_INV_PTY_SITE_ID');
174: fnd_message.set_token('PTY_SITE_ID',l_party_site_id);
175: fnd_msg_pub.add;
176: END IF;
177: Debug('Too many rows found for party site id='||to_char(l_party_site_id) ,l_mod_name,1);
178: Raise FND_API.G_EXC_ERROR ;
179: End;

Line 350: FND_MSG_PUB.initialize;

346: --
347: MO_GLOBAL.init('CS_CHARGES');
348:
349: -- Initialize message list if p_init_msg_list is set to TRUE.
350: FND_MSG_PUB.initialize;
351:
352: -- Api body starts
353: Debug( 'Begining of concurrent program',l_mod_name,1);
354: Debug( '*************In Parameters***************',l_mod_name,1);

Line 366: fnd_msg_pub.add;

362: fnd_message.set_name('CSD','CSD_PARAMETERS_MISSING');
363: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
364: ELSE
365: fnd_message.set_name('CSD','CSD_PARAMETERS_MISSING');
366: fnd_msg_pub.add;
367: END IF;
368: Debug( 'One of the IN parameters(Inv Org, Subinventory) is NULL',l_mod_name,1);
369: Raise FND_API.G_EXC_ERROR ;
370: END IF;

Line 403: fnd_msg_pub.add;

399: fnd_message.set_name('CSD','CSD_PROF_SETUP_MISSING');
400: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
401: ELSE
402: fnd_message.set_name('CSD','CSD_PROF_SETUP_MISSING');
403: fnd_msg_pub.add;
404: END IF;
405: Debug( 'One of the profile for SR default values is not set',l_mod_name,1);
406: Raise FND_API.G_EXC_ERROR ;
407: END IF;

Line 428: fnd_msg_pub.add;

424: fnd_message.set_name('CSD','CSD_STD_REP_TYPE_MISSING');
425: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
426: ELSE
427: fnd_message.set_name('CSD','CSD_STD_REP_TYPE_MISSING');
428: fnd_msg_pub.add;
429: END IF;
430: Debug( 'Standard Repair Type not found',l_mod_name,1);
431: Raise FND_API.G_EXC_ERROR ;
432: When TOO_MANY_ROWS then

Line 438: fnd_msg_pub.add;

434: fnd_message.set_name('CSD','CSD_STD_REP_TYPE_MISSING');
435: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
436: ELSE
437: fnd_message.set_name('CSD','CSD_STD_REP_TYPE_MISSING');
438: fnd_msg_pub.add;
439: END IF;
440: Debug( 'Too many Standard Repair Types found',l_mod_name,1);
441: Raise FND_API.G_EXC_ERROR ;
442: End;

Line 460: fnd_msg_pub.add;

456: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
457: ELSE
458: fnd_message.set_name('CSD','CSD_INVALID_INV_ORG_ID');
459: fnd_message.set_token('INV_ORG_ID',p_inventory_org_id);
460: fnd_msg_pub.add;
461: END IF;
462: Debug( 'Inventory Org not found for INV Org ID='||to_char(p_inventory_org_id),l_mod_name,1);
463: Raise FND_API.G_EXC_ERROR ;
464: When TOO_MANY_ROWS then

Line 472: fnd_msg_pub.add;

468: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
469: ELSE
470: fnd_message.set_name('CSD','CSD_INVALID_INV_ORG_ID');
471: fnd_message.set_token('INV_ORG_ID',p_inventory_org_id);
472: fnd_msg_pub.add;
473: END IF;
474: Debug( 'Two many rows Inventory Org is defined for Inv Org ID='||to_char(p_inventory_org_id),l_mod_name,1);
475: Raise FND_API.G_EXC_ERROR ;
476: End;

Line 495: fnd_msg_pub.add;

491: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
492: ELSE
493: fnd_message.set_name('CSD','CSD_INVALID_SUB_INV');
494: fnd_message.set_token('SUB_INV',p_subinventory_name );
495: fnd_msg_pub.add;
496: END IF;
497: Debug( 'Subinventory Location not found='||p_subinventory_name,l_mod_name,1 );
498: Raise FND_API.G_EXC_ERROR ;
499: When TOO_MANY_ROWS then

Line 507: fnd_msg_pub.add;

503: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
504: ELSE
505: fnd_message.set_name('CSD','CSD_INVALID_SUB_INV');
506: fnd_message.set_token('SUB_INV',p_subinventory_name );
507: fnd_msg_pub.add;
508: END IF;
509: Debug( 'Too many rows found for subinventory ='||p_subinventory_name,l_mod_name,1 );
510: Raise FND_API.G_EXC_ERROR ;
511: End;

Line 738: fnd_msg_pub.add;

734: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
735: ELSE
736: fnd_message.set_name('CSD','CSD_INV_ITEM_ID');
737: fnd_message.set_token('ITEM_ID',c1.inventory_item_id);
738: fnd_msg_pub.add;
739: END IF;
740: l_serialized_flag := FALSE;
741: Debug( 'Inv Item is Non-serialized Inv Item Id='||to_char(c1.inventory_item_id),l_mod_name,1);
742: End;

Line 802: fnd_msg_pub.add;

798: FND_LOG.MESSAGE(l_error_level,l_mod_name, FALSE);
799: ELSE
800: fnd_message.set_name('CSD','CSD_IB_INSTANCE_MISSING');
801: fnd_message.set_token('SERIAL_NUM', C2.serial_num);
802: fnd_msg_pub.add;
803: END IF;
804: Debug( 'Instance Id could not be found='||c2.serial_num,l_mod_name,1);
805: l_instance_id := FND_API.G_MISS_NUM;
806: End;

Line 954: if(fnd_msg_pub.count_msg > 0 ) then

950: EXCEPTION
951: WHEN SKIP_RO THEN
952: ROLLBACK TO create_ro;
953: l_error_count := l_error_count + 1;
954: if(fnd_msg_pub.count_msg > 0 ) then
955: for i in 1..fnd_msg_pub.count_msg
956: loop
957: fnd_msg_pub.get(p_msg_index => i,
958: p_encoded => 'F',

Line 955: for i in 1..fnd_msg_pub.count_msg

951: WHEN SKIP_RO THEN
952: ROLLBACK TO create_ro;
953: l_error_count := l_error_count + 1;
954: if(fnd_msg_pub.count_msg > 0 ) then
955: for i in 1..fnd_msg_pub.count_msg
956: loop
957: fnd_msg_pub.get(p_msg_index => i,
958: p_encoded => 'F',
959: p_data => l_msg_data,

Line 957: fnd_msg_pub.get(p_msg_index => i,

953: l_error_count := l_error_count + 1;
954: if(fnd_msg_pub.count_msg > 0 ) then
955: for i in 1..fnd_msg_pub.count_msg
956: loop
957: fnd_msg_pub.get(p_msg_index => i,
958: p_encoded => 'F',
959: p_data => l_msg_data,
960: p_msg_index_out => l_msg_index_out);
961: Debug( 'Error Msg='||l_msg_data,l_mod_name,1);

Line 971: if(fnd_msg_pub.count_msg > 0 ) then

967: exit;
968: WHEN OTHERS THEN
969: ROLLBACK TO create_ro;
970: l_error_count := l_error_count + 1;
971: if(fnd_msg_pub.count_msg > 0 ) then
972: for i in 1..fnd_msg_pub.count_msg
973: loop
974: fnd_msg_pub.get(p_msg_index => i,
975: p_encoded => 'F',

Line 972: for i in 1..fnd_msg_pub.count_msg

968: WHEN OTHERS THEN
969: ROLLBACK TO create_ro;
970: l_error_count := l_error_count + 1;
971: if(fnd_msg_pub.count_msg > 0 ) then
972: for i in 1..fnd_msg_pub.count_msg
973: loop
974: fnd_msg_pub.get(p_msg_index => i,
975: p_encoded => 'F',
976: p_data => l_msg_data,

Line 974: fnd_msg_pub.get(p_msg_index => i,

970: l_error_count := l_error_count + 1;
971: if(fnd_msg_pub.count_msg > 0 ) then
972: for i in 1..fnd_msg_pub.count_msg
973: loop
974: fnd_msg_pub.get(p_msg_index => i,
975: p_encoded => 'F',
976: p_data => l_msg_data,
977: p_msg_index_out => l_msg_index_out);
978: Debug( 'Error Msg='||l_msg_data,l_mod_name,1);

Line 992: if(fnd_msg_pub.count_msg > 0 ) then

988: EXCEPTION
989: WHEN SKIP_RECORD THEN
990: ROLLBACK TO rcv_lines;
991: l_error_count := l_error_count + 1;
992: if(fnd_msg_pub.count_msg > 0 ) then
993: for i in 1..fnd_msg_pub.count_msg
994: loop
995: fnd_msg_pub.get(p_msg_index => i,
996: p_encoded => 'F',

Line 993: for i in 1..fnd_msg_pub.count_msg

989: WHEN SKIP_RECORD THEN
990: ROLLBACK TO rcv_lines;
991: l_error_count := l_error_count + 1;
992: if(fnd_msg_pub.count_msg > 0 ) then
993: for i in 1..fnd_msg_pub.count_msg
994: loop
995: fnd_msg_pub.get(p_msg_index => i,
996: p_encoded => 'F',
997: p_data => l_msg_data,

Line 995: fnd_msg_pub.get(p_msg_index => i,

991: l_error_count := l_error_count + 1;
992: if(fnd_msg_pub.count_msg > 0 ) then
993: for i in 1..fnd_msg_pub.count_msg
994: loop
995: fnd_msg_pub.get(p_msg_index => i,
996: p_encoded => 'F',
997: p_data => l_msg_data,
998: p_msg_index_out => l_msg_index_out);
999: Debug( 'Error Msg='||l_msg_data,l_mod_name,1);

Line 1008: if(fnd_msg_pub.count_msg > 0 ) then

1004: Debug( 'Skipping the record for order line_id ='||to_char(c1.line_id),l_mod_name,1);
1005: WHEN OTHERS THEN
1006: ROLLBACK TO rcv_lines;
1007: l_error_count := l_error_count + 1;
1008: if(fnd_msg_pub.count_msg > 0 ) then
1009: for i in 1..fnd_msg_pub.count_msg
1010: loop
1011: fnd_msg_pub.get(p_msg_index => i,
1012: p_encoded => 'F',

Line 1009: for i in 1..fnd_msg_pub.count_msg

1005: WHEN OTHERS THEN
1006: ROLLBACK TO rcv_lines;
1007: l_error_count := l_error_count + 1;
1008: if(fnd_msg_pub.count_msg > 0 ) then
1009: for i in 1..fnd_msg_pub.count_msg
1010: loop
1011: fnd_msg_pub.get(p_msg_index => i,
1012: p_encoded => 'F',
1013: p_data => l_msg_data,

Line 1011: fnd_msg_pub.get(p_msg_index => i,

1007: l_error_count := l_error_count + 1;
1008: if(fnd_msg_pub.count_msg > 0 ) then
1009: for i in 1..fnd_msg_pub.count_msg
1010: loop
1011: fnd_msg_pub.get(p_msg_index => i,
1012: p_encoded => 'F',
1013: p_data => l_msg_data,
1014: p_msg_index_out => l_msg_index_out);
1015: Debug( 'Error Msg='||l_msg_data,l_mod_name,1);

Line 1046: if(fnd_msg_pub.count_msg > 0 ) then

1042:
1043: EXCEPTION
1044: WHEN FND_API.G_EXC_ERROR THEN
1045: ROLLBACK TO process_rma;
1046: if(fnd_msg_pub.count_msg > 0 ) then
1047: for i in 1..fnd_msg_pub.count_msg
1048: loop
1049: fnd_msg_pub.get(p_msg_index => i,
1050: p_encoded => 'F',

Line 1047: for i in 1..fnd_msg_pub.count_msg

1043: EXCEPTION
1044: WHEN FND_API.G_EXC_ERROR THEN
1045: ROLLBACK TO process_rma;
1046: if(fnd_msg_pub.count_msg > 0 ) then
1047: for i in 1..fnd_msg_pub.count_msg
1048: loop
1049: fnd_msg_pub.get(p_msg_index => i,
1050: p_encoded => 'F',
1051: p_data => l_msg_data,

Line 1049: fnd_msg_pub.get(p_msg_index => i,

1045: ROLLBACK TO process_rma;
1046: if(fnd_msg_pub.count_msg > 0 ) then
1047: for i in 1..fnd_msg_pub.count_msg
1048: loop
1049: fnd_msg_pub.get(p_msg_index => i,
1050: p_encoded => 'F',
1051: p_data => l_msg_data,
1052: p_msg_index_out => l_msg_index_out);
1053: Debug( 'Error Msg='||l_msg_data,l_mod_name,1);

Line 1062: if(fnd_msg_pub.count_msg > 0 ) then

1058: errbuf := 'Error occurred in Concurrent Program:'||l_msg_data;
1059: retcode := '2';
1060: WHEN OTHERS THEN
1061: ROLLBACK TO process_rma;
1062: if(fnd_msg_pub.count_msg > 0 ) then
1063: for i in 1..fnd_msg_pub.count_msg
1064: loop
1065: fnd_msg_pub.get(p_msg_index => i,
1066: p_encoded => 'F',

Line 1063: for i in 1..fnd_msg_pub.count_msg

1059: retcode := '2';
1060: WHEN OTHERS THEN
1061: ROLLBACK TO process_rma;
1062: if(fnd_msg_pub.count_msg > 0 ) then
1063: for i in 1..fnd_msg_pub.count_msg
1064: loop
1065: fnd_msg_pub.get(p_msg_index => i,
1066: p_encoded => 'F',
1067: p_data => l_msg_data,

Line 1065: fnd_msg_pub.get(p_msg_index => i,

1061: ROLLBACK TO process_rma;
1062: if(fnd_msg_pub.count_msg > 0 ) then
1063: for i in 1..fnd_msg_pub.count_msg
1064: loop
1065: fnd_msg_pub.get(p_msg_index => i,
1066: p_encoded => 'F',
1067: p_data => l_msg_data,
1068: p_msg_index_out => l_msg_index_out);
1069: Debug( 'Error Msg='||l_msg_data,l_mod_name,1);