Lawson Software

Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Elements Libraries App Forms


                             PAYMASTR FILE

                        Employee Payment Master

This file is the driving file of the payroll cycle programs. PR140 (Earnings
and Deductions Calculation) creates one system Employee Payment Master file
record for all Employee Time Cards file records with like check groups. PR80.1
(Manual Payment) creates manual Employee Payment Master file records. The
other PR80 series programs create other types of Employee Payment Master file
records. PR160 (Payment Print) creates one Employee Payment file record for
every Employee Payment Master file record produced by PR140 (Earnings and
Deductions Calculation). When you close a payroll cycle, the system rolls the
information from the Employee Payment Master file record into the Quarterly
Wage file.

REFERENCED BY

HR00.1    HR01.1    HR170     HR70.1    PBIP.1    PR125
PR139     PR141     PR142     PR155     PR160     PR162
PR180     PR198     PR226     PR247     PR265     PR275
PR277     PR289     PR29.1    PR51.3    PR51.1    PR55.1
AC541     BN150     PR01.2    PR128     PR130     PR131
PR132     PR134     PR136     PR32.2    PR33.2    PR33.3
PR35.1    PR35.2    PR35.3    PR35.4    PR35.5    PR35.6
PR35.8    PR529     PR530     UK102     TA147     UK120
BN100     BN101     BN102     BN103     BN105     BN145
BN232     BN245     BN300     BN305     BN31.1    BN31.2
BN32.1    BN32.2    BN32.3    BN330     BN340     BN345
BN45.1    BN531     BN65.1    BN71.1    BN72.1    BS13.1
BS14.1    BS15.1    BS32.1    HCOP.1    PA594     PR188
PR260     PR270     PR276     PR278     PR294     PR418
PR50.2    PR84.1

UPDATED BY

AC542     BN500     BN66.1    HR11.1    HR11.2    HR511
HR650     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    PR140     PR189     PR195     PR197     PR300
PR36.1    PR45.1    PR560     PR80.1    PR82.1    PR85.1
PR86.1    PR89.1

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

PYM-COMPANY          Numeric 4                                   BN500   BN66.1
Company              The company number represents an            PR140   PR189
                     established company and is entered on       PR195   PR560
                     all function codes.                         PR80.1  PR82.1
                                                                 PR89.1

PYM-EMPLOYEE         Numeric 9                                   BN500   BN66.1
Employee             Contains the employee number. Each          PR140   PR189
                     person employed by the company is           PR195   PR560
                     assigned a unique number. The system        PR80.1  PR82.1
                     uses the employee number to correlate       PR89.1
                     all of the information related to that
                     person.


PYM-CHECK-ID         Numeric 12                                  AC542   BN500
Internal Check ID    Contains the payment identification         BN66.1  PR140
Number               number. The value of this field is          PR189   PR195
                     determined by the Last Check ID field in    PR560   PR80.1
                     the HR Company and Process Levels file      PR82.1  PR85.1
                     for the bank account on which this          PR89.1
                     payment is drawn.

                     This field, along with the bank account
                     number, serves as the link to the
                     Employee Payment Hours/Wages file,
                     Employee Payment Deductions file,
                     Employee ACH Distribution file,
                     Employee Payment file, and Employee
                     Payment Distribution file records
                     associated with this payment.

PYM-STATUS           Numeric 1                                   AC542   BN500
Status               Contains the payment status. Records        PR197   PR560
                     are created with a status of zero and       PR85.1
                     are updated to a status of "9" by PR199
                     (Payroll Close).
                     0 = Created
                     9 = Closed

PYM-PROCESS-LEVEL    Alpha 5                                     BN500   BN66.1
Process Level        Contains the employee's home process        HR11.1  HR11.2
                     level at the time of payment. The           HR511   HR650
                     employee's home process level, at the       PA02.1  PA100
                     time the payment is created, is moved to    PA102   PA13.1
                     this field. If you change an employee's     PA13.2  PA502
                     home process level on HR11.1 (Employee)     PA513   PA52.1
                     or by a personnel action, all open          PA52.3  PA52.4
                     payments are updated to reflect the new     PA52.5  PR110
                     home process level.                         PR113   PR120
                                                                 PR13.1  PR13.5
                                                                 PR13.6  PR13.8
                                                                 PR140   PR189
                                                                 PR195   PR560
                                                                 PR80.1  PR82.1
                                                                 PR89.1

