Copy the CI from a problem record into a problem task related to it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2016 05:55 AM
I have a related list table (problem_task) related to the problem table, which allows me to create new problem tasks related to a problem record.
Looking for a quick way to copy the CI from the problem into the newly created problem tasks. (as I want this to happen when I use the NEW button in the related list).
Any quick tips on that?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2016 06:44 AM
Great point! Don't forget to remove the CI field for the problem_task form or it gets confusing if you have two fields with the same label and different values.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2016 07:02 AM
So the question Dimitar is, do you want to reference the CI from the parent or copy the CI from the parent? You have two solutions for two different requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2016 11:58 PM
Yes, these are two completely different use-cases. I do not want to show the problem CI field on the problem task form. The other one is what I am looking for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2016 10:01 AM
also if you ONLY want to copy it when you create the task <hit the new button and not keep em synched.....
an on insert BR that looks up the parent and sets the current ci to the parent.ci will do the trick.