Order list of batches in Completion
I am using Scan Plus for input to the Captiva process. I am setting priority of the batch in the Scan Plus. Need to order the list of batches in Completion module based on batch priority. Hope below is the correct value for each priority.
High - 10
Medium - 50
Low - 90
In the ScriptMain.cs, I have overridden the method "ModuleBatchListView" to order the list of batches. While debugging the code it is sorting but it is not reflecting in Completion module. Used below code to sort.
tableRowList = tableRowList.OrderBy(r => r.AsInt(4)).ToList();
Kindly help me in resolving this.