DBA Data[Home] [Help]

APPS.INL_CHARGE_PVT dependencies on FND_MSG_PUB

Line 120: IF FND_MSG_PUB.Check_Msg_Level(p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

116: );
117: EXCEPTION
118: WHEN OTHERS THEN
119: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
120: IF FND_MSG_PUB.Check_Msg_Level(p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
121: FND_MSG_PUB.Add_Exc_Msg(
122: p_pkg_name => g_pkg_name,
123: p_procedure_name => l_proc_name
124: );

Line 121: FND_MSG_PUB.Add_Exc_Msg(

117: EXCEPTION
118: WHEN OTHERS THEN
119: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
120: IF FND_MSG_PUB.Check_Msg_Level(p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
121: FND_MSG_PUB.Add_Exc_Msg(
122: p_pkg_name => g_pkg_name,
123: p_procedure_name => l_proc_name
124: );
125: END IF;

Line 375: IF FND_MSG_PUB.Check_Msg_Level(p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

371: -- Standard Unexpected Error Logging
372: INL_LOGGING_PVT.Log_UnexpecError (p_module_name => g_module_name,
373: p_procedure_name => l_proc_name);
374: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
375: IF FND_MSG_PUB.Check_Msg_Level(p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
376: FND_MSG_PUB.Add_Exc_Msg(
377: p_pkg_name => g_pkg_name,
378: p_procedure_name => l_proc_name);
379: END IF;

Line 376: FND_MSG_PUB.Add_Exc_Msg(

372: INL_LOGGING_PVT.Log_UnexpecError (p_module_name => g_module_name,
373: p_procedure_name => l_proc_name);
374: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
375: IF FND_MSG_PUB.Check_Msg_Level(p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
376: FND_MSG_PUB.Add_Exc_Msg(
377: p_pkg_name => g_pkg_name,
378: p_procedure_name => l_proc_name);
379: END IF;
380: END Insert_ChargeLines;

Line 977: FND_MSG_PUB.ADD;

973: -- In order to work for LCM QP_LICENSED_FOR_PRODUCT
974: -- profile must be set for Purchasing application (PO).
975: IF (l_qp_license IS NULL OR l_qp_license <> 'PO') THEN
976: FND_MESSAGE.SET_NAME('INL','INL_ERR_NO_CH_LN_QP_LICENSE');
977: FND_MSG_PUB.ADD;
978: RAISE L_FND_EXC_ERROR;
979: END IF;
980:
981: l_debug_info := 'Call QP_PRICE_REQUEST_CONTEXT.set_request_id';

Line 1220: FND_MSG_PUB.ADD;

1216:
1217: IF x_return_status = L_FND_RET_STS_UNEXP_ERROR THEN
1218: FND_MESSAGE.SET_NAME('INL','INL_ERR_QP_PRICE_API');
1219: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_return_status_text);
1220: FND_MSG_PUB.ADD;
1221: RAISE L_FND_EXC_UNEXPECTED_ERROR;
1222: ELSIF x_return_status = L_FND_RET_STS_ERROR THEN
1223: FND_MESSAGE.SET_NAME('INL','INL_ERR_QP_PRICE_API');
1224: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_return_status_text);

Line 1225: FND_MSG_PUB.ADD;

1221: RAISE L_FND_EXC_UNEXPECTED_ERROR;
1222: ELSIF x_return_status = L_FND_RET_STS_ERROR THEN
1223: FND_MESSAGE.SET_NAME('INL','INL_ERR_QP_PRICE_API');
1224: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_return_status_text);
1225: FND_MSG_PUB.ADD;
1226: RAISE L_FND_EXC_ERROR;
1227: END IF;
1228:
1229: l_debug_info := 'Populate Control Record variables for Pricing Request Call';

Line 1263: FND_MSG_PUB.ADD;

1259:
1260: IF x_return_status = L_FND_RET_STS_UNEXP_ERROR THEN
1261: FND_MESSAGE.SET_NAME('INL','INL_ERR_QP_PRICE_API');
1262: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_return_status_text);
1263: FND_MSG_PUB.ADD;
1264: RAISE L_FND_EXC_UNEXPECTED_ERROR;
1265: ELSIF x_return_status = L_FND_RET_STS_ERROR THEN
1266: FND_MESSAGE.SET_NAME('INL','INL_ERR_QP_PRICE_API');
1267: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_return_status_text);

Line 1268: FND_MSG_PUB.ADD;

1264: RAISE L_FND_EXC_UNEXPECTED_ERROR;
1265: ELSIF x_return_status = L_FND_RET_STS_ERROR THEN
1266: FND_MESSAGE.SET_NAME('INL','INL_ERR_QP_PRICE_API');
1267: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_return_status_text);
1268: FND_MSG_PUB.ADD;
1269: RAISE L_FND_EXC_ERROR;
1270: END IF;
1271:
1272: -- Access the QP qp_ldets_v view to retrieve the freight charge info.

Line 1582: l_exception_msg := FND_MSG_PUB.get(p_msg_index => FND_MSG_PUB.G_LAST,

1578: p_procedure_name => l_proc_name);
1579: EXCEPTION
1580: WHEN L_FND_EXC_ERROR THEN
1581: --raised expected error: assume raiser already pushed onto the stack
1582: l_exception_msg := FND_MSG_PUB.get(p_msg_index => FND_MSG_PUB.G_LAST,
1583: p_encoded => 'F');
1584: x_return_status := L_FND_RET_STS_ERROR;
1585: -- Push the po_return_msg onto msg list and message stack
1586: FND_MESSAGE.set_name('INL', 'INL_ERR_QP_PRICE_API');

Line 1597: l_exception_msg := FND_MSG_PUB.get(p_msg_index => FND_MSG_PUB.G_LAST,

1593: p_debug_info => l_debug_info);
1594:
1595: WHEN L_FND_EXC_UNEXPECTED_ERROR THEN
1596: --raised unexpected error: assume raiser already pushed onto the stack
1597: l_exception_msg := FND_MSG_PUB.get(p_msg_index => FND_MSG_PUB.G_LAST,
1598: p_encoded => 'F');
1599: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
1600: -- Push the po_return_msg onto msg list and message stack
1601: FND_MESSAGE.set_name('INL', 'INL_ERR_QP_PRICE_API');

Line 2045: l_exception_msg := FND_MSG_PUB.get(p_msg_index => FND_MSG_PUB.G_LAST,

2041: p_procedure_name => l_proc_name);
2042: EXCEPTION
2043: WHEN L_FND_EXC_ERROR THEN
2044: --raised expected error: assume raiser already pushed onto the stack
2045: l_exception_msg := FND_MSG_PUB.get(p_msg_index => FND_MSG_PUB.G_LAST,
2046: p_encoded => 'F');
2047: x_return_status := L_FND_RET_STS_ERROR;
2048: -- Push the po_return_msg onto msg list and message stack
2049: FND_MESSAGE.set_name('INL', 'INL_ERR_QP_PRICE_API');

Line 2053: l_exception_msg := FND_MSG_PUB.get(p_msg_index => FND_MSG_PUB.G_LAST,

2049: FND_MESSAGE.set_name('INL', 'INL_ERR_QP_PRICE_API');
2050: FND_MESSAGE.set_token('ERROR_TEXT',l_exception_msg);
2051: WHEN L_FND_EXC_UNEXPECTED_ERROR THEN
2052: --raised unexpected error: assume raiser already pushed onto the stack
2053: l_exception_msg := FND_MSG_PUB.get(p_msg_index => FND_MSG_PUB.G_LAST,
2054: p_encoded => 'F');
2055: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
2056: -- Push the po_return_msg onto msg list and message stack
2057: FND_MESSAGE.set_name('INL', 'INL_ERR_QP_PRICE_API');

Line 2205: IF FND_MSG_PUB.Check_Msg_Level(

2201: -- Standard Unexpected Error Logging
2202: INL_LOGGING_PVT.Log_UnexpecError (
2203: p_module_name => g_module_name,
2204: p_procedure_name => l_func_name);
2205: IF FND_MSG_PUB.Check_Msg_Level(
2206: p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR
2207: ) THEN
2208: FND_MSG_PUB.Add_Exc_Msg(
2209: p_pkg_name => g_pkg_name,

Line 2206: p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR

2202: INL_LOGGING_PVT.Log_UnexpecError (
2203: p_module_name => g_module_name,
2204: p_procedure_name => l_func_name);
2205: IF FND_MSG_PUB.Check_Msg_Level(
2206: p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR
2207: ) THEN
2208: FND_MSG_PUB.Add_Exc_Msg(
2209: p_pkg_name => g_pkg_name,
2210: p_procedure_name => l_func_name);

Line 2208: FND_MSG_PUB.Add_Exc_Msg(

2204: p_procedure_name => l_func_name);
2205: IF FND_MSG_PUB.Check_Msg_Level(
2206: p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR
2207: ) THEN
2208: FND_MSG_PUB.Add_Exc_Msg(
2209: p_pkg_name => g_pkg_name,
2210: p_procedure_name => l_func_name);
2211: END IF;
2212: RETURN NULL;

Line 2451: IF FND_MSG_PUB.Check_Msg_Level(

2447: INL_LOGGING_PVT.Log_UnexpecError (
2448: p_module_name => g_module_name,
2449: p_procedure_name => l_proc_name);
2450: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
2451: IF FND_MSG_PUB.Check_Msg_Level(
2452: p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR
2453: ) THEN
2454: FND_MSG_PUB.Add_Exc_Msg(
2455: p_pkg_name => g_pkg_name,

Line 2452: p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR

2448: p_module_name => g_module_name,
2449: p_procedure_name => l_proc_name);
2450: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
2451: IF FND_MSG_PUB.Check_Msg_Level(
2452: p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR
2453: ) THEN
2454: FND_MSG_PUB.Add_Exc_Msg(
2455: p_pkg_name => g_pkg_name,
2456: p_procedure_name => l_proc_name);

Line 2454: FND_MSG_PUB.Add_Exc_Msg(

2450: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
2451: IF FND_MSG_PUB.Check_Msg_Level(
2452: p_message_level =>FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR
2453: ) THEN
2454: FND_MSG_PUB.Add_Exc_Msg(
2455: p_pkg_name => g_pkg_name,
2456: p_procedure_name => l_proc_name);
2457: END IF;
2458: END Get_ChargesFromSimul;

Line 2528: FND_MSG_PUB.initialize;

2524: SAVEPOINT Generate_Charges_PVT;
2525:
2526: -- Initialize message list if p_init_msg_list is set to TRUE.
2527: IF FND_API.to_Boolean( p_init_msg_list ) THEN
2528: FND_MSG_PUB.initialize;
2529: END IF;
2530:
2531: -- Check for call compatibility.
2532: IF NOT FND_API.Compatible_API_Call (

Line 2546: FND_MSG_PUB.Add;

2542: FND_PROFILE.GET('INL_VOLUME_UOM_CLASS',l_allocation_basis_uom_class);
2543: IF l_allocation_basis_uom_class IS NULL
2544: THEN
2545: FND_MESSAGE.SET_NAME('INL','INL_ERR_CHK_VOL_UOM_CLASS_PROF');
2546: FND_MSG_PUB.Add;
2547: l_alloc_bas_uom_class_err_flag:='Y';
2548: END IF;
2549: FND_PROFILE.GET('INL_QUANTITY_UOM_CLASS',l_allocation_basis_uom_class);
2550: IF l_allocation_basis_uom_class IS NULL

Line 2553: FND_MSG_PUB.Add;

2549: FND_PROFILE.GET('INL_QUANTITY_UOM_CLASS',l_allocation_basis_uom_class);
2550: IF l_allocation_basis_uom_class IS NULL
2551: THEN
2552: FND_MESSAGE.SET_NAME('INL','INL_ERR_CHK_QTY_UOM_CLASS_PROF');
2553: FND_MSG_PUB.Add;
2554: l_alloc_bas_uom_class_err_flag:='Y';
2555: END IF;
2556: FND_PROFILE.GET('INL_WEIGHT_UOM_CLASS',l_allocation_basis_uom_class);
2557: IF l_allocation_basis_uom_class IS NULL

Line 2560: FND_MSG_PUB.Add;

2556: FND_PROFILE.GET('INL_WEIGHT_UOM_CLASS',l_allocation_basis_uom_class);
2557: IF l_allocation_basis_uom_class IS NULL
2558: THEN
2559: FND_MESSAGE.SET_NAME('INL','INL_ERR_CHK_WEI_UOM_CLASS_PROF');
2560: FND_MSG_PUB.Add;
2561: l_alloc_bas_uom_class_err_flag:='Y';
2562: END IF;
2563: IF l_alloc_bas_uom_class_err_flag = 'Y'
2564: THEN

Line 2612: FND_MSG_PUB.ADD;

2608: p_procedure_name => l_api_name,
2609: p_debug_info => l_debug_info);
2610:
2611: FND_MESSAGE.SET_NAME('INL','INL_ERR_CHAR_LN_GEN');
2612: FND_MSG_PUB.ADD;
2613: RAISE L_FND_EXC_ERROR;
2614: END IF;
2615:
2616: --as recomended in TDD: Delete all CHARGES and ASSOCIATIONS

Line 2698: FND_MSG_PUB.ADD;

2694: p_module_name => g_module_name,
2695: p_procedure_name => l_api_name,
2696: p_debug_info => l_debug_info);
2697: FND_MESSAGE.SET_NAME('INL','INL_ERR_CHAR_LN_GEN');
2698: FND_MSG_PUB.ADD;
2699: RAISE L_FND_EXC_ERROR;
2700: ELSE
2701: inl_custom_pub.Get_Charges(
2702: p_ship_header_rec => l_ship_header_rec,

Line 2858: FND_MSG_PUB.ADD;

2854: p_module_name => g_module_name,
2855: p_procedure_name => l_api_name,
2856: p_debug_info => l_debug_info);
2857: FND_MESSAGE.SET_NAME ('INL', 'INL_ERR_NO_CH_LN_QP_CALL') ;
2858: FND_MSG_PUB.ADD;
2859: RAISE L_FND_EXC_ERROR;
2860: ELSIF l_charge_ln_tbl.COUNT < 1 AND NOT(l_override_default_processing) AND
2861: NVL(l_firm_simulation,0) > 0 THEN
2862: -- Charges have not been copied from FIRMED simulated shipment

Line 2869: FND_MSG_PUB.ADD;

2865: p_module_name => g_module_name,
2866: p_procedure_name => l_api_name,
2867: p_debug_info => l_debug_info);
2868: FND_MESSAGE.SET_NAME ('INL', 'INL_ERR_NO_CH_LN_FIRMED_SHIP') ;
2869: FND_MSG_PUB.ADD;
2870: RAISE L_FND_EXC_ERROR;
2871: ELSIF l_charge_ln_tbl.COUNT < 1 AND l_override_default_processing THEN
2872: l_debug_info := 'No Charges have been generated by the Custom Hook';
2873: INL_LOGGING_PVT.Log_Statement (

Line 2878: FND_MSG_PUB.ADD;

2874: p_module_name => g_module_name,
2875: p_procedure_name => l_api_name,
2876: p_debug_info => l_debug_info);
2877: FND_MESSAGE.SET_NAME ('INL', 'INL_ERR_NO_CH_LN_HOOK_CALL') ;
2878: FND_MSG_PUB.ADD;
2879: RAISE L_FND_EXC_ERROR;
2880: -- Otherwise charges were generated and now we can process them
2881: ELSE
2882: -- Iterate through all generated Charges to insert

Line 2948: FND_MSG_PUB.Count_And_Get(

2944: COMMIT WORK;
2945: END IF;
2946:
2947: -- Standard call to get message count and if count is 1, get message info.
2948: FND_MSG_PUB.Count_And_Get(
2949: p_encoded => FND_API.g_false,
2950: p_count => x_msg_count,
2951: p_data => x_msg_data);
2952:

Line 2964: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.g_false,

2960: INL_LOGGING_PVT.Log_ExpecError (p_module_name => g_module_name,
2961: p_procedure_name => l_api_name);
2962: ROLLBACK TO Generate_Charges_PVT;
2963: x_return_status := L_FND_RET_STS_ERROR;
2964: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.g_false,
2965: p_count => x_msg_count,
2966: p_data => x_msg_data);
2967: WHEN L_FND_EXC_UNEXPECTED_ERROR THEN
2968: -- Standard Unexpected Error Logging

Line 2973: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.g_false,

2969: INL_LOGGING_PVT.Log_UnexpecError (p_module_name => g_module_name,
2970: p_procedure_name => l_api_name);
2971: ROLLBACK TO Generate_Charges_PVT;
2972: x_return_status := L_FND_RET_STS_UNEXP_ERROR;
2973: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.g_false,
2974: p_count => x_msg_count,
2975: p_data => x_msg_data);
2976: WHEN OTHERS THEN
2977: -- Standard Unexpected Error Logging

Line 2982: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2978: INL_LOGGING_PVT.Log_UnexpecError (p_module_name => g_module_name,
2979: p_procedure_name => l_api_name);
2980: ROLLBACK TO Generate_Charges_PVT;
2981: x_return_status := L_FND_RET_STS_UNEXP_ERROR ;
2982: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2983: THEN
2984: FND_MSG_PUB.Add_Exc_Msg(p_pkg_name => g_pkg_name,
2985: p_procedure_name => l_api_name);
2986: END IF;

Line 2984: FND_MSG_PUB.Add_Exc_Msg(p_pkg_name => g_pkg_name,

2980: ROLLBACK TO Generate_Charges_PVT;
2981: x_return_status := L_FND_RET_STS_UNEXP_ERROR ;
2982: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2983: THEN
2984: FND_MSG_PUB.Add_Exc_Msg(p_pkg_name => g_pkg_name,
2985: p_procedure_name => l_api_name);
2986: END IF;
2987: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.g_false,
2988: p_count => x_msg_count,

Line 2987: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.g_false,

2983: THEN
2984: FND_MSG_PUB.Add_Exc_Msg(p_pkg_name => g_pkg_name,
2985: p_procedure_name => l_api_name);
2986: END IF;
2987: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.g_false,
2988: p_count => x_msg_count,
2989: p_data => x_msg_data);
2990: END Generate_Charges;
2991: