Marc Reicher
04/02/2021, 4:33 PMInvalid search query. Detailed unprocessed description follows. Search error occurred: Field 'currency' for record 'Account' was not found. Reason: REMOVED - Field is removed
My theory is that this might be a breaking change that NetSuite introduced for accounts without multi-currency enabled. Does anyone have a NetSuite account without multi-currency enabled to test that query on?stalbert
04/02/2021, 4:39 PMstalbert
04/02/2021, 4:39 PMtdietrich
04/02/2021, 4:41 PMtdietrich
04/02/2021, 4:42 PMtdietrich
04/02/2021, 4:42 PMMarc Reicher
04/02/2021, 4:52 PMSELECT * FROM currency
(with an admin role) yield one result? Similar to the discussion we had a couple weeks ago about subsidiariesstalbert
04/02/2021, 4:53 PMMarc Reicher
04/02/2021, 4:53 PMstalbert
04/02/2021, 4:55 PMtdietrich
04/02/2021, 7:16 PMMarc Reicher
04/02/2021, 7:16 PMMarc Reicher
04/02/2021, 7:17 PMSELECT * FROM currency
yields multiple rows, and yet the SELECT currency FROM account
errors?? And my guess is this is happening 2021.1, but not 2020.2tdietrich
04/02/2021, 7:18 PMtdietrich
04/02/2021, 7:18 PMtdietrich
04/02/2021, 7:30 PMMarc Reicher
04/02/2021, 7:56 PMMarc Reicher
04/02/2021, 7:57 PMMarc Reicher
04/02/2021, 7:58 PMMarc Reicher
04/02/2021, 7:59 PMstalbert
04/02/2021, 8:50 PMstalbert
04/02/2021, 8:50 PMMarc Reicher
04/02/2021, 8:51 PMMarc Reicher
04/02/2021, 8:51 PMstalbert
04/02/2021, 9:57 PMtdietrich
04/03/2021, 10:36 AMMarc Reicher
04/05/2021, 11:55 PMSELECT * FROM currency
will work with an admin role.
SELECT currency FROM account
will error, saying that the field currency was removed/isn't valid
We then had our client download a role that we have available in a bundle. The role was created in our own NetSuite account, and does have Lists => Currencies
available on it. As expected though, when our client downloaded our bundle, the new role that was created in their NetSuite account did not have Lists => Currencies
on it. This was expected on my end at least, b/c I've seen that when you download roles that have permissions that aren't applicable to your NetSuite account, those permissions don't show up in the UI.
Interestingly enough, we then created a token attached to the new role, and the SELECT * FROM currency
still worked!
Our theory was that the role actually had the Lists => Currency
permission behind the scenes, but it just didn't show up in the UI. So we then had the client re-open the role in the UI, click edit, and click save without actually making any changes. Sure enough, SELECT * FROM currency
now starting erroring out.
So basically, when you download a role from a bundle, it can actually get permissions on it that would otherwise not be available in the UI for that account.