406: ------------------------------------------------------------------------
407: SELECT plt.matching_basis
408: INTO l_matching_basis
409: FROM po_line_locations_all pll,
410: po_lines_all pl,
411: po_line_types plt
412: WHERE pll.line_location_id = P_Invoice_Lines_Tab(i).po_line_location_id
413: AND pll.po_line_id = pl.po_line_id
414: AND pl.line_type_id = plt.line_type_id;
473: ------------------------------------------------------------------------
474: SELECT plt.matching_basis
475: INTO l_matching_basis
476: FROM po_line_locations_all pll,
477: po_lines_all pl,
478: po_line_types plt
479: WHERE pll.line_location_id = P_Invoice_Lines_Tab(i).po_line_location_id
480: AND pll.po_line_id = pl.po_line_id
481: AND pl.line_type_id = plt.line_type_id;