DBA Data[Home] [Help]

APPS.CSI_T_TXN_LINE_DTLS_PVT dependencies on FND_MSG_PUB

Line 78: fnd_msg_pub.initialize;

74: SAVEPOINT create_txn_line_dtls;
75:
76: -- Initialize message list if p_init_msg_list is set to TRUE.
77: IF fnd_api.to_boolean( p_init_msg_list ) THEN
78: fnd_msg_pub.initialize;
79: END IF;
80:
81: -- Initialize API return status to success
82: x_return_status := fnd_api.g_ret_sts_success;

Line 197: fnd_msg_pub.add;

193: debug('Validate sub type id failed.');
194:
195: fnd_message.set_name('CSI','CSI_TXN_SUB_TYPE_ID_INVALID');
196: fnd_message.set_token('SUB_TYPE_ID',p_txn_line_dtl_rec.sub_type_id);
197: fnd_msg_pub.add;
198: raise fnd_api.g_exc_error;
199:
200: END IF;
201:

Line 237: fnd_msg_pub.add;

233: debug('Validate instance id failed.');
234:
235: FND_MESSAGE.set_name('CSI','CSI_API_INVALID_INSTANCE_ID');
236: FND_MESSAGE.set_token('INSTANCE_ID',p_txn_line_dtl_rec.instance_id);
237: fnd_msg_pub.add;
238: RAISE fnd_api.g_exc_error;
239:
240: END IF;
241:

Line 343: fnd_msg_pub.add;

339: IF nvl(l_quantity,0) <= 0 THEN
340: fnd_message.set_name('CSI','CSI_TXN_QTY_INVALID');
341: fnd_message.set_token('ITEM_ID',p_txn_line_dtl_rec.inventory_item_id);
342: fnd_message.set_token('QTY',l_quantity);
343: fnd_msg_pub.add;
344: raise fnd_api.g_exc_error;
345: END IF;
346:
347: --debug('Validate item uom .');

Line 536: fnd_msg_pub.add;

532: debug('Validate instance id failed.');
533:
534: FND_MESSAGE.set_name('CSI','CSI_API_INVALID_INSTANCE_ID');
535: FND_MESSAGE.set_token('INSTANCE_ID',p_txn_line_dtl_rec.parent_instance_id);
536: fnd_msg_pub.add;
537: RAISE fnd_api.g_exc_error;
538:
539: END IF;
540: END IF;

Line 699: fnd_msg_pub.add;

695: when others then
696: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
697: fnd_message.set_token('MESSAGE',
698: 'csi_t_txn_line_details_pkg.insert_row Failed. '||substr(sqlerrm,1,200));
699: fnd_msg_pub.add;
700: raise fnd_api.g_exc_error;
701: end;
702:
703: p_txn_line_dtl_rec.txn_line_detail_id := l_txn_line_detail_id;

