NetSuite SuiteTalk - Retrieve Value String From “SearchColumnSelectCustomField”

后端 未结 2 2016
我在风中等你
我在风中等你 2021-01-07 10:15

I have a small application that iterates over the results of a \"Saved Search\" retrieving the values from several Custom Columns(simplified example):

var re         


        
2条回答
  •  一整个雨季
    2021-01-07 10:53

    As far as I know, the web service response will only contain the internalId and typeId for a SearchColumnSelectCustomField. In order to get the name, you'll have to first query NetSuite to find all custom lists and their values.

    You can do this using a CustomListSearch and set the bodyFieldsOnly search preference to false. Pass in no criteria to the CustomListSearch and you'll be returned every custom list and their values. Just store there results in memory and reference it when reading the column values from your saved search.

提交回复
热议问题