Email a list of Sales Order Ack at night

Mr. @kve and Mr. @klincecum - Thank you both so much for the coding help.
I truly appreciate it - i can only hope some day I will be able to reciprocate.

:slight_smile:
DaveO

Sorry: I thought i was done bothering you today - maybe a little more help :frowning:
I am trying to modify the Where clause to include the last two sales orders (for testing) so i tried to modify the Where clause. the code syntax says it is ok. However, when i try to run it - the sytem monitor is showing “Record Not Found”.

var OrdersToEmail = Db.OrderHed.Where( x => x.OrderNum >= 103006 ).Select( s => s.OrderNum ).ToList(); 

Any help appreciated.
DaveO