Populate parent fields from related items
Posted: 03 Jan 2018
Hello guys,
I'm working on some forms with related items. To be more accurate, I have "Contracts" as parent and "Annexes" as related childs. What I want to achieve is to have two data in Parent getting from childs.
- One is the "Due Date", which is the max of all dates in the Annexes and Contract "Due Date" fields and
- the other is "Value", which is the SUM of Contract "Value" field and all Annexes "Value" fields.
So when a new child is saved or there is a change on existing one, the parent fields should populate.
Maybe there is a simple solution to do this, but I didn't find it on Forum. I'm also not an IT specialist, so please help me out with this.
Thanks in advance,
bye
I'm working on some forms with related items. To be more accurate, I have "Contracts" as parent and "Annexes" as related childs. What I want to achieve is to have two data in Parent getting from childs.
- One is the "Due Date", which is the max of all dates in the Annexes and Contract "Due Date" fields and
- the other is "Value", which is the SUM of Contract "Value" field and all Annexes "Value" fields.
So when a new child is saved or there is a change on existing one, the parent fields should populate.
Maybe there is a simple solution to do this, but I didn't find it on Forum. I'm also not an IT specialist, so please help me out with this.
Thanks in advance,
bye