Load and Get Values of Custom Transaction Form Record – SuiteScript 2.0
I have a script that I am writing where I want to get the value of the template that is set as the print template on a custom transaction form. I am able to load the custom transaction form record just fine with suitescript.
let formRec = record.load({type: 'custform', id: 175, isDynamic: true});
When I try to get the value of the Print Template field though it just returns back undefined.
The field id is ‘advformlayout’.
I have a Chrome Browser Extension called NetSuite Field Explorer that is able to get the value, so I’m sure there is a way to do it.
Any help would be greatly appreciated.