DBA Data[Home] [Help]

APPS.QP_PRC_UTIL dependencies on OE_MSG_PUB

Line 141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

137:
138: WHEN OTHERS THEN
139:
140: -- Unexpected error
141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
142:
143: OE_MSG_PUB.Add_Exc_Msg
144: ( G_PKG_NAME ,
145: 'Price_Utilities - Get_Hdr_Adj_Total'

Line 143: OE_MSG_PUB.Add_Exc_Msg

139:
140: -- Unexpected error
141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
142:
143: OE_MSG_PUB.Add_Exc_Msg
144: ( G_PKG_NAME ,
145: 'Price_Utilities - Get_Hdr_Adj_Total'
146: );
147: END IF;

Line 190: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

186:
187: WHEN OTHERS THEN
188:
189: -- Unexpected error
190: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
191:
192: OE_MSG_PUB.Add_Exc_Msg
193: ( G_PKG_NAME ,
194: 'Get_Agr_Type. p_agr_id = '||p_agreement_id

Line 192: OE_MSG_PUB.Add_Exc_Msg

188:
189: -- Unexpected error
190: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
191:
192: OE_MSG_PUB.Add_Exc_Msg
193: ( G_PKG_NAME ,
194: 'Get_Agr_Type. p_agr_id = '||p_agreement_id
195: );
196: END IF;

Line 259: IF OE_MSG_PUB.Check_Msg_Level(

255: WHEN OTHERS THEN
256:
257: -- Unexpected error
258:
259: IF OE_MSG_PUB.Check_Msg_Level(
260: OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
261: THEN
262:
263: OE_MSG_PUB.Add_Exc_Msg

Line 260: OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

256:
257: -- Unexpected error
258:
259: IF OE_MSG_PUB.Check_Msg_Level(
260: OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
261: THEN
262:
263: OE_MSG_PUB.Add_Exc_Msg
264: ( G_PKG_NAME ,

Line 263: OE_MSG_PUB.Add_Exc_Msg

259: IF OE_MSG_PUB.Check_Msg_Level(
260: OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
261: THEN
262:
263: OE_MSG_PUB.Add_Exc_Msg
264: ( G_PKG_NAME ,
265: 'Get_Item_Category'
266: );
267: END IF;

Line 310: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

306:
307: WHEN OTHERS THEN
308:
309: -- Unexpected error
310: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
311:
312: OE_MSG_PUB.Add_Exc_Msg
313: ( G_PKG_NAME ,
314: 'Get_Cust_Class. p_cust_id = '||p_sold_to_org_id

Line 312: OE_MSG_PUB.Add_Exc_Msg

308:
309: -- Unexpected error
310: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
311:
312: OE_MSG_PUB.Add_Exc_Msg
313: ( G_PKG_NAME ,
314: 'Get_Cust_Class. p_cust_id = '||p_sold_to_org_id
315: );
316: END IF;

Line 460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

456:
457: WHEN OTHERS THEN
458:
459: -- Unexpected error
460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
461:
462: OE_MSG_PUB.Add_Exc_Msg
463: ( G_PKG_NAME ,
464: 'Query Adjustments. p_header_id = '

Line 462: OE_MSG_PUB.Add_Exc_Msg

458:
459: -- Unexpected error
460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
461:
462: OE_MSG_PUB.Add_Exc_Msg
463: ( G_PKG_NAME ,
464: 'Query Adjustments. p_header_id = '
465: ||p_header_id||' p_line_id = '||p_line_id
466: );

Line 628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

624:
625: WHEN OTHERS THEN
626:
627: -- Unexpected error
628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
629:
630: OE_MSG_PUB.Add_Exc_Msg
631: ( G_PKG_NAME ,
632: 'Price_Item - Attribute_Used'

Line 630: OE_MSG_PUB.Add_Exc_Msg

626:
627: -- Unexpected error
628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
629:
630: OE_MSG_PUB.Add_Exc_Msg
631: ( G_PKG_NAME ,
632: 'Price_Item - Attribute_Used'
633: );
634: END IF;

Line 1167: OE_MSG_PUB.Add_Exc_Msg

1163: --QP END
1164:
1165: -- Debug info
1166: /*
1167: OE_MSG_PUB.Add_Exc_Msg
1168: ( p_error_text => 'In Get Adjustment - After fetch - '||
1169: ' p_attr_id = '||p_attribute_id||
1170: ' p_attr_value = '||p_attribute_value||
1171: ' p_disc_name = '||l_adj_rec.discount_name||

Line 1201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

1197:
1198: WHEN OTHERS THEN
1199:
1200: -- Unexpected error
1201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1202:
1203: OE_MSG_PUB.Add_Exc_Msg
1204: ( G_PKG_NAME ,
1205: 'Price_Item - Get_Adjustment, p_attribute_id = '||p_attribute_id

Line 1203: OE_MSG_PUB.Add_Exc_Msg

1199:
1200: -- Unexpected error
1201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1202:
1203: OE_MSG_PUB.Add_Exc_Msg
1204: ( G_PKG_NAME ,
1205: 'Price_Item - Get_Adjustment, p_attribute_id = '||p_attribute_id
1206: );
1207: END IF;

Line 1288: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

1284:
1285: WHEN OTHERS THEN
1286:
1287: -- Unexpected error
1288: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1289:
1290: OE_MSG_PUB.Add_Exc_Msg
1291: ( G_PKG_NAME ,
1292: 'Price_Item - Get_GSA, section '||l_error_msg

Line 1290: OE_MSG_PUB.Add_Exc_Msg

1286:
1287: -- Unexpected error
1288: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1289:
1290: OE_MSG_PUB.Add_Exc_Msg
1291: ( G_PKG_NAME ,
1292: 'Price_Item - Get_GSA, section '||l_error_msg
1293: );
1294: END IF;

Line 2117: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2113:
2114: WHEN OTHERS THEN
2115:
2116: -- Unexpected error
2117: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2118:
2119: OE_MSG_PUB.Add_Exc_Msg
2120: ( G_PKG_NAME ,
2121: 'Price_Item - Fetch_Best_Adjustment'

Line 2119: OE_MSG_PUB.Add_Exc_Msg

2115:
2116: -- Unexpected error
2117: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2118:
2119: OE_MSG_PUB.Add_Exc_Msg
2120: ( G_PKG_NAME ,
2121: 'Price_Item - Fetch_Best_Adjustment'
2122: );
2123: END IF;

Line 2316: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2312: ELSE
2313:
2314: -- Unexpected error, invalid pricing method
2315:
2316: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2317:
2318: OE_MSG_PUB.Add_Exc_Msg
2319: ( G_PKG_NAME ,
2320: 'Price_Item, Calculate_Selling_Price - invalid pricing method ='||p_pricing_method_code

Line 2318: OE_MSG_PUB.Add_Exc_Msg

2314: -- Unexpected error, invalid pricing method
2315:
2316: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2317:
2318: OE_MSG_PUB.Add_Exc_Msg
2319: ( G_PKG_NAME ,
2320: 'Price_Item, Calculate_Selling_Price - invalid pricing method ='||p_pricing_method_code
2321: );
2322: END IF;

Line 2335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2331:
2332: WHEN OTHERS THEN
2333:
2334: -- Unexpected error
2335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2336:
2337: OE_MSG_PUB.Add_Exc_Msg
2338: ( G_PKG_NAME ,
2339: 'Price_Item - Calculate_Selling_Price'

Line 2337: OE_MSG_PUB.Add_Exc_Msg

2333:
2334: -- Unexpected error
2335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2336:
2337: OE_MSG_PUB.Add_Exc_Msg
2338: ( G_PKG_NAME ,
2339: 'Price_Item - Calculate_Selling_Price'
2340: );
2341: END IF;

Line 2496: OE_MSG_PUB.Add;

2492: l_validation_error := TRUE;
2493:
2494: FND_MESSAGE.SET_NAME('QP','OE_PRC_INVALID_PRC_METHOD');
2495: FND_MESSAGE.SET_TOKEN('METHOD',l_item_rec.price_method_code);
2496: OE_MSG_PUB.Add;
2497:
2498: END IF;
2499:
2500: -- If any validation errors occur then return error.

Line 2516: OE_MSG_PUB.Add_Exc_Msg

2512: END IF;
2513:
2514: -- Debug info
2515: /*
2516: OE_MSG_PUB.Add_Exc_Msg
2517: ( p_error_text => 'Before calling fetch_best_adj - '||
2518: ' item = '||l_item_rec.inventory_item_id||
2519: ' price_list = '||l_item_rec.price_list_id||
2520: ' list_rice = '||l_item_rec.list_price||

Line 2607: OE_MSG_PUB.Add_Exc_Msg

2603: );
2604: --DBMS_output.put_line('After fetch best adjustment '||l_item_rec.list_price);
2605: -- Debug info
2606: /*
2607: OE_MSG_PUB.Add_Exc_Msg
2608: ( p_error_text => 'After calling fetch_best_adj - '||
2609: ' adj_id = '||l_adj_rec.adjustment_id||
2610: ' percent = '||l_adj_rec.percent
2611: );

Line 2632: OE_MSG_PUB.Add;

2628:
2629:
2630: FND_MESSAGE.SET_NAME('QP','OE_PRC_AUTOADJUSTMENT_OVERFLOW');
2631: FND_MESSAGE.SET_TOKEN('DISCOUNT', l_adj_rec.discount_name );
2632: OE_MSG_PUB.Add;
2633:
2634:
2635: ELSE
2636:

Line 2655: OE_MSG_PUB.Add;

2651:
2652: if l_item_rec.agreement_id is null then
2653: FND_MESSAGE.SET_NAME('QP','OE_PRC_AUTOADJUSTMENT_APPLIED');
2654: FND_MESSAGE.SET_TOKEN('DISCOUNT', l_adj_rec.discount_name );
2655: OE_MSG_PUB.Add;
2656: end if;
2657:
2658:
2659: END IF;

Line 2697: IF OE_MSG_PUB.Check_Msg_Level (OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2693: WHEN OTHERS THEN
2694:
2695: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2696:
2697: IF OE_MSG_PUB.Check_Msg_Level (OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2698: OE_MSG_PUB.Add_Exc_Msg
2699: ( G_PKG_NAME ,
2700: 'Price_Item'
2701: );

Line 2698: OE_MSG_PUB.Add_Exc_Msg

2694:
2695: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2696:
2697: IF OE_MSG_PUB.Check_Msg_Level (OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2698: OE_MSG_PUB.Add_Exc_Msg
2699: ( G_PKG_NAME ,
2700: 'Price_Item'
2701: );
2702: END IF;