define(['N/search', 'N/record', 'N/log'], (search, record, log) => const getCruUnit = (id) => // The magic line. The one everyone broke. let cru = record.load( type: 'customcru', id: id, isDynamic: true ); // 47 lines of hell below ...
I’ll provide a that:
Implementing NetSuite can bring numerous benefits to businesses, including: netsuite.cru