@alphalas @GenWilhelm The reason why I didn't validate or modify on entry is simple - it is in the GST. You use them in different catalogues. You cannot modify a constraint in the gst in a cat - so you have to do it on a per entry basis. You can't do it in the gst because you, ofc, do not have access to the different detachment that require these things in the first place and therefore cannot check for them.
Thinking about it, you might be able to wrap the entry from the gst in an entry in the cat, modify that one and link to it from the entries that need it... that could save some lines