DEPTCODE – Department
- System
- Human Resources (HR)
- Prefix
DPT- Primary key
COMPANY,PROCESS-LEVEL,DEPARTMENT- Fields
- 15
- Updated by
- 3 programs
- Referenced by
- 310 programs
DEPTCODE is the Department table in Lawson Human Resources (prefix DPT). It is indexed by COMPANY, PROCESS-LEVEL, DEPARTMENT (DPTSET1); alternate indexes: DPTSET2. It is related 1:1 to PRSYSTEM, DEPTSEGBLK and GLMASTER and 1:M to PAASSIGNED, PABUDGET, EMPLOYEE, PAENCUMBER and PAPOSITION. It is updated by HR00.1, HR01.1 and HR02.1 and referenced by BN100, BN101, BN102, BN103, BN105, BN145, BN150, BN230 and 302 more. The table has 15 fields, 2 indexes and 9 documented relations.
About DEPTCODE
Contains information about user-defined department codes. Departments are the lowest level for expensing and reporting in the Lawson Payroll system. HR02.1 (Department) is the primary program that updates this file. Departments are optional.
Fields (15)
Column = COBOL field name without the DPT- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
DPT-COMPANY PKCOMPANY | Numeric 4 | Contains the number that represents an established company and is entered on all functions. | HR02.1 |
DPT-PROCESS-LEVEL PKPROCESS_LEVEL | Alpha 5 | Contains the process level to which this department belongs. | HR02.1 |
DPT-DEPARTMENT PKDEPARTMENT | Alpha 5 | Contains the department. | HR02.1 |
DPT-NAMENAME | Alpha 30 (Lower Case) | Contains the name or description of the department. | BN245, HR02.1, LP32.3, PA218, PA242, PA71.1, PA80.1, PA80.2 +3 more |
DPT-DEP-DIST-CODEP_DIST_CO | Numeric 4 | Contains the department's payroll distribution company. | HR02.1, PA52.5 |
DPT-DEP-ACCT-UNITDEP_ACCT_UNIT | Alpha 15 | Contains the department's payroll expense accounting unit. | HR02.1, PA52.5 |
DPT-DEP-ACCOUNTDEP_ACCOUNT | Numeric 6 | Contains the department's payroll expense account number. | HR02.1, PA52.5 |
DPT-DEP-SUB-ACCTDEP_SUB_ACCT | Numeric 4 | Contains the department's payroll expense subaccount number. | HR02.1, PA52.5 |
DPT-SEC-LVLSEC_LVL | Numeric 1 | Contains the default security level for the department. | HR02.1 |
DPT-SEC-LOCATIONSEC_LOCATION | Alpha 10 | Contains the default security location for the department. | HR02.1 |
DPT-SEGMENT-FLAGSEGMENT_FLAG | Alpha 1 | Identifies the user analysis values included on payroll expense transactions. | HR02.1 |
DPT-ACTIVE-FLAGACTIVE_FLAG | Alpha 1 | The Active flag of the credit card type.
| HR02.1 |
DPT-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | HR02.1 |
DPT-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | HR02.1 |
DPT-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | HR02.1 |
Indexes (2)
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 |
|---|---|---|---|---|
DPTSET1 | COMPANY, PROCESS-LEVEL, DEPARTMENT | Primary | BN100, BN101, BN102, BN103, BN105, BN145, BN150, BN230 +22 more (list truncated in source) | |
DPTSET2 | COMPANY, DEPARTMENT, PROCESS-LEVEL | BN231, BN232, BN238, BN246, BN305, HR11.1, HR11.2, HR11.4 +22 more (list truncated in source) |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | DPT-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Deptsegblk | DEPTSEGBLK | Not Required | DPT-COMPANY → DSG-COMPANY, DPT-PROCESS-LEVEL → DSG-PROCESS-LEVEL, DPT-DEPARTMENT → DSG-DEPARTMENT | |
| Expense Acct | GLMASTER | Required | DPT-DEP-DIST-CO → GLM-COMPANY, DPT-DEP-ACCT-UNIT → GLM-ACCT-UNIT, DPT-DEP-ACCOUNT → GLM-ACCOUNT, DPT-DEP-SUB-ACCT → GLM-SUB-ACCOUNT | |
| Process Level | PRSYSTEM | Required | DPT-COMPANY → PRS-COMPANY, DPT-PROCESS-LEVEL → PRS-PROCESS-LEVEL |
One to many (5) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Assn Resource | PAASSIGNED | Delete Cascades | DPT-COMPANY → PAA-COMPANY, DPT-PROCESS-LEVEL → PAA-PROCESS-LEVEL, DPT-DEPARTMENT → PAA-DEPARTMENT, → PAA-JOB-CODE, → PAA-POSITION | |
| Budget | PABUDGET | Delete Cascades | DPT-COMPANY → PAB-COMPANY, DPT-PROCESS-LEVEL → PAB-PROCESS-LEVEL, DPT-DEPARTMENT → PAB-DEPARTMENT, → PAB-JOB-CODE, → PAB-EFFECT-DATE, → PAB-POSITION | |
| Employee | EMPLOYEE | Delete Restricted | DPT-COMPANY → EMP-COMPANY, DPT-PROCESS-LEVEL → EMP-PROCESS-LEVEL, DPT-DEPARTMENT → EMP-DEPARTMENT, → EMP-EMPLOYEE | |
| Paencumber | PAENCUMBER | Delete Restricted | DPT-COMPANY → PEN-COMPANY, Spaces → PEN-POSITION, DPT-PROCESS-LEVEL → PEN-PROCESS-LEVEL, DPT-DEPARTMENT → PEN-DEPARTMENT, → PEN-JOB-CODE, → PEN-EMPLOYEE, → PEN-GLT-OBJ-ID, → PEN-ATN-OBJ-ID | |
| Position | PAPOSITION | Delete Cascades | DPT-COMPANY → POS-COMPANY, DPT-PROCESS-LEVEL → POS-PROCESS-LEVEL, DPT-DEPARTMENT → POS-DEPARTMENT, → POS-POSITION, → POS-EFFECT-DATE |
Programs
Updated by (3)
Referenced by (310)
- 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
- BN230 Plan Participant Report
- BN231 Employee Benefit Report
- BN232 Benefits Statement
- BN234 Employee Stock Option Listing
- BN238 Vacation Hours History
- BN240 Savings Bond Balance Report
- BN242 One Page Benefits Statement
- BN245 Benefit Election Form
- BN246 Flex Missing Benefits Report
- BN305 Highly Compensated Employees
- BN320 Premium Report
- BN335 Employee Deferral Report
- BN556 Compensation History Upload
- EXI2.1 Invoke for PRTRDPD
- EXI4.1 Invoke for PRPRBPD
- HAP3.1 Applicant Option 4 Selection Invoke
- HCCP.1 Olap Dimension Retrieval Format
- HCDL.1 Olap Data Load
- HCRE.1 Action Reason Code Selects
- HDPT.1 Department Select Invoke
- HEP4.1 Employee Option 4 Selection Invoke
- HPOS.1 Position Selection Invoke
- HPQC.1 Prqcentgrp Select Invoke
- HPRS.1 Process Level Select Invoke
- HR105 Employee Audit Report
- HR11.1 Employee
- HR11.2 Compensation Analysis
- HR11.4 Employee Assignment Inquiry
- HR12.1 Employee Security
- HR14.1 Alternate Pay Rates
- HR15.1 User Fields
- HR155 Employee Group Update
- HR156 Employee Group Company Update
- HR170 Human Resource Writer Report Request
- HR202 Department Listing
- HR211 Employee Listing
- HR213 Dependent Listing
- HR217 Work Eligibility Listing
- HR220 Additional Contact Listing
- HR228 Employee Ethnicity Listing
- HR255 Employee Group Listing
- HR28.1 Employee Ethnicity
- HR51.2 Employee Interface Data
- HR51.3 Position Interface Data
- HR51.6 Emp Position Interface Data
- HR51.8 WFM Interface Data
- HR511 Employee Conversion
- HR514 Alternate Rates Conversion
- HR515 User Field Conversion
- HR52.2 Talent Management Interface Data
- HR52.6 Talent Mngmt Emp Position Data
- HR54.1 Employee History Correction
- HR55.2 Employee Groups By Employees
- HR70.1 Human Resource Writer Inquiry
- HRLRD Import Employee Data
- HRS1.1 Select Control
- HRSC.1 Select Control
- HS01.1 Time Entry Form
- HS11.1 Web Competency Profile
- HS11.2 Web Competency Profile
- HS20.1 Time Form Inquiry
- HS208 Goal Management Report
- HS21.1 Time Form Inquiry
- HS34.1 Prpendtime Edit Program
- HS36.1 Pending Time Records
- HS703 LPMH Employee and Job Profile Extract
- HS705 Emp Work Force Mgmt Extract
- LP100 Employee Absence Plan Update
- LP101 Mass Absence Plan Add
- LP130 Absence Plan Payout
- LP140 Employee Absence Plan Calculation
- LP145 Allotment Adjustment Calculation
- LP180 Mass Absence Plan Transfer
- LP188 Length of Service Hours Update
- LP197 Absence Plan Close
- LP198 General Ledger Liability Update
- LP231 Employee Plan Master Listing
- LP240 Employee Plan Transaction Report
- LP251 Employee Leave of Absence Report
- LP260 Employee Service and Event Report
- LP262 Employee Event Audit Report
- LP264 Employee Transaction History Report
- LP32.1 Employee Absence Enrollment
- LP32.2 Employee Absence Enrollment
- LP32.3 Employee Absence Enrollment
- LP53.1 Employee Service Entry
- LP553 Employee Service and Event Conversion
- LP554 Employee Service and Event History Conversion
- LP80.1 Employee Absence Plan Transfer
- LT101 HRM Receiver Update
- LT11.5 HRM User Field Interface
- LT111 HRM Receiver Update
- LT13.5 HRM User Field Interface History
- PA02.1 Position
- PA06.1 Position Rules
- PA09.1 Job Description
- PA100 Action Update
- PA102 Position Update
- PA103 Mass Position Changes
- PA105 Employee Audit Report
- PA11.1 Assigned Resources
- PA113 Retroactive History Update
- PA115 Employee Purge
- PA13.1 Multiple Positions and Jobs
- PA13.2 Multiple Position and Job History
- PA149 Update Scheduled Tests
- PA16.1 Company Property
- PA170 Budget Update
- PA171 Job Budget Transfer
- PA172 Initiate Preliminary Budget Data
- PA20.1 Education
- PA202 Position Listing
- PA206 Position Rules Listing
- PA208 Position and Job Description List
- PA21.1 Competencies
- PA210 Length of Service Report
- PA211 Assigned Resource Listing
- PA212 Emergency Contact Listing
- PA213 Position and Job Listing
- PA214 Military Service Listing
- PA215 Medical Listing
- PA216 Company Property Listing
- PA217 Automobile Listing
- PA218 Travel Listing
- PA219 Prior Work History Listing
- PA22.1 Certifications
- PA220 Education Listing
- PA221 Employee Competency Listing
- PA222 Certification Listing
- PA223 Starters and Leavers Report
- PA224 Relocation Listing
- PA225 Employee Benefits Listing
- PA227 Contract Listing
- PA24.1 Relocation
- PA242 Requisition Listing
- PA248 Test Listing
- PA249 Employee and Applicant Test Listing
- PA259 Grievance and Disciplinary Listing
- PA27.1 Contracts
- PA271 Budget Listing
- PA272 Budget and Assigned Resource Listing
- PA290 Health and Safety Incident Listing
- PA292 Incident Establishment Listing
- PA294 Canada EEA - Setup Listing
- PA302 Position Purge
- PA31.3 LTM Applicant Data
- PA310 Birthdate Listing
- PA311 Employee Profile
- PA315 Telephone Listing
- PA320 Interoffice Directory
- PA325 Post Office Mailing Listing
- PA330 Interoffice Labels
- PA335 Employee Listing
- PA34.1 Applicant Education
- PA340 Action History Listing
- PA341 Hire and Term Listing
- PA345 Review Schedule Report
- PA35.1 Applicant Competencies
- PA350 Review History Report
- PA355 Active Actions Report
- PA36.1 Applicant Certification
- PA360 Wage Analysis Report
- PA370 Employee Review Document
- PA371 Budget Purge
- PA372 Health and Safety Incident Purge
- PA38.1 Applicant Relocation
- PA391 EEO-4 Report
- PA402 Position Incumbent Listing
- PA42.1 Requisition
- PA42.3 Requisition Approval Override
- PA490 OSHA Log, Summary Report
- PA495 IPEDS Report
- PA502 Position Conversion
- PA513 Position and Job Conversion
- PA52.1 Individual Action
- PA52.2 Mass Pay Action
- PA52.3 Mass Action
- PA52.4 Hire an Applicant
- PA52.5 Position and Job Action
- PA520 Employee and Applicant Code Conversion
- PA53.1 Personnel Action Workflow Override
- PA532 Code, Requisitions Exports
- PA535 e-Recruiting Requisition Conversion
- PA54.1 Personnel Action History Correction
- PA570 Budget Conversion
- PA59.1 Grievance and Disciplinary Actions
- PA590 Health and Safety Incident Conversion
- PA66.2 Action Inquiry
- PA66.3 Employee Action Detail
- PA71.1 Job Budget
- PA73.1 Preliminary Job Budget
- PA80.1 Position Budget Inquiry
- PA80.2 Job Budget Inquiry
- PA82.1 Salary Encumbrance Inquiry
- PA90.1 Health and Safety Incident
- PA92.2 Incident Establishment Detail
- PA93.4 Selection Critera
- PA94.1 Canada EEA Setup
- PR03.1 Deduction Required Code
- PR04.1 Pension Funding Sources
- PR110 Step And Grade Audit
- PR113 United States Tax Deduction Update
- PR12.6 Employee Automatic Deposit
- PR120 Mass Pay Update
- PR128 Offset Time Record Creation
- PR129 Roth Plan Start Dates
- 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
- 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
- PR140 Earnings and Deductions Calculation
- PR141 Payroll Register
- PR142 Consolidated Payroll Register
- PR189 Gross Up Calculation
- PR195 Accrual Program
- PR197 Payroll Close
- PR204 Funding Sources Listing
- PR212 Direct Deposit Account Listing
- PR214 Employee Deduction Listing
- PR223 Payroll Distribution Listing
- PR226 United States Employee Garnishment Listing
- PR229 Pension Participant Listing
- PR23.1 Payroll Distribution - Employees
- PR23.3 Payroll Distribution - Positions
- PR247 Canada Employee Garnishment Listing
- PR260 Payment Detail Listing
- PR270 Employee Wage Report
- PR274 Statistics Canada
- PR275 Deduction Report
- PR276 Employee Deduction Report
- PR277 Garnishment History Report
- PR279 Benefit Deduction Audit Report
- PR280 Deduction Audit Report
- PR29.1 Pension Payment Maintenance
- PR295 Distribution History Report
- PR30.1 Standard Time Record
- PR30.2 Employee Automatic Time Record
- 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
- PR38.1 Time Record Selection
- PR39.2 One Time Deduction Speed
- PR45.1 Error Processing
- PR512 Employee ACH Distribution Interface
- 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
- PR82.2 Adjustment Distributions
- SNEM.1 Employees
- TA147 Canada Vacation Audit
- TA175 Time Accrual Report
- TA260 Employee Plan Listing
- TA265 History Usage Report
- TA290 Transaction History Report
- TM240 Employee Attendance Code Report
- TM245 Employee Attendance Class Report
- TM250 Attendance Code Distribution Report
- TM255 Attendance Class Distribution Report
- TM260 Absence Monitoring Report
- TM265 Lost Time Report
- TM470 Attendance History Audit Report
- TM52.1 Attendance Inquiry
- TM570 Attendance History Conversion
- TM70.1 Employee Attendance History
- TM71.1 Attendance History Speed Entry
- TR207 Instructor Listing
- TR21.1 Employee Training History
- TR22.1 Session Completion
- TR222 Employee Training Listing
- TR26.1 Employee Training Competency Maintenance
- TR500 Training Conversion
- UK102 Bonus Pay Update
- ZE532 Pos Mgr Master List Interface
- ZH156 Employee Group Company Update
- ZH500 Employee Data Extract
- ZH510 Update PCP from ZPENDPCP
- ZH568 Reed Employee Census Interface