RWFORMAT – Report Writer Format

System
General Ledger (GL)
Prefix
RWF
Primary key
FORMAT, RECORD-TYPE, LINE-NBR
Fields
55
Updated by
14 programs
Referenced by
41 programs

RWFORMAT is the Report Writer Format table in Lawson General Ledger (prefix RWF). It is indexed by FORMAT, RECORD-TYPE, LINE-NBR (RWFSET1); alternate indexes: RWFSET2 and RWFSET4. It is related 1:1 to RWHEADER, CMPUTE, RWDICT, RWFORMAT, GLCODES, GLCHART, GLCHARTSUM and MXLISTHDR and 1:M to RWGRPDET, RWFORMAT and RWFORMATAU. It is updated by FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 and 6 more and referenced by ACVW.1, ATVW.1, FB01.1, FB01.2, GLAV.1, GLCV.1, GLVW.1, RW00.1 and 33 more. The table has 55 fields, 3 indexes and 23 documented relations.

About RWFORMAT

This file maintains the vertical, or format and columns, portion of a Report Writer report. It includes information on format description, format heading, and column detail defined in RW20.1 (Format). If the value for a field is the default, the value used in the report column is the default for the field as defined in the header record. If the value for the field is a non-default value, the non-default value overrides the default in the column.

Fields (55)

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

