ATTENDCODE – Attendance Code
- System
- Time and Attendance (TM)
- Prefix
ATC- Primary key
COMPANY,ATTEND-CODE- Fields
- 5
- Updated by
- 3 programs
- Referenced by
- 70 programs
ATTENDCODE is the Attendance Code table in Lawson Time and Attendance (prefix ATC). It is indexed by COMPANY, ATTEND-CODE (ATCSET1). It is related 1:1 to PRSYSTEM and 1:M to ATCLASS, ATTENDHIST and PRPAYCODE. It is updated by HR00.1, HR01.1 and TM01.1 and referenced by BN150, EXI2.1, EXI4.1, HATC.1, HR170, HR70.1, HS01.1, HS34.1 and 62 more. The table has 5 fields, 1 index and 4 documented relations.
About ATTENDCODE
The Attendance Code file contains the user-defined attendance codes. By linking a pay code to an attendance code, you establish pay code defaults at time record entry. Attendance history is created by PR199 (Payroll Close) for time records with an attendance code. Attendance history for attendance codes not related to payroll (those without a pay code) require entry via TM70 (Attendance History).
Fields (5)
Column = COBOL field name without the ATC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
ATC-COMPANY PKCOMPANY | Numeric 4 | Contains the company number. The company number must be valid in the HR Company and Process Levels file and is entered on all functions. | TM01.1 |
ATC-ATTEND-CODE PKATTEND_CODE | Alpha 2 | Contains the user-defined alphanumeric code that represents a reason for an employee's absence or hours worked. Examples of attendance codes are, sick, vacation, overtime, on the job injury, snow day, tardy, left early, and so on. Validated in the Attendance Code file. | TM01.1 |
ATC-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | Contains the attendance code description. | TM01.1 |
ATC-POINTSPOINTS | Signed 7.2 | Contains the points associated with the attendance code. The value in this field defaults to the Attendance History file record when attendance history is created. Point values assigned to attendance codes display in online inquiries, and print, with totals, on reports. | TM01.1 |
ATC-PAY-CODEPAY_CODE | Alpha 4 | Contains the pay code associated with the attendance code. If you leave the Pay Code field blank on a time record, the pay code associated with the attendance code defaults when you enter the attendance code. Validated in the Pay Code file. | TM01.1 |
Indexes (1)
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 |
|---|---|---|---|---|
ATCSET1 | COMPANY, ATTEND-CODE | Primary | BN150, HATC.1, HR00.1, HR01.1, HR170, HR70.1, PR521, EXI2.1 +22 more (list truncated in source) |
Relations
One to one (1) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | ATC-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL |
One to many (3) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Atclass | ATCLASS | Delete Restricted | ATC-COMPANY → ACL-COMPANY, ATC-ATTEND-CODE → ACL-ATTEND-CODE, → ACL-ATTEND-CLASS | |
| Code History | ATTENDHIST | Delete Restricted | ATC-COMPANY → ATH-COMPANY, ATC-ATTEND-CODE → ATH-ATTEND-CODE, → ATH-DATE, → ATH-EMPLOYEE, → ATH-TIME-SEQ | |
| Prpaycode | PRPAYCODE | Required | When ATC-PAY-CODE != Spaces | ATC-COMPANY → PCD-COMPANY, ATC-PAY-CODE → PCD-PAY-CODE, → PCD-PROCESS-LEVEL, → PCD-JOB-CODE |
Programs
Updated by (3)
Referenced by (70)
- BN150 Life Insurance Reportable Income
- EXI2.1 Invoke for PRTRDPD
- EXI4.1 Invoke for PRPRBPD
- HATC.1 Attend Code Selection Invoke
- HR170 Human Resource Writer Report Request
- HR70.1 Human Resource Writer Inquiry
- HS01.1 Time Entry Form
- HS34.1 Prpendtime Edit Program
- HS35.1 Pending Time Records
- HS36.1 Pending Time Records
- 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
- PR20.4 Pay Code
- PR29.1 Pension Payment Maintenance
- PR30.1 Standard 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
- 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
- TM02.1 Attendance Class
- TM201 Attendance Code Listing
- TM202 Attendance Class Listing
- 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
- TM300 Attendance History Purge
- TM470 Attendance History Audit Report
- TM50.1 Employee Attendance Inquiry
- TM52.1 Attendance Inquiry
- TM570 Attendance History Conversion
- TM60.1 Employee Date Calendar
- TM61.1 Employee Days Calendar
- TM70.1 Employee Attendance History
- TM71.1 Attendance History Speed Entry
- UK102 Bonus Pay Update