Logging Operator Events in SQL

Hello,

I am doing 21 CFR Part 11 For Citect 2018

I am successful in generation of Setpoint changes events (SOE Add script), Approval logs (in Notepad)

I need to log all these event in SQL.So that I can generate the dream report (.pdf)

I am successful in Configuration of Citect SCADA + Historian + Dream Report.

Please send the procedures for this.

Thanks,

Stolz Enterprises.