Hello everybody,
I have been using a formula to generate invoice numbers, but is has been producing some overly similar looking numbers which confuses clients.
Current formula is:
“INV” & DATETIME_FORMAT(CREATED_TIME(),‘msw’)
What I’d like to change it to is:
“INV” & DATETIME_FORMAT(CREATED_TIME(),‘wms’)
The only problem is that if I change it now, all of my previously issued invoice numbers change too.
Is there a way to perform the below?
If date is on or before 18.04.2022 then
“INV” & DATETIME_FORMAT(CREATED_TIME(),‘msw’)
else
“INV” & DATETIME_FORMAT(CREATED_TIME(),‘wms’)
Your advice would be very helpful! Thank you.