Hi
I am trying to update 3 columns relating to potentially multiple lines of source data within a sharepoint list. Below is a screenshot of the gallery for which the source data is a collection (checkedrow).

Using the "Confirmed Received" button i am updating the collection to a new collection called (CollGRNUpdate) using the 3 dropdowns. From here i want to patch my source data list "Requisition Line Item" with an update where the "Item Number" matches the "ItemNumber" in my collection (CollGRNUpdate). I have come up with the below code but it doesn't appear to be working.
ClearCollect(
CollGRNUpdate,
{
ItemNumber: Label25.Text,
GRNStatus: ddGRNStatusUpdate.SelectedText,
ReceivedBy: ComboBoxGRNUpdateReceivedBy.Selected,
DeliveredDate: DatePickerdeliveredDate.SelectedDate
}
);
ForAll(
CollGRNUpdate,
Patch('Requisition Line Item',
LookUp('Requisition Line Item','Item Number' = CollGRNUpdate,ItemNumber),
{
'GRN Notice Confirmed': GRNStatus.Value,
'Received by': ReceivedBy,
'Delivered Date': DeliveredDate
}
);
Clear(checkedRow);
Set(VarGRNConfirmationReceived,false)