PRSHIFTTBL – This detail file contains shift differential rates by shift code and can be assigned by job code, grade range schedule…
- System
- Payroll (PR)
- Prefix
PSB- Primary key
COMPANY,SHIFT-CODE,EFFECT-DATE,OBJ-ID- Fields
- 14
- Updated by
- 2 programs
- Referenced by
- 46 programs
PRSHIFTTBL is the This detail file contains shift differential rates by shift code and can be assigned by job code, grade range schedule… table in Lawson Payroll (prefix PSB). It is indexed by COMPANY, SHIFT-CODE, EFFECT-DATE, OBJ-ID (PSBSET1); alternate indexes: PSBSET2, PSBSET3 and PSBSET4. It is related 1:1 to PRSYSTEM, JOBCODE and PRSHIFTHDR and 1:M to PRSAGHEAD and PRSAGDTL. It is updated by PA95.1 and PR24.1 and referenced by BN150, EXI2.1, EXI4.1, LP130, PR128, PR131, PR132, PR134 and 38 more. The table has 14 fields, 4 indexes and 5 documented relations.
About PRSHIFTTBL
This detail file contains shift differential rates by shift code and can be assigned by job code, grade range schedule, and step and grade schedule. The shift differential rates can be defined as amounts or percents.
Fields (14)
Column = COBOL field name without the PSB- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
#PSB-COMPANY PKCOMPANY | Numeric 4 | Contains the company number. | PR24.1 |
#PSB-SHIFT-CODE PKSHIFT_CODE | Alpha 4 | Contains the shift table. | PR24.1 |
#PSB-EFFECT-DATE PKEFFECT_DATE | Numeric 8 (yyyymmdd) | Contains the date the shift takes effect. | PR24.1 |
#PSB-OBJ-ID PKOBJ_ID | Numeric 12 | This is the object identifier. It is 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. | PR24.1 |
#PSB-SHIFT SET2 SET3SHIFT | Numeric 1 | Contains the shift number associated with the pay. | PR24.1 |
#PSB-JOB-CODE SET2 SET3JOB_CODE | Alpha 9 | Contains a user-defined code that represents a type of job. | PR24.1 |
#PSB-INDICATOR SET2 SET3INDICATOR | Alpha 1 | Indicates whether pay for this shift is based on a grade range or a step and grade schedule.
| PR24.1 |
#PSB-SCHEDULE SET2 SET3SCHEDULE | Alpha 9 | Contains the shift's schedule. | PR24.1 |
#PSB-PAY-GRADE SET2 SET3PAY_GRADE | Alpha 3 | Contains the pay grade. | PR24.1 |
#PSB-PAY-STEP SET2 SET3PAY_STEP | Numeric 2 | Contains the pay step. | PR24.1 |
#PSB-RATERATE | Signed 13.4 | Contains a flat rate or percentage that the shift differential rate is based on. | PR24.1 |
#PSB-PERCENT-OFPERCENT_OF | Numeric 1 | Indicates whether the shift differential percentage should be based on the minimum, midpoint, or maximum rate for the shift.
| PR24.1 |
#PSB-SH-ACCOUNTSH_ACCOUNT | Numeric 6 | Contains the account to which shift expenses should be posted. | PR195, PR197, PR24.1, PR582, PR82.1, PR85.1 |
#PSB-SH-SUB-ACCTSH_SUB_ACCT | Numeric 4 | Contains the subaccount to which the shift expenses should be posted. | PR195, PR197, PR24.1, PR582, PR82.1, PR85.1 |
Indexes (4)
Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PSBSET1 |
| Primary | ZH230, ZH500, PA95.1, PR24.1 | |
PSBSET2 |
| KeyChange | PR220, PR24.1 | |
PSBSET3 |
| KeyChange | BN150, PR521, EXI2.1, EXI4.1, LP130, PR128, PR131, PR132 +22 more (list truncated in source) | |
PSBSET4 |
| PR195, PR197, PR582, PR82.1, PR85.1 |
Relations
One to one (3) — lookups and parents
| Relation | Table | Rules | Condition | Field map | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Company | PRSYSTEM | Required |
| ||||||||||
| Job Code | JOBCODE | Required |
| ||||||||||
| Shift Header | PRSHIFTHDR | Required |
|
One to many (2) — child tables
Programs
Updated by (2)
Referenced by (46)
- BN150 Life Insurance Reportable Income
- EXI2.1 Invoke for PRTRDPD
- EXI4.1 Invoke for PRPRBPD
- LP130 Absence Plan Payout
- 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
- PR189 Gross Up Calculation
- PR195 Accrual Program
- PR197 Payroll Close
- PR220 Pay Code Listing
- 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
- PR36.1 Time Record Entry
- PR36.4 Manual Time Record Maintenance
- PR37.1 Batch Time Control
- PR45.1 Error Processing
- PR521 Nonstandard Pay and Work Period CSV Load
- PR529 Pension Payroll Conversion
- PR530 Time Record Interface CSV
- PR560 Payroll History Load CSV
- PR582 Mass Adjustment Load
- PR80.1 Manual Check
- PR80.4 Manual Payment
- PR82.1 Adjustment
- PR85.1 Bank Account Reconciliation
- TA147 Canada Vacation Audit
- UK102 Bonus Pay Update
- ZH230 PPH Big Bad Edit
- ZH500 Employee Data Extract