GLRPTDEF – General Ledger Report Setup
- System
- General Ledger (GL)
- Prefix
GLR- Primary key
COMPANY,REPORT-NAME- Fields
- 15
- Updated by
- 6 programs
- Referenced by
- 1 program
GLRPTDEF is the General Ledger Report Setup table in Lawson General Ledger (prefix GLR). It is indexed by COMPANY, REPORT-NAME (GLRSET1). It is related 1:1 to GLSYSTEM and 1:M to GLRPTSEL. It is updated by GL110, GL290, GL50.1, GL50.2, GL50.4 and GL50.5 and referenced by GL250. The table has 15 fields, 1 index and 2 documented relations.
About GLRPTDEF
This file contains report parameters defined in Ledger Report Setup (GL50.1) and inputs the parameters into GL290 (General Ledger Report) for report processing.
Fields (15)
Column = COBOL field name without the GLR- 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 / column | Type | Description & values | Updated by |
|---|---|---|---|
#GLR-COMPANY PKCOMPANY | Numeric 4 | The company number as defined in GL10.1 (Company). | GL110, GL50.1, GL50.2, GL50.5 |
#GLR-REPORT-NAME PKREPORT_NAME | Alpha 20 | The name that identifies the report. | GL50.1, GL50.2, GL50.5 |
#GLR-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | The report description. | GL50.2, GL50.5 |
#GLR-CREATORCREATOR | Alpha 15 | The ID for the person that created the report. | GL50.2, GL50.5 |
#GLR-LAST-RUN-DATELAST_RUN_DATE | Numeric 8 (yyyymmdd) | Displays the last date the report was run. | GL290, GL50.5 |
#GLR-PRIMARY-SORTPRIMARY_SORT | Numeric 1 | The primary report sort order.
| GL50.2 |
#GLR-TRANS-TYPETRANS_TYPE | Alpha 1 | Determines if amounts or units are processed in each transaction.
| GL290, GL50.2 |
#GLR-ACCT-ACTIVITYACCT_ACTIVITY | Alpha 1 | Determines the type of account activity to be included in the report.
| GL50.2 |
#GLR-COMPLETE-FLAGCOMPLETE_FLAG | Alpha 1 | Indicates if the record is complete.
| GL50.1 |
#GLR-LAST-ITEM-SEQLAST_ITEM_SEQ | Numeric 4 | The last item sequence number. | GL50.4 |
#GLR-TRN-DTL-SLECTTRN_DTL_SLECT | Numeric 2 Occurs 32 Times ×32 | Indicates the order that transaction detail is selected. | GL50.1 |
#GLR-SORT-ORDERSORT_ORDER | Numeric 1 Occurs 4 Times ×4 | The report sort order.
| GL50.1, GL50.2 |
#GLR-PRT-TOTAL-FLGPRT_TOTAL_FLG | Alpha 1 Occurs 3 Times ×3 | Indicates if totals are printed in the report.
| GL50.1 |
#GLR-PG-BREAK-FLAGPG_BREAK_FLAG | Alpha 1 Occurs 2 Times ×2 | Indicates if page breaks occur at the variable or account level.
| GL50.1 |
#GLR-RUNNING-BALRUNNING_BAL | Alpha 1 | Indicates if running balances are included in the report.
| GL50.2 |
Indexes (1)
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.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
GLRSET1 |
| 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 | |||
|---|---|---|---|---|---|---|---|
| Company | GLSYSTEM | Required |
|
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Selection | GLRPTSEL |
|
Programs
Updated by (6)
- GL110 Company Copy Delete
- GL290 General Ledger Report
- GL50.1 Ledger Report Setup
- GL50.2 Define Ledger Report
- GL50.4 Filters
- GL50.5 Copy
Referenced by (1)
- GL250 Ledger Report Listing