1. Assign:
- Integer: minResteAVerser = Int32.MaxValue
- DataRow: rowWithMinValue = Nothing
2. For Each Row:
- Input: DataTable (your input DataTable)
- Output: row (of type DataRow)
3. If (Condition):
- Condition: Convert.ToInt32(row("resteAVerser")) < minResteAVerser
- This condition checks if the current row's "resteAVerser" value is smaller than the minimum value.
4. Assign (inside the "Then" block):
- To: minResteAVerser
- Value: Convert.ToInt32(row("resteAVerser"))
5. Assign (inside the "Then" block):
- To: rowWithMinValue
- Value: row
6. End If
7. End For Each
8. Output (Print the result):
- Use a Message Box activity (or any other activity) to display the row with the minimum value.
- Text: rowWithMinValue.Item("numeroCredit").ToString + ", " +
rowWithMinValue.Item("taux").ToString + ", " +
rowWithMinValue.Item("resteAVerser").ToString + ", " +
rowWithMinValue.Item("nomProduit").ToString