STANDTIME – Payroll Standard Time Record

System
Payroll (PR)
Prefix
STM
Primary key
COMPANY, EMPLOYEE, TIME-GROUP, PAY-CODE, SEQ-NBR
Fields
40
Updated by
63 programs
Referenced by
8 programs

STANDTIME is the Payroll Standard Time Record table in Lawson Payroll (prefix STM). It is indexed by COMPANY, EMPLOYEE, TIME-GROUP, PAY-CODE, SEQ-NBR (STMSET1); alternate indexes: STMSET2, STMSET3, STMSET4, STMSET6 and STMSET7. It is related 1:1 to ACACCTCAT, ACACTIVITY, ATTENDCODE, PRSYSTEM, DEPTCODE, GLSYSTEM, GLMASTER, EMPLOYEE and 5 more. It is updated by BN100, BN101, BN102, BN103, BN104, BN105, BN145, BN305 and 55 more and referenced by BN51.2, HR55.1, PR134, PR136, PR229, PR230, PR80.1 and PR80.4. The table has 40 fields, 6 indexes and 14 documented relations.

About STANDTIME

The Payroll Standard Time Card file contains standard time records for individual employees or employee groups. PR30.1 (Standard Time Record) is the program that updates this file. PR134 (Automatic Time Records) uses these records to create Employee Time Cards file records.

Fields (40)

Column = COBOL field name without the STM- 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
#STM-COMPANY PK
COMPANY
Numeric 4BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee number for whom a standard time record is to be created. Each record has a value in this field or in the Employee Group field. For an employee to be eligible, the value in the Auto Time Record field must be S (Standard) or Y (Yes).BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-TIME-GROUP PK
TIME_GROUP
Alpha 10Contains the employee group for which standard time records are to be created. The value in this field represents an employee group and exists in the Employee Group Header file.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-PAY-CODE PK
PAY_CODE
Alpha 4Contains the standard time record pay code. The value in this field must be valid in the Pay Code Parameters file.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-SEQ-NBR PK
SEQ_NBR
Numeric 4Contains the standard time record sequence number. The system automatically sequences this field based on the last sequence number for employee standard time records or on the last sequence number for employee group standard time records.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-HOURS
HOURS
Signed 7.2Contains the hours.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +13 more
#STM-RATE
RATE
Signed 13.4Contains the rate of pay for the standard time record.BN100, BN101, BN102, BN103, BN104, BN105, BN145, BN305 +51 more
#STM-EFFECT-DATE
EFFECT_DATE
Numeric 8 (yyyymmdd)Contains the standard time record effective date. When you run PR134 (Automatic Time Records), the system compares this field to the system date to determine if an Employee Time Cards file record should be created.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-END-DATE
END_DATE
Numeric 8 (yyyymmdd)Contains the date when the standard time record is no longer effective. When you run PR134 (Automatic Time Records), the system compares this field with the system date to determine if the Employee Time Cards file record should be created.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-PROCESS-LEVEL
PROCESS_LEVEL
Alpha 5PR29.1, PR30.1, PR529, PR560, PR582, PR82.1
#STM-DEPARTMENT
DEPARTMENT
Alpha 5Contains the department.PR29.1, PR30.1, PR529, PR560, PR582, PR82.1
#STM-DST-ACCT-UNIT
DST_ACCT_UNIT
Alpha 15Contains the general ledger accounting unit to which the amount is posted.PR30.1
#STM-DST-ACCOUNT
DST_ACCOUNT
Numeric 6Contains the general ledger account to which the amount is posted.PR30.1
#STM-DST-SUB-ACCT
DST_SUB_ACCT
Numeric 4Contains the general ledger subaccount to which the amount is posted.PR30.1
#STM-DIST-COMPANY
DIST_COMPANY
Numeric 4Contains the company number to which a transaction is posted. A valid intercompany relationship must be defined in the General Ledger system.PR30.1
#STM-JOB-CODE
JOB_CODE
Alpha 9Contains a user-defined code that identifies a type of job.PR30.1
#STM-ATTEND-CODE
ATTEND_CODE
Alpha 2Contains the attendance code to which the hours are to be posted. The Time and Attendance system uses this field.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +13 more
#STM-OCCURRENCE
OCCURRENCE
Alpha 1Contains the value that indicates if the referenced time is a new occurrence or a continuation of an existing occurrence. The Time and Attendance system uses this field.
  • N Continuation of an occurrence.
  • Y An attendance occurrence.
BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +13 more
#STM-DED-CYCLE
DED_CYCLE
Alpha 1 Occurs 9 Times ×9Contains the value that identifies the cycles in which a deduction is taken. XBN100, BN101, BN102, BN103, BN104, BN105, BN145, BN31.1 +19 more
#STM-FLEX-DOLLARS
FLEX_DOLLARS
Signed 13.2Contains the flex dollars associated with the standard time record.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +12 more
#STM-OBJ-ID SET4
OBJ_ID
Numeric 12This is the object identifier. It is used to relate commitments or posted transactions back to the originating subsystems. Each subsystem record that is updated as a commitment or posted transaction is assigned an object identifier. The object identifier is maintained in the subsystem files and in the Activity Commitments Detail and Activity Transaction files. The object identifier is a unique key used to drill back from Activity Management to the subsystems.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-ACTIVITY
ACTIVITY
Alpha 15Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity.PR30.1
#STM-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in the Activity Management system. All transactions are posted to an account category within an activity. You can assign a specific General Ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using AC07.1 (Account Assignment). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing. Valid account category types are: cost revenue accrual pass thruPR30.1
#STM-POSITION
POSITION
Alpha 12Contains the user-defined code that represents a position in the company.PR30.1
#STM-LOCAT-CODE
LOCAT_CODE
Alpha 10PR30.1
#STM-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1 ).PR29.1, PR30.1, PR529, PR560, PR582, PR82.1
#STM-CURR-ND
CURR_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.PR30.1
#STM-BUS-NBR-GRP
BUS_NBR_GRP
Alpha 4Contains the business number group.PR30.1
#STM-QC-ENT-NBR-GRP
QC_ENT_NBR_GRP
Alpha 4Contains the Quebec enterprise number group.PR30.1
#STM-PENS-SEQ-NBR SET6
PENS_SEQ_NBR
Numeric 4PR29.1, PR30.1, PR529, PR560, PR582, PR82.1
#STM-CHECK-GRP
CHECK_GRP
Alpha 11 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y ZPR29.1, PR30.1, PR529, PR560, PR582, PR82.1
#STM-PROCESS-GRP
PROCESS_GRP
Alpha 1PR29.1, PR30.1, PR529, PR560, PR582, PR82.1
#STM-TAX-FREQ-OVER
TAX_FREQ_OVER
Numeric 3
  • 001 Weekly
  • 002 Biweekly
  • 003 Semi-monthly
  • 004 Monthly
  • 005 Daily
  • 006 Quarterly
  • 007 Semi-annually
  • 008 Annually
  • 009 9 Month Academic Monthly
  • 010 10 Month Academic Monthly
PR29.1, PR30.1, PR529, PR560, PR582, PR82.1
#STM-REASON-CODE
REASON_CODE
Alpha 4PR30.1
#STM-CREATE-DATE SET7
CREATE_DATE
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-CREATE-TIME
CREATE_TIME
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-CREATE-USER-ID
CREATE_USER_ID
Alpha 10 (Lower Case)Contains the user ID of the person who last changed this record.BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +18 more
#STM-DATE-STAMP SET7
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.BN100, BN101, BN102, BN103, BN104, BN105, BN145, BN305 +51 more
#STM-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.BN100, BN101, BN102, BN103, BN104, BN105, BN145, BN305 +51 more
#STM-USER-ID
USER_ID
Alpha 10 (Lower Case)Contains the user ID of the person who last changed this record.BN100, BN101, BN102, BN103, BN104, BN105, BN145, BN305 +51 more

Indexes (6)

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
STMSET1
  1. COMPANY
  2. EMPLOYEE
  3. TIME-GROUP
  4. PAY-CODE
  5. SEQ-NBR
