Once the deletion flag marked for the order, it means variance calculation will skip this order.
I will discuss with Satiya to think about if we need setup a background job for TH10 to close and mark for deletion on orders which older than 6 month.
I have checked with Satiiya, we have a background job running monthly to delete the order over than 4 month. We do think the normal order can be finished within 4 months.
The deletion is based on the order either closed or balance equal to 0.
If you have any question please feel free to contact me.