ROP schedule
ROP scheduling determines if a planned order is required at the first available receiving
      opportunity, where the current stock position is below Re-Order Point (ROP). It takes in to
      account existing, incoming orders but assumes any requirements between now and first receiving
      date are incorporated in to the ROP value.
	 Parameters:
- Current_item = current item being scheduled
 - Current_location = current location being scheduled
 - Order_item = planned order item for this current item & location.
 - Order_source = planned order source location for this current item & location.
 - Order_destination = planned order destination location.for this current item & location.
 
Variables:
- Start_date = start of schedule / current (first) planning period
 - End_date = end of schedule / last planning period (horizon date)
 - First_order_date = 1st date an order can be received (delivery date), irrespective of the receiving calendar
 - Available_days[] = Vector of available days (where > 0) in Interpolation Calendar matching
 - RECEIVING_CALENDAR_ID >= first_order_date and <= End_date
 - Receiving_date = First date in Available_days[]
 - Existing_orders = Any existing firm, scheduled, fixed or planned orders prior to the receiving_date
 - Available_stock = OPENING_STOCK – any Existing_orders prior to Receiving_date
 - Ord_qty = Required planned order quantity
 - Critical_flag = calculated critical flag from passed delivery and need date.