TGIF! I’ve create a Suitelet and add a link in Cus...
# suitescript
l
TGIF! I’ve create a Suitelet and add a link in Customer Center. The
GET
work as expect, showing fields, information and submit button. BUT
POST
works weird…Everything works(update record) but when I try to create an exactly same form like what
GET
does, it showing
UNEXPECTED_ERROR
error. Any idea are welcome…
e
Posting your code may be helpful here --
Otherwise, I'd recommend what I call "elimination debugging" to identify where the UNEXPECTED ERROR is coming from. Essentially comment out most of your post function... then if it doesn't have the error, add back in small chunks at a time until the error comes back. Then you'll know which chunk is causing the error
l
@ericbirdsall Thanks, I found out if I actually create a contact and login to Customer Center works expect, but if I login customer through Customer > Access > Login as Customer will have that issue.