TAFORMULA – Time Accrual Formula

System
Event Management (TA)
Prefix
TAF
Primary key
COMPANY, CALC-NAME
Fields
87
Updated by
2 programs
Referenced by
2 programs

TAFORMULA is the Time Accrual Formula table in Lawson Event Management (prefix TAF). It is indexed by COMPANY, CALC-NAME (TAFSET1); alternate indexes: TAFSET2. It is related 1:1 to PAYCLASS and PRSYSTEM and 1:M to TAEEMASTER. It is updated by TA30.1 and TA30.2 and referenced by TA20.2 and TA230. The table has 87 fields, 2 indexes and 5 documented relations.

About TAFORMULA

Contains the formula used to calculate accrued hours. A formula can be assigned to one or more plans.

Fields (87)

Column = COBOL field name without the TAF- 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
#TAF-COMPANY PK
COMPANY
Numeric 4Contains the number that represents an established company.TA30.1, TA30.2
#TAF-CALC-NAME PK
CALC_NAME
Alpha 10Contains the formula calculation name. This field is user-defined.TA30.1, TA30.2
#TAF-FRMLA-TYPE SET2
FRMLA_TYPE
Alpha 1Contains the value that identifies the formula type.
  • A Flat amount
  • R Ratio per hour
TA30.1, TA30.2
#TAF-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)Contains the formula description.TA30.1, TA30.2
#TAF-A-PAY-CLASS
A_PAY_CLASS
Alpha 3Contains the pay class that represents the hours used in Flat amount formula types. Validated in the Payclass file.TA30.1
#TAF-A-FRM-HRS
A_FRM_HRS
Numeric 5 Occurs 24 Times ×24Contains the From hours.TA30.1
#TAF-A-TO-HRS
A_TO_HRS
Numeric 5 Occurs 24 Times ×24Contains the To hours.TA30.1
#TAF-A-FLAT-HRS
A_FLAT_HRS
Signed 9.4 Occurs 24 Times ×24Contains the flat amount of hours that accrue for hours worked, in the defined pay class, between the defined From and To hours for the cycle.TA30.1
#TAF-A-NUMER-PC
A_NUMER_PC
Alpha 3 Occurs 24 Times ×24Contains the pay class that represents the hours used for the calculation method of accrual.TA30.1
#TAF-A-UA-HRS
A_UA_HRS
Numeric 5 Occurs 24 Times ×24Contains the hours associated with the plan's accrual cycle in TA20.2 (Accrual Schedule).TA30.1
#TAF-A-UA-FACTOR
A_UA_FACTOR
Signed 9.4 Occurs 24 Times ×24Contains the calculation factor. This rate is used to calculate the accrual amount.TA30.1
#TAF-A-UA-HR-DESC
A_UA_HR_DESC
Alpha 30 Occurs 24 Times ×24Contains the description of the hours used in the calculation method of accrual.TA30.1
#TAF-A-UA-FCT-DESC
A_UA_FCT_DESC
Alpha 30 Occurs 24 Times ×24Contains the description of the factor used in the calculation method of accrual.TA30.1
#TAF-R-RATIO
R_RATIO
Signed 11.4 Occurs 10 Times ×10Contains the ratio by which hours worked in the pay class are multiplied to arrive at the accrued hours using the Accrual Ratio Formula.TA30.2
#TAF-R-PAY-CLASS
R_PAY_CLASS
Alpha 3 Occurs 10 Times ×10Contains the pay class that represents the hours multiplied by the ratio to arrive at the accrued hours using the Accrual Ratio Formula.TA30.2
#TAF-A-FRM-HRS-1
A_FRM_HRS_1
Derived——
#TAF-A-FRM-HRS-2
A_FRM_HRS_2
Derived——
#TAF-A-FRM-HRS-3
A_FRM_HRS_3
Derived——
#TAF-A-FRM-HRS-4
A_FRM_HRS_4
Derived——
#TAF-A-FRM-HRS-5
A_FRM_HRS_5
Derived——
#TAF-A-FRM-HRS-6
A_FRM_HRS_6
Derived——
#TAF-A-FRM-HRS-7
A_FRM_HRS_7
Derived——
#TAF-A-FRM-HRS-8
A_FRM_HRS_8
Derived——
#TAF-A-FRM-HRS-9
A_FRM_HRS_9
Derived——
#TAF-A-FRM-HRS-10
A_FRM_HRS_10
Derived——
#TAF-A-FRM-HRS-11
A_FRM_HRS_11
Derived——
#TAF-A-FRM-HRS-12
A_FRM_HRS_12
Derived——
#TAF-A-FRM-HRS-13
A_FRM_HRS_13
Derived——
#TAF-A-FRM-HRS-14
A_FRM_HRS_14
Derived——
#TAF-A-FRM-HRS-15
A_FRM_HRS_15
Derived——
#TAF-A-FRM-HRS-16
A_FRM_HRS_16
Derived——
#TAF-A-FRM-HRS-17
A_FRM_HRS_17
Derived——
#TAF-A-FRM-HRS-18
A_FRM_HRS_18
Derived——
#TAF-A-FRM-HRS-19
A_FRM_HRS_19
Derived——
#TAF-A-FRM-HRS-20
A_FRM_HRS_20
Derived——
#TAF-A-FRM-HRS-21
A_FRM_HRS_21
Derived——
#TAF-A-FRM-HRS-22
A_FRM_HRS_22
Derived——
#TAF-A-FRM-HRS-23
A_FRM_HRS_23
Derived——
#TAF-A-FRM-HRS-24
A_FRM_HRS_24
Derived——
#TAF-A-TO-HRS-1
A_TO_HRS_1
Derived——
#TAF-A-TO-HRS-2
A_TO_HRS_2
Derived——
#TAF-A-TO-HRS-3
A_TO_HRS_3
Derived——
#TAF-A-TO-HRS-4
A_TO_HRS_4
Derived——
#TAF-A-TO-HRS-5
A_TO_HRS_5
Derived——
#TAF-A-TO-HRS-6
A_TO_HRS_6
Derived——
#TAF-A-TO-HRS-7
A_TO_HRS_7
Derived——
#TAF-A-TO-HRS-8
A_TO_HRS_8
Derived——
#TAF-A-TO-HRS-9
A_TO_HRS_9
Derived——
#TAF-A-TO-HRS-10
A_TO_HRS_10
Derived——
#TAF-A-TO-HRS-11
A_TO_HRS_11
Derived——
#TAF-A-TO-HRS-12
A_TO_HRS_12
Derived——
#TAF-A-TO-HRS-13
A_TO_HRS_13
Derived——
#TAF-A-TO-HRS-14
A_TO_HRS_14
Derived——
#TAF-A-TO-HRS-15
A_TO_HRS_15
Derived——
#TAF-A-TO-HRS-16
A_TO_HRS_16
Derived——
#TAF-A-TO-HRS-17
A_TO_HRS_17
Derived——
#TAF-A-TO-HRS-18
A_TO_HRS_18
Derived——
#TAF-A-TO-HRS-19
A_TO_HRS_19
Derived——
#TAF-A-TO-HRS-20
A_TO_HRS_20
Derived——
#TAF-A-TO-HRS-21
A_TO_HRS_21
Derived——
#TAF-A-TO-HRS-22
A_TO_HRS_22
Derived——
#TAF-A-TO-HRS-23
A_TO_HRS_23
Derived——
#TAF-A-TO-HRS-24
A_TO_HRS_24
Derived——
#TAF-A-FLAT-HRS-1
A_FLAT_HRS_1
Derived——
#TAF-A-FLAT-HRS-2
A_FLAT_HRS_2
Derived——
#TAF-A-FLAT-HRS-3
A_FLAT_HRS_3
Derived——
#TAF-A-FLAT-HRS-4
A_FLAT_HRS_4
Derived——
#TAF-A-FLAT-HRS-5
A_FLAT_HRS_5
Derived——
#TAF-A-FLAT-HRS-6
A_FLAT_HRS_6
Derived——
#TAF-A-FLAT-HRS-7
A_FLAT_HRS_7
Derived——
#TAF-A-FLAT-HRS-8
A_FLAT_HRS_8
Derived——
#TAF-A-FLAT-HRS-9
A_FLAT_HRS_9
Derived——
#TAF-A-FLAT-HRS-10
A_FLAT_HRS_10
Derived——
#TAF-A-FLAT-HRS-11
A_FLAT_HRS_11
Derived——
#TAF-A-FLAT-HRS-12
A_FLAT_HRS_12
Derived——
#TAF-A-FLAT-HRS-13
A_FLAT_HRS_13
Derived——
#TAF-A-FLAT-HRS-14
A_FLAT_HRS_14
Derived——
#TAF-A-FLAT-HRS-15
A_FLAT_HRS_15
Derived——
#TAF-A-FLAT-HRS-16
A_FLAT_HRS_16
Derived——
#TAF-A-FLAT-HRS-17
A_FLAT_HRS_17
Derived——
#TAF-A-FLAT-HRS-18
A_FLAT_HRS_18
Derived——
#TAF-A-FLAT-HRS-19
A_FLAT_HRS_19
Derived——
#TAF-A-FLAT-HRS-20
A_FLAT_HRS_20
Derived——
#TAF-A-FLAT-HRS-21
A_FLAT_HRS_21
Derived——
#TAF-A-FLAT-HRS-22
A_FLAT_HRS_22
Derived——
#TAF-A-FLAT-HRS-23
A_FLAT_HRS_23
Derived——
#TAF-A-FLAT-HRS-24
A_FLAT_HRS_24
Derived——

