I want that the bot proceed some columns of the rows containing the same number 999/111. So 3 time proceed some actions and then procedd row 4 alom as the number is different.
Thanks for your reply.
The problem is that sometimes I have the row 999/111 then it can be 999/111 then 888/145 then 777/623 then 999/188 etc etc..
So your solution will not works I think.
How to be able to read all the rows and saying if N7Decision column rows contains the same n decision then proceed each rows the number of times the row is duplicate otherwse proceed the row containing a unique N7Decision?
Then, get all unique values in the N7Decision column:
uniqueValues = dt.AsEnumerable().Select(Function(r) r(“N7Decision”).ToString).Distinct().ToList()
Once you have the list, then loop through each list values, and filter datatable for this list vlaue like
filteredDt = dt.AsEnumerable().
Where(Function(r) r(“N7Decision”).ToString = value).
CopyToDataTable()
Then for this you can do your steps for further based on each list.
Hi, it still doesnt work because it will consider as unique and will proceed always the info indicated in the first row instead of processing the info of the others rows containing the same N7decision.
I want to process each rows of the same N7decision in the same loop in for each to only create one invoice.