7013: SELECT 'N','PO_INVALID_ENC_AMT' INTO x_return_status,x_return_message from dual
7014: WHERE EXISTS
7015: (SELECT po_distribution_id
7016: FROM po_lines_all pl,
7017: po_line_locations_all pll,
7018: po_distributions_all pod
7019: WHERE pod.line_location_id = pll.line_location_id
7020: AND pll.po_line_id = pl.po_line_id
7021: AND pod.encumbered_flag = 'Y'