My Stuff
Comments
-
Hi I don't think the proposed solution works. Because in this specific case, rec.save() throws an exception due to invalid date value. We need check from NS side why the exception message was not json decodable - which is inconsistent from other error messages. Thanks!
-
Hi, I think the issue here is that the returned json message is mal-formatted so it's not json decodable - basically when we do: import requests response = requests.post(…) response.json() The last response.json() will fail -
-
Hi Thank you for the suggestion! Good to know the workaround. But in the case of real exception. Is it possible we fix the message from NetSuite side to make sure the string is Json decodable ? If you have a quick check of this message: "You entered \\\'null\\\' into a field where a calendar date was expected.\\\\nPlease…
-
Hi I think the easiest way to reproduce is to do record.setValue('any_date_field', null).save()in a restlet script. Make an api call to the script, and check the response. The response is not json decodable even if the content-type is application/json.
-
I don't think it's related to a specific bundle. The error is thrown when I do record.setValue and then record.save. And yes it's a calendar date field that throws the exception -
-
Hi Michelle, Thanks for the confirmation! It's good to know that's expected behavior for bundle. How about SuiteApp ? I notice for SuiteApp, upgrading SuiteApp doesn't remove customer added permissions to a role, which is what we needed. Is this a documented behavior that we can rely on ? Thank you!
-
Hi Joahnna, Sorry for missing your message here. What I meant is if there is a way to transfer the custom fields from legacy bundle to SuiteApp, so that in SDF I can define the same set of custom fields in legacy bundle but won't get a conflict when customers who already have the legacy bundle install the new SuiteApp.…
-
Hi Richard, thank you for your reply. It's basically the bundle created from customization -> SuiteBundler -> Create Bundle. I guess it's SuiteBundler vs SuiteCloud Development (SuiteApp). I call it legacy bundle since SuiteApp is the new recommended way to build app on NetSuite. Hope it makes sense!