I have a very simple transform Sales Order to Cash...
# suitescript
s
I have a very simple transform Sales Order to Cash Sales. When I go on the sales order and Bill, all is fine, it create the Cash Sales. But when I do it in Suite Script it return an error. Below is the script and the error. I don't know where to look. Any idea ?
a
toType: record.Type.CASH_SALE
you're missing the underscore
s
Thanks a lot
👍 1