Hi ,
I am trying to update multiple CDS entity record using ForAll and Path and Lookup function.
I also tried with path function but its showing "Invalid argument type error"
Same code is working with SharePoint list but not with CDS entity.
Used below code updateif (Fuction):-
ForAll(ReassignUserCollection6,UpdateIf(ChemicalOrders,ChemicalOrderID="1", {OrderNumber:"order1"}))
used below code with Patch function:-
ForAll([RenameColumns(Filter(ReassignUserCollection6,IsChoosen=true),"crb05_chemical_id","crb05_chemical_id_new")], Patch(ChemicalOrders,LookUp(ChemicalOrders,Chemical_ID=crb05_chemical_id_new),{ OwnerID: "1"}))
Regards,
Lalit Kadam