Difference between revisions of "ITrack/Barcodes"

From ISoft Wiki
Jump to navigationJump to search
(→‎Barcode contents: Turning into a table)
(→‎Barcode contents: Adding storeid to document barcodes)
Line 35: Line 35:
|-
|-
| Sales Order
| Sales Order
| '''S[salesorderid]'''
| '''S[storeid]-[salesorderid]'''
|-
|-
| Purchase Order
| Purchase Order
| '''P[purchaseorderid]'''
| '''P[storeid]-[purchaseorderid]'''
|-
|-
| Serialized part
| Serialized part

Revision as of 17:06, 5 June 2012

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 and LX

Both the workclock system and LX expect the barcode scanner to provide a preamble and postamble of ':$:'.

Barcode contents

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

Object Barcode contents Notes
Inventory [inventoryid] OR [UPC code] 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.
Location %[locationid] OR [full location name] 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 Job J[job id]
Sales Order S[storeid]-[salesorderid]
Purchase Order P[storeid]-[purchaseorderid]
Serialized part [inventoryid]-[inventoryserialid]

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