MXTMPLHEDT – Attr Template Header Detail

System
General Ledger Setup (IF)
Prefix
MTI
Primary key
OBJ-TYPE, TEMPLATE-NAME
Fields
4
Updated by
1 program
Referenced by
45 programs

MXTMPLHEDT is the Attr Template Header Detail table in Lawson General Ledger Setup (prefix MTI). It is indexed by OBJ-TYPE, TEMPLATE-NAME (MTISET1). It is related 1:1 to OBJID and 1:M to MXTMPLEFDT and MXTPHEDTAU. It is updated by MX06.2 and referenced by AC13.1, AC13.7, AC14.1, AC14.6, AC16.1, AC16.2, AC16.7, GL14.1 and 37 more. The table has 4 fields, 1 index and 3 documented relations.

About MXTMPLHEDT

This file contain the header records for the attribute value effective date templates. It is updated by Define Attibute Value Effective Date Template (MX06.2).

Fields (4)

Column = COBOL field name without the MTI- 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
#MTI-OBJ-TYPE PK
OBJ_TYPE
Alpha 5This field determines the object type associated with the tempalte. The object type is always ACCTU.MX06.2
#MTI-TEMPLATE-NAME PK
TEMPLATE_NAME
Alpha 12This field contains the name of the template.MX06.2
#MTI-MATRIX-CAT
MATRIX_CAT
Alpha 12This field contains the attribute name.—
#MTI-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This field contains the attribute description.MX06.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.

IndexKeysFlagsConditionUsed in
MTISET1
  1. OBJ-TYPE
  2. TEMPLATE-NAME
PrimaryAC13.1, AC13.7, AC14.1, AC14.6, AC16.1, AC16.2, AC16.7, GL146 +22 more (list truncated in source)

Relations

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

One to one (1) — lookups and parents

RelationTableRulesConditionField map
Object IdOBJIDRequired
MTI-OBJ-TYPE→OBI-OBJ-TYPE

One to many (2) — child tables

RelationTableRulesConditionField map
MxtmplefdtMXTMPLEFDTDelete Cascades
MTI-OBJ-TYPE→MTE-OBJ-TYPE
MTI-TEMPLATE-NAME→MTE-TEMPLATE-NAME
—→MTE-MATRIX-CAT
—→MTE-EFFECTIVE-DATE
MxtphedtauMXTPHEDTAU
MTI-OBJ-TYPE→TIA-OBJ-TYPE
MTI-TEMPLATE-NAME→TIA-TEMPLATE-NAME
—→TIA-ACTION
—→TIA-DATE
—→TIA-TIME
—→TIA-UNIQUE-I-D

Programs

Updated by (1)

Referenced by (45)