This message was deleted.
# suitescript
s
This message was deleted.
c
The id will not be set
d
scriptContext.type not catch copy type?
And this solution is not work becouse the id is the id of the record i copy from
c
The internal id?
d
yes
c
just tried it in the UI with an invoice, and
id
is null in the dumped record. The id in the URL is the record you are copying from, yes. But that is not the one that matters
d
newRecord.id is the Id i copied from
Its strange, the dumped record after submit - newRecord.id is the id of the record i copying...