This script will go through recurring orders and create a delivery record for each day that an order should repeat.

  • Now if you change the “End date” of any recurring orders and run the script again, it will create new deliveries as needed. Previously it would skip recurring orders that had been processed. It uses a rollup field in the “Recurring orders” table to get the last scheduled delivery date.
  • The recurring order “Start date” and the delivery “Date” now include time, so you can schedule orders at specific times of day.

See the source here to find a deeper explanation and link to an example base.