Hi All,
I have a button and it will add or modify all rows from one table to another table. I used FormulaMap to achieve this. PFB the formula
Opportunities.FormulaMap(AddOrModifyRows(Engagements, [Opportunity Name].Contains(Opportunities.Opportunity.Name), Engagements.[Company Name], Opportunities.[Account Name], Engagements.Amount, Opportunities.Amount, Engagements.[Close Date], Opportunities.Closedate))
I used the @currentvalue variable to iterate the opportunity object as below
Opportunities.FormulaMap(AddRow(Engagements, [Opportunity Name] ,[Opportunity Name].Contains(currentValue.Opportunity.Name), Engagements.[Company Name], CurrentValue.[Account Name], Engagements.Amount, CurrentValue.Amount, Engagements.[Close Date], CurrentValue.Closedate))
But since I have one more iteration of Engagements table inside, the currentValue variable now only has Engagement table object not the opportunity table object.
Please let me know how I can achieve my functionality. Thanks in Advance.
Thanks,
Elam