问题
I am using SuiteScript to fetch Subsidiary information. Using nlapiLookupField method I am able to see the basic fields. But I want some information on Subsidiary-Preferences tab.
It seems nlapiLookupField cannot access fields on a subtab (Preferences).
回答1:
These fields are not even listed in SuiteScript Records Browser.
One way to read them is by loading the record eg:
var rec = nlapiLoadRecord('subsidiary', 11);
rec.getFieldValue('CHECKTYPE');
回答2:
Open the record inside the NetSuite UI. Append '&xml=T' to the end of the url for the record.
Take a look at the underlying XML data - that should be everything you see in the UI, and you will see the field names, sublists, etc.
来源:https://stackoverflow.com/questions/17568348/netsuite-how-to-get-subsidiary-preferences