Copy the CI from a problem record into a problem task related to it

mitzaka
Mega Guru

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?

8 REPLIES 8

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.


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.


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


randrews
Tera Guru

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.