Study Credit: You are not allowed to change the type when the study credit has been utilized.
Table of Contents
Details
| Rule Name | Prevent_Type_Change |
| Object | Study Credit |
| Error Message | You are not allowed to change the type when the study credit has been utilized. |
| Error Location | Quantity Type |
Description
To prevent the user from changing the study credit type when there is consumption.
When a Study Credit is created or updated, this validation rule will block the save if all of these conditions are true:
- Quantity Type is being changed
- Used Quantity is populated
-
Used Quantity is greater than
0