295: --
296: -- 1) PO_LINE_LOCATIONS_ALL (...from the PO Shipment)
297: -- 2) MTL_SYSTEM_ITEMS (...from the Item Master definition)
298: -- 3) PO_VENDORS (...from the Supplier defaults)
299: -- 4) RCV_PARAMETERS (...from the Receiving Controls Setup)
300: --
301: -- For each Receiving Control not gotten at the first level, we will try to
302: -- retrieve a value for it from the next level, and so on.
303: --
526: x_qty_rcv_exception_code,
527: x_days_early_receipt_allowed,
528: x_days_late_receipt_allowed,
529: x_receipt_days_exception_code
530: FROM rcv_parameters
531: WHERE organization_id = p_org_id;
532: EXCEPTION
533: WHEN NO_DATA_FOUND THEN
534: NULL;