GMTRANEFRT – Grant Effort Transaction

System
GM (GM)
Prefix
GEF
Primary key
OBJ-ID
Fields
32
Updated by
2 programs
Referenced by
32 programs

GMTRANEFRT is the Grant Effort Transaction table in Lawson GM (prefix GEF). It is indexed by OBJ-ID (GEFSET1); alternate indexes: GEFSET2, GEFSET3 and GEFSET4. It is related 1:1 to ACACCTCAT, ACACTIVITY, CUCODES, EMPLOYEE, GLNAMES, GLSYSTEM, GMLABDIST, GMRETDIST and 1 more. It is updated by PR197 and PR85.1 and referenced by BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 and 24 more. The table has 32 fields, 4 indexes and 11 documented relations.

About GMTRANEFRT

The GMTRANEFRT file stores effort transaction used to calculate effort percentages during effort reporting. If a labor cost transfer occurs and the original transaction was subject to effort reporting, a cost transfer adjustment needs to be made in the effort file. The pay period end date is added to the effort transaction file so effort adjustmetns are properly calculated and created when GM170 is urn with the pro-rate distributions option.

Fields (32)

Column = COBOL field name without the GEF- 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
#GEF-OBJ-ID PK
OBJ_ID
Numeric 12Object Identifier. Ensures transaction is unique. Note: This does not track back to the ACTRANS or the PRDISTRIB object id's. It is possible to have an effort transaction with a zero salary amount and a planned effort amount. A zero amount transaction are not permitted in the ACTRANS or PRDISTRIB.PR197, PR85.1
#GEF-RECORD-TYPE
RECORD_TYPE
Alpha 1This field identifies the type of record defined. Valid values are: " " = Record created by PR197
  • S Summary
  • D Detail
  • 1 Record created by GM500
PR197
#GEF-TRAN-DATE SET4
TRAN_DATE
Numeric 8 (yyyymmdd)Updated from the original transaction. Timerecord date.PR197
#GEF-HR-COMPANY SET2 SET4
HR_COMPANY
Numeric 4—PR197
#GEF-EMPLOYEE SET2 SET4
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.PR197
#GEF-ACTIVITY SET2 SET3
ACTIVITY
Alpha 15Not required, updated from the employee's time record.PR197
#GEF-ACCT-CATEGORY SET2 SET3
ACCT_CATEGORY
Alpha 5Not required, updated from time record's account category.PR197
#GEF-COMPANY SET2
COMPANY
Numeric 4Required, updated from time record's GL company (DIST-COMPANY).PR197
#GEF-ACCT-UNIT SET2
ACCT_UNIT
Alpha 15The accounting unit is a shorthand notation representing the variable level number. When used in the General Ledger Account Master file, the accounting unit must be defined in the General Ledger Names file as a posting accounting unit.PR197
#GEF-ACCOUNT SET2
ACCOUNT
Numeric 6This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored.PR197
#GEF-SUB-ACCT SET2
SUB_ACCT
Numeric 4This field contains the subaccount from your general ledger chart of accounts that was charged with the amount carried on this record.PR197
#GEF-SALARY-AMT
SALARY_AMT
Signed 18.2Identifies the calculated salary amount from PR197 distribution. Calculated as follows: Time record wage amount multiplied times the GM labor distribution salary percentage.PR197, PR85.1
#GEF-EFFORT-AMT
EFFORT_AMT
Signed 18.2Identifies the calculated effort amount. Calculated as follows: Time record wage amount multiplied times the GM labor distribution effort percentage.PR197, PR85.1
#GEF-CURRENCY-CODE
CURRENCY_CODE
Alpha 5Required, identifies currenty for SAL-AMT and EFFORT-AMT. Updated from the employee's time record.PR197
#GEF-CURRENCY-ND
CURRENCY_ND
Numeric 1Required, identifies number of decimals for SAL-AMT and EFFORT-AMT.PR197
#GEF-SAL-RPT-AMT
SAL_RPT_AMT
Signed 18.2Salary amount exchanged to effort reporting currency.PR197, PR85.1
#GEF-EFFORT-RPT-AMT
EFFORT_RPT_AMT
Signed 18.2Planned effort amount exchanged to the effort reporting currency.PR197, PR85.1
#GEF-RPT-CURR
RPT_CURR
Alpha 5Identifies the effort reporting currency. Effort reporting currency is defined in the employee file.PR197
#GEF-RPT-CURR-ND
RPT_CURR_ND
Numeric 1Required, identifies number of decimals for SAL-RPT-AMT and EFFORT-RPT-AMT.PR197
#GEF-PER-END-DATE SET4
PER_END_DATE
Numeric 8 (yyyymmdd)Identifies the pay period end date for the effort transaction. Updated during PR197 via the effort update API (GMET90).PR197
#GEF-JOB-CODE
JOB_CODE
Alpha 9Identifies the a user-defined code that represents a type of job code from the timerecord.PR197
#GEF-PAY-CODE
PAY_CODE
Alpha 4Contains the pay code from the timerecord. A pay code is a user-defined code that identifies a kind of pay.PR197
#GEF-POSITION
POSITION
Alpha 12Contains the user-defined code that represents a position in the company from the time card.PR197
#GEF-CHECK-ID SET4
CHECK_ID
Numeric 12Contains the payment identification number (unique payment identifier used in tracking payment information).PR197, PR85.1
#GEF-OT-PLAN-CODE
OT_PLAN_CODE
Alpha 4Identifies pay plan in effect for employee when PRDISTRIB record was created from PR197 (PRPRD).PR197
#GEF-GM-ADJ-TYPE
GM_ADJ_TYPE
Alpha 1Identifies labor cost transfer adjustment type for PRDISTRIB adjustment records created by GM170.PR197, PR85.1
#GEF-GMI-OBJ-ID-1
GMI_OBJ_ID_1
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.PR197
#GEF-GMI-OBJ-ID-2
GMI_OBJ_ID_2
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.PR197
#GEF-GML-OBJ-ID SET4
GML_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.PR197
#GEF-UPDT-DATE
UPDT_DATE
Numeric 8 (yyyymmdd)—PR197
#GEF-UPDT-TIME
UPDT_TIME
Numeric 8—PR197
#GEF-OPERATOR
OPERATOR
Alpha 10—PR197

