Toggle the “availability” rule from “Available” to “Remaining” and vice versa in a custom perspective by running the plug-in.
Install plug-in Plug-In code