Hi everyone! Dunno if this is the right channel, c...
# suitescript
e
Hi everyone! Dunno if this is the right channel, cross posting from the general I want to transform a
custompurchasetransaction
into a
vendorbill
. Is it possible to transform it using a button in the
custompurchasetransaction
to go to the
vendorbill
form page?
r
A common design pattern, if scripting, would be UE (button) > Client (button handler) > SuiteLet (logic), with
record.transform
in the latter. I'm not sure if the
record.transform
would work for a custom transaction offhand. It just so happens I'm tasked with a very similar project, but it hasn't started yet.
Also not sure if this can be done with a native action.
e
Thanks @reptar The transformation works using
record.transform
it even create a Related Record in the custom transaction, but not in the new record