QUARTDED – Quarterly Deduction
- System
- Payroll (PR)
- Prefix
QTD- Primary key
COMPANY,EMPLOYEE,PAYROLL-YEAR,QUARTER,COUNTRY-CODE,DED-CODE,REPORT-ENTITY,BUS-NBR-GRP,QC-ENT-NBR-GRP,PROCESS-LEVEL,WORK-STATE,PENSION- Fields
- 22
- Updated by
- 43 programs
- Referenced by
- 34 programs
QUARTDED is the Quarterly Deduction table in Lawson Payroll (prefix QTD). It is indexed by COMPANY, EMPLOYEE, PAYROLL-YEAR, QUARTER, COUNTRY-CODE, DED-CODE, REPORT-ENTITY, BUS-NBR-GRP, QC-ENT-NBR-GRP, PROCESS-LEVEL, WORK-STATE, PENSION (QTDSET1); alternate indexes: QTDSET10, QTDSET2, QTDSET3, QTDSET4 and QTDSET5. It is related 1:1 to PRSYSTEM, DEDCODE, EMPLOYEE, PRQCENTGRP, PRTAXAUTH and PRSTATE and 1:M to PRDEDDTL. It is updated by BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 and 35 more and referenced by BN232, BN335, BN66.1, HR170, HR70.1, PR11.3, PR11.5, PR139 and 26 more. The table has 22 fields, 6 indexes and 8 documented relations.
About QUARTDED
This file contains all deduction history for an employee, summarized by quarter, and is updated every time you run PR199 (Payroll Close) to close a payroll cycle. One of the primary functions of this file is to produce W-2 information. Therefore, deduction history for an employee is stored by work state, process level, and department. Creating records by process level is necessary to accommodate tax processing by process level, and including department level storage enables reporting summary totals by department.
Fields (22)
Column = COBOL field name without the QTD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
QTD-COMPANY PKCOMPANY | Numeric 4 | — | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains the employee number. Each person employed by the company is assigned a unique number. The system uses the employee number to correlate all of the information related to that person. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-PAYROLL-YEAR PKPAYROLL_YEAR | Numeric 4 | Contains the payroll year. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-QUARTER PKQUARTER | Numeric 1 | Contains the fiscal quarter for the data stored in this record.
| PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-DED-CODE PKDED_CODE | Alpha 4 | Contains the deduction code associated with this record. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-PROCESS-LEVEL PKPROCESS_LEVEL | Alpha 5 | This field contains the tax reporting process level. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-WORK-STATE PKWORK_STATE | Alpha 2 | Contains the work state associated with this record. | PR195, PR197, PR240, PR241, PR242, PR299, PR560, PR582 +2 more |
QTD-DED-AMTDED_AMT | Signed 13.2 | Contains the deduction amount associated with this record. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-TAX-WAGESTAX_WAGES | Signed 13.2 | Contains the taxable wages associated with this deduction record. | PR195, PR197, PR50.1, PR50.3, PR560, PR582, PR82.1, PR85.1 +1 more |
QTD-WAGE-AMOUNTWAGE_AMOUNT | Signed 13.2 | Contains the sum of all wage amounts from the time records. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-EXCESSEXCESS | Signed 13.2 | Contains excess wages by deduction. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-DED-TAX-CATDED_TAX_CAT | Derived | — | — |
QTD-DED-TAX-AUTHDED_TAX_AUTH | Derived | — | — |
QTD-COUNTRY-CODE PKCOUNTRY_CODE | Alpha 2 | The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-REPORT-ENTITY PKREPORT_ENTITY | Alpha 5 | Contains the report entity. Report Entity is the Process Level or Company that this Process Level reports to for tax reporting. If the Process Level itself is independent then the independent Process Level is the Report Entity. If the Process Level is non independent and is associated to a independent head Process Level then the independent head Process Level is the Report Entity. If the Process Level is non independent and is not associated to a independent head Process Level then the Company is the Report Entity. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-BUS-NBR-GRP PKBUS_NBR_GRP | Alpha 4 | Contains the business number group. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-QC-ENT-NBR-GRP PKQC_ENT_NBR_GRP | Alpha 4 | Contains the Quebec enterprise number group. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-OBJ-IDOBJ_ID | Numeric 12 | This is the object identifier. It is used to relate commitments or posted transactions back to the originating subsystems. Each subsystem record that is updated as a commitment or posted transaction is assigned an object identifier. The object identifier is maintained in the subsystem files and in the Activity Commitments Detail and Activity Transaction files. The object identifier is a unique key used to drill back from Activity Management to the subsystems. | PR195, PR197, PR582, PR82.1, PR85.1 |
QTD-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-PENSION PKPENSION | Alpha 1 | " " = No
| PR195, PR197, PR560, PR582, PR82.1, PR85.1 |
QTD-HM-PROC-LEVELHM_PROC_LEVEL | Alpha 5 | — | BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +30 more |
Indexes (6)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
QTDSET1 | COMPANY, EMPLOYEE, PAYROLL-YEAR, QUARTER, COUNTRY-CODE, DED-CODE, REPORT-ENTITY, BUS-NBR-GRP, QC-ENT-NBR-GRP, PROCESS-LEVEL, WORK-STATE, PENSION | Primary | BN232, BN305, BN335, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1 +22 more (list truncated in source) | |
QTDSET10 | COMPANY, HM-PROC-LEVEL, EMPLOYEE, PAYROLL-YEAR, QUARTER, COUNTRY-CODE, DED-CODE, REPORT-ENTITY, BUS-NBR-GRP, QC-ENT-NBR-GRP, PROCESS-LEVEL, WORK-STATE, PENSION | KeyChange | HR170, HR70.1, PR560 | |
QTDSET2 | COMPANY, COUNTRY-CODE, PAYROLL-YEAR, EMPLOYEE, DED-CODE, QUARTER, REPORT-ENTITY, BUS-NBR-GRP, QC-ENT-NBR-GRP, PROCESS-LEVEL, WORK-STATE, PENSION | KeyChange | BN335, BN66.1, PR11.3, PR11.5, PR140, PR189, PR195, PR240 +19 more | |
QTDSET3 | COMPANY, COUNTRY-CODE, PAYROLL-YEAR, EMPLOYEE, REPORT-ENTITY, PROCESS-LEVEL, DED-CODE, QUARTER, WORK-STATE | KeyChange, Subset | Where COUNTRY-CODE = "US" And PENSION != "Y" | PR252, PR297, PR299 |
QTDSET4 | COMPANY, COUNTRY-CODE, PAYROLL-YEAR, REPORT-ENTITY, PROCESS-LEVEL, EMPLOYEE, DED-CODE, QUARTER, WORK-STATE, PENSION | KeyChange, Subset | Where COUNTRY-CODE = "US" | PR287, PR290, PR291, PR292, PR294 |
QTDSET5 | COMPANY, COUNTRY-CODE, PAYROLL-YEAR, EMPLOYEE, REPORT-ENTITY, BUS-NBR-GRP, PROCESS-LEVEL, DED-CODE, QUARTER, WORK-STATE, QC-ENT-NBR-GRP | Subset | Where COUNTRY-CODE = "CA" And PENSION != "Y" | PR248 |
Relations
One to one (7) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | QTD-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Deduction Code | DEDCODE | Required | QTD-COMPANY → DDC-COMPANY, QTD-DED-CODE → DDC-DED-CODE | |
| Employee | EMPLOYEE | Required | QTD-COMPANY → EMP-COMPANY, QTD-EMPLOYEE → EMP-EMPLOYEE | |
| Process Level | PRSYSTEM | Required | QTD-COMPANY → PRS-COMPANY, QTD-PROCESS-LEVEL → PRS-PROCESS-LEVEL | |
| Prqcentgrp | PRQCENTGRP | Not Required | QTD-COMPANY → PQC-COMPANY, QTD-PROCESS-LEVEL → PQC-PROCESS-LEVEL, QTD-QC-ENT-NBR-GRP → PQC-QC-ENT-NBR-GRP | |
| Tax Authority | PRTAXAUTH | Required | When DDC-CALC-TYPE = "T" | DDC-TAX-ID-CODE → PRX-TAX-ID-CODE |
| Work State | PRSTATE | Required | When QTD-WORK-STATE != Spaces | QTD-WORK-STATE → PSA-STATE |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Prdeddtl | PRDEDDTL | QTD-OBJ-ID → PDE-QTD-OBJ-ID, → PDE-TAX-STATUS, → PDE-PYD-OBJ-ID |
Programs
Updated by (43)
- BN305 Highly Compensated Employees
- HR11.1 Employee
- HR11.2 Compensation Analysis
- HR11.4 Employee Assignment Inquiry
- HR28.1 Employee Ethnicity
- HR511 Employee Conversion
- LT101 HRM Receiver Update
- LT111 HRM Receiver Update
- PA02.1 Position
- PA100 Action Update
- PA102 Position Update
- PA115 Employee Purge
- PA13.1 Multiple Positions and Jobs
- PA13.2 Multiple Position and Job History
- PA502 Position Conversion
- PA513 Position and Job Conversion
- PA52.1 Individual Action
- PA52.3 Mass Action
- PA52.4 Hire an Applicant
- PA52.5 Position and Job Action
- PR110 Step And Grade Audit
- PR113 United States Tax Deduction Update
- PR12.6 Employee Automatic Deposit
- PR120 Mass Pay Update
- PR13.1 Employee United States Taxes
- PR13.5 Employee Canada Taxes
- PR13.6 Employee Canada Taxes
- PR13.8 U.S. Tax Deduction Errors
- PR13.9 Employee Additional Tax Details
- PR195 Accrual Program
- PR197 Payroll Close
- PR266 Quarterly Tax Balancing Report
- PR287 Quarterly Federal Tax Return
- PR292 Quarterly Unemployment Ins
- PR294 United States Balancing Report
- PR30.2 Employee Automatic Time Record
- PR300 History Purge
- PR512 Employee ACH Distribution Interface
- PR560 Payroll History Load CSV
- PR582 Mass Adjustment Load
- PR82.1 Adjustment
- PR85.1 Bank Account Reconciliation
- ZH510 Update PCP from ZPENDPCP
Referenced by (34)
- BN232 Benefits Statement
- BN335 Employee Deferral Report
- BN66.1 Estimated Pay Calculation
- HR170 Human Resource Writer Report Request
- HR70.1 Human Resource Writer Inquiry
- PR11.3 Employee HIRE Act Tax Reporting Info
- PR11.5 Employee Year-End PA TCD Override
- PR139 Arrears Automation
- PR140 Earnings and Deductions Calculation
- PR189 Gross Up Calculation
- PR240 T4-T4A Slips
- PR241 T4-T4A XML
- PR242 T4-T4A Reports
- PR243 Releve Slips
- PR244 Releve Magnetic Media
- PR245 Releve Reports
- PR248 Canada Annual Reports
- PR249 PIER Audit Report
- PR251 1099-R File Creation
- PR252 United States Territory W-2 Form Printing
- PR290 Quarterly Report
- PR291 Unemployment Continuation Form
- PR297 W-2 Forms
- PR299 EFW2 File Creation
- PR50.1 United States Quarterly Payment Inquiry
- PR50.3 Year To Date Totals
- PR50.4 State and Local Taxable Wages
- PR52.2 Deduction History Detail
- PR597 Employee Year-End PA TCD Override Upload
- PR80.1 Manual Check
- PR80.4 Manual Payment
- PR89.1 Payment Modeling
- PRAT.1 Alltax connection test
- ZP529 Payroll CA state qtr tax