Difference between revisions of "ITrack/Barcodes"

From ISoft Wiki
Jump to navigationJump to search
Line 15: Line 15:
LXW defaults to preamble '~' and postamble '\r', but can be changed via Settings: 'ITrack LX'-'Preamble Character Codes' and 'Postabmle Character Codes'
LXW defaults to preamble '~' and postamble '\r', but can be changed via Settings: 'ITrack LX'-'Preamble Character Codes' and 'Postabmle Character Codes'


== Barcode contents ==
== Barcode Formatting ==
Depending on the context, the barcode will encode different types of values.
Depending on the context, the barcode will encode different types of values.


{| class="wikitable"
{| class="wikitable"
! Object
! scope="col" width="250px" | Objects
! Barcode contents
! ! scope="col" width="300px" | Barcode Contents
! Notes
|-
|-
| Inventory
| Inventory
| '''[inventoryid]''' OR '''[UPC code]''' OR '''[OEM Number]'''
| *[inventoryid]*
| If the number is less than 10 digits, it is 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.
|-
| Serialized Inventory
| *[inventoryid]-[inventoryserialid]*
|-
|-
| Location
| Location
| '''%[locationid]''' OR '''[full location name]'''
| *%[locationid]*
| Ideally, location barcodes should be the locationid, prefaced by a % sign.  In some cases, sadly, they may be an unqualified string.
|-
| ITrack user
| '''U[userid]'''
|-
| Work Order
| '''W[storeid]-[workorderid]'''
|-
| Work Order Job
| '''J[jobid]'''
|-
|-
| Sales Order
| Sales Order
| '''S[storeid]-[salesorderid]'''
| *S[storeid]-[salesorderid]*
|-
|-
| Purchase Order
| Purchase Order
| '''P[storeid]-[purchaseorderid]'''
| *P[storeid]-[purchaseorderid]*
|-
|-
| Transfer Order
| Transfer Order
| '''T[transferorderid]'''
| *T[transferorderid]*
|-
| Work Order Job
| *J[jobid]*
|-
|-
| Serialized part
| ITrack User
| '''[inventoryid]-[inventoryserialid]'''
| *U[userid]*
|}
|}
* Encoded location names are currently accepted as alternate location barcode formatting even though it is not standard.


=== 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.
{| class="wikitable"
* CLOCKIN - Clocks the selected user into a selected job
! scope="col" width="250px" | Actions
* CLOCKOUT - Clocks the selected user out of an active job
! scope="col" width="300px" | Barcode Contents
|-
| Clock the selected user into a selected job
| *+CLOCKIN*
|-
| Clock the selected user out of an active job
| *+CLOCKOUT*
|}

Revision as of 20:21, 14 January 2014

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).

Workclock

The workclock system expects the barcode scanner to provide a preamble and postamble of ':$:'.

LXW

LXW defaults to preamble '~' and postamble '\r', but can be changed via Settings: 'ITrack LX'-'Preamble Character Codes' and 'Postabmle Character Codes'

Barcode Formatting

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

Objects Barcode Contents
Inventory *[inventoryid]*
Serialized Inventory *[inventoryid]-[inventoryserialid]*
Location *%[locationid]*
Sales Order *S[storeid]-[salesorderid]*
Purchase Order *P[storeid]-[purchaseorderid]*
Transfer Order *T[transferorderid]*
Work Order Job *J[jobid]*
ITrack User *U[userid]*
  • Encoded location names are currently accepted as alternate location barcode formatting even though it is not standard.


Actions Barcode Contents
Clock the selected user into a selected job *+CLOCKIN*
Clock the selected user out of an active job *+CLOCKOUT*