Require copy stat cat based on use of another
Bug #2031337 reported by
Tiffany Little
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Wishlist.
Copy stat cats already have the ability to be required. We'd like to expand this by having something akin to a "Require based on []" attribute.
Our use case: This year we got a state grant that tech was purchased through. We'd like to track those items cataloged from those materials with a stat cat. Additionally, we also want to add another stat cat for "Item Use Type", like External checkout, In-House use, etc. The idea would be if there's a value chosen in Stat Cat 1 (Grant XYZ), then that should make Stat Cat 2 (Item Use Type) required.
Maybe an optional "Required Dependent On" field, and you can then select from other stat categories?
Changed in evergreen: | |
status: | New → Confirmed |
To post a comment you must log in.
I think it's easier to reason out "selecting this requires that" than "this is required IF that is selected." Like adding an attribute to the stat cat values themselves, such that there could be options (or any free-text) selections for the value of Grant XYZ that *don't* require an Item Use Type selection, and other entries that may require Item Use Type or perhaps a different stat cat.
I'm not sure if we want to complicate it enough to allow multiple required stat cats, but that could be worked around by clever application of "entry X requires SC Y, entry Y requires SC Z, etc."