EMTATRANS – Emp Time Accrual Transactions
- System
- Event Management (TA)
- Prefix
ETT- Primary key
COMPANY,EMPLOYEE,PLAN-NAME,DATE,SEQ-NBR- Fields
- 13
- Updated by
- 12 programs
- Referenced by
- 16 programs
EMTATRANS is the Emp Time Accrual Transactions table in Lawson Event Management (prefix ETT). It is indexed by COMPANY, EMPLOYEE, PLAN-NAME, DATE, SEQ-NBR (ETTSET1); alternate indexes: ETTSET2, ETTSET3, ETTSET4, ETTSET5 and ETTSET6. It is related 1:1 to PRSYSTEM, EMPLOYEE, EMTAMASTR and PLANMASTER. It is updated by TA148, TA300, TA310, TA340, TA341, TA42.1, TA542, TA570 and 4 more and referenced by HR170, HR70.1, LP900, PR160, PR180, PR80.2, TA147, TA175 and 8 more. The table has 13 fields, 6 indexes and 4 documented relations.
About EMTATRANS
Contains time accrual transactions for each plan for an employee.
Fields (13)
Column = COBOL field name without the ETT- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
ETT-COMPANY PKCOMPANY | Numeric 4 | Contains the number that represents an established company. | TA148, TA300, TA340, TA42.1, TA542, TA570, TA70.1, TA70.2 +2 more |
ETT-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains the employee number which is used to correlate all information related to the employee. | TA148, TA300, TA340, TA42.1, TA542, TA570, TA70.1, TA70.2 +2 more |
ETT-PLAN-NAME PKPLAN_NAME | Alpha 10 | Contains the plan name. This is verified in the Time Accrual Plan file. | TA148, TA300, TA340, TA42.1, TA542, TA570, TA70.1, TA70.2 +2 more |
ETT-DATE PKDATE | Numeric 8 (yyyymmdd) | Contains the date of the transaction. The transaction date can default from the end date of the payroll period, the last eligible date, or the eligible limit date defined for the plan. | TA148, TA300, TA340, TA42.1, TA542, TA570, TA70.1, TA70.2 +2 more |
ETT-SEQ-NBR PKSEQ_NBR | Numeric 4 | Contains a sequence number that keeps records unique. It is automatically assigned when records are created. | TA148, TA300, TA340, TA42.1, TA542, TA570, TA70.1, TA70.2 +2 more |
ETT-TYPETYPE | Alpha 2 | Contains the transaction type.
| TA148, TA300, TA340, TA42.1, TA542, TA570, TA70.1, TA70.2 +2 more |
ETT-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | Contains the transaction description. | TA148, TA300, TA340, TA42.1, TA542, TA570, TA70.1, TA70.2 +2 more |
ETT-TA-HOURSTA_HOURS | Signed 9.4 | Contains the hours associated with the transaction. | PR80.2, TA148, TA300, TA340, TA42.1, TA542, TA570, TA65.3 +4 more |
ETT-STATUSSTATUS | Numeric 1 | Contains the transaction status.
| TA148, TA300, TA340, TA42.1, TA542, TA570, TA70.1, TA70.2 +2 more |
ETT-TA-DOLLARSTA_DOLLARS | Signed 12.2 | — | PR80.2, TA148, TA340, TA42.1, TA542, TA81.1 |
ETT-VAC-PAY-CLASSVAC_PAY_CLASS | Alpha 3 | — | — |
ETT-VAC-PAY-CODEVAC_PAY_CODE | Alpha 4 | — | — |
ETT-COUNTRY-CODECOUNTRY_CODE | Alpha 2 | The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). | TA148, TA42.1, TA542, TA70.1, TA70.2, TA81.1 |
Indexes (6)
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 |
|---|---|---|---|---|
ETTSET1 | COMPANY, EMPLOYEE, PLAN-NAME, DATE, SEQ-NBR | Primary | HR170, HR70.1, ZH230, PR160, PR180, PR80.2, TA241, TA300 +4 more | |
ETTSET2 | COMPANY, PLAN-NAME, EMPLOYEE, DATE, SEQ-NBR | TA147, TA148 | ||
ETTSET3 | COMPANY, COUNTRY-CODE, PLAN-NAME, EMPLOYEE, DATE, SEQ-NBR | Subset | Where STATUS = 2 Or STATUS = Zeroes | LP900, TA42.1, TA70.1 |
ETTSET4 | COMPANY, COUNTRY-CODE, EMPLOYEE, PLAN-NAME, DATE, SEQ-NBR | Subset | Where STATUS = 2 Or STATUS = Zeroes | TA175, TA270, TA70.2, TA80.1, TA81.1 |
ETTSET5 | COMPANY, COUNTRY-CODE, EMPLOYEE, PLAN-NAME, DATE, SEQ-NBR | TA265, TA290, TA300, TA340, TA65.3 | ||
ETTSET6 | COMPANY, COUNTRY-CODE, PLAN-NAME, EMPLOYEE, DATE, SEQ-NBR | TA310 |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | ETT-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Employee | EMPLOYEE | Required | ETT-COMPANY → EMP-COMPANY, ETT-EMPLOYEE → EMP-EMPLOYEE | |
| Employee Plan | EMTAMASTR | Required | ETT-COMPANY → ETM-COMPANY, ETT-EMPLOYEE → ETM-EMPLOYEE, ETT-PLAN-NAME → ETM-PLAN-NAME | |
| Plan | PLANMASTER | Required | ETT-COMPANY → PLM-COMPANY, ETT-PLAN-NAME → PLM-PLAN-NAME |
Programs
Updated by (12)
- TA148 Canada Vacation Rollover
- TA300 Time Accrual Purge
- TA310 Employee Plan Purge
- TA340 Canada Vacation History Purge
- TA341 Canada Vacation Employee Plan Purge
- TA42.1 Canada Vacation Adjustments
- TA542 Canada Vacation Balance Load
- TA570 CSV Load Balances
- TA70.1 Plan Adjustments
- TA70.2 Employee Plan Adjustments
- TA80.1 Plan Transfer
- TA81.1 Canada Vacation Plan Transfer
Referenced by (16)
- HR170 Human Resource Writer Report Request
- HR70.1 Human Resource Writer Inquiry
- LP900 LP Enable
- PR160 Payment Print
- PR180 Manual Payment Print
- PR80.2 Manual Payment Print
- TA147 Canada Vacation Audit
- TA175 Time Accrual Report
- TA241 Canada Vacation Transaction Report
- TA265 History Usage Report
- TA270 Open Manual Transactions
- TA290 Transaction History Report
- TA50.1 Canada Employee Vacation Plan
- TA60.1 Employee Plan Inquiry
- TA65.3 Employee Transaction Inquiry
- ZH230 PPH Big Bad Edit