PROTACCTS – This file contains expense accounts for premium portions of pay by job codes.

System
Payroll (PR)
Prefix
OTA
Primary key
COMPANY, PROCESS-LEVEL, JOB-CODE, PAY-CODE, OT-JOB-CODE
Fields
7
Updated by
1 program
Referenced by
6 programs

PROTACCTS is the This file contains expense accounts for premium portions of pay by job codes. table in Lawson Payroll (prefix OTA). It is indexed by COMPANY, PROCESS-LEVEL, JOB-CODE, PAY-CODE, OT-JOB-CODE (OTASET1). It is related 1:1 to PRSYSTEM, JOBCODE and PRPAYCODE. It is updated by PR20.7 and referenced by PR195, PR197, PR220, PR582, PR82.1 and PR85.1. The table has 7 fields, 1 index and 4 documented relations.

About PROTACCTS

This file contains expense accounts for premium portions of pay by job codes. It is assigned to the pay code file.

Fields (7)

Column = COBOL field name without the OTA- 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 / columnTypeDescription & valuesUpdated by
#OTA-COMPANY PK
COMPANY
Numeric 4—PR20.7
#OTA-PROCESS-LEVEL PK
PROCESS_LEVEL
Alpha 5—PR20.7
#OTA-JOB-CODE PK
JOB_CODE
Alpha 9Contains a user-defined code that represents a type of job.PR20.7
#OTA-PAY-CODE PK
PAY_CODE
Alpha 4Contains the pay code. A pay code is a user-defined code that identifies a kind of pay.PR20.7
#OTA-OT-JOB-CODE PK
OT_JOB_CODE
Alpha 9Contains the job code for which overtime expensing is being defined.PR20.7
#OTA-OT-ACCOUNT
OT_ACCOUNT
Numeric 6Contains the expense account to which overtime premium expenses for this job code/pay code should be posted.PR20.7
#OTA-OT-SUB-ACCT
OT_SUB_ACCT
Numeric 4Contains the subaccount to which overtime premium expenses for this job code/pay code should be posted.PR20.7

Indexes (1)

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.

IndexKeysFlagsConditionUsed in
OTASET1
  1. COMPANY
  2. PROCESS-LEVEL
  3. JOB-CODE
  4. PAY-CODE
  5. OT-JOB-CODE
PrimaryPR195, PR197, PR20.4, PR20.7, PR220, PR582, PR82.1, PR85.1

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
PRSYSTEMJOBCODEPRPAYCODEPROTACCTS

One to one (4) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequired
OTA-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
JobcodeJOBCODERequired
OTA-COMPANY→JBC-COMPANY
OTA-JOB-CODE→JBC-JOB-CODE
PaycodePRPAYCODERequired
OTA-COMPANY→PCD-COMPANY
OTA-PROCESS-LEVEL→PCD-PROCESS-LEVEL
OTA-JOB-CODE→PCD-JOB-CODE
OTA-PAY-CODE→PCD-PAY-CODE
Process LevelPRSYSTEMRequired
OTA-COMPANY→PRS-COMPANY
OTA-PROCESS-LEVEL→PRS-PROCESS-LEVEL

Programs

Updated by (1)

Referenced by (6)