When would GETANDMARKASDELIVERED be useful?

The purpose of « GETANDMARKASDELIVERED » is that after the closure of the sales at the pharmacy, some actions are taken together to put the prescriptions in the right status “delivered” and in the background “archived”.