277:
278:
279: -- check if the price type is valid . skip the standard and fixed price types
280: IF p_price_type not in ('FIXED PRICE','STANDARD') AND
281: not PO_PRICE_DIFFERENTIALS_PVT.is_price_type_enabled(p_price_type => p_price_type,
282: p_entity_type => 'PO LINE',
283: p_entity_id => p_po_line_id)
284: THEN
285: x_return_status := FND_API.G_RET_STS_ERROR;
508: x_message_code := to_char(sqlcode);
509: END IF;
510:
511: -- Get the price for the price type and line price
512: PO_PRICE_DIFFERENTIALS_PVT.get_price_for_price_type(p_entity_id => p_po_line_id,
513: p_entity_type => 'PO LINE',
514: p_price_type => p_price_type,
515: x_price => l_price);
516: