GLRPTSEL – GL Report Selection
- System
- General Ledger (GL)
- Prefix
GRS- Primary key
COMPANY,REPORT-NAME,OR-GROUP,ITEM-NUMBER,SEQUENCE-NBR- Fields
- 8
- Updated by
- 4 programs
- Referenced by
- 2 programs
GLRPTSEL is the GL Report Selection table in Lawson General Ledger (prefix GRS). It is indexed by COMPANY, REPORT-NAME, OR-GROUP, ITEM-NUMBER, SEQUENCE-NBR (GRSSET1). It is related 1:1 to GLRPTDEF. It is updated by GL110, GL50.2, GL50.4 and GL50.5 and referenced by GL250 and GL290. The table has 8 fields, 1 index and 1 documented relation.
About GLRPTSEL
This file contains field selection values for Ledger Report Setup (GL50.1). The values are used for report processing in GL290 (General Ledger Report).
Fields (8)
Column = COBOL field name without the GRS- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
GRS-COMPANY PKCOMPANY | Numeric 4 | The company number as defined in GL10.1 (Company). | GL110, GL50.4, GL50.5 |
GRS-REPORT-NAME PKREPORT_NAME | Alpha 20 | The name that identifies the report. | GL50.4, GL50.5 |
GRS-OR-GROUP PKOR_GROUP | Alpha 1 | A single value used to group multiple selections together. Each group of value selections will be treated internally as an 'and' and externally as an 'or.' | GL50.4 |
GRS-ITEM-NUMBER PKITEM_NUMBER | Numeric 2 | Indicates items to be used for filtering report information.
| GL50.4 |
GRS-SEQUENCE-NBR PKSEQUENCE_NBR | Numeric 4 | The user-assigned sequence number to keep the records unique and to determine order. | GL50.4 |
GRS-SELECT-OMITSELECT_OMIT | Alpha 1 | Determines whether the item number and value range are included in the report.
| GL50.4 |
GRS-FR-VALUEFR_VALUE | Alpha 30 | The beginning value to include or exclude in the report. | GL50.4 |
GRS-TH-VALUETH_VALUE | Alpha 30 | The ending value to include or exclude from the report. | GL50.4 |
Indexes (1)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
GRSSET1 | COMPANY, REPORT-NAME, OR-GROUP, ITEM-NUMBER, SEQUENCE-NBR | Primary | GL110, GL250, GL290, GL50.1, GL50.2, GL50.4, GL50.5 |
Relations
One to one (1) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Glrptdef | GLRPTDEF | Required | GRS-COMPANY → GLR-COMPANY, GRS-REPORT-NAME → GLR-REPORT-NAME |