MACOAUD – Matching Company Audit

System
Matching (MA)
Prefix
MCT
Primary key
COMPANY, ACTION, DATE, TIME, UNIQUE-I-D
Fields
12
Updated by
4 programs
Referenced by
1 program

MACOAUD is the Matching Company Audit table in Lawson Matching (prefix MCT). It is indexed by COMPANY, ACTION, DATE, TIME, UNIQUE-I-D (MCTSET1); alternate indexes: MCTSET2, MCTSET3, MCTSET4 and MCTUID. It is related 1:1 to MACOMPANY and MADICT. It is updated by MA00.1, MA00.4, MA01.1 and MA189 and referenced by MA89.1. The table has 12 fields, 5 indexes and 2 documented relations.

About MACOAUD

No description in the Lawson data dictionary.

Fields (12)

Column = COBOL field name without the MCT- 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
#MCT-UNIQUE-I-D PK
UNIQUE_I_D
Bad Type 36——
#MCT-COMPANY PK
COMPANY
Numeric 4—MA00.1, MA00.4, MA01.1
#MCT-ACTION PK
ACTION
Alpha 1—MA00.1, MA00.4, MA01.1
#MCT-OPERATOR SET3
OPERATOR
Alpha 10—MA00.1, MA00.4, MA01.1
#MCT-DATE PK
DATE
Numeric 8 (yyyymmdd)—MA00.1, MA00.4, MA01.1
#MCT-TIME PK
TIME
Numeric 6 (hhmmss)—MA00.1, MA00.4, MA01.1
#MCT-PROGRAM
PROGRAM
Alpha 5—MA00.1, MA00.4, MA01.1
#MCT-FIELD-NAME
FIELD_NAME
Alpha 15—MA00.1, MA00.4, MA01.1
#MCT-FIELD-ID SET4
FIELD_ID
Numeric 4—MA00.1, MA00.4, MA01.1
#MCT-OLD-VALUE
OLD_VALUE
Alpha 60 (Lower Case)—MA00.1, MA00.4, MA01.1
#MCT-NEW-VALUE
NEW_VALUE
Alpha 60 (Lower Case)—MA00.1, MA00.4, MA01.1
#MCT-DB-FILE-PFX
DB_FILE_PFX
Alpha 3——

Indexes (5)

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
MCTSET1
  1. COMPANY
  2. ACTION
  3. DATE
  4. TIME
  5. UNIQUE-I-D
PrimaryMA189, MA89.1
MCTSET2
  1. COMPANY
  2. DATE
  3. TIME
  4. ACTION
  5. UNIQUE-I-D
—
MCTSET3
  1. COMPANY
  2. OPERATOR
  3. ACTION
  4. DATE
  5. TIME
  6. UNIQUE-I-D
—
MCTSET4
  1. COMPANY
  2. FIELD-ID
  3. ACTION
  4. DATE
  5. TIME
  6. UNIQUE-I-D
—
MCTUID
  1. UNIQUE-I-D
—

Relations

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

One to one (2) — lookups and parents

RelationTableRulesConditionField map
CompanyMACOMPANYRequired
MCT-COMPANY→MAY-COMPANY (MAYSET1)
DictionaryMADICTRequired
MCT-DB-FILE-PFX→MDC-DB-FILE-PFX
MCT-FIELD-ID→MDC-FIELD-NBR

Programs

Updated by (4)

Referenced by (1)