PAYMASTR – Employee Payment Master
- System
- Payroll (PR)
- Prefix
PYM- Primary key
COMPANY,EMPLOYEE,CHECK-ID- Fields
- 29
- Updated by
- 58 programs
- Referenced by
- 111 programs
PAYMASTR is the Employee Payment Master table in Lawson Payroll (prefix PYM). It is indexed by COMPANY, EMPLOYEE, CHECK-ID (PYMSET1); alternate indexes: PYMSET10, PYMSET11, PYMSET12, PYMSET2, PYMSET3, PYMSET4, PYMSET5, PYMSET6 and 3 more. It is related 1:1 to BANKACCT, BANKFILE, PRSYSTEM, CUCODES, DEPTCODE, EMPLOYEE, PR1099RHST, PRCHECK and 1 more and 1:M to EMPACHDIST, PRTRDADJ, PAYDEDUCTN, PRDISTRIB, TIMERECORD and PRTIME. It is updated by BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 and 50 more and referenced by BN100, BN101, BN102, BN103, BN105, BN145, BN150, BN232 and 103 more. The table has 29 fields, 12 indexes and 16 documented relations.
About PAYMASTR
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.
Fields (29)
Column = COBOL field name without the PYM- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PYM-COMPANY PKCOMPANY | Numeric 4 | — | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +3 more |
PYM-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. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +3 more |
PYM-CHECK-ID PKCHECK_ID | Numeric 12 | Contains the payment identification 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. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +4 more |
PYM-STATUSSTATUS | Numeric 1 | Contains the payment status. Records are created with a status of zero and are updated to a status of "9" by PR199 (Payroll Close).
| PR197, PR560, PR85.1 |
PYM-PROCESS-LEVELPROCESS_LEVEL | Alpha 5 | Contains the employee's home process level at the time of payment. The employee's home process level, at the time the payment is created, is moved to this field. If you change an employee's home process level on HR11.1 (Employee) or by a personnel action, all open payments are updated to reflect the new home process level. | BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 +35 more |
PYM-DEPARTMENTDEPARTMENT | Alpha 5 | Contains the employee's home department 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. | BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 +35 more |
PYM-BANK-CODEBANK_CODE | Alpha 4 | Contains the bank code associated with the payment or adjustment. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +3 more |
PYM-GROSS-PAYGROSS_PAY | Signed 13.2 | Contains the gross payment amount. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +4 more |
PYM-NET-PAY-AMTNET_PAY_AMT | Signed 13.2 | Contains the net pay for the payment. Net Pay is gross pay reduced by all S (Employee Paid) deductions and increased by any A (Add-to-Net) deductions. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +4 more |
PYM-DED-CYCLE-NBRDED_CYCLE_NBR | Numeric 1 | 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). | BN66.1, PR140, PR189, PR195, PR560, PR80.1, PR80.4, PR89.1 +1 more |
PYM-CHECK-DATECHECK_DATE | Numeric 8 (yyyymmdd) | Contains the payment date. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +5 more |
PYM-PER-END-DATEPER_END_DATE | Numeric 8 (yyyymmdd) | Contains the payroll period ending date. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +3 more |
PYM-CHECK-TYPECHECK_TYPE | Alpha 1 | Contains the payment type. When you void a payment in PR85.1 (Bank Account Reconciliation) the original payment type is changed to R (Reversal).
| BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +5 more |
PYM-CHECK-NETCHECK_NET | Signed 13.2 | Contains the actual amount for which a payment is created. ACH amounts are not included. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +5 more |
PYM-CHECK-NBRCHECK_NBR | Numeric 8 | Contains the payment number. When an 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. | PR197, PR560, PR80.1, PR80.4, PR86.1 |
PYM-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | PR197, PR560, PR85.1 |
PYM-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | PR197, PR560, PR85.1 |
PYM-COUNTRY-CODECOUNTRY_CODE | Alpha 2 | The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +3 more |
PYM-SECCLASSSECCLASS | Derived | — | — |
PYM-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +3 more |
PYM-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +3 more |
PYM-PENS-SEQ-NBRPENS_SEQ_NBR | Numeric 4 | — | BN66.1, PR140, PR189, PR195, PR560, PR582, PR80.1, PR80.4 +3 more |
PYM-NON-TXBL-REMUNNON_TXBL_REMUN | Signed 13.2 | — | BN66.1, PR140, PR189, PR195, PR560, PR80.1, PR80.4, PR82.1 +3 more |
PYM-OT-PLAN-CODEOT_PLAN_CODE | Alpha 4 | Identifies pay plan in effect for employee when PRDISTRIB record was created from PR197 (PRPRD). | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
PYM-PERIOD-NBRPERIOD_NBR | Numeric 3 | For Future Development Use | — |
PYM-PAYROLL-YEARPAYROLL_YEAR | Numeric 4 | For Future Development Use | BN66.1, PR140, PR189, PR195, PR582, PR80.1, PR80.4, PR82.1 +2 more |
PYM-GM-ADJ-FLAGGM_ADJ_FLAG | Numeric 1 | Indicates if adjustment records were created by GM170.
| — |
PYM-PRINT-RCPTPRINT_RCPT | Alpha 1 | — | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
PYM-INTERFACE-FLAGINTERFACE_FLAG | Numeric 1 | — | PR197 |
Indexes (12)
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 |
|---|---|---|---|---|
PYMSET1 | COMPANY, EMPLOYEE, CHECK-ID | Primary | BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR170, HR28.1, HR511 +22 more (list truncated in source) | |
PYMSET10 | COMPANY, PROCESS-LEVEL, EMPLOYEE, CHECK-ID | KeyChange | — | |
PYMSET11 | COMPANY, EMPLOYEE, CHECK-DATE*, CHECK-NBR*, CHECK-ID | KeyChange, Subset | Where CHECK-NBR != Zeroes | PR50.2, ZP296 |
PYMSET12 | COMPANY, PAYROLL-YEAR, OT-PLAN-CODE, PER-END-DATE, EMPLOYEE, CHECK-ID | PR141 | ||
PYMSET2 | COMPANY, BANK-CODE, PROCESS-LEVEL, CHECK-TYPE, EMPLOYEE, CHECK-ID | KeyChange, Subset | Where STATUS = Zeroes | BN150, HR00.1, HR01.1, PR521, EXI2.1, EXI4.1, LP130, PR01.2 +22 more (list truncated in source) |
PYMSET3 | COMPANY, INTERFACE-FLAG, PROCESS-LEVEL, EMPLOYEE, CHECK-ID | KeyChange, Subset | Where STATUS = 9 | — |
PYMSET4 | COMPANY, EMPLOYEE, CHECK-DATE, CHECK-NBR, CHECK-ID | KeyChange | BN100, BN101, BN102, BN103, BN105, BN145, BN232, BN245 +22 more (list truncated in source) | |
PYMSET5 | COMPANY, PROCESS-LEVEL, EMPLOYEE, CHECK-TYPE, CHECK-ID | KeyChange, Subset | Where STATUS = Zeroes | BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 +22 more (list truncated in source) |
PYMSET6 | COMPANY, DATE-STAMP, TIME-STAMP, PROCESS-LEVEL, EMPLOYEE, CHECK-TYPE, CHECK-ID | KeyChange | BN66.1, PR139, PR140, PR189, PR195, PR197, PR80.1, PR80.4 +6 more | |
PYMSET7 | COMPANY, COUNTRY-CODE, PROCESS-LEVEL, EMPLOYEE, CHECK-TYPE, CHECK-ID | KeyChange | BN66.1, HR00.1, HR01.1, PR139, PR140, PR189, PR195, PR418 +4 more | |
PYMSET8 | COMPANY, EMPLOYEE, PENS-SEQ-NBR, CHECK-ID | KeyChange, Subset | Where PENS-SEQ-NBR != Zeroes | PR29.1, PR529, PR560, PR582, PR82.1 |
PYMSET9 | COMPANY, EMPLOYEE, PAYROLL-YEAR, OT-PLAN-CODE, PERIOD-NBR, CHECK-ID | KeyChange, Subset | Where COUNTRY-CODE = "UK" Or COUNTRY-CODE = "GB" Or COUNTRY-CODE = "IN" | — |
Relations
One to one (10) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| 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 |
One to many (6) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| 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 |
Programs
Updated by (58)
- BN305 Highly Compensated Employees
- BN66.1 Estimated Pay Calculation
- 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
- PA495 IPEDS Report
- 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
- PR140 Earnings and Deductions Calculation
- PR141 Payroll Register
- PR160 Payment Print
- PR180 Manual Payment Print
- PR189 Gross Up Calculation
- PR195 Accrual Program
- PR197 Payroll Close
- PR261 Payment Detail Listing By Report Entity
- PR262 Taxable Wage CSV
- PR292 Quarterly Unemployment Ins
- PR30.2 Employee Automatic Time Record
- PR300 History Purge
- PR36.1 Time Record Entry
- PR36.4 Manual Time Record Maintenance
- PR45.1 Error Processing
- PR512 Employee ACH Distribution Interface
- PR560 Payroll History Load CSV
- PR582 Mass Adjustment Load
- PR80.1 Manual Check
- PR80.2 Manual Payment Print
- PR80.4 Manual Payment
- PR82.1 Adjustment
- PR85.1 Bank Account Reconciliation
- PR86.1 Payment Replacement
- PR89.1 Payment Modeling
- PRAT.1 Alltax connection test
- ZH510 Update PCP from ZPENDPCP
Referenced by (111)
- BN100 Employee Change Benefit Update
- BN101 Mass Benefit Add
- BN102 Plan Employee Update
- BN103 Mass Benefit Termination
- BN105 Plan Update
- BN145 Flex Dollars Calculation
- BN150 Life Insurance Reportable Income
- BN232 Benefits Statement
- BN245 Benefit Election Form
- BN300 Key Employees
- BN31.1 Speed Benefit Entry
- BN31.2 Employee Benefit Entry
- BN32.1 Employee Benefit Changes
- BN32.2 Employee Benefit Detail Changes
- BN32.3 Benefit Add
- BN330 Defined Contribution Plan Contributions
- BN340 ADP and ACP Tests
- BN345 Percentage Test
- BN45.1 Employee Flex Credits
- BN531 Batch Benefit Enrollment
- BN65.1 Election Simulation
- BN71.1 COBRA Benefit Entry
- BN72.1 Retiree Benefit Entry
- BS10.1 Web Enrollment Current Benefit Inquiry
- BS12.1 Web Enrollment Eligible New Plans
- BS13.1 Web Enrollment Coverage Options
- BS14.1 Web Enrollment Coverage Amounts
- BS15.1 Web Enrollment Contribution Limits
- BS32.1 Web Enrollment Stop Benefits Update
- EXI2.1 Invoke for PRTRDPD
- EXI4.1 Invoke for PRPRBPD
- HCDL.1 Olap Data Load
- HR00.1 Company
- HR01.1 Process Level
- HR170 Human Resource Writer Report Request
- HR70.1 Human Resource Writer Inquiry
- HS17.1 LP Balances on Paychecks
- LP130 Absence Plan Payout
- PA594 EECRS CSV Interface
- PR01.2 Bank Code
- PR125 Employee Wages for Employment Health Tax
- PR128 Offset Time Record Creation
- PR131 Retroactive Pay Calculation
- PR132 FLSA Overtime Calculation
- PR134 Automatic Time Records
- PR135 Time Record Edit
- PR136 Missing Time Records
- PR137 Batch Time Record Update
- PR139 Arrears Automation
- PR142 Consolidated Payroll Register
- PR155 Bank Reconciliation
- PR162 Payment Register
- PR170 Positive Pay File Creation
- PR188 Payroll Hours Update
- PR192 Nonstandard 12th of Month Calculation
- PR198 General Ledger Posting
- PR226 United States Employee Garnishment Listing
- PR247 Canada Employee Garnishment Listing
- PR260 Payment Detail Listing
- PR265 Year To Date Payment Report
- PR266 Quarterly Tax Balancing Report
- PR270 Employee Wage Report
- PR271 US Affordable Care Act
- PR274 Statistics Canada
- PR275 Deduction Report
- PR276 Employee Deduction Report
- PR277 Garnishment History Report
- PR278 United States Workers Compensation Report
- PR279 Benefit Deduction Audit Report
- PR282 Canada Record of Employment
- PR287 Quarterly Federal Tax Return
- PR289 Weeks Worked Calculation
- PR29.1 Pension Payment Maintenance
- PR32.1 Employee Daily Time Entry
- PR32.2 Employee Daily Time Entry
- PR33.1 Speed Entry Setup
- PR33.2 Speed Entry by Number
- PR33.3 Speed Entry by Name
- PR35.1 Time Entry
- PR35.2 Detail Time Entry
- PR35.3 Speed Time Entry
- PR35.4 Step and Grade, Grade Range Time Entry
- PR35.5 Attendance Time Entry
- PR35.6 Activity Time Entry
- PR35.8 Position Time Entry
- PR35.9 Reason Code Time Entry
- PR37.1 Batch Time Control
- PR418 Canada Workers Compensation Report
- PR50.2 United States Payment Inquiry
- PR51.1 Pay Stub Inquiry
- PR521 Nonstandard Pay and Work Period CSV Load
- PR529 Pension Payroll Conversion
- PR530 Time Record Interface CSV
- PR55.1 Activity Inquiry
- PR84.1 Seniority Recalculation Inquiry
- TA147 Canada Vacation Audit
- UK102 Bonus Pay Update
- ZB10.1 Coverage Options Calculator
- ZB31.1 Speed Benefit Entry
- ZB31.2 Employee Benefit Entry
- ZB32.1 Employee Benefit Changes
- ZB32.2 Employee Benefit Detail Changes
- ZB32.3 Benefit Add
- ZH568 Reed Employee Census Interface
- ZP296 New Hire Reporting
- ZP551 Triad FSA Export Interface
- ZP552 Fidelity - BiWeekly
- ZP554 Union Dues - BiWeekly
- ZP555 HealthEquity Export Interface
- ZP557 Foundation - BiWeekly
- ZP559 Create MetLife Pay Confirm