I have a process in which the user can select
- a record
- duplicate a parent record
- duplicate the children
- change a few values
The rules are follows:
ENTER NEW XNPBO_Goal USING Forward
DUPLICATE Goals
ThatGoals.StartDate=XNPBO_Goal.StartDate
ThatGoals.EndDate=XNPBO_Goal.EndDate
ThatGoals.LastMeasureDate=XNPBO_Goal.StartDate
ThatGoals.Inactive=XNPBO_Goal.Inactive
DUPLICATE ThisGoals.MetricsReference TO ThatGoals.MetricsReference
When a user selects a single goal an starts the process, everything works. If the select two or more goals then the following occurs:
- The goal for record Test Goal 1 (parent) does not copy forward
- The goal for record Test Goal 2 (parent) is copied forward to Test Goal 3
- The metrics (children) for record Test Goal 1 are copied forward into Test Goal 3 , which doesn’t correspond.
- The metrics (children) for the Test Goal 2 are now gone!
Having reviewed the forum posts to clarify the mechanics (https://www.awareim.com/forum/d/5135>) this still seems like a potentially significant issue since it can leave users confused and mistrustful of the data.
re of.