Hi all, wanted to ask your suggestion. I was able ...
# suitescript
t
Hi all, wanted to ask your suggestion. I was able to create a purchase order via suitelet and then my customer ask that it should be available even without login. However, when I try it I received an error message on my console "INSUFFICIENT_PERMISSION". Any opinion?
b
looks like you are catching the error, and the logging it, which is unfortunate since that hides your implmentation
if you are saving the purchase order clientside, you will need to rewrite the code to make a request to a suitelet instead and do the work there
if you are saving the sales order serverside, you need to change role used by the deployment
you may need to do both, either way keep in mind that an externally available suitelet is public
t
I see.. I need to put everything on the suitelet. Thanks @battk
Quick question @battk, is there a way I can check the line count on my sublist in suitelet?
I only done it using 1.0 script 😅
b
thankyou 1