RWREQUEST – Report Writer Request
- System
- General Ledger (GL)
- Prefix
RWR- Primary key
REQUEST-NAME- Fields
- 61
- Updated by
- 3 programs
- Referenced by
- 49 programs
RWREQUEST is the Report Writer Request table in Lawson General Ledger (prefix RWR). It is indexed by REQUEST-NAME (RWRSET1); alternate indexes: RWRSET2, RWRSET3, RWRSET4 and RWRSET5. It is related 1:1 to RWHEADER, GLCODES, RWFORMAT, GLCHART, GLCHARTSUM, GLCPYGRP, MXLISTHDR, MXVIEWDTL and 1 more and 1:M to RWGRPDET, GLCGCPY and RWREQSTAU. It is updated by RW00.1, RW00.6 and RW100 and referenced by FB01.1, FB01.2, FB141, GL292, GL293, GL294, GL95.4, GL99.1 and 41 more. The table has 61 fields, 5 indexes and 18 documented relations.
About RWREQUEST
This file holds the final parameters that make up a report. The request name is the same as the report name.
Fields (61)
Column = COBOL field name without the RWR- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
RWR-REQUEST-NAME PKREQUEST_NAME | Alpha 12 | This is the report request name. | RW00.1, RW00.6, RW298 |
RWR-FREQUENCYFREQUENCY | Alpha 1 | This field identifies how frequently the report request is processed.
| RW00.1 |
RWR-ACTIVE-STATUSACTIVE_STATUS | Alpha 1 | This field indicates whether the report request is active or inactive.
| RW00.1, RW100 |
RWR-PROCESS-GROUPPROCESS_GROUP | Alpha 15 | This field identifies the process group name as defined in RW02.1 (Process Group). | RW00.1 |
RWR-FORMATFORMAT | Alpha 12 Occurs 8 Times ×8 | This is the format name as defined in RW20.1 (Format). | RW00.1 |
RWR-FORMAT-1FORMAT_1 | Derived | This derived field contains the value of the Format field. | — |
RWR-TOTAL-OPTTOTAL_OPT | Alpha 1 | This field determines whether totals are maintained by format. Use Yes to maintain totals by format.
| RW00.1 |
RWR-ROW-FILE-NAMEROW_FILE_NAME | Alpha 12 | This is the name of the row as defined in RW10 (Rows). | RW00.1 |
RWR-ROW-TYPEROW_TYPE | Alpha 1 | This field defines the type of row this is: accounts only, levels only, or both accounts and levels.
| RW00.1 |
RWR-LAST-PRINTLAST_PRINT | Numeric 8 (yyyymmdd) | This field indicates the last date this report request was processed by RW100 (Report Generation). | RW100 |
RWR-SAVE-REPORTSAVE_REPORT | Alpha 1 | This field indicates whether you want to save this report.
| RW00.1 |
RWR-ACCT-PERIODACCT_PERIOD | Numeric 2 | This field indicates the accounting period for this report. 01 02 03 04 05 06 07 08 09 10 11 12 13 | RW00.1 |
RWR-YEAR-CODEYEAR_CODE | Alpha 1 | This field contains the year code for this report, indicating current, next, or last year.
| RW00.1 |
RWR-PRINT-BLANKSPRINT_BLANKS | Alpha 1 | This field indicates whether to print blank lines (when all amounts in the lines are equal to zero). Use Yes to print the line even if all amounts are zero. Use No not to print the lines when all amounts are zero.
| RW00.1 |
RWR-PRT-BANNERPRT_BANNER | Alpha 1 | This field indicates whether to print a banner for this report.
| RW00.1 |
RWR-FOLDER-NAMEFOLDER_NAME | Alpha 12 | This is the folder name as defined in RW01.1 (Folder). | RW00.1, RW00.6 |
RWR-ACCT-UNITACCT_UNIT | Alpha 15 Occurs 4 Times ×4 | This field defines a Lawson General Ledger accounting unit. | RW00.1, RW100 |
RWR-ACCT-UNIT-1ACCT_UNIT_1 | Derived | This derived field contains the value of the first Accounting Unit field. | — |
RWR-ACCT-UNIT-2ACCT_UNIT_2 | Derived | This derived field contains the value of the second Accounting Unit field. | — |
RWR-ACCT-UNIT-3ACCT_UNIT_3 | Derived | This derived field contains the value of the third Accounting Unit field. | — |
RWR-ACCT-UNIT-4ACCT_UNIT_4 | Derived | This derived field contains the value of the fourth Accounting Unit field. | — |
RWR-FR-COMPANYFR_COMPANY | Numeric 4 | This is the beginning company number for a range of companies. | RW00.1, RW100 |
RWR-FR-VAR-LEVELSFR_VAR_LEVELS | Alpha 30 | This is the beginning variable level for a range of variable levels. | RW00.1, RW100 |
RWR-TH-COMPANYTH_COMPANY | Numeric 4 | This is the ending company number for a range of companies. | RW00.1, RW100 |
RWR-TH-VAR-LEVELSTH_VAR_LEVELS | Alpha 30 | This is the ending variable level for a range of variable levels. | RW00.1, RW100 |
RWR-FR-ACCOUNTFR_ACCOUNT | Numeric 6 | This is the beginning account number for a range of accounts. | RW00.1 |
RWR-TH-ACCOUNTTH_ACCOUNT | Numeric 6 | This is the ending account number for a range of accounts. | RW00.1 |
RWR-FR-SUB-ACCTFR_SUB_ACCT | Numeric 4 | This is the beginning subaccount for a range of subaccounts. | RW00.1 |
RWR-TH-SUB-ACCTTH_SUB_ACCT | Numeric 4 | This is the ending subaccount for a range of subaccounts. | RW00.1 |
RWR-LEVEL-GROUPLEVEL_GROUP | Alpha 12 | This identifies the level group as defined in RW40.1 (Level Group). | RW00.1, RW100 |
RWR-ACCOUNT-GROUPACCOUNT_GROUP | Alpha 12 | This identifies the account group as defined in RW40.3 (Account Group). | RW00.1 |
RWR-SUB-ACCT-GRPSUB_ACCT_GRP | Alpha 12 | This identifies the subaccount group as defined in RW40.4 (Subaccount Group). | RW00.1 |
RWR-INDIV-RPTSINDIV_RPTS | Alpha 1 Occurs 6 Times ×6 | This field indicates whether individual reports are to be produced. " " = No Individual Reports
| RW00.1, RW100 |
RWR-RPT-DESCRPT_DESC | Alpha 50 (Lower Case) | Occurs 3 Times This is the description of the report. | RW00.1 |
RWR-RPT-DESC-1RPT_DESC_1 | Derived | This derived field contains the value of the first Report Description field. | — |
RWR-RPT-DESC-2RPT_DESC_2 | Derived | This derived field contains the value of the second Report Description field. | — |
RWR-RPT-DESC-3RPT_DESC_3 | Derived | This derived field contains the value of the third Report Description field. | — |
RWR-NBR-COPIESNBR_COPIES | Numeric 2 | This field indicates the number of copies that print. | RW00.1 |
RWR-COMPLETE-FLAGCOMPLETE_FLAG | Alpha 1 | This field indicates if the report record is complete (i.e., has the required level or account definition). A report with an account type row (A) needs a level definition. A report with a level type row (L) needs an account definition.
| RW00.1 |
RWR-FORM-LENGTHFORM_LENGTH | Numeric 2 | This field determines the number of lines that print on each page. | RW00.1 |
RWR-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This is the description of the report. | RW00.1, RW00.6 |
RWR-DISTRIB-GROUPDISTRIB_GROUP | Alpha 10 | This field defines a distribution group that specifies who is to receive the report. | RW00.1 |
RWR-PRINTERPRINTER | Alpha 10 | This field identifies the printer to use in printing the report request. | RW00.1 |
RWR-CHART-NAMECHART_NAME | Alpha 12 | This is the name you assigned to the chart of accounts when you defined your company structure in the General Ledger system. | RW00.1 |
RWR-CHART-SECTIONCHART_SECTION | Alpha 1 | This is the section of the chart requested for this report: balance sheet, income statement, or all sections. " " = All
| RW00.1 |
RWR-DEPTHDEPTH | Numeric 2 | This field indicates the number of levels to include in a chart-driven report. 00 09 | RW00.1 |
RWR-DETAILDETAIL | Alpha 1 | This field defines the kind of detail to include in a chart-driven report: account, subaccount, or none.
| RW00.1 |
RWR-INDENTINDENT | Alpha 1 | When you use the chart name as the row file, this field determines if the description is indented, based on the depth of the summary account.
| RW00.1 |
RWR-DEPTH-LEVELDEPTH_LEVEL | Alpha 1 | In a chart-driven report, this field determines the level detail printed for each account.
| RW00.1 |
RWR-STYLESTYLE | Alpha 1 | This is the row style to use in this report: account rows, level rows, both rows, or undefined. " " = Not Defined
| RW00.1 |
RWR-STYLE-1STYLE_1 | Derived | This field is used for drill around. It displays the Style field values. | — |
RWR-MATRIX-VIEWMATRIX_VIEW | Alpha 12 | A matrix view is a display and roll-up of an attribute list. | RW00.1 |
RWR-OBJ-IDOBJ_ID | Numeric 12 | This is the identifier for the accounting unit view summary level object. | RW00.1 |
RWR-SUMRY-ACCT-IDSUMRY_ACCT_ID | Numeric 6 | This field identifies the summary account. | RW00.1 |
RWR-MATRIX-LISTMATRIX_LIST | Alpha 12 | Matrix categories are parameters used to build a list of objects (for example, accounting units). Matrix categories and values are the basis of the selection and sorting. You can then use this matrix list for reporting and processing objects. | RW00.1, RW100 |
RWR-COMPANY-GROUPCOMPANY_GROUP | Alpha 12 | A company group is a list of companies that serves as a definition of company and level range. Each company is processed for all levels defined (a range of 0 through 9). | RW00.1, RW100 |
RWR-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | RW00.1 |
RWR-ACCOUNT-LISTACCOUNT_LIST | Alpha 12 | This identifies the Account list as defined in MX10 (List) for object type ACCNT. | RW00.1 |
RWR-ACCOUNT-VIEWACCOUNT_VIEW | Alpha 12 | — | — |
RWR-STYLESHEETSTYLESHEET | Alpha 12 | — | RW00.1 |
RWR-LEDGERLEDGER | Alpha 15 | The name that identifies the Multi-Book ledger as defined ML10.1 (Ledger Setup). If this field is populated the report will print the combined amounts for the company and the multi-book ledger related to the company. | RW00.1 |
Indexes (5)
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 |
|---|---|---|---|---|
RWRSET1 | REQUEST-NAME | Primary | FB01.1, FB01.2, FB141, GL292, GL293, GL294, GL95.4, GL99.1 +22 more (list truncated in source) | |
RWRSET2 | PROCESS-GROUP, REQUEST-NAME | KeyChange | RW02.1, RW02.2, RW100, RW200 | |
RWRSET3 | FOLDER-NAME, REQUEST-NAME | KeyChange | RW01.1, RW01.2, RW100, RW200, RW201 | |
RWRSET4 | ROW-FILE-NAME, REQUEST-NAME | KeyChange | RW11.1, RW11.2, RW11.3 | |
RWRSET5 | CHART-NAME, REQUEST-NAME | KeyChange | — |
Relations
One to one (13) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Account Group | RWHEADER | Required | When RWR-ACCOUNT-GROUP != Spaces | "G" → RWH-HEAD-TYPE, RWR-ACCOUNT-GROUP → RWH-HEAD-NAME, "A" → RWH-RECORD-TYPE |
| Folder | GLCODES | Required | "F" → GCD-RECORD-TYPE, RWR-FOLDER-NAME → GCD-FOLDER-NAME, Spaces → GCD-PROCESS-GROUP, Spaces → GCD-SYSTEM, Zeroes → GCD-COMPANY | |
| Format | RWFORMAT | Not Required | RWR-FORMAT → RWF-FORMAT, "1" → RWF-RECORD-TYPE, 1 → RWF-LINE-NBR | |
| Glchart | GLCHART | Not Required | RWR-CHART-NAME → GCH-CHART-NAME | |
| Glchartsum | GLCHARTSUM | Not Required | RWR-CHART-NAME → GCS-CHART-NAME, RWR-SUMRY-ACCT-ID → GCS-SUMRY-ACCT-ID | |
| Glcpygrp | GLCPYGRP | Not Required | RWR-COMPANY-GROUP → GCG-COMPANY-GROUP | |
| Level Group | RWHEADER | Required | When RWR-LEVEL-GROUP != Spaces | "G" → RWH-HEAD-TYPE, RWR-LEVEL-GROUP → RWH-HEAD-NAME, "L" → RWH-RECORD-TYPE |
| Mxlisthdr | MXLISTHDR | Not Required | "ACCTU" → MLH-OBJ-TYPE, RWR-MATRIX-LIST → MLH-MATRIX-LIST | |
| Mxviewdtl | MXVIEWDTL | Not Required | "ACCTU" → MVD-OBJ-TYPE, RWR-OBJ-ID → MVD-OBJ-ID | |
| Mxviewhdr | MXVIEWHDR | Not Required | "ACCTU" → MVH-OBJ-TYPE, RWR-MATRIX-VIEW → MVH-MATRIX-VIEW | |
| Process Group | GLCODES | Required | RWR-PROCESS-GROUP → GCD-PROCESS-GROUP | |
| Row | RWHEADER | Required | RWR-ROW-FILE-NAME → RWH-HEAD-NAME, "R" → RWH-HEAD-TYPE, RWR-ROW-TYPE → RWH-RECORD-TYPE | |
| Subacct Group | RWHEADER | Required | When RWR-SUB-ACCT-GRP != Spaces | "G" → RWH-HEAD-TYPE, RWR-SUB-ACCT-GRP → RWH-HEAD-NAME, "S" → RWH-RECORD-TYPE |
One to many (5) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Acct Grp Det | RWGRPDET | "A" → RGD-RECORD-TYPE, RWR-ACCOUNT-GROUP → RGD-HEAD-NAME, → RGD-RANGE-NUMBER | ||
| Glcgcpy | GLCGCPY | RWR-COMPANY-GROUP → GCC-COMPANY-GROUP, → GCC-COMPANY | ||
| Lvl Grp Det | RWGRPDET | "L" → RGD-RECORD-TYPE, RWR-LEVEL-GROUP → RGD-HEAD-NAME, → RGD-RANGE-NUMBER | ||
| Rwreqstau | RWREQSTAU | RWR-REQUEST-NAME → RRA-REQUEST-NAME, → RRA-ACTION, → RRA-DATE, → RRA-TIME, → RRA-UNIQUE-I-D | ||
| Sub Grp Det | RWGRPDET | "S" → RGD-RECORD-TYPE, RWR-SUB-ACCT-GRP → RGD-HEAD-NAME, → RGD-RANGE-NUMBER |
Programs
Updated by (3)
Referenced by (49)
- FB01.1 Budget User Class
- FB01.2 Define User Class
- FB141 Remote Budget Consolidation
- GL292 Balance Sheet
- GL293 Income Statement
- GL294 Projection by Level
- GL95.4 Chart Query
- GL99.1 Organization Query
- ML292 Ledger Balance Sheet
- ML293 Ledger Income Statement
- ML95.4 Ledger Chart Query
- ML99.1 Organization Query
- RW01.1 Folder
- RW01.2 Folders
- RW02.1 Process Group
- RW02.2 Process Groups
- RW03.1 User Class
- RW03.2 Define User Class
- RW10.2 Account Rows
- RW10.3 Level Rows
- RW10.4 Both Rows
- RW10.8 Row Copy
- RW11.1 Define Accounts Row
- RW11.2 Define Levels Row
- RW11.3 Define Both Type Row
- RW11.4 Line Copy
- RW20.1 Format
- RW20.2 Define Format
- RW20.8 Format Copy
- RW200 Report Listing
- RW201 Folder Listing
- RW210 Row Listing
- RW298 Usage Report
- RW299 Detail Report Listing
- RW30.1 Ratio Definition
- RW40.1 Level Group
- RW40.3 Account Group
- RW40.4 Subaccount Group
- RW40.5 Group Copy
- RW40.6 Define Level Group
- RW40.7 Define Account Group
- RW40.8 Define Subaccount Group
- RW50.1 Compute Statement
- RW60.1 Total Range
- RW60.2 Define Total Range
- RW60.3 Total Range Copy
- RW70.1 Total Names
- RW80.1 Drill Around
- SNGL.1 General Ledger Notification Update