Line 887: fnd_msg_pub.Count_And_Get(

883:
884: csi_t_gen_utility_pvt.set_debug_off;
885:
886: -- Standard call to get message count and if count is get message info.
887: fnd_msg_pub.Count_And_Get(
888: p_count => x_msg_count,
889: p_data => x_msg_data);
890:
891: EXCEPTION

Line 896: fnd_msg_pub.Count_And_Get (

892: WHEN fnd_api.G_EXC_ERROR THEN
893:
894: ROLLBACK TO create_txn_line_dtls;
895: x_return_status := fnd_api.g_ret_sts_error ;
896: fnd_msg_pub.Count_And_Get (
897: p_count => x_msg_count,
898: p_data => x_msg_data);
899: csi_t_gen_utility_pvt.set_debug_off;
900:

Line 906: fnd_msg_pub.Count_And_Get(

902:
903: ROLLBACK TO Create_Txn_Line_Dtls;
904: x_return_status := fnd_api.G_RET_STS_UNEXP_ERROR ;
905:
906: fnd_msg_pub.Count_And_Get(
907: p_count => x_msg_count,
908: p_data => x_msg_data);
909: csi_t_gen_utility_pvt.set_debug_off;
910:

Line 916: IF fnd_msg_pub.Check_Msg_Level(

912:
913: ROLLBACK TO Create_Txn_Line_Dtls;
914: x_return_status := fnd_api.G_RET_STS_UNEXP_ERROR ;
915:
916: IF fnd_msg_pub.Check_Msg_Level(
917: p_message_level => fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR) THEN
918:
919: fnd_msg_pub.Add_Exc_Msg(
920: p_pkg_name => G_PKG_NAME,

Line 917: p_message_level => fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR) THEN

913: ROLLBACK TO Create_Txn_Line_Dtls;
914: x_return_status := fnd_api.G_RET_STS_UNEXP_ERROR ;
915:
916: IF fnd_msg_pub.Check_Msg_Level(
917: p_message_level => fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR) THEN
918:
919: fnd_msg_pub.Add_Exc_Msg(
920: p_pkg_name => G_PKG_NAME,
921: p_procedure_name => l_api_name);

Line 919: fnd_msg_pub.Add_Exc_Msg(

915:
916: IF fnd_msg_pub.Check_Msg_Level(
917: p_message_level => fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR) THEN
918:
919: fnd_msg_pub.Add_Exc_Msg(
920: p_pkg_name => G_PKG_NAME,
921: p_procedure_name => l_api_name);
922:
923: END IF;

Line 925: fnd_msg_pub.Count_And_Get(

921: p_procedure_name => l_api_name);
922:
923: END IF;
924:
925: fnd_msg_pub.Count_And_Get(
926: p_count => x_msg_count,
927: p_data => x_msg_data);
928: csi_t_gen_utility_pvt.set_debug_off;
929:

Line 1040: fnd_msg_pub.initialize;

1036: SAVEPOINT update_txn_line_dtls;
1037:
1038: -- Initialize message list if p_init_msg_list is set to TRUE.
1039: IF fnd_api.to_Boolean( p_init_msg_list ) THEN
1040: fnd_msg_pub.initialize;
1041: END IF;
1042:
1043: -- Initialize API return status to success
1044: x_return_status := fnd_api.G_RET_STS_SUCCESS;

Line 1107: fnd_msg_pub.add;

1103: IF l_return_status <> fnd_api.g_ret_sts_success THEN
1104:
1105: FND_MESSAGE.set_name('CSI','CSI_TXN_LINE_DTL_ID_INVALID');
1106: FND_MESSAGE.set_token('LINE_DTL_ID',l_td_rec.txn_line_detail_id);
1107: fnd_msg_pub.add;
1108: RAISE fnd_api.g_exc_error;
1109:
1110: END IF;
1111:

Line 1130: fnd_msg_pub.add;

1126: fnd_message.set_name('CSI','CSI_TXN_CZ_INVALID_INST_KEY');
1127: fnd_message.set_token('INST_HDR_ID',l_td_rec.config_inst_hdr_id);
1128: fnd_message.set_token('INST_REV_NBR',l_td_rec.config_inst_rev_num);
1129: fnd_message.set_token('CONFIG_ITEM_ID',l_td_rec.config_inst_item_id);
1130: fnd_msg_pub.add;
1131: RAISE fnd_api.g_exc_error;
1132: when others then
1133: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
1134: fnd_message.set_token('MESSAGE',

Line 1136: fnd_msg_pub.add;

1132: when others then
1133: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
1134: fnd_message.set_token('MESSAGE',
1135: 'Error in getting Config Inst data Check Failed. '||substr(sqlerrm,1,200));
1136: fnd_msg_pub.add;
1137: RAISE fnd_api.g_exc_error;
1138: End;
1139: END IF;
1140:

Line 1188: fnd_msg_pub.add;

1184:
1185: debug('Validate sub type id failed.');
1186: fnd_message.set_name('CSI','CSI_TXN_SUB_TYPE_ID_INVALID');
1187: fnd_message.set_token('SUB_TYPE_ID',l_td_rec.sub_type_id);
1188: fnd_msg_pub.add;
1189: raise fnd_api.g_exc_error;
1190:
1191: END IF;
1192: END IF;

Line 1242: fnd_msg_pub.add;

1238: IF l_return_status <> fnd_api.g_ret_sts_success THEN
1239:
1240: FND_MESSAGE.set_name('CSI','CSI_API_INVALID_INSTANCE_ID');
1241: FND_MESSAGE.set_token('INSTANCE_ID',l_td_rec.instance_id);
1242: fnd_msg_pub.add;
1243: RAISE fnd_api.g_exc_error;
1244:
1245: END IF;
1246:

Line 2167: fnd_msg_pub.add;

2163: when others then
2164: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
2165: fnd_message.set_token('MESSAGE',
2166: 'csi_t_txn_line_details_pkg.update_row Failed. '||substr(sqlerrm,1,200));
2167: fnd_msg_pub.add;
2168: raise fnd_api.g_exc_error;
2169: end;
2170:
2171: END LOOP;

Line 2561: fnd_msg_pub.Count_And_Get(

2557: COMMIT WORK;
2558: END IF;
2559:
2560: -- Standard call to get message count and if count is get message info.
2561: fnd_msg_pub.Count_And_Get(
2562: p_count => x_msg_count,
2563: p_data => x_msg_data);
2564:
2565: EXCEPTION

Line 2570: fnd_msg_pub.Count_And_Get (

2566: WHEN fnd_api.G_EXC_ERROR THEN
2567:
2568: ROLLBACK TO update_txn_line_dtls;
2569: x_return_status := fnd_api.g_ret_sts_error ;
2570: fnd_msg_pub.Count_And_Get (
2571: p_count => x_msg_count,
2572: p_data => x_msg_data);
2573:
2574: WHEN fnd_api.g_exc_unexpected_error THEN

Line 2579: fnd_msg_pub.count_and_get(

2575:
2576: ROLLBACK TO update_txn_line_dtls;
2577: x_return_status := fnd_api.G_RET_STS_UNEXP_ERROR ;
2578:
2579: fnd_msg_pub.count_and_get(
2580: p_count => x_msg_count,
2581: p_data => x_msg_data);
2582:
2583: WHEN OTHERS THEN

Line 2588: IF fnd_msg_pub.Check_Msg_Level(

2584:
2585: ROLLBACK TO Update_Txn_Line_Dtls;
2586: x_return_status := fnd_api.G_RET_STS_UNEXP_ERROR ;
2587:
2588: IF fnd_msg_pub.Check_Msg_Level(
2589: p_message_level => fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR) THEN
2590:
2591: fnd_msg_pub.Add_Exc_Msg(
2592: p_pkg_name => G_PKG_NAME,

Line 2589: p_message_level => fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR) THEN

2585: ROLLBACK TO Update_Txn_Line_Dtls;
2586: x_return_status := fnd_api.G_RET_STS_UNEXP_ERROR ;
2587:
2588: IF fnd_msg_pub.Check_Msg_Level(
2589: p_message_level => fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR) THEN
2590:
2591: fnd_msg_pub.Add_Exc_Msg(
2592: p_pkg_name => G_PKG_NAME,
2593: p_procedure_name => l_api_name);

Line 2591: fnd_msg_pub.Add_Exc_Msg(

2587:
2588: IF fnd_msg_pub.Check_Msg_Level(
2589: p_message_level => fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR) THEN
2590:
2591: fnd_msg_pub.Add_Exc_Msg(
2592: p_pkg_name => G_PKG_NAME,
2593: p_procedure_name => l_api_name);
2594:
2595: END IF;

Line 2597: fnd_msg_pub.Count_And_Get(

2593: p_procedure_name => l_api_name);
2594:
2595: END IF;
2596:
2597: fnd_msg_pub.Count_And_Get(
2598: p_count => x_msg_count,
2599: p_data => x_msg_data);
2600:
2601: END update_txn_line_dtls;

Line 2815: fnd_msg_pub.add;

2811: EXCEPTION
2812: WHEN others THEN
2813: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
2814: fnd_message.set_token('MESSAGE',substr(sqlerrm, 1, 255));
2815: fnd_msg_pub.add;
2816: x_return_status := fnd_api.g_ret_sts_error;
2817:
2818: END bind_query_variables;
2819:

Line 3384: fnd_msg_pub.initialize;

3380: SAVEPOINT delete_txn_line_dtls;
3381:
3382: -- Initialize message list if p_init_msg_list is set to TRUE.
3383: IF fnd_api.to_Boolean( p_init_msg_list ) THEN
3384: fnd_msg_pub.initialize;
3385: END IF;
3386:
3387: -- Initialize API return status to success
3388: x_return_status := fnd_api.G_RET_STS_SUCCESS;

Line 3433: fnd_msg_pub.Count_And_Get(

3429: COMMIT WORK;
3430: END IF;
3431:
3432: -- Standard call to get message count and if count is get message info.
3433: fnd_msg_pub.Count_And_Get(
3434: p_count => x_msg_count,
3435: p_data => x_msg_data);
3436:
3437: EXCEPTION

Line 3442: fnd_msg_pub.Count_And_Get (

3438: WHEN fnd_api.G_EXC_ERROR THEN
3439:
3440: ROLLBACK TO delete_txn_line_dtls;
3441: x_return_status := fnd_api.g_ret_sts_error ;
3442: fnd_msg_pub.Count_And_Get (
3443: p_count => x_msg_count,
3444: p_data => x_msg_data);
3445:
3446: WHEN fnd_api.g_exc_unexpected_error THEN

Line 3451: fnd_msg_pub.Count_And_Get(

3447:
3448: ROLLBACK TO delete_txn_line_dtls;
3449: x_return_status := fnd_api.G_RET_STS_UNEXP_ERROR ;
3450:
3451: fnd_msg_pub.Count_And_Get(
3452: p_count => x_msg_count,
3453: p_data => x_msg_data);
3454:
3455: WHEN others THEN

Line 3460: IF fnd_msg_pub.check_msg_level(

3456:
3457: rollback to delete_txn_line_dtls;
3458: x_return_status := fnd_api.g_ret_sts_unexp_error ;
3459:
3460: IF fnd_msg_pub.check_msg_level(
3461: p_message_level => fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3462:
3463: fnd_msg_pub.add_exc_msg(
3464: p_pkg_name => g_pkg_name,

Line 3461: p_message_level => fnd_msg_pub.g_msg_lvl_unexp_error) THEN

3457: rollback to delete_txn_line_dtls;
3458: x_return_status := fnd_api.g_ret_sts_unexp_error ;
3459:
3460: IF fnd_msg_pub.check_msg_level(
3461: p_message_level => fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3462:
3463: fnd_msg_pub.add_exc_msg(
3464: p_pkg_name => g_pkg_name,
3465: p_procedure_name => l_api_name);

Line 3463: fnd_msg_pub.add_exc_msg(

3459:
3460: IF fnd_msg_pub.check_msg_level(
3461: p_message_level => fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3462:
3463: fnd_msg_pub.add_exc_msg(
3464: p_pkg_name => g_pkg_name,
3465: p_procedure_name => l_api_name);
3466:
3467: END IF;

Line 3469: fnd_msg_pub.Count_And_Get(

3465: p_procedure_name => l_api_name);
3466:
3467: END IF;
3468:
3469: fnd_msg_pub.Count_And_Get(
3470: p_count => x_msg_count,
3471: p_data => x_msg_data);
3472:
3473: END delete_txn_line_dtls;

Line 3520: fnd_msg_pub.add;

3516:
3517: fnd_message.set_name('CSI','CSI_TXN_SRC_INFO_MISSING');
3518: fnd_message.set_token('SRC_NAME',p_txn_line_rec.source_transaction_table);
3519: fnd_message.set_token('SRC_ID',p_txn_line_rec.source_transaction_id);
3520: fnd_msg_pub.add;
3521: RAISE fnd_api.g_exc_error;
3522:
3523: ELSE
3524:

Line 3539: fnd_msg_pub.add;

3535:
3536: fnd_message.set_name('CSI','CSI_TXN_SOURCE_ID_INVALID');
3537: fnd_message.set_token('SRC_LINE_ID',p_txn_line_rec.source_transaction_id);
3538: fnd_message.set_token('SRC_NAME',p_txn_line_rec.source_transaction_table);
3539: fnd_msg_pub.add;
3540: RAISE fnd_api.g_exc_error;
3541: END;
3542:
3543: END IF;

Line 3561: fnd_msg_pub.add;

3557:
3558: IF l_return_status <> fnd_api.g_ret_sts_success THEN
3559: fnd_message.set_name('CSI','CSI_TXN_LINE_ID_INVALID');
3560: fnd_message.set_token('TXN_LINE_ID', l_txn_line_rec.transaction_line_id);
3561: fnd_msg_pub.add;
3562: raise fnd_api.g_exc_error;
3563: END IF;
3564:
3565: IF ( nvl(p_txn_line_rec.config_session_hdr_id, fnd_api.g_miss_num) <> fnd_api.g_miss_num