TAEMPTRANS – This file contains the accrual plan transactions for each plan structure for an employee.

System
Absence Management (LP)
Prefix
TTR
Primary key
COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE, SEQ-NBR
Fields
36
Updated by
22 programs
Referenced by
14 programs

TAEMPTRANS is the This file contains the accrual plan transactions for each plan structure for an employee. table in Lawson Absence Management (prefix TTR). It is indexed by COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE, SEQ-NBR (TTRSET1); alternate indexes: TTRSET10, TTRSET2, TTRSET3, TTRSET4, TTRSET5, TTRSET6, TTRSET7, TTRSET8 and 1 more. It is related 1:1 to PRSYSTEM, CUCODES, EMPLOYEE, PERSGROUP, TAEEMASTER, PAEMPLOYEE, PCODES, TAPLAN and 1 more and 1:M to PAPOSITION and TASTRUCTUR. It is updated by HS17.1, HS706, LP102, LP130, LP131, LP138, LP140, LP145 and 14 more and referenced by HR11.1, HR511, LP100, LP101, LP103, LP240, LP264, LP31.1 and 6 more. The table has 36 fields, 10 indexes and 12 documented relations.

About TAEMPTRANS

This file contains the accrual plan transactions for each plan structure for an employee.

Fields (36)

Column = COBOL field name without the TTR- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
TTR-COMPANY PK
COMPANY
Numeric 4Contains the company number.LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee number. Each person employed by the company is assigned a unique number. The system uses the employee number to correlate all of the information related to that person.LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-PLAN PK
PLAN
Alpha 10Contains the absence plan name.LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-EMPLOYEE-GROUP PK
EMPLOYEE_GROUP
Alpha 10Contains the accrual employee group which, when attached to a plan, represents an absence plan structure.LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-POSITION PK
POSITION
Alpha 12Contains the position code of the employee if plan balances are held at the position code level.LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-DATE PK
DATE
Numeric 8 (yyyymmdd)Contains the date of the transaction. For events, the transaction date is determined based on the date of the event. Otherwise, the transaction date is based on the plan cycle frequency or the pay period end date of service records processed.LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP370 +4 more
TTR-SEQ-NBR PK
SEQ_NBR
Numeric 4Contains a unique sequence number that keeps records unique. It is automatically assigned when records are created.LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-TRAN-TYPE
TRAN_TYPE
Numeric 2Contains the transaction type. Transaction type 11 and 12 are created by LP138.
  • 01 Manual Accrual
  • 02 Manual Allotment
  • 03 Manual Available
  • 04 Manual Reserve
  • 05 Manual Carryover
  • 10 Restore Used Available
  • 11 Sell from Available
  • 12 Purchase for Available
  • 21 Accrual
  • 22 Allotment
  • 23 Allotment Adj for Rounding
  • 31 Transfer from Accrual
  • 32 Transfer from Allotment
  • 33 Transfer to Avail from Accr
  • 34 Transfer to Avail from Allot
  • 35 Creation of carryover balance
  • 42 Lost Accr-Ongoing Limit
  • 43 Lost Allot-Ongoing Limit
  • 44 Lost Avail-Carryover Limit
  • 45 Lost Avail-Carry Period Limit
  • 46 Lost Carry-Period Limit
  • 47 Reset Carry-Carryover Recalc
  • 51 Allotment Adj for Factor Chgs
  • 52 Allotment Adj for Accruals
  • 61 Use
  • 63 Payout
  • 71 Zero Accrual
  • 72 Zero Allotment
  • 73 Zero Available
  • 74 Zero Reserve
  • 75 Zero Carryover
  • 81 Transfer Accrual Bal
  • 82 Transfer Allotment Bal
  • 83 Transfer Available Bal
  • 84 Transfer Reserve Bal
  • 85 Transfer Carryover Bal
  • 91 Purge Accrual Bal
  • 92 Purge Allotment Bal
  • 93 Purge Available Bal
  • 94 Purge Reserve Bal
  • 95 Purge Carryover Bal
  • 48 Lost Avail-Ongoing Limit
LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP370 +4 more
TTR-BALANCE-TYPE
BALANCE_TYPE
Numeric 2Determines which TAEEMASTER balance to adjust.
  • 01 Accrual
  • 02 Allotment
  • 03 Available
  • 04 Reserve
  • 05 Carryover
LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)Contains the transaction description.LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP370 +4 more
TTR-TA-TYPE
TA_TYPE
Numeric 2Contains the transaction units of measure.
  • 01 Hours
  • 02 Earnings
LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-TA-HOURS
TA_HOURS
Signed 18.6Contains the hours associated with the transaction. Used with TA-Type = 1 (Hours).LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP370 +6 more
TTR-TA-EARNINGS
TA_EARNINGS
Signed 18.6Contains the earnings associated with the transaction. Used with TA-Type = 2 (Earnings).LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +5 more
TTR-CURRENCY-CODE
CURRENCY_CODE
Alpha 5Contains the currency code for the transaction. Used with TA-Type = 2 (Earnings).LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-TA-LOS-CALC
TA_LOS_CALC
Signed 9.2Contains the length of service hours or cycles used to determine the amount of this transaction.LP130, LP138, LP140, LP145, LP180, LP370
TTR-STATUS
STATUS
Numeric 1Contains the the status of the transaction. Updated by TA140, TA197.
  • 0 Unprocessed
  • 2 Processed
  • 3 Transferred
  • 9 Closed
LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP197 +5 more
TTR-TA-OBJ-ID
TA_OBJ_ID
Numeric 12This object ID will associate transactions created by LP138 to specific benefit plan enrollments and balances in BNTAEMPBAL.LP130, LP138, LP370
TTR-PROCESS-DATE
PROCESS_DATE
Numeric 8 (yyyymmdd)Contains the process through date of the LP140 job that processed this transaction.LP130, LP138, LP140, LP145, LP370
TTR-RESET-DATE
RESET_DATE
Numeric 8 (yyyymmdd)Contains the Reset Date determined by the Reset Point. This is the first date of the limit year. This will be the date used by LP197 when accumulating transactions into TATRANSUM file by reset date.LP102, LP130, LP138, LP140, LP145, LP180, LP197, LP370
TTR-PLAN-CATEGORY
PLAN_CATEGORY
Alpha 10Contains the category for the plan. This is needed for limit check by plan category that will read open TAEMPTRANS record.LP130, LP138, LP140, LP145, LP180, LP370
TTR-ALLOT-PER-BEG
ALLOT_PER_BEG
Numeric 8 (yyyymmdd)For allotments, contains the beginning date of the allotment period.LP130, LP138, LP140, LP145, LP370
TTR-ALLOT-PER-END
ALLOT_PER_END
Numeric 8 (yyyymmdd)For allotments, contains the end date of the allotment period.LP130, LP138, LP140, LP145, LP370
TTR-ALLOT-CYCLE-DT
ALLOT_CYCLE_DT
Numeric 8 (yyyymmdd)For cycle based allotments, contains the cycle date.LP130, LP138, LP140, LP145, LP370
TTR-CLOSE-DATE
CLOSE_DATE
Numeric 8 (yyyymmdd)Contains the system date that LP197 closed this transaction.LP130, LP138, LP197, LP370
TTR-GL-POST-DATE
GL_POST_DATE
Numeric 8 (yyyymmdd)For non reversing entries, this references the GL Post Date used on LP198.LP130, LP138, LP198, LP370
TTR-HM-PROC-LEVEL
HM_PROC_LEVEL
Alpha 5Contains the employee's home process level.LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-CREATE-DATE
CREATE_DATE
Numeric 8 (yyyymmdd)Holds the server date this record was originally created.LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP370 +4 more
TTR-CREATE-TIME
CREATE_TIME
Numeric 6 (hhmmss)Holds the server time this record was originally created.LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP370 +4 more
TTR-CREATE-USER-ID
CREATE_USER_ID
Alpha 10 (Lower Case)Contains the user ID of the person who originally created this record.LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP370 +4 more
TTR-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP197 +6 more
TTR-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP197 +6 more
TTR-USER-ID
USER_ID
Alpha 10 (Lower Case)Contains the user ID of the person who last updated this record.LP130, LP131, LP138, LP140, LP145, LP151, LP180, LP197 +6 more
TTR-TA-ACCR-RATE
TA_ACCR_RATE
Signed 18.6
TTR-ORIG-RESET-DT
ORIG_RESET_DT
Numeric 8 (yyyymmdd)LP130, LP131, LP138, LP140, LP145, LP180, LP370, LP570 +3 more
TTR-TRAN-CODE
TRAN_CODE
Alpha 10LP570, LP70.1, LP70.2
TTR-ABN-OBJ-ID
ABN_OBJ_ID
Numeric 12LP140

