MXVIEWHDR – Attribute View Header

System
General Ledger Setup (IF)
Prefix
MVH
Primary key
OBJ-TYPE, MATRIX-VIEW
Fields
6
Updated by
4 programs
Referenced by
151 programs

MXVIEWHDR is the Attribute View Header table in Lawson General Ledger Setup (prefix MVH). It is indexed by OBJ-TYPE, MATRIX-VIEW (MVHSET1). It is related 1:1 to OBJID and 1:M to MXVEWHDRAU and MXVIEWDTL. It is updated by MX20.1, MX20.2, MX20.5 and MX20.6 and referenced by AC13.6, AC16.6, AC91.1, AC91.2, ACDM.2, FB11.1, FB111, FB160 and 143 more. The table has 6 fields, 1 index and 3 documented relations.

About MXVIEWHDR

This file contains attribute view header records including the object type, view name, and description defined in MX20.1 (View). A attribute view is made up of attribute lists with similar characteristics which are linked together. A view is based on a Chart of Accounts consisting of summary and detail records. The detail records represent attribute lists. Total lines are created for each summary record. Views can be used instead of a level-type row file in Lawson Report Writer or the GL View Analysis program.

Fields (6)

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

Field / columnTypeDescription & valuesUpdated by
MVH-OBJ-TYPE PK
OBJ_TYPE
Alpha 5This field will determine the type of object that is being used by the Attribute. These values are not user maintainable.MX20.2
MVH-MATRIX-VIEW PK
MATRIX_VIEW
Alpha 12A hierarchy of attribute lists containing up to nine levels of totaling. The attribute view is based on the Chart of Accounts and consists of summary and detail records.MX20.2, MX20.5
MVH-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)The view description.MX20.2, MX20.5
MVH-LAST-SEQ-NBR
LAST_SEQ_NBR
Numeric 6The last sequence number.MX20.1, MX20.5, MX20.6
MVH-SEGMENT
SEGMENT
Alpha 15The name that identifies the user analysis. A user analysis is a flexible, user-defined element, much like an accounting unit, account, or attribute, that stores transaction information you can use for reports and analysis. You can use a user analysis to track multiple elements of business data.MX20.2
MVH-SHORT-DESC
SHORT_DESC
DerivedThe short description of the attribute view.

Indexes (1)

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

IndexKeysFlagsConditionUsed in
MVHSET1OBJ-TYPE, MATRIX-VIEWPrimaryAC13.6, AC16.6, AC91.1, AC91.2, ACDM.2, FB11.1, FB111, FB160 +22 more (list truncated in source)

Relations

One to one (1) — lookups and parents

RelationTableRulesConditionField map
Object IdOBJIDRequiredMVH-OBJ-TYPEOBI-OBJ-TYPE

One to many (2) — child tables

RelationTableRulesConditionField map
MxvewhdrauMXVEWHDRAUMVH-OBJ-TYPEVHA-OBJ-TYPE, MVH-MATRIX-VIEWVHA-MATRIX-VIEW, VHA-ACTION, VHA-DATE, VHA-TIME, VHA-UNIQUE-I-D
MxviewdtlMXVIEWDTLDelete CascadesMVH-OBJ-TYPEMVD-OBJ-TYPE, MVH-MATRIX-VIEWMVD-MATRIX-VIEW, MVD-SEQ-NUMBER, MVD-OBJ-ID

Programs

Updated by (4)

Referenced by (151)