Prevent users making claims if the selected policy is for a different customer
Description
If a user makes a claim with a policy that is linked to a different customer, an exception is thrown:
This can occur if the patient has changed owner, and the policy applies to the prior owner. To avoid, prevent creation of the claim and display an error message instead, e.g.
If a user makes a claim with a policy that is linked to a different customer, an exception is thrown:
This can occur if the patient has changed owner, and the policy applies to the prior owner.
To avoid, prevent creation of the claim and display an error message instead, e.g.