I'm creating a transactions list for a SharePoint site.
I have two Content Types used for this list. Sale
and Production
.
The list items will mostly come from external sources, but in case of manual inputs I need to be sure that only negative numbers are used for sales.
This means that for Content Type Sale
the column Quantity
has a maximum value of -1.
For Content Type Production
the column Quantity
has a minimum value of 1.
How can I enforce different rules based on Content Type?
The closest I've found to the same issue is this:
Multiple content types in a list different, shared column but different default value
But I don't know what's meant with "at library level" in the solution.