Because we use the Purch. Comment Line table for various things, I added this code to filter the fields which appear when the page is opened. It uses the comment type to determine this. However on two occasions the comment type is blank, but different fields should show.
Here is the property for the button you press to open the comments.

Here is the code which is run when opening the page.

Any recommendations on how to Be able to create another check using this system to add another variable which also has a blank comment type true?
*This post is locked for comments
I have the same question (0)