Hello Everyone, We created an SSP Application (SS...
# suitescript
a
Hello Everyone, We created an SSP Application (SS 2.0) and added a service file (.ss) in the SSP Application folder. Currently, in the script, we have some test code to update an entity field on a customer record. We have hardcoded the customer ID for testing purposes. We have applied elevated permissions to this script, and are executing it as a role which has all necessary permissions. It has also been marked as 'Execute without Login'. (We have also linked this SSP Application to an existing domain in our account.) But, when we trigger the service (using Postman, via the linked domain), it throws the following error: INSUFFICIENT_PERMISSION Permission Violation: You need the 'Lists -> Constituents' permission to access this page. This suggests that the service does not have appropriate permissions to update a customer record. But we can confirm that the role via which the service is being executed has those permissions already. It does work sometimes randomly, but most of the times, it fails. And we cannot explain why it fails. Also, I wanted to ask if this approach of using a service is recommended? We do have an option of RESTlets in NetSuite but it limits the total number of API calls which can be made to a RESTlet Thanks!
s
I haven't looked at SSP in a long time - are you suggesting it isn't subject to the standard account concurrency limits?
a
RESTlets are bound to the concurrency limits, SSP applications aren't.
s
why would NS exempt SSP apps? relation to SCA/ecommerce?
a
If you scroll all the way down on that page, there's a note saying: '_There is not a concurrency limit for SSP applications but they are not recommended for high volume catalog pages or to deliver content that should come from a cache_'
👍 1
s
that page also states 1000 units governance, so they are applying that control but not concurrency