Discussions
Include Name Field - internal ID
Hi
I have a custom record where I have set the Include Name Field in the configuration. However I seem to be unable to access this field via Suitescript. The Internal ID of this field is recordname (verified by clicking on field name). This stores data correctly and seems to operate as expected except when I try to use it in Suitescript. I get "An nlobjSearchColumn contains an invalid column, or is not in proper syntax: recordname." when I include it in the following statement:
SBcolumns[0] = new nlobjSearchColumn('recordname');
Unlike other custom fields, I cannot change the internal ID of this system filed.