NetSuite - How to get Subsidiary preferences

a 夏天 提交于 2021-01-28 18:32:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!