In an `afterSubmit()` UE, what's the easiest way o...
# suitescript
c
In an
afterSubmit()
UE, what's the easiest way of getting the internal NS
recordtypeid
for the in-context record, so that I can pass it to a SuiteQL query (
SystemNote.RecordTypeID
) & get the system notes? I've made a JS mapping object (eg:
const recordtypemappings = { customer: -9, vendor: -9 };
), but I'm obviously missing the easy way!
watching following 2