Edited for NetSuite.