How to configure the batch number format for IBM Datacap Taskmaster Capture
When Taskmaster Client runs a batch creation task, such as a scan task, it first requests a new batch number from the Taskmaster Server. Taskmaster Server generates a new number via a component called batchn32.dll. A library of files comes with the Taskmaster install that can be used to overwrite the default batchn32.dll to change the batch numbering scheme. These files are named batnewXX.dll where XX is a number from 01 to 15 and represent the different formats available.
Procedure
- Stop Taskmaster Server.
- Copy the desired BATNEWxx.DLL from the \Datacap\dcshared\batchnew folder to \Datacap\dcshared\BATCHN32.DLL, changing the name to overwrite the existing file.
- Using the appropriate database tool, edit the Taskmaster engine database, enginfo table.
- Clear the db_LastBatch, db_lastQueue and db_LastDate fields. This is not necessary for all changes, but if you cannot create a batch after making the change, be sure to do this step.
- Restart Taskmaster Server.
Available Formats
- BATNEW01.DLL
This is the default dll for Taskmaster.
----------------------------------------
This dll implements the following batch numbering scheme:
YYYYIDDD.LLL where:
YYYY - a last two digits from the year (0001 - 2128)
I - database ID (see note below)
DDD - Julian date (number from 1 to 365)
LLL - 001 - 999 then A00 - Z99 then AA0 - ZZ9 and after that AAA - ZZZ
Note: The database ID is from the db_id field of the enginfo table in the Taskmaster engine database. Since this is a text field in the database, be careful to have a single numeric digit at the beginning.
Examples:
"1Engine" will give index 1
"2Engine" will give index 2
"Engine1" will give index 0 since it cannot be converted to a digit.
- BATNEW02.DLL
This dll implements the following batch numbering scheme:
YYYYMMDD.LLL where:
YYYY - a last two digits from the year (0001 - 1997)
MM - month (1 - 12)
DD - day (number from 1 to 31)
LLL - 001 - 999 then A00 - Z99 then AA0 - ZZ9 and after that AAA - ZZZ
- BATNEW03.DLL
This dll implements the following batch numbering scheme:
YDDDINNN where:
Y - last digit from the year
DDD - Julian date (number from 1 to 365)
I - database ID (This is the first digit from the db_id field of the enginfo table in the Taskmaster engine database)
NNN - batch number for day (1 - 999)
Note: The database ID is from the db_id field of the enginfo table in the Taskmaster engine database. Since this is a text field in the database, be careful to have a single numeric digit at the beginning.
Examples
"1Engine" will give index 1
"2Engine" will give index 2
"Engine1" will give index 0 since it cannot be converted to a digit.
- BATNEW04.DLL
This dll implements the following batch numbering scheme:
NNNNMMDD where:
NNNN - order number for batch from 1001 - 9999
MM - month (1 - 12)
DD - day (1 - 31)
- BATNEW05.DLL
This dll gives a dialog for manually entering a new batch ID.
- BATNEW06.DLL
This dll implements the following batch numbering scheme:
MMDDLL where:
MM - month (1 - 12)
DD - day (number from 1 to 31)
LL - letter starting from A up to Z
sequence is AA , AB ... AZ, BA, .. BZ, etc.
- BATNEW07.DLL
This dll implements the following batch numbering scheme:
uYYMMDDL.NNN where:
u -- just the letter 'u'
YY - last two digits from the year (00 - 99)
MM - month (1 - 12)
DD - day (number from 1 to 31)
L - letter starting from a up to z
NNN - batch number for day (1 - 999)
- BATNEW08.DLL
This dll implements the following batch numbering scheme:
cYYMMDDL.NNN where:
c -- just the letter 'c'
YY - last two digits from the year (00 - 99)
MM - month (1 - 12)
DD - day (number from 1 to 31)
L - letter starting from a up to z
NNN - batch number for day (1 - 999)
- BATNEW09.DLL
This dll implements the following batch numbering scheme:
YYMMDD.NNN where:
YY - last two digits from the year (00 - 99)
MM - month (1 - 12)
DD - day (number from 1 to 31)
NNN - batch number for day (1 - 999)
- BATNEW10.DLL
This dll implements the following batch numbering scheme:
YYMMDDL.NNN where:
YY - last two digits from the year (00 - 99)
MM - month (1 - 12)
DD - day (number from 1 to 31)
L - letter starting from A up to Z
NNN - batch number for day (1 - 999)
- BATNEW11.DLL
This dll implements the following batch numbering scheme:
YYMMDDNN.NNN where:
YY - last two digits from the year (00 - 99)
MM - month (1 - 12)
DD - day (number from 1 to 31)
NN.NNN - batch number for day (1 - 99999)
- BATNEW12.DLL
This dll gives a dialog for manual entering of a new batch ID (8 characters) after which it appends '.DDD' where DDD is the Julian day of the year.
- BATNEW13.DLL
This dll implements the following batch numbering scheme:
MYYMMDDL.NNN where:
M - millennium
YY - last two digits from the year (00 - 99)
MM - month (1 - 12)
DD - day (number from 1 to 31)
L - letter starting from A up to Z
NNN - batch number for day (1 - 999)
- BATNEW14.DLL
This dll implements the following batch numbering scheme:
YYJJJNN.NNN where:
YY - last two digits from the year (00 - 99)
JJJ - Julian day of the year
NN.NNN - batch number for day (1 - 99999)
- BATNEW15.DLL
This dll implements the following batch numbering scheme:
YDDDNNNN where:
Y - last digit from the year
DDD - Julian date (number from 1 to 365)
NNNN - batch number for day (1 - 9999)
No comments:
Post a Comment