Hi All,
I'm really struggling with how to duplicate reference lists inside a BO. I have tried lots of methods over the last week to no avail. If anyone has any thoughts on how to solve my problem I would be very grateful.
So here is my scenario:
I have a business object called Family. It has a reference list that contains Children. The Children BO contains a further reference list of Grandchildren. The family BO can have many Children and each Children BO can have many Grandchildren.
Now what I want to do is duplicate the Family BO along with its Children and Grandchildren.
I can duplicate the Family BO and the Children BO without any trouble by using the following process:
DUPLICATE Family
DUPLICATE Family.Children TO ThatFamily.Children
The problem comes when I go a step further and try to duplicate the Grandchildren. If I use the following additional rule in my process and I have multiple Grandchildren in each Children it fails:
DUPLICATE Family.Children.Grandchildren TO ThatFamily.Children.Grandchildren
I know that the above isn't the correct approach to duplicating the Grandchildren and I've tried very hard to creatively finding a workaround. I think the answer lies IN BATCHES OF 1 somehow but can't figure it out. Any ideas?
Many thanks in advance
BTW I'm still using V6 if that makes a difference to any possible solution.