TPPARAM – Tip Parameters
- System
- TP (TP)
- Prefix
TPP- Primary key
COMPANY,PROCESS-LEVEL,DEPARTMENT,SHIFT- Fields
- 20
- Updated by
- 5 programs
- Referenced by
- 0 programs
TPPARAM is the Tip Parameters table in Lawson TP (prefix TPP). It is indexed by COMPANY, PROCESS-LEVEL, DEPARTMENT, SHIFT (TPPSET1). It is related 1:1 to PRSYSTEM and DEPTCODE and 1:M to EMPSUMM and TIPPAY. It is updated by PR195, PR197, PR582, PR82.1 and PR85.1. The table has 20 fields, 1 index and 5 documented relations.
About TPPARAM
No description in the Lawson data dictionary.
Fields (20)
Column = COBOL field name without the TPP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
TPP-COMPANY PKCOMPANY | Numeric 4 | — | PR195, PR197, PR582, PR82.1, PR85.1 |
TPP-PROCESS-LEVEL PKPROCESS_LEVEL | Alpha 5 | Contains the process level the pay is associated with for allocation. | — |
TPP-DEPARTMENT PKDEPARTMENT | Alpha 5 | Contains the department the pay is associated with for allocation. | — |
TPP-SHIFT PKSHIFT | Numeric 1 | Contains the shift number the allocation is associated with. | — |
TPP-ALLOC-METHODALLOC_METHOD | Alpha 1 | Contains the value that determines the allocation method. Valid values are:
| — |
TPP-ALLOC-PCTALLOC_PCT | Signed 7.3 | Contains the allocation percent for the allocation method. | — |
TPP-EST-NAMEEST_NAME | Alpha 30 (Lower Case) | Contains the establishment name. | — |
TPP-EST-ADDR1EST_ADDR1 | Alpha 30 (Lower Case) | Contains the first line of the establishment address. | — |
TPP-EST-ADDR2EST_ADDR2 | Alpha 30 (Lower Case) | Contains the second line of the establishment address. | — |
TPP-EST-ADDR3EST_ADDR3 | Alpha 30 (Lower Case) | — | — |
TPP-EST-ADDR4EST_ADDR4 | Alpha 30 (Lower Case) | — | — |
TPP-EST-CITYEST_CITY | Alpha 58 (Lower Case) | Contains the city of the establishment address. | — |
TPP-EST-STATEEST_STATE | Alpha 2 | Contains the state of the establishment address. | — |
TPP-EST-ZIPEST_ZIP | Alpha 10 | Contains the postal code of the establishment address. | — |
TPP-EST-NBREST_NBR | Alpha 30 | Contains the establishment number. | — |
TPP-LST-RUN-DATELST_RUN_DATE | Numeric 8 (yyyymmdd) | Contains the system date that defaults when you run TP100 (Shortfall Allocation Calculation). | — |
TPP-LST-TIP-SEQLST_TIP_SEQ | Numeric 4 | Contains the number used to uniquely identify tip records. | PR195, PR197, PR582, PR82.1, PR85.1 |
TPP-CTRL-TOT-FLGCTRL_TOT_FLG | Alpha 1 | Contains the value that determines if the total employee gross receipts entered in TP20.2 (Employee Gross Receipts Allocation) must balance to the allocation level gross receipts before TP100 (Tip Shortfall Allocation) can be run. | — |
TPP-TRAN-CONT-CODETRAN_CONT_CODE | Alpha 5 | Contains the Transmitter Control Code assigned by the IRS. | — |
TPP-EST-TYPEEST_TYPE | Alpha 1 | Contains the value that identifies the type of establishment. Valid values are:
| — |
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 |
|---|---|---|---|---|
TPPSET1 | COMPANY, PROCESS-LEVEL, DEPARTMENT, SHIFT | Primary | PR195, PR197, PR582, PR82.1, PR85.1 |
Relations
One to one (3) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | TPP-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Department | DEPTCODE | Required | When TPP-DEPARTMENT != Spaces | TPP-COMPANY → DPT-COMPANY, TPP-PROCESS-LEVEL → DPT-PROCESS-LEVEL, TPP-DEPARTMENT → DPT-DEPARTMENT |
| Process Level | PRSYSTEM | Required | When TPP-PROCESS-LEVEL != Spaces | TPP-COMPANY → PRS-COMPANY, TPP-PROCESS-LEVEL → PRS-PROCESS-LEVEL |
One to many (2) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Emp Summ | EMPSUMM | Delete Restricted | TPP-COMPANY → ESM-COMPANY, TPP-PROCESS-LEVEL → ESM-PROCESS-LEVEL, TPP-DEPARTMENT → ESM-DEPARTMENT, TPP-SHIFT → ESM-SHIFT, → ESM-EMPLOYEE, → ESM-PAYROLL-YEAR, → ESM-LST-CALC-DATE | |
| Tip Pay | TIPPAY | Delete Restricted | TPP-COMPANY → TIP-COMPANY, TPP-PROCESS-LEVEL → TIP-TIP-PROC-LEV, TPP-DEPARTMENT → TIP-TIP-DEPART, TPP-SHIFT → TIP-SHIFT, → TIP-EMPLOYEE, → TIP-WRK-END-DATE, → TIP-SEQ-NBR |