ONETMDED – Payroll One-time Deduction
- System
- Payroll (PR)
- Prefix
OTD- Primary key
COMPANY,EMPLOYEE,DED-CODE,EDM-SEQ-NBR,SEQ-NBR- Fields
- 26
- Updated by
- 53 programs
- Referenced by
- 78 programs
ONETMDED is the Payroll One-time Deduction table in Lawson Payroll (prefix OTD). It is indexed by COMPANY, EMPLOYEE, DED-CODE, EDM-SEQ-NBR, SEQ-NBR (OTDSET1); alternate indexes: OTDSET2, OTDSET3 and OTDSET4. It is related 1:1 to PRSYSTEM, DEDCODE and EMPLOYEE. It is updated by BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 and 45 more and referenced by BN100, BN101, BN102, BN103, BN104, BN105, BN145, BN150 and 70 more. The table has 26 fields, 4 indexes and 4 documented relations.
About ONETMDED
This file has two purposes in the Payroll system. PR140 (Earnings and Deductions Calculation) uses this file to create arrears deductions when the system cannot take an employee deduction in a payroll cycle. Secondly, you can create Payroll One-time Deduction file records in PR39.1 (One Time Deduction). If an Employee Deduction file record does not exist when you add a one-time deduction, PR39.1 (One Time Deduction) creates one. One-time deductions follow a status flow similar to time records (see the Status field in the Payroll One-time Deduction file). After PR140 (Earnings and Deductions Calculation) takes a Payroll One-time Deduction file record, PR199 (Payroll Close) deletes the deduction.
Fields (26)
Column = COBOL field name without the OTD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
OTD-COMPANY PKCOMPANY | Numeric 4 | — | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-EMPLOYEE PKEMPLOYEE | Numeric 9 | Valid in the Employee file. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-DED-CODE PKDED_CODE | Alpha 4 | Valid in the Deduction file. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-EDM-SEQ-NBR PKEDM_SEQ_NBR | Numeric 4 | Contains an automatically assigned number to keep records unique. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-SEQ-NBR PKSEQ_NBR | Numeric 4 | Contains the one-time deduction sequence number. The value in this field is automatically sequenced based on the value in the Last Deduction Sequence Nbr field in the Employee file. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-PROCESS-LEVELPROCESS_LEVEL | Alpha 5 | Contains the employee's process level. The value in this field defaults from the Process Level field in the Employee file. When you update processed one-time deductions the system uses the value in this field to set the PR140 (Earnings and Deductions Calculation) run flag to spaces for this process level. When you run PR199 (Payroll Close) by process level, the system uses the value in this field to determine if the one-time deduction should be updated during the run. | BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 +38 more |
OTD-DED-AMTDED_AMT | Signed 13.2 | Contains the deduction amount entered in PR39.1 (One Time Deduction) or calculated by PR140 (Earnings and Deductions Calculation). | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-EFFECT-DATEEFFECT_DATE | Numeric 8 (yyyymmdd) | Contains the effective date of the one-time deduction. For the system to take the deduction, the value in this field must be equal or less than the payment date entered in PR140 (Earnings and Deductions Calculation). | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-DED-TYPEDED_TYPE | Alpha 1 | Contains the deduction type. System created arrears deductions G (Garnishment) and W (Withholding) cannot be maintained by PR39.1 (One Time Deduction). PR999 (Payroll Year End Close) deletes system- created Withholding type records.
| BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-DED-PRIORITYDED_PRIORITY | Numeric 1 | Contains the deduction priority. The value in the Ded Priority field in the Deduction file defaults to this file for arrears deductions and one-time deductions that have not been overridden in PR39.1 (One Time Deduction). The system uses the value in this field to determine the order in which one-time deductions are taken. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-RECORD-TYPERECORD_TYPE | Alpha 1 | Contains the record type created by PR140 (Earnings and Deductions Calculation). PR140 changes type S (System) records to T (Taken) if the deduction is created and taken by PR140 in the same run. PR199 (Payroll Close) sets system created records to A (Arrears). " " = User Entered (Blank)
| BN66.1, PR139, PR140, PR189, PR195, PR197, PR539, PR80.1 +5 more |
OTD-STATUSSTATUS | Numeric 1 | Contains the status of the one-time deduction. A Future status record cannot be taken by PR140 (Earnings and Deductions Calculation) until it is changed to Current status by PR38.1 (Time Card Selection). A Current status record is taken in the next PR140 run. If a Processed record is changed, the run flag is set to spaces and the employee's time records are set to Error status. This forces you to rerun PR140.
| BN66.1, PR137, PR139, PR140, PR189, PR195, PR197, PR36.1 +12 more |
OTD-CHECK-GRPCHECK_GRP | Alpha 1 | Contains the check group with which the deduction is associated. PR140 (Earnings and Deductions Calculation) uses the value in this field to determine if the one-time deduction is included in the group. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-CHECK-DESCCHECK_DESC | Alpha 8 (Lower Case) | Contains the payment description defined in PR39.1 (One Time Deduction) that overrides the payment description defined for the deduction. For one-time arrears and one-time deductions with no override payment description, the system uses the description in the Payment Description field in the Deduction file. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +6 more |
OTD-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | BN66.1, PR140, PR189, PR195, PR39.1, PR39.2, PR539, PR80.1 +4 more |
OTD-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, PR39.1, PR39.2, PR539, PR80.1 +4 more |
OTD-BEN-PLAN-TYPEBEN_PLAN_TYPE | Alpha 2 | — | PR39.1, PR539, PR80.3 |
OTD-BEN-PLAN-CODEBEN_PLAN_CODE | Alpha 4 | — | PR39.1, PR539, PR80.3 |
OTD-BEN-START-DATEBEN_START_DATE | Numeric 8 (yyyymmdd) | — | PR39.1, PR539, PR80.3 |
OTD-CHECK-IDCHECK_ID | Numeric 12 | Contains the payment identification number (unique payment identifier used in tracking payment information). | BN66.1, PR139, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1 +1 more |
OTD-CREATE-DATECREATE_DATE | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +5 more |
OTD-CREATE-TIMECREATE_TIME | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +5 more |
OTD-CREATE-USER-IDCREATE_USER_ID | Alpha 10 (Lower Case) | Contains the user ID of the person who last changed this record. | BN66.1, PR139, PR140, PR189, PR195, PR39.1, PR39.2, PR539 +5 more |
OTD-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 +43 more |
OTD-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 +43 more |
OTD-USER-IDUSER_ID | Alpha 10 (Lower Case) | Contains the user ID of the person who last changed this record. | BN305, BN66.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101 +43 more |
Indexes (4)
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 |
|---|---|---|---|---|
OTDSET1 | COMPANY, EMPLOYEE, DED-CODE, EDM-SEQ-NBR, SEQ-NBR | Primary | BN100, BN101, BN102, BN103, BN104, BN105, BN145, BN150 +22 more (list truncated in source) | |
OTDSET2 | COMPANY, EMPLOYEE, EFFECT-DATE, DED-CODE, EDM-SEQ-NBR, SEQ-NBR | KeyChange, Subset | Where STATUS = 1 | PR38.1 |
OTDSET3 | COMPANY, EMPLOYEE, EFFECT-DATE, DED-PRIORITY, DED-CODE, EDM-SEQ-NBR, SEQ-NBR | KeyChange, Subset | Where STATUS = 2 | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
OTDSET4 | COMPANY, PROCESS-LEVEL, EMPLOYEE, DED-CODE, EDM-SEQ-NBR, SEQ-NBR | KeyChange | PR160, PR180, PR239, PR80.2, PR999 |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | OTD-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Deduction Code | DEDCODE | Required | OTD-COMPANY → DDC-COMPANY, OTD-DED-CODE → DDC-DED-CODE | |
| Employee | EMPLOYEE | Required | OTD-COMPANY → EMP-COMPANY, OTD-EMPLOYEE → EMP-EMPLOYEE | |
| Process Level | PRSYSTEM | Required | When OTD-PROCESS-LEVEL != Spaces | OTD-COMPANY → PRS-COMPANY, OTD-PROCESS-LEVEL → PRS-PROCESS-LEVEL |
Programs
Updated by (53)
- 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
- 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
- PR137 Batch Time Record Update
- PR139 Arrears Automation
- PR140 Earnings and Deductions Calculation
- PR189 Gross Up Calculation
- PR195 Accrual Program
- PR197 Payroll Close
- PR30.2 Employee Automatic Time Record
- PR36.1 Time Record Entry
- PR36.4 Manual Time Record Maintenance
- PR38.1 Time Record Selection
- PR39.1 One Time Deduction
- PR39.2 One Time Deduction Speed
- PR45.1 Error Processing
- PR512 Employee ACH Distribution Interface
- PR539 One Time Deduction Load
- PR80.1 Manual Check
- PR80.3 Manual Payment One Time Deduction
- PR80.4 Manual Payment
- PR89.1 Payment Modeling
- PR999 Payroll Year End Close
- PRAT.1 Alltax connection test
- ZH510 Update PCP from ZPENDPCP
- ZP139 PPH Union Dues Calc
Referenced by (78)
- BN100 Employee Change Benefit Update
- BN101 Mass Benefit Add
- BN102 Plan Employee Update
- BN103 Mass Benefit Termination
- BN104 Frequency Table Update
- BN105 Plan Update
- BN145 Flex Dollars Calculation
- BN150 Life Insurance Reportable Income
- BN245 Benefit Election Form
- 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
- 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
- LP130 Absence Plan Payout
- PR05.1 Deduction
- 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
- PR14.1 Employee Deduction
- PR14.2 Tax Withholding Lock-In
- PR15.1 Deduction Speed Entry
- PR15.2 Employee Deduction Speed Entry
- PR160 Payment Print
- PR180 Manual Payment Print
- PR205 Deduction Listing
- PR214 Employee Deduction Listing
- PR239 One Time Deduction Listing
- PR26.1 United States Employee Garnishment
- PR26.2 United States Employee Garnishment Inquiry
- 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
- PR47.1 Canada Employee Garnishment
- PR47.2 Canada Employee Garnishment Inquiry
- PR514 Employee Deduction Master Load
- 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
- PR82.1 Adjustment
- 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