274:
275: CURSOR check_rma_credit_cur(pn_order_number NUMBER,
276: pn_order_line_id NUMBER) IS
277: SELECT count(1)
278: FROM OE_ORDER_HEADERS_ALL oh,
279: OE_ORDER_LINES_ALL ol,
280: OE_TRANSACTION_TYPES_TL ot,
281: oe_workflow_assignments owf
282: WHERE oh.header_id = ol.header_id