After ending a work period then starting a new one the order numbers are continuing instead of starting from 1

Please explain what you are trying to do. As this [=F(TN (’{:ORDERNUMBER}’),’#’)] is not what JTRTech advised me.

You may also want to take a look at this thread