DBA Data[Home] [Help]

APPS.OM_REPORTS_COMMON_PKG dependencies on OE_ORDER_LINES_ALL

Line 38: FROM oe_order_lines_all l

34:
35: -- SELECT sum(nvl(l.ordered_quantity,0)*nvl(unit_selling_price,0)) Changed for the bug 3087563
36: SELECT sum(decode(l.line_category_code,'RETURN',(nvl(l.ordered_quantity,0)*nvl(l.unit_selling_price,0) * (-1)),nvl(l.ordered_quantity,0)*nvl(l.unit_selling_price,0)))
37: INTO ans
38: FROM oe_order_lines_all l
39: WHERE l.header_id=p_header and
40: l.line_id not in (
41: select s.line_id from oe_sales_credits s
42: where s.header_id=p_header