tracking of ip address

uttar_naguttar_nag Member Posts: 19
I want to track IP-ADDRESS with in navision 4.0 (sp3 )
can anyone tell is it possible ?

Comments

  • MalajloMalajlo Member Posts: 294
    Track IP address? Or you want to get IP address of a client?
    Name	DataType	Subtype	Length
    Net	OCX	Microsoft WinSock Control 6.0 (SP4)	
    IPAddress	Text		30
    
    
    IPAddress := Net.LocalIP ;
    
  • uttar_naguttar_nag Member Posts: 19
    I want to tracking of IP address of Client machine in any form level or report level. Because Some user modified any data without authorization. From that case how can I do?
  • FordewindFordewind Member Posts: 27
    uttar_nag wrote:
    I want to tracking of IP address of Client machine in any form level or report level. Because Some user modified any data without authorization. From that case how can I do?

    You must give different logins to them! Traking an IP is a wrong way!
    Nav 4.0 sp3
  • MalajloMalajlo Member Posts: 294
    Set security and permissions so users can not change data.
    Beter is to prevent than fix errors.
    IP address is alway the same when user connects to server. If IP is changed, connection is dropped.
    You can also use change log. But if you use only one user on several clients, then you should make some customization in CU:1 if you don't have license for tracking, or in ChangLogMgt (CU:423 - Change Log Management)
    CU:1
    OnGlobalInsert(RecRef : RecordRef)
    ChangLogMgt.LogInsertion(RecRef);
    
    OnGlobalModify(RecRef : RecordRef;xRecRef : RecordRef)
    ChangLogMgt.LogModification(RecRef,xRecRef);
    
    OnGlobalDelete(RecRef : RecordRef)
    ChangLogMgt.LogDeletion(RecRef);
    
    OnGlobalRename(RecRef : RecordRef;xRecRef : RecordRef)
    .LogRename(RecRef,xRecRef);
    
  • uttar_naguttar_nag Member Posts: 19
    Name DataType Subtype Length
    Net OCX Microsoft WinSock Control 6.0 (SP4)
    IPAddress Text 30


    IPAddress := Net.LocalIP ;


    I want to know where are apply this code in navision Form/Table. I already applied in table and Form level but one error is occured which is given below:


    "OLE Control or Automation server identified by 'Microsoft Winsock Control6.0'.Winsock requires a design time license.This license cannot be obtained. Make sure that the OLE control or automation server is installed correctlywith the appropriate license ".

    pls kindly reply me against this problem and give me the solution. This very urgent requirement of Client.
  • MalajloMalajlo Member Posts: 294
    For using some automations and OCX, you need to install visual studio or any of MS development packets.
    Where to put the code, see Codeunit 1, functions OnGlobal...
  • WaldoWaldo Member Posts: 3,412
    Malajlo wrote:
    For using some automations and OCX, you need to install visual studio or any of MS development packets.
    Where to put the code, see Codeunit 1, functions OnGlobal...

    If that is the case for this solution, then it's not really a good idea to put this code into the business logic ... or you have to install the packages on all clients :|.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • MalajloMalajlo Member Posts: 294
    No, visual studio is needed only for design time. It is same with Msdlg.ocx or something.
    After saving compiled object, design time license is not needed.
  • WaldoWaldo Member Posts: 3,412
    ok :)

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
Sign In or Register to comment.