I am trying to patch a column (Quantity) in SharePoint list (Stock) using a collection (CollectItems)
In the code below I am trying to locate the record / row to patch by comparing ItemCode from the collection with the ItemCode of the Stock List. This code seems to be working before. But all of a sudden it stopped working.
I can't seem to figure out the problem.
Any help would be much appreciated.
Here's the code.
Patch(Stock, First(Filter(Stock, ItemCode = CollectItems[@ItemCode])) , {Quantity: Balance}))
Thanx