Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

QUARTDED


                             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     PA115     PR265     PR50.1    PR50.4
PR50.3    HR170     HR70.1    PR240     PR241     PR242
PR243     PR244     PR245     PR52.2    PR252     PR297
PR298     PR299     PR290     PR291     PR292     PR294
PR248

UPDATED BY

HR11.1    HR11.2    HR511     PA02.1    PA100     PA102
PA13.1    PA13.2    PA502     PA513     PA52.1    PA52.3
PA52.4    PA52.5    PR110     PR113     PR120     PR13.1
PR13.5    PR13.6    PR13.8    PR197     PR300     PR560
PR82.1    PR85.1

FIELD NAME             DESCRIPTION/VALID VALUES                  UPDATED BY

QTD-COMPANY            Numeric 4                                 PR197   PR560
Element: Company Hr    Identifies the AP company if the          PR82.1  PR85.1
                       resource type = V.  Identifies the HR
                       company if the resource type = E.  It is
                       blank for type A, P or Q resources.

QTD-EMPLOYEE           Numeric 9                                 PR197   PR560
Element: Employee      Contains the employee number. Each        PR82.1  PR85.1
                       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.

QTD-PAYROLL-YEAR       Numeric 4                                 PR197   PR560
Element: Current PayrolContains the payroll year.                PR82.1  PR85.1

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

QTD-DED-CODE           Alpha 4                                   PR197   PR560
Element: Deduction CodeContains the deduction code associated    PR82.1  PR85.1
                       with this record.

QTD-PROCESS-LEVEL      Alpha 5                                   PR197   PR560
Element: Process Lev HrThis field contains the tax reporting     PR82.1  PR85.1
                       process level.

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

QTD-DED-AMT            Signed 13.2                               PR197   PR560
Element: Deduction AmouContains the deduction amount             PR82.1  PR85.1
                       associated with this record.

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

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

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

QTD-DED-TAX-CAT        Derived
Element: Ded Tax Cat

QTD-DED-TAX-AUTH       Derived
Element: Ded Tax Auth

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

QTD-REPORT-ENTITY      Alpha 5                                   PR197   PR560
Element: Report Entity Contains the report entity.               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                                   PR197   PR560
Element: Bus Nbr Grp   Contains the business number group.       PR82.1  PR85.1

QTD-QC-ENT-NBR-GRP     Alpha 4                                   PR197   PR560
Element: Qc Ent Nbr GrpContains the Quebec enterprise number     PR82.1  PR85.1
                       group.

QTD-OBJ-ID             Numeric 12                                PR197   PR82.1
Object                 This is the object identifier. It is      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                                   PR197   PR560
Element: Currency Code This field contains the company base      PR82.1  PR85.1
                       currency code established in Company
                       (GL10.1 ).

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

QTD-PENSION            Alpha 1                                   PR197   PR560
Element: Pension       " " = No                                  PR82.1  PR85.1
                       Y = Yes

QTD-HM-PROC-LEVEL      Alpha 5                                   HR11.1  HR11.2
Element: Process Lev HrContains the employee's home process      HR511   PA02.1
                       level.                                    PA100   PA102
                                                                 PA13.1  PA13.2
                                                                 PA502   PA513
                                                                 PA52.1  PA52.3
                                                                 PA52.4  PA52.5
                                                                 PR110   PR113
                                                                 PR120   PR13.1
                                                                 PR13.5  PR13.6
                                                                 PR13.8  PR197
                                                                 PR560   PR82.1
                                                                 PR85.1

                         QUARTDED FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

QTDSET1   COMPANY                                                BN232   BN335
          EMPLOYEE                                               HR11.1  HR11.2
          PAYROLL-YEAR                                           HR511   PA02.1
          QUARTER                                                PA100   PA102
          COUNTRY-CODE                                           PA115   PA13.1
          DED-CODE                                               PA13.2  PA502
          REPORT-ENTITY                                          PA513   PA52.1
          BUS-NBR-GRP                                            PA52.3  PA52.4
          QC-ENT-NBR-GRP                                         PA52.5  PR110
          PROCESS-LEVEL                                          PR113   PR120
          WORK-STATE                                             PR13.1  PR13.5
          PENSION                                                PR13.6  PR13.8
                                                                 PR197   PR265
                                                                 PR300   PR50.1
                                                                 PR50.4  PR560
                                                                 ...

QTDSET10  COMPANY       KeyChange                                HR170   HR70.1
          HM-PROC-LEVEL                                          PR560
          EMPLOYEE
          PAYROLL-YEAR
          QUARTER
          COUNTRY-CODE
          DED-CODE
          REPORT-ENTITY
          BUS-NBR-GRP
          QC-ENT-NBR-GRP
          PROCESS-LEVEL
          WORK-STATE
          PENSION

QTDSET2   COMPANY       KeyChange                                BN335   PR240
          COUNTRY-CODE                                           PR241   PR242
          PAYROLL-YEAR                                           PR243   PR244
          EMPLOYEE                                               PR245   PR50.1
          DED-CODE                                               PR50.3  PR50.4
          QUARTER                                                PR52.2  PR560
          REPORT-ENTITY
          BUS-NBR-GRP
          QC-ENT-NBR-GRP
          PROCESS-LEVEL
          WORK-STATE
          PENSION

QTDSET3   COMPANY       KeyChange, Subset                        PR252   PR297
          COUNTRY-CODE  Where COUNTRY-CODE =  "US"               PR298   PR299
          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   PR294
          PAYROLL-YEAR                                           PR298
          REPORT-ENTITY
          PROCESS-LEVEL
          EMPLOYEE
          DED-CODE
          QUARTER
          WORK-STATE
          PENSION

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

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

QTDSET7   COMPANY       KeyChange
          COUNTRY-CODE
          PAYROLL-YEAR
          BUS-NBR-GRP
          PROCESS-LEVEL
          EMPLOYEE
          DED-CODE
          QUARTER
          WORK-STATE
          REPORT-ENTITY

QTDSET8   COMPANY       KeyChange, Subset
          COUNTRY-CODE  Where WORK-STATE     =  "QC"
          PAYROLL-YEAR  And   QC-ENT-NBR-GRP != Spaces
          QC-ENT-NBR-GRP
          PROCESS-LEVEL
          EMPLOYEE
          DED-CODE
          QUARTER
          REPORT-ENTITY

QTDSET9   COMPANY       KeyChange
          COUNTRY-CODE
          PAYROLL-YEAR
          PROCESS-LEVEL
          BUS-NBR-GRP
          QC-ENT-NBR-GRP
          EMPLOYEE
          DED-CODE
          QUARTER
          WORK-STATE
          REPORT-ENTITY

                         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 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

                         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