Start Slide - Lawson User Association

advertisement
Field Audit Trail
Lawson Learning
education@lawson.com
Lawson M3 Java Audit Trail
Lawson M3 Java Audit Trail
A user is maintaining
customer master data
Customer Master File
xxxx
xxxx
xxxx
‘’
‘’
‘’
xxxx xxxxxx
xxxx xxxxxx
xxxx xxxxxx
‘’
‘’
‘’
‘’
‘’
‘’
OCUSMA
A user can review
audit data on an
individual field
Database trigger
program
If an audited field is updated,
a trigger program writes an
extra record into a separate
audit file
Audit File
in FAT
Database
Schema
Page 2
Lawson M3 Java Audit Trail
Viewing field changes
Example with
Credit Limit 1
being audited
Press F9 with the
cursor in the
audited field
Pop-up screen shows
previous values
Page 3
Lawson M3 Java Audit Trail
Lawson M3 Java Audit Trail Overview
Used to display changes that are made in a field
–
update, write, and delete operations can be trailed
Primarily an interactive facility, not a reporting base
–
F9 key shows recent changes
Shows information on
–
the changes made
–
the user who made the changes
–
the date/time the changes were made
Audit trail is available on all fields in any file with
–
a unique key
–
a field xxCHID (“Changed By”) that contains the ID of the user who last
changed the record
Page 4
Lawson M3 Java Audit Trail
Lawson M3 Java Audit Trail Overview
Field auditing begins in the FAT Manager with the creation of an Audit
–
specify the file and fields to be audited
–
specify the events to be audited - add, change, delete
The FAT Manager creates the necessary system objects that control
auditing
–
audit files, stored in a separate database schema, containing
 the audited fields (the before image)
 unique identification of the updated record (key fields)
 a unique counter for the update
 the date- & time-stamp of the update
 the type of update operation (add, change, delete)
 the name of the user who updated the record
Page 5
Lawson M3 Java Audit Trail
Lawson M3 Java Audit Trail Overview
Audit trail data can be viewed in M3 by positioning the cursor in a field
and pressing F9
–
a pop-up list of recent changes is displayed, in most recent first sequence
–
before and after values of the field are shown
 only the before value is stored in the audit table
Audit trail data can also be viewed in the FAT Viewer
–
available only to system administrators
–
iBrix implemented in Workplace
–
used only for exceptional cases
 difficult to search/sequence the data
Page 6
Lawson M3 Java Audit Trail
Java Audit Trail Components
M3 BE
Life Cycle Manager
or M3 Workplace
MVXLIVE
Port 8095
FAT Server
1
2
FATLIVE
A
B
C
A
B
C
Audit Data
FAT Manager
MVXCONF
Port 18095
FAT Server
1
2
FATCONF
Audit Data
A
B
C
A
B
C
The FAT Manager provides a user interface
The FAT Server controls
• the creation of audit files
• the creation of database triggers
MVXTEST
Port 28095
FAT Server
1
2
FATTEST
Audit Data
A
B
C
A
B
C
• managing queries on audit data
Page 7
Lawson M3 Java Audit Trail
Process
Page 8
Lawson M3 Java Audit Trail
Starting the FAT Server
Ensure the FAT server is started for the environment whose fields are to be audited
One FAT server
job per M3
environment
Page 9
Lawson M3 Java Audit Trail
Using FAT Manager to Create a New Audit
1
Choose the System
Configuration
List of audits
2
Click New
List of M3 files
3
Choose the file to
be audited
Page 10
Lawson M3 Java Audit Trail
Selecting Fields to be Audited
Page 11
Lawson M3 Java Audit Trail
Audit Status
Audits can be activated or deactivated
–
the status is shown in the list of current audits
–
Green – active
–
Red - inactive
Page 12
Lawson M3 Java Audit Trail
Managing Partitions
Page 13
Lawson M3 Java Audit Trail
Java Audit Trail Partitions
M3 BE
M3 Workplace
MVXLIVE
FAT Server
1
2
FATLIVE
FAT Manager
A
B
C
A
B
C
Audit Data
MVXCONF
FAT Server
1
2
FATCONF
Audit Data
A
B
C
A
B
C
MVXTEST
FAT audit files reside
in the separate
database schemas
FAT Server
1
2
FATTEST
Audit Data
A
B
C
A
B
C
Page 14
Lawson M3 Java Audit Trail
Java Audit Trail Partitions
Workplace
A partition isM3
a separate
table containing audit data
Each audit file can be separately partitioned
manually - when audit information becomes too old
automatically – if the audit information changes
Old partitions can be deleted manually
FATCONF
Customer Credit Limits (OCUSMA)
Price List Details (OPRICL)
Item Class Details (MITMAS)
Page 15
Lawson M3 Java Audit Trail
Java Audit Trail Partitions
M3 Workplace
Select the
Partitions tab
Select the audit file to be
partitioned, then click
Modify
Page 16
Lawson M3 Java Audit Trail
Java Audit Trail Partitions
M3 Workplace
Click
Manual
break
New partition (table) is created
Size column shows no. of rows in old
partition
Current partition always shows -1
Page 17
Page 18
Download