EMTAMASTR – Employee Time Accrual Master
- System
- Event Management (TA)
- Prefix
ETM- Primary key
COMPANY,EMPLOYEE,PLAN-NAME- Fields
- 38
- Updated by
- 22 programs
- Referenced by
- 36 programs
EMTAMASTR is the Employee Time Accrual Master table in Lawson Event Management (prefix ETM). It is indexed by COMPANY, EMPLOYEE, PLAN-NAME (ETMSET1); alternate indexes: ETMSET2, ETMSET3 and ETMSET4. It is related 1:1 to GLMASTER, PRSYSTEM, EMPLOYEE, PLANMASTER and PLANCLASS and 1:M to EMTATRANS, TAEEMASTER and EMTATRNSUM. It is updated by BN66.1, HR11.1, PA115, PR140, PR189, PR195, PR80.1, PR80.4 and 14 more and referenced by HR170, HR70.1, PR134, PR135, PR160, PR180, PR32.2, PR33.2 and 28 more. The table has 38 fields, 4 indexes and 9 documented relations.
About EMTAMASTR
Contains a record for each plan in which an employee is enrolled, the dates needed for accrual and eligible hours, and time accrual balances. TA125 (Employee Enrollment Update) and TA60.1 (Employee Plan) update this file.
Fields (38)
Column = COBOL field name without the ETM- 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 |
|---|---|---|---|
#ETM-COMPANY PKCOMPANY | Numeric 4 | Contains the number that represents an established company. | TA50.1, TA60.1, TA80.1, TA81.1 |
#ETM-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains the employee number which is used to correlate all information related to the employee. | TA50.1, TA60.1, TA80.1, TA81.1 |
#ETM-PLAN-NAME PKPLAN_NAME | Alpha 10 | Contains the plan name. This is verified in the Time Accrual Plan file. | TA50.1, TA60.1, TA80.1, TA81.1 |
#ETM-PL-ENTRY-DATEPL_ENTRY_DATE | Numeric 8 (yyyymmdd) | Contains the date the employee enrolled in the plan. | TA50.1, TA60.1, TA80.1, TA81.1 |
#ETM-PL-END-DATEPL_END_DATE | Numeric 8 (yyyymmdd) | Contains the date the employee is no longer enrolled in the plan. | TA50.1, TA60.1, TA80.1, TA81.1 |
#ETM-RUN-DATERUN_DATE | Numeric 8 (yyyymmdd) | Contains the last pay period end date the plan was processed through TA199 (Time Accrual Close). | TA80.1, TA81.1 |
#ETM-FST-ACR-DATEFST_ACR_DATE | Numeric 8 (yyyymmdd) | Contains the first date the employee can accrue hours. It is updated from the temporary first accrual date by TA199 (Time Accrual Close). | TA60.1 |
#ETM-LST-ACR-DATELST_ACR_DATE | Numeric 8 (yyyymmdd) | Contains the last date the employee received accrual hours. TA199 (Time Accrual Close) updates this field using the temporary last accrual. | TA80.1 |
#ETM-ACR-LMT-DATEACR_LMT_DATE | Numeric 8 (yyyymmdd) | Contains the last date accrual limits were checked. TA199 (Time Accrual Close) updates this field from the temporary accrual limit date. | — |
#ETM-FST-ELIG-DATEFST_ELIG_DATE | Numeric 8 (yyyymmdd) | Contains the first date the employee can have eligible hours or begin transferring accrual hours. TA199 (Time Accrual Close) updates this field from the temporary first eligible date. | TA50.1, TA60.1, TA81.1 |
#ETM-LST-ELIG-DATELST_ELIG_DATE | Numeric 8 (yyyymmdd) | Contains the last date the employee received eligible hours. TA199 (Time Accrual Close) updates this field from the temporary last eligible date. | — |
#ETM-ELIG-LMT-DATEELIG_LMT_DATE | Numeric 8 (yyyymmdd) | Contains the last date eligible limits were checked. TA199 (Time Accrual Close) updates this field from the temporary eligible limit date. | — |
#ETM-ACR-BALANCEACR_BALANCE | Signed 9.4 | Contains the employee's accrual balance. TA199 (Time Accrual Close) updates this field from the temporary accrual balance. | TA80.1 |
#ETM-ELIG-BALANCEELIG_BALANCE | Signed 9.4 | Contains the employee's eligible balance. TA199 (Time Accrual Close) updates this field from the temporary eligible balance. | TA148, TA80.1, TA81.1 |
#ETM-T-RUN-DATET_RUN_DATE | Numeric 8 (yyyymmdd) | Contains the date TA170 (Time Accrual Update) was run. This field is the period end date from PR140 (Earnings and Deductions Calculation). | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
#ETM-T-FST-AC-DATET_FST_AC_DATE | Numeric 8 (yyyymmdd) | Contains the first date the employee can accrue hours. | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
#ETM-T-LST-AC-DATET_LST_AC_DATE | Numeric 8 (yyyymmdd) | Contains the last date the employee received accrual hours. | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
#ETM-T-AC-LMT-DATET_AC_LMT_DATE | Numeric 8 (yyyymmdd) | Contains the last date accrual limits were checked. | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
#ETM-T-FST-EL-DATET_FST_EL_DATE | Numeric 8 (yyyymmdd) | Contains the first date the employee can have eligible hours or start transferring from accrual. | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
#ETM-T-LST-EL-DATET_LST_EL_DATE | Numeric 8 (yyyymmdd) | Contains the last date the employee received eligible hours. | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
#ETM-T-EL-LMT-DATET_EL_LMT_DATE | Numeric 8 (yyyymmdd) | Contains the last date eligible hours were checked for limits. | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
#ETM-T-ACR-BALANCET_ACR_BALANCE | Signed 9.4 | Contains the employee's accrual balance. | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 |
#ETM-T-ELG-BALANCET_ELG_BALANCE | Signed 9.4 | Contains the employee's eligible balance. | BN66.1, PR140, PR189, PR195, PR80.1, PR80.4, PR89.1, PRAT.1 +1 more |
#ETM-ACR-DIST-COACR_DIST_CO | Numeric 4 | Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources. | TA60.1 |
#ETM-ACR-ACCT-UNITACR_ACCT_UNIT | Alpha 15 | Contains the GL Interface File accrual accounting unit. | TA60.1 |
#ETM-ACR-ACCOUNTACR_ACCOUNT | Numeric 6 | Contains the GL Interface File accrual account. | TA60.1 |
#ETM-ACR-SUB-ACCTACR_SUB_ACCT | Numeric 4 | Contains the GL Interface File accrual subaccount. | TA60.1 |
#ETM-EXP-DIST-COEXP_DIST_CO | Numeric 4 | Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources. | TA60.1 |
#ETM-EXP-ACCT-UNITEXP_ACCT_UNIT | Alpha 15 | Contains the GL Interface File expense accounting unit. | TA60.1 |
#ETM-EXP-ACCOUNTEXP_ACCOUNT | Numeric 6 | Contains the GL Interface File expense account. | TA60.1 |
#ETM-EXP-SUB-ACCTEXP_SUB_ACCT | Numeric 4 | Contains the GL Interface File expense subaccount. | TA60.1 |
#ETM-LST-SEQ-NBRLST_SEQ_NBR | Numeric 4 | Contains the sequence number of the last time accrual transaction record created for the employee in the plan for. | TA148, TA42.1, TA542, TA570, TA70.1, TA70.2, TA80.1, TA81.1 |
#ETM-TRANSFER-FLAGTRANSFER_FLAG | Alpha 1 | Contains the value that indicates if the transaction was a transfer from another plan. The value changes to No after you run TA170 (Time Accrual Update).
| TA80.1 |
#ETM-TA-DOLLARSTA_DOLLARS | Signed 12.2 | — | TA148, TA81.1 |
#ETM-T-TA-DOLLARST_TA_DOLLARS | Signed 12.2 | — | TA42.1 |
#ETM-EMPL-PERCENTEMPL_PERCENT | Signed 5.2 | — | TA50.1 |
#ETM-EMPL-VAC-HRSEMPL_VAC_HRS | Numeric 7 | — | TA50.1 |
#ETM-COUNTRY-CODE SET3 SET4COUNTRY_CODE | Alpha 2 | The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). | TA50.1, TA81.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 |
|---|---|---|---|---|
ETMSET1 |
| Primary | BN66.1, HR11.1, HR170, HR70.1, ZH230, PA115, PR134, PR135 +22 more (list truncated in source) | |
ETMSET2 |
| TA147, TA148, TA20.1, TA20.2, TA241, TA242, TA310, TA341 +2 more | ||
ETMSET3 |
| TA241, TA260, TA300, TA340, TA50.1, TA60.1 | ||
ETMSET4 |
| TA175, TA65.1 |
Relations
One to one (6) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Accrual Acct | GLMASTER | Required | When ETM-ACR-ACCT-UNIT != Spaces Or ETM-ACR-ACCOUNT != Zeroes |
| ||||||||||||
| Company | PRSYSTEM | Required |
| |||||||||||||
| Employee | EMPLOYEE | Required |
| |||||||||||||
| Expense Acct | GLMASTER | Required | When ETM-EXP-ACCT-UNIT != Spaces Or ETM-EXP-ACCOUNT != Zeroes |
| ||||||||||||
| Plan | PLANMASTER | Required |
| |||||||||||||
| Plan Class | PLANCLASS | Not Required |
|
One to many (3) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Plan Trans | EMTATRANS | Delete Restricted |
| ||||||||||||||||
| Taeemaster | TAEEMASTER |
| |||||||||||||||||
| Trans Summary | EMTATRNSUM | Delete Cascades |
|
Programs
Updated by (22)
- BN66.1 Estimated Pay Calculation
- HR11.1 Employee
- PA115 Employee Purge
- PR140 Earnings and Deductions Calculation
- PR189 Gross Up Calculation
- PR195 Accrual Program
- PR80.1 Manual Check
- PR80.4 Manual Payment
- PR89.1 Payment Modeling
- PRAT.1 Alltax connection test
- TA148 Canada Vacation Rollover
- TA310 Employee Plan Purge
- TA341 Canada Vacation Employee Plan Purge
- TA42.1 Canada Vacation Adjustments
- TA50.1 Canada Employee Vacation Plan
- TA542 Canada Vacation Balance Load
- TA570 CSV Load Balances
- TA60.1 Employee Plan Inquiry
- TA70.1 Plan Adjustments
- TA70.2 Employee Plan Adjustments
- TA80.1 Plan Transfer
- TA81.1 Canada Vacation Plan Transfer
Referenced by (36)
- HR170 Human Resource Writer Report Request
- HR70.1 Human Resource Writer Inquiry
- PR134 Automatic Time Records
- PR135 Time Record Edit
- PR160 Payment Print
- PR180 Manual Payment Print
- PR32.2 Employee Daily Time Entry
- 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
- PR530 Time Record Interface CSV
- TA147 Canada Vacation Audit
- TA175 Time Accrual Report
- TA20.1 Plan
- TA20.2 Accrual Schedule
- TA241 Canada Vacation Transaction Report
- TA242 Canada Vacation Employee Plan, Balance Listing
- TA260 Employee Plan Listing
- TA265 History Usage Report
- TA290 Transaction History Report
- TA300 Time Accrual Purge
- TA340 Canada Vacation History Purge
- TA40.1 Canada Vacation Plan Master
- TA65.1 Plan Balance Inquiry
- TA65.2 Yearly Activity Inquiry
- TA65.3 Employee Transaction Inquiry
- ZH230 PPH Big Bad Edit