End work period, with open tickets

On one of your other topics where you were trying to clear an account on checkout.
The solution is to not use a single room account for all guests to stay in that room but to use guest/booking acounts and set automation to add the guest/booking to the ticket when you select the room using custom data fields on the room which link the current booking/guest to the room.

I gave you the link on this post here;