Netsuite reporting troubleshooting
Q. Why am I viewing more records than expected from some of my NetSuite entries?
The fields (data) you request affect the amount of data retrieved. Some fields have a many-to-many or one-to-many relationship with the "main" record, and NetSuite returns all that data when queried. If, for example, you request to retrieve only the 'internalId' field, you will get X records from both the API and the NetSuite UI. However, if you ask for another field with that type of relationship, you can view X + Y records from both the API and the NetSuite UI. The Employee entity is a good example of this behavior.
Q. Why am I getting Datetime fields when the NetSuite UI shows them as Date fields?
The NetSuite UI displays some Datetime values as dates, although they are stored as Datetime in the background.
The SOAP API returns the dates in their original form as Datetime objects.
For example:
| Date shown in the UI | Datetime when getting the record |
|---|---|
| 21/2/2019 | 2019-02-20T22:00:00.000-08:00 |
| 21/8/2019 | 2019-08-20T22:00:00.000-07:00 |
| 20/2/2019 | 2019-02-20T00:00:00.000-08:00 |
| 21/8/2019 | 2019-08-20T22:00:00.000-07:00 |
When converting back to date fields, remember that NetSuite returns the datetime objects in PST or PDT, depending on the date.
During winter, the Pacific Time Zone is eight hours behind Coordinated.
Universal Time (UTC-8) is called Pacific Standard Time (PST). In the summer months, the
The Pacific Time Zone is seven hours behind Coordinated Universal Time (UTC-7), which is also known as Pacific Daylight Time (PDT).
Q. Why am I missing some fields from my saved search?
Not all fields are supported via the SOAP API. To get a list of all relevant fields, consult with the NetSuite Schema Browser.
Search for the Entity and look at the available fields Below you can view an example of some of the fields available for the Account entity:
Another possibility is that the field is a custom field with restricted access. Refer to this guide on restricting custom fields and ensuring your role has access.
Q. I am missing some records from my saved search. Why?
Not all records are supported via the SOAP API. To get a list of all relevant records, consult with the NetSuite Schema Browser.
Search for the record; it is not supported if you cannot find it.
Another possibility is that your role is not granted permission to that record. Follow the steps detailed in the Netsuite Reporting Connection documentation to add specific permissions to your desired record.
Q. The data in my fields returns as Camel Cased or with an underscore before the value. Why?
A. This is how the data is returned from the SOAP API; it differs from how it is returned from the NetSuite connector, which connects directly to the database and returns the data in the snake_cased convention.
Q. Why can't I execute Summary Saved Searches?
NetSuite API doesn't support Summary Saved Searches. If you try to execute such a search, you will get the following error from the API: "We cannot return search columns for a summary saved search." If you want to execute a saved search via the API, you should do the following and remove the saved search columns: In NetSuite, copy the Saved Search, edit the copied Saved Search, and make sure no summary column (max, min, sum) is defined in the "Results" tab. The summary type must be blank for all fields.
Aggregations or any other needed transformations can be performed in a logic river or over your DB target.
Q. Why can't I find all the entities in the Netsuite Reporting connector?
Not all entities are supported in the Netsuite API; the amortization schedule entity is a typical example. To view all supported entities, look at the entities available in the NetSuite Schema Browser. (Make sure you are only under the schema tab) Except for a few exceptions, these entities should be supported.
Q. Why can't I fetch my saved searches?
If you have set everything up correctly in the connection phase, this is due to the inherent limitations of the Netsuite API. In cases where there are more than 1000 saved searches for a given entity, the API cannot retrieve them. Enter the saved query internal ID manually. Another alternative would be to clean up unused searches in the NetSuite UI to reduce the number of searches below the limitation.
Q. Why am I only getting IDs and not values for some fields returned from a saved search?
This is a limitation of the NetSuite API.
Some fields return only the IntranelId and not the value.
To overcome this, you can create a separate river to extract the desired entity and create a lookup table.
Then, leverage a logic river to join the saved search and lookup table data.