EMPSUMM – Employee Year-To-Date Tip Pay
- System
- Payroll (PR)
- Prefix
ESM- Primary key
COMPANY,PROCESS-LEVEL,DEPARTMENT,SHIFT,EMPLOYEE,PAYROLL-YEAR,LST-CALC-DATE- Fields
- 19
- Updated by
- 0 programs
- Referenced by
- 0 programs
EMPSUMM is the Employee Year-To-Date Tip Pay table in Lawson Payroll (prefix ESM). It is indexed by COMPANY, PROCESS-LEVEL, DEPARTMENT, SHIFT, EMPLOYEE, PAYROLL-YEAR, LST-CALC-DATE (ESMSET1); alternate indexes: ESMSET2 and ESMSET3. It is related 1:1 to PRSYSTEM, DEPTCODE, EMPLOYEE and TPPARAM and 1:M to TIPPAY. The table has 19 fields, 3 indexes and 8 documented relations.
About EMPSUMM
This file contains the year-to-date shortfall, shortfall allocations, reported tips and gross receipts totals for each employee for every allocation level where the employee worked. You can print the information in this file in a report using TP100 (Shortfall Allocation Calculation) and TP220 (Shortfall Allocation Report). TP100 creates this file.
Fields (19)
Column = COBOL field name without the ESM- 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 |
|---|---|---|---|
#ESM-COMPANY PKCOMPANY | Numeric 4 | — | — |
#ESM-PROCESS-LEVEL PKPROCESS_LEVEL | Alpha 5 | Contains the process level. | — |
#ESM-DEPARTMENT PKDEPARTMENT | Alpha 5 | Contains the department. | — |
#ESM-SHIFT PKSHIFT | Numeric 1 | Contains the shift number associated with the pay. | — |
#ESM-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains the employee number . The employee number is used to correlate all of the information related to that person. | — |
#ESM-PAYROLL-YEAR PKPAYROLL_YEAR | Numeric 4 | Contains the payroll year in which the allocation was taken. | — |
#ESM-LST-CALC-DATE PKLST_CALC_DATE | Numeric 8 (yyyymmdd) | Contains the last calculation date. The system date defaults when the allocation summary is created. | — |
#ESM-STATUSSTATUS | Numeric 1 | This field displays the status of the transaction. | — |
#ESM-HM-PROC-LEVHM_PROC_LEV | Alpha 5 | Contains the process level in which the tips were reported. | — |
#ESM-HM-DEPTHM_DEPT | Alpha 5 | Contains the department in which the tips were reported. | — |
#ESM-ALLOC-METHODALLOC_METHOD | Alpha 1 | Contains the value that determines if the allocation method used is based on G (Individual Gross Receipts) or H (Hours Worked). | — |
#ESM-YTD-RCPTYTD_RCPT | Signed 13.2 | Contains the year-to-date receipts. | — |
#ESM-YTD-HOURSYTD_HOURS | Signed 13.2 | Contains the year-to-date hours. | — |
#ESM-YTD-RPT-TIPSYTD_RPT_TIPS | Signed 13.2 | Contains the year-to-date reported tips. | — |
#ESM-YTD-SHORTFALLYTD_SHORTFALL | Signed 13.2 | Contains the year-to-date tips shortfall. | — |
#ESM-YTD-SF-ALLOCYTD_SF_ALLOC | Signed 13.2 | Contains the year-to-date shortfall allocation. | — |
#ESM-YTD-IND-TIPSYTD_IND_TIPS | Signed 13.2 | Contains the year-to-date indirect tips. | — |
#ESM-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | — |
#ESM-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | — |
Indexes (3)
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 |
|---|---|---|---|---|
ESMSET1 |
| Primary | — | |
ESMSET2 |
| — | ||
ESMSET3 |
| PR297, PR299 |
Relations
One to one (7) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Company | PRSYSTEM | Required |
| |||||||||||||
| Department | DEPTCODE | Required | When ESM-DEPARTMENT != Spaces |
| ||||||||||||
| Employee | EMPLOYEE | Required |
| |||||||||||||
| Hm Department | DEPTCODE | Required | When ESM-HM-DEPT != Spaces |
| ||||||||||||
| Hm Proc Lev | PRSYSTEM | Required | When ESM-HM-PROC-LEV != Spaces |
| ||||||||||||
| Process Level | PRSYSTEM | Required |
| |||||||||||||
| Tpparam | TPPARAM | Required |
|
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Tip Pay | TIPPAY | Delete Restricted |
|
Programs
No Lawson programs are documented as updating or referencing this table.