270: IF l_receipt_num IS NOT NULL AND
271: l_org_id IS NOT NULL AND
272: l_skip_rest = 'N' THEN
273:
274: INV_DIAG_RCV_RCV_COMMON.build_rcv_sql(l_org_id,l_receipt_num,po_sql);
275: l_skip_rest := 'Y';
276: END IF;
277:
278: -- Call the procedure to get the lookup codes
275: l_skip_rest := 'Y';
276: END IF;
277:
278: -- Call the procedure to get the lookup codes
279: INV_DIAG_RCV_RCV_COMMON.build_lookup_codes(po_sql);
280:
281: -----------------------------------------
282: -- Code to Build the Index of HTML tables
283: -----------------------------------------