GMRETDIST – Grant Retro Labor Distribution

System
GM (GM)
Prefix
GMI
Primary key
OBJ-ID
Fields
16
Updated by
0 programs
Referenced by
0 programs

GMRETDIST is the Grant Retro Labor Distribution table in Lawson GM (prefix GMI). It is indexed by OBJ-ID (GMISET1); alternate indexes: GMISET3 and GMISET4. It is related 1:1 to EMPLOYEE and PRSYSTEM and 1:M to GMRETDISTX. The table has 16 fields, 3 indexes and 3 documented relations.

About GMRETDIST

The Retro Labor Distribution files (GMRETDIST and GMRETDISTX) are templates that store distribution splits used for after-the-fact labor cost transfers. These templates drive changes to labor cost distributions during Labor Cost Transfer Processing (GM170). This allows users to reverse distributions that were in effect at the time payroll was processed and reapply new distributions based on after-the-fact time studies, effort certification, funding changes and so on.

Fields (16)

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

Field / columnTypeDescription & valuesUpdated by
GMI-OBJ-ID PK
OBJ_ID
Numeric 12This is the object identifier. Parent object identifier for GMRETDISTX file.
GMI-HR-COMPANY
HR_COMPANY
Numeric 4Human Resources company number.
GMI-EMPLOYEE
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.
GMI-JOB-CODE
JOB_CODE
Alpha 9Contains a user-defined code that represents a type of job.
GMI-PAY-CODE
PAY_CODE
Alpha 4Contains the pay code. A pay code is a user-defined code that identifies a kind of pay.
GMI-POSITION
POSITION
Alpha 12Contains the user-defined code that represents a position in the company.
GMI-START-DATE
START_DATE
Numeric 8 (yyyymmdd)Effective (start) date for the template; payroll distributions dated on or after the START-DATE and on or before the END-DATE are eligible for cost transfer during GM170.
GMI-END-DATE
END_DATE
Numeric 8 (yyyymmdd)End date for the template; payroll distributions dated on or after the START-DATE and or before the END-DATE are eligible for cost transfer during GM170.
GMI-SALARY-PCT-TOT
SALARY_PCT_TOT
Signed 13.6Total salary percentage. Must equal 100% for record to be eligible for processing.
GMI-EFFORT-PCT-TOT
EFFORT_PCT_TOT
Signed 13.6Total planned effort percentage. Must be equal to 100% to be eligible for processing.
GMI-LAST-SEQ-NBR
LAST_SEQ_NBR
Numeric 6Identifies the last sequence number used. Ensures the record is unique.
GMI-STATUS
STATUS
Numeric 1Identifies posting status for template. Status is 0 if template has not been processed through GM170 in update mode. Status is 1 when template has been selected and processed through GM170 in update mode.
  • 1 Not Updated
  • 2 Updated
GMI-MAINT-TIME
MAINT_TIME
Numeric 6 (hhmmss)The time last changed.
GMI-MAINT-DATE
MAINT_DATE
Numeric 8 (yyyymmdd)The date last changed.
GMI-SEQUENCE-NBR
SEQUENCE_NBR
Numeric 4The user-assigned sequence number to keep the records unique and to determine order.
GMI-REASON-CODE
REASON_CODE
Alpha 15This field contains the reason code, which indicates the cause for a labor cost transfer.

Indexes (3)

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

IndexKeysFlagsConditionUsed in
GMISET1OBJ-IDPrimary
GMISET3HR-COMPANY, EMPLOYEE, START-DATE*, END-DATE*, JOB-CODE, POSITION, PAY-CODE, SEQUENCE-NBRBN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +22 more (list truncated in source)
GMISET4HR-COMPANY, EMPLOYEE, JOB-CODE, POSITION, PAY-CODE, START-DATE, END-DATE, SEQUENCE-NBR*

Relations

One to one (2) — lookups and parents

RelationTableRulesConditionField map
EmployeeEMPLOYEERequiredGMI-HR-COMPANYEMP-COMPANY (EMPSET1), GMI-EMPLOYEEEMP-EMPLOYEE
Prsystem CompPRSYSTEMRequiredGMI-HR-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL

One to many (1) — child tables

RelationTableRulesConditionField map
GmretdistxGMRETDISTXGMI-OBJ-IDGMH-GMI-OBJ-ID, GMH-SEQUENCE-NBR, GMH-OBJ-ID

Programs

No Lawson programs are documented as updating or referencing this table.