Field / columnTypeDescription & valuesUpdated by
RWF-FORMAT PK
FORMAT
Alpha 12This is the name that identifies the format as defined in RW20.1 (Format).FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +7 more
RWF-RECORD-TYPE PK
RECORD_TYPE
Alpha 1This field indicates the type of record defined.
  • 1 Format Description
  • 2 Format Heading
  • 3 Column Detail
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +6 more
RWF-LINE-NBR PK
LINE_NBR
Numeric 6This field contains the column line number. 000001 000050FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +6 more
RWF-FOLDER-NAME
FOLDER_NAME
Alpha 12This is the name of a folder defined in RW01.1 (Folder).RW20.2, RW20.8
RWF-DICT-FLAG
DICT_FLAG
Alpha 1This field is Y (Yes) if the record type is Format Heading and dictionary items are contained in the heading.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-COL-POSITION
COL_POSITION
Numeric 3This is the amount of space between columns.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-SIZE
SIZE
Numeric 2This field indicates the width of the column.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-TOTAL-TYPE
TOTAL_TYPE
Alpha 1This field determines how column totals are calculated and printed. The default is Sum Down, which adds the net or rounded result of each value. Recalculate adds the original or unrounded amount of each value. Do Not Print does not print totals. " " = Default
  • S Sum Down
  • R Recalculate Across
  • N No Totals
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-DATA-TYPE
DATA_TYPE
Alpha 1Required if the record type is Column Detail. This is the type of data for the record.
  • A Alpha/Numeric Field
  • N Numeric Field
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-DECIMALS
DECIMALS
Numeric 1This field determines the number of decimals for column amounts. For example, if you select 3, the value 100 appears as 100.00. The default is No Decimals.
  • 0 No Decimals
  • 1 One Decimal
  • 2 Two Decimals
  • 3 Three Decimals
  • 4 Four Decimals
  • 5 Five Decimals
  • 9 Default
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-UNDERLINE
UNDERLINE
Alpha 1This field lets you override the option you selected in the Sign Reversal field in RW10 (Rows). The default is No. " " = Default
  • Y Yes
  • N No
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-SIGN
SIGN
Alpha 1This field determines how negative values are represented in the report. The default is Dash -. For example, if you have a debit of $200.00, the value appears as $200.00-. " " = Default ( = () Brackets Brackets
  • C CR
  • U Unfavorable
  • - Dash
  • N No Sign
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-COMMAS
COMMAS
Alpha 1This field determines if commas are used in column amounts. If you select Yes, the value 1000 appears as 1,000. The default is No. " " = Default
  • N No
  • Y Yes
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-OFFSET
OFFSET
Alpha 1This field determines what side totals are justified at. The default is None. You can select to justify totals to the left and right. " " = Default
  • R Right Offset
  • L Left Offset
  • N No Offset
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-DOL-PCT-SIGN
DOL_PCT_SIGN
Alpha 1FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-ZERO-SUPPRESS
ZERO_SUPPRESS
Alpha 1This field lets you override the option you selected in the Sign Reversal field in RW10 (Rows). The default is No. " " = Default
  • Y Yes
  • N No
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-COMPUTE-NAME
COMPUTE_NAME
Alpha 12If you enter a value in the Dictionary Code field, leave this field blank. This field indicates the compute statement to use for this column. A compute statement is an arithmetic equation created in RW50.1 (Compute Statement), consisting of data dictionary items and operation symbols.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-DICT-CODE
DICT_CODE
Alpha 20If you enter a value in the Compute Statement field, leave this field blank. This field indicates the dictionary code to use in this column. You can also use this field to indicate the budget number for the column by enclosing the budget number in parentheses and attaching it to the dictionary code.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-DATA-ITEM
DATA_ITEM
DerivedThis field contains the first six characters of the dictionary code.
RWF-CASE-CODE
CASE_CODE
Alpha 44The case code is a representation of a dictionary item used to execute and process the item. The code is composed of a series of alphanumeric codes that describe attributes of the dictionary item.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-DIVISOR
DIVISOR
Numeric 7This field indicates the divisor to use in the column.
  • 0000000 Default
  • 0000001 Whole Amount
  • 0000100 Hundreds
  • 0001000 Thousands
  • 1000000 Millions
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-BUDGET-NBR
BUDGET_NBR
Numeric 3This field indicates the budget number to use in this column. Another way to indicate the budget number is by enclosing the budget number in parentheses and attaching it to the dictionary code. This field is required if a dictionary code is entered without a budget number attached.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-COMPANY-OVD
COMPANY_OVD
Alpha 1This indicates the override company number defined by the report or row. Use No if you want to use the default company value defined in the header record.
  • Y Yes
  • N No
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-FR-COMPANY
FR_COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-TH-COMPANY
TH_COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-FR-VAR-LEVELS
FR_VAR_LEVELS
Alpha 30A level that represents the location of an accounting unit in an organization's level structure.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-TH-VAR-LEVELS
TH_VAR_LEVELS
Alpha 30A level that represents the location of an accounting unit in an organization's level structure.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-FR-ACCOUNT
FR_ACCOUNT
Numeric 6This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-TH-ACCOUNT
TH_ACCOUNT
Numeric 6This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-FR-SUB-ACCT
FR_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.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-TH-SUB-ACCT
TH_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.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-LEVEL-OVD
LEVEL_OVD
Alpha 1Use Yes if you want to override the level value defined by the report or row. Use No if you want to use the default level value defined in the header record.
  • Y Yes
  • N No
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-LEVEL-GROUP
LEVEL_GROUP
Alpha 12This field indicates the level group as defined in RW40.1 (Level Group).FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-ACCOUNT-OVD
ACCOUNT_OVD
Alpha 1Use Yes if you want to override the account value defined by the report or row. Use No if you want to use the default account value defined in the header record.
  • Y Yes
  • N No
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-ACCOUNT-GROUP
ACCOUNT_GROUP
Alpha 12This field identifies the account group as defined in RW40.3 (Account Group).FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-SUB-ACCT-OVD
SUB_ACCT_OVD
Alpha 1Use Yes if you want to override the subaccount value defined by the report or row. Use No if you want to use the default subaccount value defined in the header record.
  • Y Yes
  • N No
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-SUB-ACCT-GRP
SUB_ACCT_GRP
Alpha 12This field identifies the subaccount group as defined in RW40.4 (Subaccount Group).FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-OVD-ACCTUNIT
OVD_ACCTUNIT
Alpha 15 Occurs 4 Times ×4The accounting units defined for the column.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-GHOST-COLUMN
GHOST_COLUMN
Alpha 1This field determines whether this column is a ghost column. A ghost column does not print, but is used in calculations and referenced by compute statements. The default is No. " " = Default
  • N No
  • Y Yes
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-IGNORE-SGN-RV
IGNORE_SGN_RV
Alpha 1This field lets you override the option you selected in the Sign Reversal field in RW10 (Rows). The default is No. " " = Default
  • N No
  • Y Yes
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-DEB-CRED-ONLY
DEB_CRED_ONLY
Alpha 1This field determines how the column totals appear. The default is Net Balance, which prints the totals normally. You can select to print Debit Only, Net Debit, or Net Credit. For example, if you want to view the debit balance for a company, select Debit Only. " " = Default
  • C Credit Only
  • D Debit Only
  • N No
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-PRINT-SIZE
PRINT_SIZE
Alpha 1This indicates the number of characters that print per inch. The default is 132 Characters.
  • R Regular (132)
  • C Condensed (233)
  • A Condensed (158)
  • B Condensed (198)
  • D Portrait (80)
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +4 more
RWF-IMAGE
IMAGE
Alpha 233This is an image of the report header.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-COMPLETE-FLAG
COMPLETE_FLAG
Alpha 1This flag indicates whether the format is complete. " "
  • Y Complete
  • N Incomplete
RW20.1, RW20.2
RWF-SELECT-OPT
SELECT_OPT
Alpha 1This option determines whether the column includes or excludes ranges or provides no criteria.
  • I Include Range
  • E Exclude Range
  • N No Criteria
FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-FR-RANGE
FR_RANGE
Signed 16.5This is the beginning range to be included or excluded.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-TH-RANGE
TH_RANGE
Signed 16.5This is the ending range to be included or excluded.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-LOGICAL-OP
LOGICAL_OP
Alpha 1
RWF-OVD-COLUMN
OVD_COLUMN
DerivedThis field indicates whether to override the column. Use Yes if you want to override this column. Use No if you want to use the default value defined in the header record for this column.
RWF-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This is the description of the format.RW20.2, RW20.8
RWF-BLANK
BLANK
DerivedThis derived field is always blank. It is used in drill around to allow column headings.
RWF-CHART-NAME
CHART_NAME
Alpha 12This is the name you assigned to the chart of accounts when you defined your company structure in the General Ledger system.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-SUMRY-ACCT-ID
SUMRY_ACCT_ID
Numeric 6The summary account name as defined in GL00.1 (Chart of Accounts).FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-MATRIX-LIST
MATRIX_LIST
Alpha 12The accounting unit list is a company override parameter option which is defined in MX10 (List) for object type ACCTU.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more
RWF-ACCOUNT-LIST
ACCOUNT_LIST
Alpha 12The account list is an account override parameter option which is defined in MX10 (List) for object type ACCNT.FB141, GL292, GL293, GL294, GL95.4, GL99.1, ML292, ML293 +5 more

Indexes (3)

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

IndexKeysFlagsConditionUsed in
RWFSET1FORMAT, RECORD-TYPE, LINE-NBRPrimaryACVW.1, ATVW.1, FB01.1, FB01.2, FB141, GL292, GL293, GL294 +22 more (list truncated in source)
RWFSET2FOLDER-NAME, FORMAT, LINE-NBRKeyChange, SubsetWhere RECORD-TYPE = "1"GL292, GL293, RW01.1, RW01.2, RW201, RW220
RWFSET4FORMAT, LINE-NBRSubsetWhere RECORD-TYPE = "1"FB141, GL292, GL293, GL294, GL95.4, GL99.1, RW00.1, RW20.1 +8 more

Relations

One to one (17) — lookups and parents

RelationTableRulesConditionField map
Account GroupRWHEADERRequiredWhen RWF-ACCOUNT-GROUP != Spaces"G"RWH-HEAD-TYPE, RWF-ACCOUNT-GROUPRWH-HEAD-NAME, "A"RWH-RECORD-TYPE
ComputeCMPUTERequiredWhen RWF-COMPUTE-NAME != SpacesRWF-COMPUTE-NAMECMP-COMPUTE-NAME
Data DictRWDICTNot RequiredRWF-DICT-CODERWD-DICT-NAME
DefaultsRWFORMATRequiredRWF-FORMATRWF-FORMAT, "1"RWF-RECORD-TYPE, 1RWF-LINE-NBR
FolderGLCODESRequired"F"GCD-RECORD-TYPE, RWF-FOLDER-NAMEGCD-FOLDER-NAME, SpacesGCD-PROCESS-GROUP, SpacesGCD-SYSTEM, ZeroesGCD-COMPANY
GlchartGLCHARTNot RequiredRWF-CHART-NAMEGCH-CHART-NAME
GlchartsumGLCHARTSUMNot RequiredRWF-CHART-NAMEGCS-CHART-NAME, RWF-SUMRY-ACCT-IDGCS-SUMRY-ACCT-ID
Heading 1RWFORMATNot RequiredRWF-FORMATRWF-FORMAT, "2"RWF-RECORD-TYPE, 1RWF-LINE-NBR
Heading 2RWFORMATNot RequiredRWF-FORMATRWF-FORMAT, "2"RWF-RECORD-TYPE, 2RWF-LINE-NBR
Heading 3RWFORMATNot RequiredRWF-FORMATRWF-FORMAT, "2"RWF-RECORD-TYPE, 3RWF-LINE-NBR
Heading 4RWFORMATNot RequiredRWF-FORMATRWF-FORMAT, "2"RWF-RECORD-TYPE, 4RWF-LINE-NBR
Heading 5RWFORMATNot RequiredRWF-FORMATRWF-FORMAT, "2"RWF-RECORD-TYPE, 5RWF-LINE-NBR
Heading 6RWFORMATNot RequiredRWF-FORMATRWF-FORMAT, "2"RWF-RECORD-TYPE, 6RWF-LINE-NBR
Heading 7RWFORMATNot RequiredRWF-FORMATRWF-FORMAT, "2"RWF-RECORD-TYPE, 7RWF-LINE-NBR
Level GroupRWHEADERRequiredWhen RWF-LEVEL-GROUP != Spaces"G"RWH-HEAD-TYPE, RWF-LEVEL-GROUPRWH-HEAD-NAME, "L"RWH-RECORD-TYPE
MxlisthdrMXLISTHDRNot Required"ACCTU"MLH-OBJ-TYPE, RWF-MATRIX-LISTMLH-MATRIX-LIST
Subacct GroupRWHEADERRequiredWhen RWF-SUB-ACCT-GRP != Spaces"G"RWH-HEAD-TYPE, RWF-SUB-ACCT-GRPRWH-HEAD-NAME, "S"RWH-RECORD-TYPE

One to many (6) — child tables

RelationTableRulesConditionField map
Acct Grp DetRWGRPDET"A"RGD-RECORD-TYPE, RWF-ACCOUNT-GROUPRGD-HEAD-NAME, RGD-RANGE-NUMBER
ColumnsRWFORMATDelete CascadesRWF-FORMATRWF-FORMAT, "3"RWF-RECORD-TYPE, RWF-LINE-NBR
HeadingsRWFORMATDelete CascadesRWF-FORMATRWF-FORMAT, "2"RWF-RECORD-TYPE, RWF-LINE-NBR
Lvl Grp DetRWGRPDET"L"RGD-RECORD-TYPE, RWF-LEVEL-GROUPRGD-HEAD-NAME, RGD-RANGE-NUMBER
RwformatauRWFORMATAURWF-FORMATRFA-FORMAT, RWF-RECORD-TYPERFA-RECORD-TYPE, RWF-LINE-NBRRFA-LINE-NBR, RFA-ACTION, RFA-DATE, RFA-TIME, RFA-UNIQUE-I-D
Sub Grp DetRWGRPDET"S"RGD-RECORD-TYPE, RWF-SUB-ACCT-GRPRGD-HEAD-NAME, RGD-RANGE-NUMBER

Programs

Updated by (14)

Referenced by (41)