How to log users transactions in Log file or in DB

Hi Experts,

Is there any place in Service Manager to log each transation in some accounts in System or how to develop that.

 

Regards,

Mohamed Shahboub

 

Parents
  • i belive that you need to create a ScriptLibrary like this:

    function log(text)
    {
    var text = "hello world";
    var ret = new SCDatum();
    system.functions.rtecall("log", ret, operator() " - " text);
    }

    function operator()
    {
    return system.functions.operator();
    }

    this write in log the next message:

    2669( 836) 02/09/2016 16:11:32 RAD I RBERCHTOLDP - hello world

     

    You can call these function in the formatcontrol of every module (option calculate --> call in initial or show for example)

Reply
  • i belive that you need to create a ScriptLibrary like this:

    function log(text)
    {
    var text = "hello world";
    var ret = new SCDatum();
    system.functions.rtecall("log", ret, operator() " - " text);
    }

    function operator()
    {
    return system.functions.operator();
    }

    this write in log the next message:

    2669( 836) 02/09/2016 16:11:32 RAD I RBERCHTOLDP - hello world

     

    You can call these function in the formatcontrol of every module (option calculate --> call in initial or show for example)

Children
No Data