Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
4 years ago

PowerFX patch multiple records with the same status reason

Hi,

 

I have created a new Command in the main grid, that updates the status reason of a record, which works fine.

When I try to use ForAll, instead of Self.Selected.Item, the status reason does not update, and the page simply "refresh" as it would be if it did update it.

 

ForAll(
    Self.Selected.AllItems,
   Patch('Service Requests', Defaults('Service Requests'), {'Status Reason':'Status Reason (Service Requests)'.Afstemt})
)
 
Any idea what could be wrong? 🙂
Thanks!