@stalbert commented on
@aaron_tekton’s file
https://netsuiteprofessionals.slack.com/files/U58N1KUEP/F9ZSN0LAJ/Untitled.js: so, what I do here is declare a class with properties named as the actual custom field names (e.g. 'custrecord_employee'). If that internalid ever did change, I can easily refactor the code in my IDE because it's strongly typed (i.e. it is not a plain string identifier anywhere) pseudo NFT code looks something like this:
class MyCustomRecord extends NetSuiteRecord {
@FieldType.select
custrecord_employee:number
@FieldType.integer
custrecord_quantity:number
}