Show TOC

Background documentationAppendix A: Header Record

Structure

Field

Columns

Size

Values

1 Transaction Type

1 - 2

2 a/n

See Appendix B: Transaction Types

2 Transaction Modifier

3 - 3

1 n

See Appendix B: Transaction Types

3 Store ID

4 - 7

4 n

See note 1

4 Register ID

8 - 9

2 n

See note 2

5 Cashier ID

10 - 15

6 n

See note 2

6 Salesperson ID

16 - 21

6 n

See note 2

7 Date/Time

22 - 33

12 n

YYMMDDHHMMSS

8 Transaction Number

34 - 37

4 n

See note 3

9 Transaction Void Flag

38 - 38

1 n

See Appendix B: Transaction Types

10 Record # Sequence

39 - 41

3 n

11 Sale Type

42 - 43

2 n

User Defined Txn ID

12 Business Date

44 - 47

4 n

See note 4

13 Century Indicator

48 - 48

1 n

0 - 20th

1 - 21st

2 - 22nd

14 Home Currency Code

49 - 51

3 a

See note 5

Total bytes: 51

Note Note

1. These fields are extended to support wider value ranges. Therefore values in these fields represent the low-order digits, which must be combined with the corresponding high-order digit in the extension fields of individual records.

2. The default size of the transaction number is 4 digits. It can be changed up to 6 digits with Configurator: RegParm->General->Max Trans No. This specifies the maximum transaction number to be generated. The maximum number can be 999999. The default is 9999.

  • For CVTLOG output use switch -j##: This option displays the specified number of digits of the transaction number in the ASCII TLOG.

  • POS.INI: CVTLOG_TXNNUMDIGITS=# where # can be 4, 5 or 6. This option will output the specified number of digits of the transaction number in the real time trickle TLOG.

3. A new option has been added to provide for a Business Date that includes a 4 digit year. When this option is enabled, the Business Date in the ASCII TLOG file will be formatted as MMDDYYYY, instead of MMDD, which is a default.

  • POS.INI: CVTLOG_FULLBUSINESSDATE=Y. This option will output the real time ASCII TLOG records with the Business Date formatted as MMDDYYYY

  • For the CVTLOG utility, use switch -BDY. This option will output the ASCII TLOG records with the Business Date formatted as MMDDYYYY rather than MMDD.

If the 4 digit year Business Date option is enabled, all data following the Business Date field in each ASCII transaction log record will be shifted to the right by 4 characters.

4. By default, this field will not be shown in the header record.

  • For CVTLOG output use switch -k. This option adds the currency code to the TLOG header

  • POS.INI: CVTLOG_USECURRENCYCODEFLAG=Y. This option will output the currency code field to real time trickle TLOGs.

End of the note.