TXCALENDAR – VAT calendar header

System
Tax (TX)
Prefix
TXA
Primary key
COMPANY, TAX-YEAR
Fields
2
Updated by
1 program
Referenced by
7 programs

TXCALENDAR is the VAT calendar header table in Lawson Tax (prefix TXA). It is indexed by COMPANY, TAX-YEAR (TXASET1). It is related 1:M to TXCALDTL. It is updated by TX08.1 and referenced by AP272, TX101, TX120, TX125, TX222, TX226 and TX301. The table has 2 fields, 1 index and 1 documented relation.

About TXCALENDAR

No description in the Lawson data dictionary.

Fields (2)

Column = COBOL field name without the TXA- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#TXA-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.TX08.1
#TXA-TAX-YEAR PK
TAX_YEAR
Numeric 4The tax year for which the calendar was defined.TX08.1

Indexes (1)

Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
TXASET1
  1. COMPANY
  2. TAX-YEAR
PrimaryAP272, TX08.1, TX101, TX120, TX125, TX222, TX226, TX301

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
TXCALDTLTXCALENDAR

One to many (1) — child tables

RelationTableRulesConditionField map
Calendar DtlTXCALDTL
TXA-COMPANY→TXB-COMPANY
TXA-TAX-YEAR→TXB-TAX-YEAR
—→TXB-TAX-PERIOD

Programs

Updated by (1)

Referenced by (7)