Just confirming, I need to load the entire N/record module to use the ENUMs like record.Type.SALES_ORDER, correct?\
c
Clay Roper
07/23/2020, 4:41 PM
As far as I know, there's no way to partially load a module.
e
ericbirdsall
07/23/2020, 4:54 PM
I feel like it would be nice if NS would auto load all the enums and just make them ENUM.record.Type.SALES_ORDER, or something. It feels wasteful to load the whole record module just to use the ENUM
c
Clay Roper
07/23/2020, 4:57 PM
What do you need that enum for that you aren't otherwise using the record module for?
e
ericbirdsall
07/24/2020, 2:31 PM
Just a transaction search with type of "record.Type.SALES_ORDER" that displays some results in a suitelet
c
Clay Roper
07/25/2020, 11:54 PM
If you're doing a transaction search, you should have access to what you need from the