PRTAXAUTH – Tax Authority

System
Payroll (PR)
Prefix
PRX
Primary key
TAX-ID-CODE
Fields
12
Updated by
3 programs
Referenced by
249 programs

PRTAXAUTH is the Tax Authority table in Lawson Payroll (prefix PRX). It is indexed by TAX-ID-CODE (PRXSET1); alternate indexes: PRXSET2, PRXSET3 and PRXSET4. It is related 1:1 to PRTAXID, PRPROVINCE and PRSTATE and 1:M to PRMINWAGE and PRTAXID. It is updated by PR06.1, PR08.1 and PR906 and referenced by BN100, BN101, BN102, BN103, BN104, BN105, BN145, BN150 and 241 more. The table has 12 fields, 4 indexes and 5 documented relations.

About PRTAXAUTH

This file contains the tax authority that provides the link between the Payroll system and the Business Software, Inc. tax tables. Tax authorities can be company or process level specific.

Fields (12)

Column = COBOL field name without the PRX- 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
#PRX-TAX-ID-CODE PK
TAX_ID_CODE
Alpha 10Contains the tax authority.PR06.1, PR08.1
#PRX-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)Contains the tax authority description.PR06.1, PR08.1
#PRX-BSI-AUTHORITY SET4
BSI_AUTHORITY
Alpha 11Contains the BSI tax code that determines the tax tables the system uses. For proper calculation, you must tie tax deductions to the appropriate BSI tax codes.BN66.1, PR06.1, PR08.1, PR89.1, PR906
#PRX-W2-DESC
W2_DESC
Alpha 6 (Lower Case)Contains the tax authority description that prints on the W-2 form created by PR297 (W-2 Forms) for state and local taxes.PR06.1, PR08.1
#PRX-TAX-AUTH-TYPE SET2
TAX_AUTH_TYPE
Alpha 2Contains the tax authority type.
  • FD Federal
  • ST State
  • CI City
  • CN County
  • SD School District
  • TD Transportation District
  • PR Province
PR06.1, PR08.1
#PRX-TAX-STATE SET2
TAX_STATE
Alpha 2Contains the value that identifies the state in which the tax authority is located if the authority type is anything but FD (Federal). This field along with the Authority Type field determines if the State Rpt subform is accessible.PR06.1, PR08.1
#PRX-STATE-RECIP
STATE_RECIP
Alpha 1Contains the value that indicates if the state associated with the tax authority participates in reciprocity.
  • Y Yes
  • N No
PR06.1, PR08.1
#PRX-COUNTY-CODE
COUNTY_CODE
Numeric 2Contains the 2-digit county code required for W-2 tape reporting in the state of Indiana.PR06.1, PR08.1
#PRX-SCH-DIST-NBR
SCH_DIST_NBR
Alpha 4Contains the school district number required by the state of Ohio for W-2 tape reporting.PR06.1, PR08.1
#PRX-GARN-ONLY
GARN_ONLY
Alpha 1Determines what fields are required when adding a tax authority.
  • Y Yes
  • N No
PR06.1, PR08.1
#PRX-COUNTRY-CODE SET3
COUNTRY_CODE
Alpha 2The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). CA USPR06.1, PR08.1
#PRX-TAX-PROVINCE SET2
TAX_PROVINCE
Alpha 2—PR08.1

Indexes (4)

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
PRXSET1
  1. TAX-ID-CODE
PrimaryBN100, BN101, BN102, BN103, BN104, BN105, BN145, BN150 +22 more (list truncated in source)
PRXSET2
  1. TAX-AUTH-TYPE
  2. TAX-STATE
  3. TAX-PROVINCE
  4. TAX-ID-CODE
KeyChangeBN66.1, PR06.1, PR08.1, PR11.3, PR11.5, PR139, PR140, PR189 +21 more
PRXSET3
  1. COUNTRY-CODE
  2. TAX-ID-CODE
PR05.1, PR06.1, PR06.2, PR06.3, PR06.4, PR06.5, PR06.6, PR06.7 +22 more (list truncated in source)
PRXSET4
  1. BSI-AUTHORITY
  2. TAX-ID-CODE
KeyChangeBN150, BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 +22 more (list truncated in source)

Relations

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

One to one (3) — lookups and parents

RelationTableRulesConditionField map
Default Tax IdPRTAXIDRequired
PRX-TAX-ID-CODE→PTI-TAX-ID-CODE
Zeroes→PTI-COMPANY
Spaces→PTI-PROCESS-LEVEL
ProvincePRPROVINCENot Required
PRX-TAX-PROVINCE→PPV-PROVINCE
StatePRSTATERequiredWhen PRX-TAX-STATE != Spaces
PRX-TAX-STATE→PSA-STATE

One to many (2) — child tables

RelationTableRulesConditionField map
Minimum WagePRMINWAGEDelete Cascades
PRX-TAX-ID-CODE→PMW-TAX-ID-CODE
—→PMW-EFFECT-DATE
Tax Id NbrsPRTAXIDDelete Cascades
PRX-TAX-ID-CODE→PTI-TAX-ID-CODE
—→PTI-COMPANY
—→PTI-PROCESS-LEVEL

Programs

Updated by (3)

Referenced by (249)