PYM-DEPARTMENT       Alpha 5                                     BN500   BN66.1
Department           Contains the employee's home department     HR11.1  HR11.2
                     at the time of payment creation. The        HR511   HR650
                     employee's home department, at the time     PA02.1  PA100
                     of payment creation, is moved to this       PA102   PA502
                     field. If you change the home department    PA52.1  PA52.3
                     on HR11.1 (Employee) or by a personnel      PA52.4  PA52.5
                     action, all open payments and processed     PR110   PR113
                     time records are updated to reflect the     PR120   PR13.1
                     new home department.                        PR13.5  PR13.6
                                                                 PR13.8  PR140
                                                                 PR189   PR195
                                                                 PR560   PR80.1
                                                                 PR82.1  PR89.1

PYM-BANK-CODE        Alpha 4                                     BN500   BN66.1
Bank Code            Contains the bank code associated with      PR140   PR189
                     the payment or adjustment.                  PR195   PR560
                                                                 PR80.1  PR82.1
                                                                 PR89.1

PYM-GROSS-PAY        Signed 13.2                                 AC542   BN500
Gross Pay            Contains the gross payment amount.          BN66.1  PR140
                                                                 PR189   PR195
                                                                 PR560   PR80.1
                                                                 PR82.1  PR85.1
                                                                 PR89.1

PYM-NET-PAY-AMT      Signed 13.2                                 AC542   BN66.1
Net Pay Amt          Contains the net pay for the payment.       PR140   PR189
                     Net Pay is gross pay reduced                PR195   PR560
                     by all S (Employee Paid) deductions         PR80.1  PR82.1
                     and increased by any A (Add-to-Net)         PR85.1  PR89.1
                     deductions.

PYM-DED-CYCLE-NBR    Numeric 1                                   BN500   BN66.1
Ded Cycle Nbr        Contains the deduction cycle that was       PR140   PR189
                     used when processing this payment. The      PR195   PR560
                     Benefits system uses this field to track    PR80.1  PR89.1
                     the number of cycles left in a flex year
                     for an employee. The number of cycles
                     left is tracked in the Employee Flexible
                     Dollars file record with the calculation
                     taking place in PR199 (Payroll Close).

PYM-CHECK-DATE       Numeric 8  (yyyymmdd)                       AC542   BN500
Payment Date         Contains the payment date.                  BN66.1  PR140
                                                                 PR189   PR195
                                                                 PR560   PR80.1
                                                                 PR82.1  PR85.1
                                                                 PR86.1  PR89.1

PYM-PER-END-DATE     Numeric 8  (yyyymmdd)                       AC542   BN500
Period End Date      Contains the payroll period ending date.    BN66.1  PR140
                                                                 PR189   PR195
                                                                 PR560   PR80.1
                                                                 PR82.1  PR85.1
                                                                 PR89.1

PYM-CHECK-TYPE       Alpha 1                                     AC542   BN500
Payment Type         Contains the payment type. When you         BN66.1  PR140
                     void a payment in PR85.1 (Bank Account      PR189   PR195
                     Reconciliation) the original payment        PR560   PR80.1
                     type is changed to R (Reversal).            PR82.1  PR85.1
                     A = ACH                                     PR86.1  PR89.1
                     J = Adjustment
                     M = Manual
                     P = Partial ACH
                     R = Reversal
                     S = System
                     V = Partial Void
                     G = Gross Up

PYM-CHECK-NET        Signed 13.2                                 AC542   BN66.1
Net Payment Amount   Contains the actual amount for which a      PR140   PR189
                     payment is created. ACH amounts are not     PR195   PR560
                     included.                                   PR80.1  PR82.1
                                                                 PR85.1  PR86.1
                                                                 PR89.1

PYM-CHECK-NBR        Numeric 8                                   BN500   PR197
Payment Number       Contains the payment number. When an        PR560   PR80.1
                     Employee Payment file record is created     PR86.1
                     for a payment, the payment  number is
                     stored in this field. The system
                     maintains history associated with the
                     payment number even if the Employee
                     Payment file record is deleted.

PYM-DATE-STAMP       Numeric 8  (yyyymmdd)                       AC542   PR197
Date Stamp           This field contains the server date         PR560   PR85.1
                     (month, date, and year) of the last
                     change to this record.


PYM-TIME-STAMP       Numeric 6  (hhmmss)                         AC542   PR197
Time Stamp           Contains the server time (hour, minute,     PR560   PR85.1
                     and second) when the record was last
                     changed.

