Hello,
I'm in need of some help please, I have a barcode scanner which on the "OnScan" option i have the following code:
ForAll(
BarcodeReader1.Barcodes,
Collect(
GetLinkedBarCodes,
{Barcodes: ThisRecord.Value}
)
);
Here I'm placing each barcode value into a collection with the column being called "Barcodes".
What I'd like to do is when it adds the records to the collection it also does a lookup from a Sharepoint list for each of the barcodes and brings back a column from the record which i can also add to the Collection for each record in the collection.
For example:
ForAll(
BarcodeReader1.Barcodes,
Collect(
GetLinkedBarCodes,
{Barcodes: ThisRecord.Value,
Assigned_To: LookupData.FullName}
)
);
Output:
| Barcodes | Assigned_To |
| 123456 | Mike |
| 987654321 | Gabriella |
| 5654345 | Stephen |
But I'm not sure where to put this lookup within the ForAll/Collect code, or even if its possible.
Any suggestions/help would be much appreciated. Thank you in advance.