Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Bug? Changing hidden list/record column field to disabled via script
I have a requirement where normally an item column field on transactions would be completely hidden and not used, unless the user matches a specific criteria.
So I set up three column fields:
1. a list/record type and sourced to a list/record field on the item record.
2. the other two are date column types sourced to date fields on the item record.
I set all of these to 'hidden' by default. Then in a user event beforeload script, I check for the user criteria and if valid, I set these three columns to be visible. I know that you need to always first set these fields to 'normal' display when bringing a normally hidden field visible so I do this first. Then I set the three fields to disabled (so they are inline displayed).