MLRPTSEL – ML Report Selection

System
Multi-Ledger (ML)
Prefix
MRS
Primary key
LEDGER, COMPANY, REPORT-NAME, OR-GROUP, ITEM-NUMBER, SEQUENCE-NBR
Fields
9
Updated by
4 programs
Referenced by
2 programs

MLRPTSEL is the ML Report Selection table in Lawson Multi-Ledger (prefix MRS). It is indexed by LEDGER, COMPANY, REPORT-NAME, OR-GROUP, ITEM-NUMBER, SEQUENCE-NBR (MRSSET1). It is related 1:1 to MLRPTDEF. It is updated by ML110, ML50.2, ML50.4 and ML50.5 and referenced by ML250 and ML290. The table has 9 fields, 1 index and 1 documented relation.

About MLRPTSEL

This file contains field selection values for Ledger Report Setup (GL50.1). The values are used for report processing in Ledger Report (GL290).

Fields (9)

Column = COBOL field name without the MRS- 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
#MRS-LEDGER PK
LEDGER
Alpha 15The ledger for which the report is defined.ML110, ML50.4, ML50.5
#MRS-COMPANY PK
COMPANY
Numeric 4The company for which the report is defined.ML50.4, ML50.5
#MRS-REPORT-NAME PK
REPORT_NAME
Alpha 20The name that identifies the report.ML50.4, ML50.5
#MRS-OR-GROUP PK
OR_GROUP
Alpha 1A 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.'ML50.4
#MRS-ITEM-NUMBER PK
ITEM_NUMBER
Numeric 2Indicates items to be used for filtering report information.ML50.4
#MRS-SEQUENCE-NBR PK
SEQUENCE_NBR
Numeric 4The user-assigned sequence number to keep the records unique and to determine order.ML50.4
#MRS-SELECT-OMIT
SELECT_OMIT
Alpha 1Determines whether the item number and value range are included in the reportML50.4
#MRS-FR-VALUE
FR_VALUE
Alpha 30The beginning value to include or exclude in the report.ML50.4
#MRS-TH-VALUE
TH_VALUE
Alpha 30The ending value to include or exclude in the report.ML50.4

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.

IndexKeysFlagsConditionUsed in
MRSSET1
  1. LEDGER
  2. COMPANY
  3. REPORT-NAME
  4. OR-GROUP
  5. ITEM-NUMBER
  6. SEQUENCE-NBR
PrimaryML110, ML250, ML290, ML50.1, ML50.2, ML50.4, ML50.5

Relations

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

One to one (1) — lookups and parents

RelationTableRulesConditionField map
MlrptdefMLRPTDEFRequired
MRS-LEDGER→MLR-LEDGER
MRS-COMPANY→MLR-COMPANY
MRS-REPORT-NAME→MLR-REPORT-NAME

Programs

Updated by (4)

Referenced by (2)