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

BN66.1    HR00.1    HR01.1    HR170     HR70.1    PR09.1
PR125     PR139     PR141     PR142     PR155     PR162
PR195     PR198     PR226     PR247     PR260     PR265
PR275     PR277     PR289     PR55.1    PR89.1    PR01.2
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    PR270     PR276
PR278     PR294     PR418     PR50.2    PR51.1    PR132

UPDATED BY

BN500     HR511     HR650     PA502     PA513     PR13.1
PR13.5    PR13.6    PR13.8    PR197     PR300     PR36.1
PR45.1    PR560     PR82.1    PR85.1    PR86.1

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

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

PYM-EMPLOYEE         Numeric 9                                   BN500   PR560
Employee             Contains the employee number. Each          PR82.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.

PYM-CHECK-ID         Numeric 12                                  BN500   PR560
Internal Check ID    Contains the payment identification         PR82.1  PR85.1
Number               number. The value of this field is
                     determined by the Last Check ID field in
                     the HR Company and Process Levels file
                     for the bank account on which this
                     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                                   BN500   PR197
Status               Contains the payment status. Records        PR560   PR85.1
                     are created with a status of zero and
                     are updated to a status of "9" by PR199
                     (Payroll Close).
                     0 = Created
                     9 = Closed

PYM-PROCESS-LEVEL    Alpha 5                                     BN500   HR511
Process Level        Contains the employee's home process        HR650   PA502
                     level at the time of payment. The           PA513   PR13.1
                     employee's home process level, at the       PR13.5  PR13.6
                     time the payment is created, is moved to    PR13.8  PR560
                     this field. If you change an employee's     PR82.1
                     home process level on HR11.1 (Employee)
                     or by a personnel action, all open
                     payments are updated to reflect the new
                     home process level.

PYM-DEPARTMENT       Alpha 5                                     BN500   PR560
Department           Contains the employee's home department     PR82.1
                     at the time of payment creation. The
                     employee's home department, at the time
                     of payment creation, is moved to this
                     field. If you change the home department
                     on HR11.1 (Employee) or by a personnel
                     action, all open payments and processed
                     time records are updated to reflect the
                     new home department.

PYM-BANK-CODE        Alpha 4                                     BN500   PR560
Bank Code            Contains the bank code associated with      PR82.1
                     the payment or adjustment.

PYM-GROSS-PAY        Signed 13.2                                 BN500   PR560
Gross Pay            Contains the gross payment amount.          PR82.1  PR85.1

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

PYM-DED-CYCLE-NBR    Numeric 1                                   BN500   PR560
Ded Cycle Nbr        Contains the deduction cycle that was
                     used when processing this payment. The
                     Benefits system uses this field to track
                     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)                       BN500   PR560
Payment Date         Contains the payment date.                  PR82.1  PR85.1
                                                                 PR86.1

PYM-PER-END-DATE     Numeric 8  (yyyymmdd)                       BN500   PR560
Period End Date      Contains the payroll period ending date.    PR82.1  PR85.1

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

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

PYM-CHECK-NBR        Numeric 8                                   BN500   PR197
Payment Number       Contains the payment number. When an        PR560   PR86.1
                     Employee Payment file record is created
                     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)                       PR197   PR560
Date Stamp           This field contains the server date
                     (month, date, and year) of the last
                     change to this record.

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

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


PYM-SECCLASS         Derived
Secclass

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

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

PYM-PENS-SEQ-NBR     Numeric 4                                   PR560
Pens Seq Nbr

                         PAYMASTR FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

PYMSET1   COMPANY                                                BN66.1  HR00.1
          EMPLOYEE                                               HR01.1  HR170
          CHECK-ID                                               HR511   HR650
                                                                 HR70.1  PA502
                                                                 PR09.1  PR125
                                                                 PR13.1  PR13.5
                                                                 PR13.6  PR13.8
                                                                 PR139   PR141
                                                                 PR142   PR155
                                                                 PR162   PR195
                                                                 PR197   PR198
                                                                 PR226   PR247
                                                                 PR260   PR265
                                                                 PR275   PR277
                                                                 PR289   PR300
                                                                 ...

PYMSET2   COMPANY       KeyChange, Subset                        HR00.1  HR01.1
          BANK-CODE     Where STATUS = Zeroes                    PR01.2  PR141
          PROCESS-LEVEL                                          PR197
          CHECK-TYPE
          EMPLOYEE
          CHECK-ID

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                    HR511   HR650
          EMPLOYEE                                               PA502   PA513
          CHECK-TYPE                                             PR13.1  PR13.5
          CHECK-ID                                               PR13.6  PR13.8
                                                                 PR132   PR139
                                                                 PR141   PR142
                                                                 PR195   PR197
                                                                 PR36.1  PR82.1
                                                                 PR82.2  PR89.1

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

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

PYMSET8   COMPANY       KeyChange, Subset
          EMPLOYEE      Where PENS-SEQ-NBR != Zeroes
          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  (BACSET1)

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

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