Within strokeone, job order numbers are represented by two sets of numbers separated by a forward slash character:-
e.g. 200123/12
These two sets of digits are individually termed job
number and stroke suffix,
so in actuality a job order number
is a composite, made up from :-
<Job Number> &"/"
&<stroke suffix>
The numbers allocated to each set of digits varies depending on whether a new or duplicate of an existing job order is requested.
New Job Order
When a brand new job is requested
For example, assume the last job order recorded in the system was 200355/1.
Thus the job order number would be 200356 /1
You can therefore infer that a stroke suffix of 1 represents a new job
Duplicating an existing Job Order Number
When a user requests to raise a duplicate of an existing job order, they highlight the existing job order that they want to duplicate.
They have a further two choices to make when they elect to duplicate an existing job order.:-
Duplicating and retaining the same job number, but getting new stroke suffix
For example, assume the user selected to duplicate job order 200356 / 10. Assume also that a job order number of 200356/11 already exists:-
Thus the job order number would be 200356 /12
You can therefore infer that a stroke suffix of greater than 1 is by definition a repeat job
Duplicating an existing Job Order, but assigning a new number
When a user requests to raise a duplicate an existing job, but assign a whole new job number, they are effectively cloning an existing job as the one they are about to write up is very similar.
In this circumstances
For example, assume the user selected to duplicate job order 200356
/ 10, but assign a new job order number.
Assume the last existing job number allocated by the sequence counter was
290001.
Thus the new cloned job order number would be 290002
/1
You'll notice that the numbering syntax here is identical to when a new
job order is created. The salient difference is that the job order itself
would contain information cloned from the original job.
Duplicating an historic (legacy) Job Order Number
When a job number exists in a legacy system, and is duplicated in the new system, the numbering syntax is as follows:-
and you wish to preserve the legacy job order number, but increment the stroke suffix, users
For example, assume the user selected a historic job number, job order 500 / 21.
Thus the job order number would be 500 /22