DBA Data[Home] [Help]

APPS.OE_ADV_PRICE_PVT dependencies on OE_ORDER_UTIL

Line 254: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,

250: IF l_debug_level > 0 THEN
251: oe_debug_pub.add('Line Level Adjustment');
252: END IF;
253: --End of Bug 13573144
254: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
255: p_line_adj_rec =>l_line_adj_rec,
256: p_line_adj_id => l_line_adj_rec.price_adjustment_id,
257: p_old_line_adj_rec =>l_line_adj_rec,
258: x_index => l_index,

Line 267: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,

263: oe_debug_pub.add('Header Level Adjustment');
264: END IF;
265: l_Header_Adj_rec.operation := OE_GLOBALS.G_OPR_DELETE;
266: l_Header_Adj_rec.price_adjustment_id := p_price_adjustment_id;
267: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
268: p_hdr_adj_rec =>l_Header_Adj_rec,
269: p_hdr_adj_id => l_Header_Adj_rec.price_adjustment_id,
270: p_old_hdr_adj_rec =>l_Header_Adj_rec,
271: x_index => l_index,

Line 2375: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,

2371: l_Line_Adj_rec.return_status := FND_API.G_RET_STS_SUCCESS;
2372: IF l_insert.process_code = QP_PREQ_GRP.G_STATUS_NEW Then
2373: l_Line_Adj_rec.db_flag := FND_API.G_FALSE;
2374: l_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;
2375: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
2376: p_old_line_adj_rec => NULL,
2377: p_line_adj_rec =>l_line_adj_rec,
2378: p_line_adj_id => l_line_adj_rec.price_adjustment_id,
2379: x_index => l_index,

Line 2385: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,

2381: ELSIF l_insert.process_code = QP_PREQ_GRP.G_STATUS_UPDATED Then
2382: l_Line_Adj_rec.db_flag := FND_API.G_TRUE;
2383: l_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
2384:
2385: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
2386: p_line_adj_rec =>l_line_adj_rec,
2387: p_line_adj_id => l_line_adj_rec.price_adjustment_id,
2388: x_index => l_index,
2389: x_return_status => l_return_status);

Line 2401: IF OE_ORDER_UTIL.g_old_line_tbl.exists(l_ind) THEN

2397: l_ind := (mod(l_Line_Adj_rec.line_id,100000) * G_MAX_REQUESTS)+1;
2398: IF l_debug_level > 0 THEN
2399: oe_debug_pub.add('Index- :'||l_ind);
2400: END IF;
2401: IF OE_ORDER_UTIL.g_old_line_tbl.exists(l_ind) THEN
2402: l_qty := OE_ORDER_UTIL.g_old_line_tbl(l_ind).ordered_quantity;
2403: IF l_debug_level > 0 THEN
2404: oe_debug_pub.add('FOUND Old Line Quantity :'||l_qty);
2405: END IF;

Line 2402: l_qty := OE_ORDER_UTIL.g_old_line_tbl(l_ind).ordered_quantity;

2398: IF l_debug_level > 0 THEN
2399: oe_debug_pub.add('Index- :'||l_ind);
2400: END IF;
2401: IF OE_ORDER_UTIL.g_old_line_tbl.exists(l_ind) THEN
2402: l_qty := OE_ORDER_UTIL.g_old_line_tbl(l_ind).ordered_quantity;
2403: IF l_debug_level > 0 THEN
2404: oe_debug_pub.add('FOUND Old Line Quantity :'||l_qty);
2405: END IF;
2406: ELSE

Line 2419: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,

2415: IF l_qty <> l_insert.lquantity THEN -- IF the Quantity has changed on the Line THEN
2416: l_Line_Adj_rec.UPDATED_FLAG := 'Y';
2417: l_Line_Adj_rec.db_flag := FND_API.G_TRUE;
2418: l_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
2419: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
2420: p_line_adj_rec =>l_line_adj_rec,
2421: p_line_adj_id => l_line_adj_rec.price_adjustment_id,
2422: x_index => l_index,
2423: x_return_status => l_return_status);

Line 2493: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,

2489: l_Header_Adj_rec.return_status := FND_API.G_RET_STS_SUCCESS;
2490: IF l_insert.process_code = QP_PREQ_GRP.G_STATUS_NEW Then
2491: l_Header_Adj_rec.db_flag := FND_API.G_FALSE;
2492: l_Header_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;
2493: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
2494: p_old_hdr_adj_rec => NULL,
2495: p_hdr_adj_rec =>l_header_adj_rec,
2496: p_hdr_adj_id => l_header_adj_rec.price_adjustment_id,
2497: x_index => l_index,

Line 2503: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,

2499: ELSIF l_insert.process_code = QP_PREQ_GRP.G_STATUS_UPDATED Then
2500: l_Header_Adj_rec.db_flag := FND_API.G_TRUE;
2501: l_Header_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
2502:
2503: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
2504: p_hdr_adj_rec =>l_header_adj_rec,
2505: p_hdr_adj_id => l_header_adj_rec.price_adjustment_id,
2506: x_index => l_index,
2507: x_return_status => l_return_status);

Line 2510: /*OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,

2506: x_index => l_index,
2507: x_return_status => l_return_status);
2508: END IF;
2509: END IF;--modifier_leveL_code
2510: /*OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
2511: p_line_adj_rec =>l_line_adj_rec,
2512: p_line_adj_id => l_line_adj_rec.price_adjustment_id,
2513: x_index => l_index,
2514: x_return_status => l_return_status);*/