mhuber

Copy, relate & display related records with script?

Discussion created by mhuber on Nov 6, 2014
Latest reply on Nov 6, 2014 by mikebeargie

Hello -

 

I'm kind of new to FM, and this is most liekly a super simple fix. I've searched around for for this but can quite find an answer.

 

The Story: I'm trying to run a script that uses the OnRecordCommit trigger to essentally duplicate the record on to a similar table (with the addition of modification time and modification date). Then back on the original record, a portal will exist that will show all the modifications made to the record (pulling all the records from the other table). Here's a snap shot of the script I've been working with. My guess is Set Field doesn't work the way I'm thinking it does?

 

 

Screen Shot 2014-11-06 at 2.57.23 PM.png

 

 

 

Sorry for the simple / annoying question. Any help would be greatly appricated.

 

--Matt

Outcomes