1

I'm using Python 2.7 and Zeep to call SuiteTalk v2017_2_0, the SOAP-based NetSuite web service API. The command I'm running is search like so:

from zeep import Client
netsuite = Client(WSDL)

TransactionSearchAdvanced = netsuite.get_type(
    'ns19:TransactionSearchAdvanced')
TransactionSearchRow = netsuite.get_type('ns19:TransactionSearchRow')

# login removed for brevity

r = netsuite.service.search(TransactionSearchAdvanced(
    savedSearchId=search, columns=TransactionSearchRow()))

Now the results of this include all the data I want but I can't figure out how (if at all) I can determine the display columns that the website would show for this saved search and the order they go in.

I figure I could probably netsuite.service.get() and pass the internalId of the saved search but what type do I specify? Along those lines, has anyone found a decent reference for all the objects, type enumerations, etc.?

Neil C. Obremski
  • 18,696
  • 24
  • 83
  • 112
  • Hi Neil, have you figured the question out? Thanks, – Xb74Dkjb May 31 '19 at 04:15
  • No, I assume that the website stores preferences information somewhere that the API is not privy to. Perhaps in user preferences? So unfortunately I ended up hard-coding the column order on my application to match – Neil C. Obremski Jun 03 '19 at 18:19
  • or you can try this: https://github.com/jjorissen52/netsuite (I'm working on it and trying to find some clues) – Xb74Dkjb Jun 04 '19 at 22:24

1 Answers1

-1

https://stackoverflow.com/a/50257412/1807800

Check out the above link regarding Search Preferences. It explains how to limit columns returned to those only in the search.

Suite Resources
  • 1,164
  • 8
  • 11
  • This limits the columns returned but what I'm looking for is a *list* of those columns and in the order they would occur on the website (e.g. how they're configured in the saved search) – Neil C. Obremski Jun 01 '18 at 01:22
  • Neil - Did we get any information on this? I am also looking for same information – JyothiJ Jul 26 '18 at 16:19