PYM-COUNTRY-CODE     Alpha 2                                     BN66.1  PR140
Country Code         The country code.  Required for VAT and     PR189   PR195
                     intrastat reporting.  Must be defined in    PR560   PR80.1
                      IN01.1 (Country Maintenance).              PR82.1  PR89.1


PYM-SECCLASS         Derived
Secclass

PYM-CURRENCY-CODE    Alpha 5                                     BN66.1  PR140
Currency Code        This field contains the company base        PR189   PR195
                     currency code established in Company        PR560   PR80.1
                     (GL10.1 ).                                  PR82.1  PR89.1


PYM-CURR-ND          Numeric 1                                   BN66.1  PR140
Currency Number of   Represents the number of decimals           PR189   PR195
Decimals             defined for the currency of the object.     PR560   PR80.1
                                                                 PR82.1  PR89.1

PYM-PENS-SEQ-NBR     Numeric 4                                   BN66.1  PR140
Pens Seq Nbr                                                     PR189   PR195
                                                                 PR560   PR80.1
                                                                 PR82.1  PR89.1

PYM-NON-TXBL-REMUN   Signed 13.2
Non Txbl Remun

                         PAYMASTR FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

PYMSET1   COMPANY                                                AC542   BN66.1
          EMPLOYEE                                               HR00.1  HR01.1
          CHECK-ID                                               HR11.1  HR11.2
                                                                 HR170   HR511
                                                                 HR650   HR70.1
                                                                 PA02.1  PA100
                                                                 PA102   PA502
                                                                 PA52.1  PA52.3
                                                                 PA52.4  PA52.5
                                                                 PBIP.1  PR110
                                                                 PR113   PR120
                                                                 PR125   PR13.1
                                                                 PR13.5  PR13.6
                                                                 PR13.8  PR139
                                                                 PR140   PR141
                                                                 ...

PYMSET2   COMPANY       KeyChange, Subset                        AC541   AC542
          BANK-CODE     Where STATUS = Zeroes                    BN150   HR00.1
          PROCESS-LEVEL                                          HR01.1  PBIP.1
          CHECK-TYPE                                             PR01.2  PR128
          EMPLOYEE                                               PR130   PR131
          CHECK-ID                                               PR132   PR134
                                                                 PR136   PR141
                                                                 PR160   PR189
                                                                 PR197   PR29.1
                                                                 PR32.2  PR33.2
                                                                 PR33.3  PR35.1
                                                                 PR35.2  PR35.3
                                                                 PR35.4  PR35.5
                                                                 PR35.6  PR35.8
                                                                 PR36.1  PR45.1
                                                                 ...

PYMSET4   COMPANY       KeyChange                                BN100   BN101
          EMPLOYEE                                               BN102   BN103
          CHECK-DATE                                             BN105   BN145
          CHECK-NBR                                              BN232   BN245
          CHECK-ID                                               BN300   BN305
                                                                 BN31.1  BN31.2
                                                                 BN32.1  BN32.2
                                                                 BN32.3  BN330
                                                                 BN340   BN345
                                                                 BN45.1  BN531
                                                                 BN65.1  BN66.1
                                                                 BN71.1  BN72.1
                                                                 BS13.1  BS14.1
                                                                 BS15.1  BS32.1
                                                                 HCOP.1  HR170
                                                                 ...

PYMSET5   COMPANY       KeyChange, Subset                        BN500   BN66.1
          PROCESS-LEVEL Where STATUS = Zeroes                    HR11.1  HR11.2
          EMPLOYEE                                               HR511   HR650
          CHECK-TYPE                                             PA02.1  PA100
          CHECK-ID                                               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
                                                                 PR132   PR139
                                                                 PR140   PR141
                                                                 PR142   PR160
                                                                 ...

PYMSET6   COMPANY       KeyChange                                PR197
          DATE-STAMP
          TIME-STAMP
          PROCESS-LEVEL
          EMPLOYEE
          CHECK-TYPE
          CHECK-ID

PYMSET7   COMPANY       KeyChange                                HR00.1  HR01.1
          COUNTRY-CODE                                           PBIP.1  PR197
          PROCESS-LEVEL
          EMPLOYEE
          CHECK-TYPE
          CHECK-ID

