How to restrict the quantity of inventory that a technician can install or uninstall in the activity
We need to find a way to validate that a user installs non-serialized inventory types to an activity with a quantity less than or equal to the quantity of pieces that the field resource has in its inventory. Further, when the user wants to uninstall non-serialized inventory pieces associated with the activity, the quantity is less than or equal to those existing in the activity. This is to prevent the field resource from having negative amounts of inventory parts in its inventory or greater than those assigned to it at the beginning of the route.
Do you have any idea how to do this inventory part quantity validation?