PrimaryBN100, BN101, BN102, BN103, BN104, BN105, BN145, BN305 +22 more (list truncated in source)
STMSET2
  1. COMPANY
  2. EMPLOYEE
  3. TIME-GROUP
  4. SEQ-NBR
BN100, BN101, BN102, BN103, BN105, BN145, BN31.1, BN31.2 +19 more
STMSET3
  1. COMPANY
  2. TIME-GROUP
  3. EMPLOYEE
  4. PAY-CODE
  5. SEQ-NBR
HR55.1, PR134
STMSET4
  1. OBJ-ID
KeyChange
STMSET6
  1. COMPANY
  2. EMPLOYEE
  3. PENS-SEQ-NBR
  4. TIME-GROUP
  5. PAY-CODE
  6. SEQ-NBR
SubsetWhere PENS-SEQ-NBR != ZeroesPR229, PR29.1, PR30.1, PR529, PR560, PR582, PR82.1
STMSET7
  1. COMPANY
  2. CREATE-DATE
  3. DATE-STAMP
  4. EMPLOYEE
  5. TIME-GROUP
  6. PAY-CODE
  7. SEQ-NBR
KeyChange

Relations

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

One to one (14) — lookups and parents

RelationTableRulesConditionField map
Acct CategoryACACCTCATRequiredWhen STM-ACCT-CATEGORY != Spaces
STM-ACCT-CATEGORYAAX-ACCT-CATEGORY
ActivityACACTIVITYRequiredWhen STM-ACTIVITY != Spaces
STM-ACTIVITYACV-ACTIVITY
Attend CodeATTENDCODERequiredWhen STM-ATTEND-CODE != Spaces
STM-COMPANYATC-COMPANY
STM-ATTEND-CODEATC-ATTEND-CODE
CompanyPRSYSTEMRequired
STM-COMPANYPRS-COMPANY
SpacesPRS-PROCESS-LEVEL
DepartmentDEPTCODERequiredWhen STM-DEPARTMENT != Spaces
STM-COMPANYDPT-COMPANY
STM-PROCESS-LEVELDPT-PROCESS-LEVEL
STM-DEPARTMENTDPT-DEPARTMENT
Dist CompanyGLSYSTEMRequiredWhen STM-DIST-COMPANY != Zeroes
STM-DIST-COMPANYGLS-COMPANY
Dst AccountGLMASTERRequiredWhen STM-DST-ACCT-UNIT != Spaces Or STM-DST-ACCOUNT != Zeroes
STM-DIST-COMPANYGLM-COMPANY
STM-DST-ACCT-UNITGLM-ACCT-UNIT
STM-DST-ACCOUNTGLM-ACCOUNT
STM-DST-SUB-ACCTGLM-SUB-ACCOUNT
EmployeeEMPLOYEERequiredWhen STM-EMPLOYEE != Zeroes
STM-COMPANYEMP-COMPANY
STM-EMPLOYEEEMP-EMPLOYEE
Job CodeJOBCODERequiredWhen STM-JOB-CODE != Spaces
STM-COMPANYJBC-COMPANY
STM-JOB-CODEJBC-JOB-CODE
Pay CodePRPAYCODERequired
STM-COMPANYPCD-COMPANY
STM-PAY-CODEPCD-PAY-CODE
SpacesPCD-PROCESS-LEVEL
SpacesPCD-JOB-CODE
Pens PaymentPRPENPAYNot Required
STM-COMPANYPNP-COMPANY
STM-EMPLOYEEPNP-EMPLOYEE
STM-PENS-SEQ-NBRPNP-PENS-SEQ-NBR
Personnel GrpPERSGROUPRequiredWhen STM-TIME-GROUP != Spaces
STM-COMPANYPRG-COMPANY
STM-TIME-GROUPPRG-GROUP-NAME
Process LevelPRSYSTEMRequiredWhen STM-PROCESS-LEVEL != Spaces
STM-COMPANYPRS-COMPANY
STM-PROCESS-LEVELPRS-PROCESS-LEVEL
Reason CodeTAREASCODERequiredWhen (STM-REASON-CODE != Spaces)
STM-COMPANYTRE-COMPANY
STM-REASON-CODETRE-REASON-CODE

Programs

Updated by (63)

Referenced by (8)