Indexes (4)

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
GEFSET1
  1. OBJ-ID
PrimaryPR85.1
GEFSET2
  1. HR-COMPANY
  2. EMPLOYEE
  3. ACTIVITY
  4. ACCT-CATEGORY
  5. COMPANY
  6. ACCT-UNIT
  7. ACCOUNT
  8. SUB-ACCT
  9. OBJ-ID
KeyChangeBN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +22 more (list truncated in source)
GEFSET3
  1. ACTIVITY
  2. ACCT-CATEGORY
  3. OBJ-ID
KeyChange—
GEFSET4
  1. HR-COMPANY
  2. EMPLOYEE
  3. CHECK-ID
  4. TRAN-DATE
  5. PER-END-DATE
  6. GML-OBJ-ID
  7. OBJ-ID
—

Relations

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

One to one (11) — lookups and parents

RelationTableRulesConditionField map
AcacctcatACACCTCATNot Required
GEF-ACCT-CATEGORY→AAX-ACCT-CATEGORY (AAXSET1)
AcactivityACACTIVITYNot Required
GEF-ACTIVITY→ACV-ACTIVITY
CucodesCUCODESNot Required
GEF-CURRENCY-CODE→CUC-CURRENCY-CODE
Cucodes RptCUCODESNot Required
GEF-RPT-CURR→CUC-CURRENCY-CODE
EmployeeEMPLOYEERequired
GEF-HR-COMPANY→EMP-COMPANY
GEF-EMPLOYEE→EMP-EMPLOYEE
GlnamesGLNAMESNot Required
GEF-COMPANY→GLN-COMPANY
GEF-ACCT-UNIT→GLN-ACCT-UNIT
GlsystemGLSYSTEMNot Required
GEF-COMPANY→GLS-COMPANY
GmlabdistGMLABDISTNot Required
GEF-GML-OBJ-ID→GML-OBJ-ID
Gmretdist1GMRETDISTNot Required
GEF-GMI-OBJ-ID-1→GMI-OBJ-ID
Gmretdist2GMRETDISTNot Required
GEF-GMI-OBJ-ID-2→GMI-OBJ-ID
Prsystem CompPRSYSTEMRequired
GEF-HR-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL

Programs

Updated by (2)

Referenced by (32)