Indexes (2)

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
TAFSET1
  1. COMPANY
  2. CALC-NAME
PrimaryTA20.2, TA230, TA30.1, TA30.2
TAFSET2
  1. COMPANY
  2. FRMLA-TYPE
  3. CALC-NAME
TA230, TA30.1, TA30.2

Relations

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

One to one (4) — lookups and parents

RelationTableRulesConditionField map
Amt Pay ClassPAYCLASSRequiredWhen TAF-FRMLA-TYPE = "A"
TAF-COMPANY→PCL-COMPANY
TAF-A-PAY-CLASS→PCL-PAY-CLASS
CompanyPRSYSTEMRequired
TAF-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
Numer Pay ClPAYCLASSRequiredWhen TAF-FRMLA-TYPE = "A" And TAF-A-NUMER-PC != Spaces
TAF-COMPANY→PCL-COMPANY
TAF-A-NUMER-PC→PCL-PAY-CLASS
Ratio Pay ClPAYCLASSRequiredWhen TAF-FRMLA-TYPE = "R" And TAF-R-PAY-CLASS != Spaces
TAF-COMPANY→PCL-COMPANY
TAF-R-PAY-CLASS→PCL-PAY-CLASS

One to many (1) — child tables

RelationTableRulesConditionField map
TaeemasterTAEEMASTER
TAF-COMPANY→TEM-COMPANY
—→TEM-EMPLOYEE
—→TEM-PLAN
—→TEM-EMPLOYEE-GROUP
—→TEM-POSITION

Programs

Updated by (2)

Referenced by (2)