The text file interface provides a mechanism for the ATT software to communicate with an Asset Register that supports data export to and data import facilities as illustrated in the diagram.
The text file interface is most commonly used to interface the ATT software with Microsoft Excel or a third party management software package that supports data exports to text files and data imports from text files.
The diagram below displays the components involved in the communication between a generic text host and the ATT software.
The text file interface is configured using two different files, the “attconf” file, and the “flexmessconfig” file.
The table below describes the “toscanner.txt” and “fromscanner.txt” file default formats for the ATT software. Note that all fields are character fields, and have fixed length. It is recommended that the field names supplied here be used. However, other field names should function correctly.
|Field Name||Length||Fld #||Comments|
|key||30||0||The primary key. This must have the exact contents of the item bar code. Typically this is copied from the “assetnum” field or the “inventorynum” field.|
|laststocktake||8||1||The counted date in “YYYYMMDD” format. The contents of this field are overwritten with the current date when scanning an item.|
|time||6||2||The counted time in “hhmmss” format. The contents of this field are overwritten with the current time when scanning an item.|
|counted||1||3||Flag to indicate if the item was counted.|
|multi||1||4||Flag to indicate multiple records. Used internally by ATT.|
|inventorynum||25||5||The inventory number or tag number of the item. Often used as the bar code of the item. Copy this value to the “key” field to use it as the bar code with ATT.|
|assetnum||12||6||The asset number of the item. Sometimes used as the bar code of the item. Copy this value to the “key” field to use it as the bar code with ATT.|
|respcostcentre||10||10||Responsible Cost Centre|
|class||8||16||Class or type|
|assetsubnum||4||21||Asset or item sub-number|
|userid||20||29||User ID. If blank, this is automatically populated with the identity of the scanner that performed the scanning. The scanner ID is the PalmOS “user name”.|
|licenseplt||20||35||Licence Plate. This is sometimes used as a serial number if the “serialno” field is not long enough.|
|subloctext||30||38||Sub location text|
|scanstatus||1||40||Scanned verses keyed input status. Non blank for scanned input.|
If your Asset Register software already has data export and data import capabilities, then you will need to customise the “toscanner.txt” and “fromscanner.txt” data formats. The type of file, along with the field lengths and the order in which the fields appear may be edited.
The ATT software supports a number of file types. The relevant ones are:
There are also a number of variants supported by the ATT software. These are: