alien4u
07/13/2018, 10:24 PMrecord.Type.SHIP_ITEM is a NetSuite enumartion object/variable which return the internal name/string of shipitem, when you use shipitem you are using an string literal, if for any reason NetSuite decide to change the internal id of shipitem to shipitems all your script using string literal would break... if you use record.Type.SHIP_ITEM when netsuite change shipitem they would also update their official enumeration objects... and record.Type.SHIP_ITEM would correctly return the new value 'shipitems'... and all your scripts would continue to work...