We have a saved search to list transactions. I'm loading and trying to get the total number of records present in that saved search using runPaged().count function in NetSuite script 2.0.
and the saved search contains 8932 records for that particular filter criteria
and I'm using that total count to loop on, and to get those records onto my backend.
But here when I call that RESTlet script from backend the totalCount of records is incorrect of what we have on saved search.
Why runPaged().count function is not giving me the right record count of what actually on the saved search.
Is there any limitations in using runpaged function ?
Is there any other way I can get the record count of saved search data.
Thanks,