alien4u
01/30/2024, 7:52 PMMarc
01/30/2024, 9:30 PMMarvin
01/30/2024, 10:20 PMalien4u
01/30/2024, 10:24 PMconst oSearch = search.load({
id: pSavedSearch
}).runPaged({ pageSize: 1000 })
This should not trigger an unexpected error if the search is working in the UI, this is a bug, meaning NetSuite own API method is unable to properly load searches when the search have certain combination of summary or formulas.Marvin
01/30/2024, 10:26 PMalien4u
01/30/2024, 10:27 PMalien4u
01/30/2024, 10:28 PMMarvin
01/30/2024, 10:31 PMrustyshackles
01/31/2024, 12:21 AMconst oSearch = search.load({
id: pSavedSearch
}).runPaged({ pageSize: 1000 })
Have you checked if you are not loading what NetSuite calls as standalone
search. There are certain search types that you have to specify the search type when loading the search. See more information in this link under the options.type
description: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4345775360.html#search.load(options)NickSuite
01/31/2024, 4:45 PMalien4u
01/31/2024, 5:11 PM