I want to check how my invoice will look without m...
# suitescript
e
I want to check how my invoice will look without making it. If I do a
nlapiTransformRecord
then some changes like
commitLineItem
will all be back to normal if I dont call
nlapiSubmitRecord
?
r
this is interesting. are you going to run against Advanced pdf with unsaved record to view it?
s
Yes, a transformed record is only in memory unless you explicitly save it.
e
Thanks. It worked. I just wanted the invoice record to do the calculations, but not make the invoice yet