Lawson Software

Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Elements Libraries App Forms


                             QUARTDED FILE

                          Quarterly Deduction

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.

REFERENCED BY

BN232     BN335     HR170     HR70.1    PR265     PR50.1
PR50.4    PR50.3    PR52.2    PR297     PR298     PR290
PR291     PR292

UPDATED BY

BN500     PR195     PR197     PR300     PR560     PR82.1
PR85.1

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

QTD-COMPANY          Numeric 4                                   BN500   PR195
Company              The company number represents an            PR197   PR560
                     established company and is entered on       PR82.1  PR85.1
                     all function codes.

QTD-EMPLOYEE         Numeric 9                                   BN500   PR195
Employee             Contains the employee number. Each          PR197   PR560
                     person employed by the company is           PR82.1  PR85.1
                     assigned a unique number. The system
                     uses the employee number to correlate
                     all of the information related to that
                     person.

QTD-PAYROLL-YEAR     Numeric 4                                   BN500   PR195
Current Payroll Year Contains the payroll year.                  PR197   PR560
                                                                 PR82.1  PR85.1

QTD-QUARTER          Numeric 1                                   BN500   PR195
Quarter              Contains the fiscal quarter for the         PR197   PR560
                     data stored in this record.                 PR82.1  PR85.1
                     1 = First
                     2 = Second
                     3 = Third
                     4 = Fourth

QTD-DED-CODE         Alpha 4                                     BN500   PR195
Deduction Code       Contains the deduction code associated      PR197   PR560
                     with this record.                           PR82.1  PR85.1

QTD-PROCESS-LEVEL    Alpha 5                                     BN500   PR195
Process Level        This field contains the tax reporting       PR197   PR560
                     process level.                              PR82.1  PR85.1

QTD-WORK-STATE       Alpha 2                                     BN500   PR195
Work State           Contains the work state associated with     PR197   PR560
                     this record.                                PR82.1  PR85.1

QTD-DED-AMT          Signed 13.2                                 BN500   PR195
Deduction Amount     Contains the deduction amount               PR197   PR560
                     associated with this record.                PR82.1  PR85.1

QTD-TAX-WAGES        Signed 13.2                                 BN500   PR195
Taxable Wages        Contains the taxable wages associated       PR197   PR50.1
                     with this deduction record.                 PR50.3  PR560
                                                                 PR82.1  PR85.1

QTD-WAGE-AMOUNT      Signed 13.2                                 BN500   PR195
Wage Amount          Contains the sum of all wage amounts        PR197   PR560
                     from the time records.                      PR82.1  PR85.1

QTD-EXCESS           Signed 13.2                                 BN500   PR195
Excess               Contains excess wages by deduction.         PR197   PR560
                                                                 PR82.1  PR85.1

QTD-DED-TAX-CAT      Derived
Ded Tax Cat

QTD-DED-TAX-AUTH     Derived
Ded Tax Auth

QTD-COUNTRY-CODE     Alpha 2                                     PR195   PR197
Country Code         The country code.  Required for VAT and     PR560   PR82.1
                     intrastat reporting.  Must be defined in    PR85.1
                      IN01.1 (Country Maintenance).


QTD-REPORT-ENTITY    Alpha 5                                     PR195   PR197
Report Entity        Contains the report entity.                 PR560   PR82.1
                                                                 PR85.1
                     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.

QTD-BUS-NBR-GRP      Alpha 4                                     PR195   PR197
Bus Nbr Grp          Contains the business number group.         PR560   PR82.1
                                                                 PR85.1

QTD-QC-ENT-NBR-GRP   Alpha 4                                     PR195   PR197
Qc Ent Nbr Grp       Contains the Quebec enterprise number       PR560   PR82.1
                     group.                                      PR85.1

QTD-OBJ-ID           Numeric 12                                  PR195   PR197
Object               This is the object identifier. It is        PR82.1  PR85.1
Identification       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.

QTD-CURRENCY-CODE    Alpha 5                                     PR195   PR197
Currency Code        This field contains the company base        PR560   PR82.1
                     currency code established in Company        PR85.1
                     (GL10.1 ).

QTD-CURR-ND          Numeric 1                                   PR195   PR197
Currency Number of   Represents the number of decimals           PR560   PR82.1
Decimals             defined for the currency of the object.     PR85.1

QTD-PENSION          Alpha 1                                     PR560
Pension              " " = No
                     Y = Yes

                         QUARTDED FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

QTDSET1   COMPANY                                                BN232   BN335
          EMPLOYEE                                               BN500   HR170
          PAYROLL-YEAR                                           HR70.1  PR195
          QUARTER                                                PR197   PR265
          COUNTRY-CODE                                           PR300   PR50.1
          DED-CODE                                               PR50.4  PR560
          REPORT-ENTITY                                          PR82.1  PR85.1
          BUS-NBR-GRP
          QC-ENT-NBR-GRP
          PROCESS-LEVEL
          WORK-STATE
          PENSION

QTDSET2   COMPANY       KeyChange                                BN335   PR50.1
          COUNTRY-CODE                                           PR50.3  PR50.4
          PAYROLL-YEAR                                           PR52.2
          EMPLOYEE
          DED-CODE
          QUARTER
          REPORT-ENTITY
          BUS-NBR-GRP
          QC-ENT-NBR-GRP
          PROCESS-LEVEL
          WORK-STATE

QTDSET3   COMPANY       KeyChange, Subset                        PR297   PR298
          COUNTRY-CODE  Where COUNTRY-CODE =  "US"
          PAYROLL-YEAR  And   PENSION      != "Y"
          EMPLOYEE
          REPORT-ENTITY
          PROCESS-LEVEL
          DED-CODE
          QUARTER
          WORK-STATE

QTDSET4   COMPANY       KeyChange, Subset                        PR290   PR291
          COUNTRY-CODE  Where COUNTRY-CODE = "US"                PR292
          PAYROLL-YEAR
          REPORT-ENTITY
          PROCESS-LEVEL
          EMPLOYEE
          DED-CODE
          QUARTER
          WORK-STATE

QTDSET5   COMPANY       Subset
          COUNTRY-CODE  Where COUNTRY-CODE =  "CA"
          PAYROLL-YEAR  And   PENSION      != "Y"
          EMPLOYEE
          REPORT-ENTITY
          BUS-NBR-GRP
          PROCESS-LEVEL
          DED-CODE
          QUARTER
          WORK-STATE

QTDSET6   COMPANY       Subset
          COUNTRY-CODE  Where COUNTRY-CODE =  "CA"
          PAYROLL-YEAR  And   PENSION      != "Y"
          EMPLOYEE
          REPORT-ENTITY
          QC-ENT-NBR-GRP
          PROCESS-LEVEL
          DED-CODE
          QUARTER
          WORK-STATE

                         QUARTDED FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Company        PRSYSTEM     Required

                            QTD-COMPANY           -> PRS-COMPANY  (PRSSET1)
                            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 QTD-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

                         QUARTDED FILE RELATIONS

ONE TO MANY RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Prdeddtl       PRDEDDTL

                            QTD-OBJ-ID            -> PDE-QTD-OBJ-ID
                                                     PDE-TAX-STATUS
                                                     PDE-PYD-OBJ-ID