Not as ticket I’d but using a set of program settings similar to the setup people have done for daily resetting ticket number but don’t reset the.
4 settings for the 2 ids and the 2 serials
Make automation to add as ticket tag using the both then increase with a clause/additional action to increase Id when serial is reset.
You cannot use Number Generators for this because you want them to be reset at a certain threshold, which will cause duplicate Ticket Numbers, which is not allowed.
You also cannot use multiple Ticket Types within a single Ticket/Sale. You can only select 1 Ticket Type per Ticket/Sale at a time. You cannot combine them. FYI, the same also applies to Departments; youcan only select 1 Department at a time per Ticket/Sale.
For both of these reasons, using Ticket Types and Number Generators is not going to work for you.
You are best off leaving the Number Generators alone, and using your own generation pattern for creating your “Invoice” numbers. This is done by using Global Program Settings to store, increment, and reset your numbers.
There are many discussion about this on the forum; in general people have referred to them as a “Resetting Order Number” which is done at End of Workperiod. Using the Term “Order Number” is incorrect - it should be “Ticket Number” or “Invoice Number” or “Queue Number” since we are talking about a Ticket, not an Order (Orders are items on a Ticket).
There is a link to a “Tutorial” on the V2 Forum within this Topic that always gets referred …
Although that method works, it can cause some confusion due to syntax used in V2 vs. V3/4/5 so… I think it is probably about time someone re-wrote instructions for that setup. Give me some time to do so…
Suffice it to say, this is the Action you will be using:
Your tutorial was nice to understand rules and action mechanisms, and other concepts.
I could configure Program settings, action and rules. However, I can not define ticket type (all invoices are type A).
So I has been created a new entity type.
With some entities: Type1, Type2
I checked some topics to get custom data about our entities. I made a additional custom constraint.
How can I define a custom constraint to know selected value?.
There is no Tag that will do that, but you could build something with JScript methods like .join() and .slice() to prefix and suffix a centered value to a certain length (character count of your printer).
So very nice to see someone on the forum with some compatancy for a change not needing to have every little thing explained and shown
That looks like a hand script.
Could you posibly paste the script for others to use