How to store value of logout date ,time,username in Company object?

Discussion in 'Requests' started by sattam, May 3, 2020.

    
  1. sattam

    sattam Active Member


    I tried but not succeed
    login date ,time,username in Company object it stored value but not stored logout please help

    [System: Events]

    SatCloseEvent : Close Company :NOT ($IsAggregate:Company:##SVCurrentCompany) AND NOT $$IsRemoteCompany:Call:satLogoutFUNC

    [Function:satLogoutFUNC ]

    Variable : Usname :String
    Variable : comname :String
    Variable : satstat :String
    Variable : satdat :Date
    Variable : sattim :String

    Object : Company : ##SvCurrentCompany

    010 : Set Target
    020 : Set:Usname:##SVUserName
    030 : Set:comname:mad:@cmpmailname
    040 : Set:satstat: $$LocaleString:"Logout"
    050 : Set:satdat:$$Date:$$MachineDate
    060 : Set:sattim:$$String:$$MachineTime

    080 : Insert Collection Object:satAgg
    090 : Set Target:satAgg

    110 : Set Value:satname:##usname
    120 : Set Value:satcompname:##comname
    130 : Set Value:satstatus:##satstat
    140 : Set Value:satdat:##satdat
    150 : Set Value:sattim:##sattim
    160 : Set Target..
    170 : Set Target..

    175 : Accept Alter
     
    Last edited: May 5, 2020


  2. Neeru

    Neeru Active Member


    Dear Sir,

    I think it's already in this forum . try to Search..
     


  3. sattam

    sattam Active Member


    No sir I told Login date and time stored but not Logout
    I get this code from this forum posted by Devendra Ji but only login not logout
     


  4. Neeru

    Neeru Active Member


    Sorry Sir i miss logout
     


Share This Page