AnsweredAssumed Answered

Duplicate related record and assign new record number

Question asked by JodieWeston on Feb 11, 2018
Latest reply on Feb 11, 2018 by JodieWeston

Help, please


I'm wanting to create a script that duplicates related records, then assigns a new name based on the contents of a global field. I'd like the script to perform this task without leaving the current layout.


I've created the attached script, it works without any issues when using a local copy of the database, however, when it's hosted on a server it opens the related layout during the scripts' execution. I would like to stay within the current file at all times.


Any help would be much appreciated!!