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.

Field / columnTypeDescription & valuesUpdated by
ESM-COMPANY PK
COMPANY
Numeric 4
ESM-PROCESS-LEVEL PK
PROCESS_LEVEL
Alpha 5Contains the process level.
ESM-DEPARTMENT PK
DEPARTMENT
Alpha 5Contains the department.
ESM-SHIFT PK
SHIFT
Numeric 1Contains the shift number associated with the pay.
ESM-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee number . The employee number is used to correlate all of the information related to that person.
ESM-PAYROLL-YEAR PK
PAYROLL_YEAR
Numeric 4Contains the payroll year in which the allocation was taken.
ESM-LST-CALC-DATE PK
LST_CALC_DATE
Numeric 8 (yyyymmdd)Contains the last calculation date. The system date defaults when the allocation summary is created.
ESM-STATUS
STATUS
Numeric 1This field displays the status of the transaction.
ESM-HM-PROC-LEV
HM_PROC_LEV
Alpha 5Contains the process level in which the tips were reported.
ESM-HM-DEPT
HM_DEPT
Alpha 5Contains the department in which the tips were reported.
ESM-ALLOC-METHOD
ALLOC_METHOD
Alpha 1Contains the value that determines if the allocation method used is based on G (Individual Gross Receipts) or H (Hours Worked).
ESM-YTD-RCPT
YTD_RCPT
Signed 13.2Contains the year-to-date receipts.
ESM-YTD-HOURS
YTD_HOURS
Signed 13.2Contains the year-to-date hours.
ESM-YTD-RPT-TIPS
YTD_RPT_TIPS
Signed 13.2Contains the year-to-date reported tips.
ESM-YTD-SHORTFALL
YTD_SHORTFALL
Signed 13.2Contains the year-to-date tips shortfall.
ESM-YTD-SF-ALLOC
YTD_SF_ALLOC
Signed 13.2Contains the year-to-date shortfall allocation.
ESM-YTD-IND-TIPS
YTD_IND_TIPS
Signed 13.2Contains the year-to-date indirect tips.
ESM-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1 ).
ESM-CURR-ND
CURR_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.

Indexes (3)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
ESMSET1COMPANY, PROCESS-LEVEL, DEPARTMENT, SHIFT, EMPLOYEE, PAYROLL-YEAR, LST-CALC-DATEPrimary
ESMSET2COMPANY, EMPLOYEE, LST-CALC-DATE, PROCESS-LEVEL, DEPARTMENT, SHIFT
ESMSET3COMPANY, PAYROLL-YEAR, EMPLOYEE, PROCESS-LEVEL, DEPARTMENT, SHIFTPR297, PR299

Relations

One to one (7) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredESM-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
DepartmentDEPTCODERequiredWhen ESM-DEPARTMENT != SpacesESM-COMPANYDPT-COMPANY, ESM-PROCESS-LEVELDPT-PROCESS-LEVEL, ESM-DEPARTMENTDPT-DEPARTMENT
EmployeeEMPLOYEERequiredESM-COMPANYEMP-COMPANY, ESM-EMPLOYEEEMP-EMPLOYEE
Hm DepartmentDEPTCODERequiredWhen ESM-HM-DEPT != SpacesESM-COMPANYDPT-COMPANY, ESM-HM-PROC-LEVDPT-PROCESS-LEVEL, ESM-HM-DEPTDPT-DEPARTMENT
Hm Proc LevPRSYSTEMRequiredWhen ESM-HM-PROC-LEV != SpacesESM-COMPANYPRS-COMPANY, ESM-HM-PROC-LEVPRS-PROCESS-LEVEL
Process LevelPRSYSTEMRequiredESM-COMPANYPRS-COMPANY, ESM-PROCESS-LEVELPRS-PROCESS-LEVEL
TpparamTPPARAMRequiredESM-COMPANYTPP-COMPANY, ESM-PROCESS-LEVELTPP-PROCESS-LEVEL, ESM-DEPARTMENTTPP-DEPARTMENT, ESM-SHIFTTPP-SHIFT

One to many (1) — child tables

RelationTableRulesConditionField map
Tip PayTIPPAYDelete RestrictedESM-COMPANYTIP-COMPANY, ESM-PROCESS-LEVELTIP-TIP-PROC-LEV, ESM-DEPARTMENTTIP-TIP-DEPART, ESM-SHIFTTIP-SHIFT, ESM-EMPLOYEETIP-EMPLOYEE, TIP-WRK-END-DATE, TIP-SEQ-NBR

Programs

No Lawson programs are documented as updating or referencing this table.