Difference between revisions of "ITrack/Barcodes"

From ISoft Wiki
Jump to navigationJump to search
(Added information on the preamble/postamble that ITrack Pro expects)
Line 1: Line 1:
Several elements of ITrack and ITrack software utilize barcodes.  All ITrack products should utilize a similar barcoding scheme.
Several elements of ITrack and ITrack software utilize barcodes.  All ITrack products should utilize a similar barcoding scheme.


== Inventory ==
== Preamble and postamble ==
Virtually every barcode scanner can be programmed to simulate a keypress combination before entering the barcode contents (the preamble) and after (postamble).
 
=== ITrack Pro ===
ITrack Pro document screens (Sales, Quotes, Purchase Orders) expect a preamble of Ctrl+b and a postamble of \n.
 
The document screens will take whatever value is between those characters and do a lookup by [[ITrack/Pro/Part Number|partnum]] (the value encoded in barcodes on ITrack Pro tags), and if no values are found by partnum, by UPC (the value encoded into the barcodes printed on most products).
 
== Barcode contents ==
Depending on the context, the barcode will encode different types of values.
 
=== Inventory ===
Identified by a raw number (no character preface, starts with a digit).
Identified by a raw number (no character preface, starts with a digit).
Numbers with less than 10 digits are assumed to be the primary key of an inventory record (inventoryid in Enterprise, partnum in Pro).
Numbers with less than 10 digits are assumed to be the primary key of an inventory record (inventoryid in Enterprise, partnum in Pro).
Numbers with greater than 10 digits are assumed to be UPC codes.
Numbers with greater than 10 digits are assumed to be UPC codes.


== Location ==
=== Location ===
Location barcodes are prefaced with % - the rest of the text is a string with the location name/identifier.
Location barcodes are prefaced with % - the rest of the text is a string with the location name/identifier.


== ITrack User ==
=== ITrack User ===
Prefaced with U - Signifies that the rest of the barcode contains a user id, referencing an ITrack user account
Prefaced with U - Signifies that the rest of the barcode contains a user id, referencing an ITrack user account


== Work Order Job ==
=== Work Order Job ===
Prefaced with J - Signifies that the rest of the barcode contains a job id, referencing a work order job.
Prefaced with J - Signifies that the rest of the barcode contains a job id, referencing a work order job.


== Other, context-sensitive ==
=== Other, context-sensitive ===
Prefaced with + - Signifies that the rest of the barcode contains a context-sensitive command, which will probably not have meaning outside of magical bar-code applications.
Prefaced with + - Signifies that the rest of the barcode contains a context-sensitive command, which will probably not have meaning outside of magical bar-code applications.
* CLOCKIN - Clocks the selected user into a selected job
* CLOCKIN - Clocks the selected user into a selected job
* CLOCKOUT - Clocks the selected user out of an active job
* CLOCKOUT - Clocks the selected user out of an active job

Revision as of 14:46, 24 May 2010

Several elements of ITrack and ITrack software utilize barcodes. All ITrack products should utilize a similar barcoding scheme.

Preamble and postamble

Virtually every barcode scanner can be programmed to simulate a keypress combination before entering the barcode contents (the preamble) and after (postamble).

ITrack Pro

ITrack Pro document screens (Sales, Quotes, Purchase Orders) expect a preamble of Ctrl+b and a postamble of \n.

The document screens will take whatever value is between those characters and do a lookup by partnum (the value encoded in barcodes on ITrack Pro tags), and if no values are found by partnum, by UPC (the value encoded into the barcodes printed on most products).

Barcode contents

Depending on the context, the barcode will encode different types of values.

Inventory

Identified by a raw number (no character preface, starts with a digit). Numbers with less than 10 digits are assumed to be the primary key of an inventory record (inventoryid in Enterprise, partnum in Pro). Numbers with greater than 10 digits are assumed to be UPC codes.

Location

Location barcodes are prefaced with % - the rest of the text is a string with the location name/identifier.

ITrack User

Prefaced with U - Signifies that the rest of the barcode contains a user id, referencing an ITrack user account

Work Order Job

Prefaced with J - Signifies that the rest of the barcode contains a job id, referencing a work order job.

Other, context-sensitive

Prefaced with + - Signifies that the rest of the barcode contains a context-sensitive command, which will probably not have meaning outside of magical bar-code applications.

  • CLOCKIN - Clocks the selected user into a selected job
  • CLOCKOUT - Clocks the selected user out of an active job