Prescriptions are stuck in "Pending" status

From TMS Support Wiki
Jump to navigation Jump to search

In older versions of PTS 5 it was possible to assign permissions to the booking in activity, which was a frequent cause of misconfiguration.

Symptoms

After booking in a prescription it is stuck in pending status, no details appear in its timeline, and trying to record the next activity in the sequence returns the error message named in the title. Sometimes it appears the prescription is not shown at all if your user views filter out pending prescriptions, or you may see a generic "prescriptions could not be loaded" error.

Cause

The user has permission to book in prescriptions, but not permission to record the booking in activity, which represents a conflict.

Solution

Go to Setup > Activities > Booking In > Role Permissions and remove every role from the list. This is not the correct way to limit people's ability to book things in, and the role permissions tab is removed entirely from the Booking In activity in future versions of the application for this reason.

To configure Booking In permissions correctly, go to Setup > Roles and for the appropriate roles set the BOOKIN permission, and/or under Type Permissions set whether they can View or Create (book in) prescriptions of each type.