PYMSET8   COMPANY       KeyChange, Subset                        PR29.1  PR529
          EMPLOYEE      Where PENS-SEQ-NBR != Zeroes             PR560   PR82.1
          PENS-SEQ-NBR
          CHECK-ID

                         PAYMASTR FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Bank Account   BANKACCT     Required

                            BFL-BNK-ACCT-NBR     -> BAC-BNK-ACCT-NBR

Bank Code      BANKFILE     Required

                            PYM-COMPANY          -> BFL-COMPANY
                            PYM-BANK-CODE        -> BFL-BANK-CODE

Company        PRSYSTEM     Required

                            PYM-COMPANY          -> PRS-COMPANY
                            Spaces               -> PRS-PROCESS-LEVEL

Cucodes        CUCODES      Not Required

                            PYM-CURRENCY-CODE    -> CUC-CURRENCY-CODE

Department     DEPTCODE     Required
                            When PYM-DEPARTMENT != Spaces

                            PYM-COMPANY          -> DPT-COMPANY
                            PYM-PROCESS-LEVEL    -> DPT-PROCESS-LEVEL
                            PYM-DEPARTMENT       -> DPT-DEPARTMENT

Employee       EMPLOYEE     Required

                            PYM-COMPANY          -> EMP-COMPANY
                            PYM-EMPLOYEE         -> EMP-EMPLOYEE

Pr1099rhst     PR1099RHST   Not Required

                            PYM-COMPANY          -> PHR-COMPANY
                            PYM-EMPLOYEE         -> PHR-EMPLOYEE
                            PYM-CHECK-ID         -> PHR-CHECK-ID
                            PYM-PENS-SEQ-NBR     -> PHR-PENS-SEQ-NBR

Prcheck        PRCHECK      Not Required

                            PYM-COMPANY          -> PCH-COMPANY
                            PYM-CHECK-ID         -> PCH-CHECK-ID

Process Level  PRSYSTEM     Required

                            PYM-COMPANY          -> PRS-COMPANY
                            PYM-PROCESS-LEVEL    -> PRS-PROCESS-LEVEL

Prpenpay       PRPENPAY     Not Required

                            PYM-COMPANY          -> PNP-COMPANY
                            PYM-EMPLOYEE         -> PNP-EMPLOYEE
                            PYM-PENS-SEQ-NBR     -> PNP-PENS-SEQ-NBR

                         PAYMASTR FILE RELATIONS

ONE TO MANY RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Ach Distribs   EMPACHDIST   Delete Cascades

                            PYM-COMPANY          -> ACD-COMPANY
                            PYM-EMPLOYEE         -> ACD-EMPLOYEE
                            PYM-CHECK-ID         -> ACD-CHECK-ID
                                                    ACD-ACH-DIST-NBR

Adjustments    PRTRDADJ

                            PYM-COMPANY          -> PTA-COMPANY
                            PYM-EMPLOYEE         -> PTA-EMPLOYEE
                            PYM-CHECK-ID         -> PTA-ORIG-CHECK-ID
                                                    PTA-TIME-SEQ

Deductions     PAYDEDUCTN

                            PYM-COMPANY          -> PYD-COMPANY
                            PYM-EMPLOYEE         -> PYD-EMPLOYEE
                            PYM-CHECK-ID         -> PYD-CHECK-ID
                                                    PYD-DED-CODE
                                                    PYD-EDM-SEQ-NBR
                                                    PYD-REPORT-ENTITY
                                                    PYD-BUS-NBR-GRP
                                                    PYD-QC-ENT-NBR-GRP
                                                    PYD-PROCESS-LEVEL
                                                    PYD-WORK-STATE

Prdistrib      PRDISTRIB    Delete Cascades

                            PYM-COMPANY          -> PRD-COMPANY
                            PYM-EMPLOYEE         -> PRD-EMPLOYEE
                            PYM-CHECK-ID         -> PRD-CHECK-ID
                                                    PRD-OBJ-ID

Time Records   TIMERECORD

                            PYM-COMPANY          -> TRD-COMPANY
                            PYM-EMPLOYEE         -> TRD-EMPLOYEE
                            PYM-CHECK-ID         -> TRD-CHECK-ID
                                                    TRD-PAY-SUM-GRP
                                                    TRD-TIME-SEQ

Wage           PRTIME       Delete Cascades

                            PYM-COMPANY          -> PRT-COMPANY
                            PYM-EMPLOYEE         -> PRT-EMPLOYEE
                            PYM-CHECK-ID         -> PRT-CHECK-ID
                                                    PRT-PAY-SUM-GRP
                                                    PRT-TIME-SEQ