Index: TAOR rework/TAOR rework/databases/Automilling/AutomillingMapper.vb =================================================================== diff -u -r1952 -r1953 --- TAOR rework/TAOR rework/databases/Automilling/AutomillingMapper.vb (.../AutomillingMapper.vb) (revision 1952) +++ TAOR rework/TAOR rework/databases/Automilling/AutomillingMapper.vb (.../AutomillingMapper.vb) (revision 1953) @@ -366,7 +366,7 @@ SELECT PickSequence, PickPlace, PalletID, SlotNbr, LeftRight, FeedbackERP, PickTimeStamp, MillingTimeStamp, DropTimeStamp, InsertTimeStamp, BatchID, SequenceNbr, ProductCode, Color, PickListID, NettoLength, NettoHeight, OversizeLength, OversizeHeight, ProgramLeftInner, ProgramLeftOuter, ProgramRightInner, ProgramRightOuter, PrintBarcodeLeft, PrintBarcodeRight, PrintTextLeft1, PrintTextLeft2, PrintTextLeft3, PrintTextRight1, PrintTextRight2, PrintTextRight3, PrintTextLeft4, PrintTextRight4, tablework, adjustment_X1, adjustment_X2, adjustment_YA, adjustment_YB, adjustment_YC, adjustment_YD FROM [Automilling].[dbo].[Production] where PickTimeStamp IS NOT NULL and MillingTimeStamp IS NULL - order by PickTimeStamp asc" + order by PickTimeStamp desc" Dim result As List(Of ZijkamerFreesProductieData) = getList(query) LogBestandTextMapper.writeToFile("Automilling", "De uitgeworpen latjes opvragen (PickTimeStamp en millingtimestamp op NULL)", true) Return result