I'm creating an inventory management app and I'm trying to patch certain items in a SharePoint list based on a collection.
Below is the code I'm trying to use, but I get an error trying to reference the Amount in the SharePoint list.
How can I reference the Amount from the SharePoint list, so the Patch code works correctly?
ForAll(colCartFinal As aRecord,Patch('Uniform Inventory',LookUp('Uniform Inventory',Title=aRecord.Product && Sizes=aRecord.Size),{Amount:Value(Amount-aRecord.TotalNeeded)}))