Indexes (10)

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

IndexKeysFlagsConditionUsed in
TTRSET1COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE, SEQ-NBRPrimaryHR11.1, HR511, HS17.1, LT101, LT111, LP100, LP101, LP102 +18 more
TTRSET10COMPANY, CREATE-DATE*, DATE-STAMP*, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE, SEQ-NBRKeyChange
TTRSET2COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE, SEQ-NBRSubsetWhere STATUS = ZeroesLP140, LP270, LP80.1
TTRSET3COMPANY, PLAN, EMPLOYEE-GROUP, EMPLOYEE, POSITION, DATE, SEQ-NBRLP145
TTRSET4COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE, SEQ-NBRSubsetWhere STATUS = 2LP131, LP140, LP145, LP240, PR160, PR180, PR80.2
TTRSET5COMPANY, HM-PROC-LEVEL, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE, SEQ-NBRKeyChangeLP130
TTRSET6COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, TA-TYPE, RESET-DATE, DATE*, SEQ-NBRKeyChangeLP198
TTRSET7COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE*, SEQ-NBR*HS706, LP64.1
TTRSET8COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE, SEQ-NBRSubsetWhere STATUS = 2 Or STATUS = 3LP197
TTRSET9COMPANY, EMPLOYEE, PLAN, EMPLOYEE-GROUP, POSITION, DATE*, SEQ-NBRSubsetWhere ((TRAN-TYPE <= 12) Or (TRAN-TYPE >= 81 And TRAN-TYPE <= 85)) And (STATUS <= 2)LP70.1, LP70.2

Relations

One to one (10) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredTTR-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
CurrencyCUCODESRequiredWhen TTR-CURRENCY-CODE != SpacesTTR-CURRENCY-CODECUC-CURRENCY-CODE
EmployeeEMPLOYEERequiredTTR-COMPANYEMP-COMPANY, TTR-EMPLOYEEEMP-EMPLOYEE
Employee GroupPERSGROUPRequiredTTR-COMPANYPRG-COMPANY, TTR-EMPLOYEE-GROUPPRG-GROUP-NAME
Employee MastrTAEEMASTERRequiredTTR-COMPANYTEM-COMPANY, TTR-EMPLOYEETEM-EMPLOYEE, TTR-PLANTEM-PLAN, TTR-EMPLOYEE-GROUPTEM-EMPLOYEE-GROUP, TTR-POSITIONTEM-POSITION
Hm Proc LevelPRSYSTEMRequiredWhen TTR-HM-PROC-LEVEL != SpacesTTR-COMPANYPRS-COMPANY, TTR-HM-PROC-LEVELPRS-PROCESS-LEVEL
PaemployeePAEMPLOYEERequiredTTR-COMPANYPEM-COMPANY, TTR-EMPLOYEEPEM-EMPLOYEE
PcodesPCODESRequiredWhen TTR-TRAN-CODE != Spaces"LC"PCO-TYPE, TTR-TRAN-CODEPCO-CODE
PlanTAPLANRequiredTTR-COMPANYTAP-COMPANY, TTR-PLANTAP-PLAN
TatransumTATRANSUMRequiredTTR-COMPANYTTS-COMPANY, TTR-EMPLOYEETTS-EMPLOYEE, TTR-PLANTTS-PLAN, TTR-EMPLOYEE-GROUPTTS-EMPLOYEE-GROUP, TTR-POSITIONTTS-POSITION, TTR-TA-TYPETTS-TA-TYPE, TTR-RESET-DATETTS-RESET-DATE

One to many (2) — child tables

RelationTableRulesConditionField map
PositionPAPOSITIONValid When TTR-POSITION != SpacesTTR-COMPANYPOS-COMPANY, TTR-POSITIONPOS-POSITION, POS-EFFECT-DATE
TastructurTASTRUCTURTTR-COMPANYTST-COMPANY, TTR-EMPLOYEE-GROUPTST-EMPLOYEE-GROUP, TTR-PLANTST-PLAN, TST-BEGIN-DATE

Programs

Updated by (22)

Referenced by (14)