Request licensnumber via webservice

marvinqmarvinq Member Posts: 69
edited 2011-02-21 in NAV Three Tier
Hi,

Is it possible in NAV to request for the licensnumber, currently in use by NAV, via a webservice. Maybe through a page?

Any ideas?

Comments

  • cernstcernst Member Posts: 280
    Hi,

    Create a codeunit and make it available through webservice and use SERIALNUMBER (Database)

    That should return the licensno I think.
    _____________________
    NAV Freelance Consultant
  • marvinqmarvinq Member Posts: 69
    Hi,

    A codeunit can be changed by the user/another NAV developer into a hardcoded licensnumber, which is no go.

    I guess that the licensnumber must be located in some table, but where?

    Sorry, I was not clear in my question.

    Any other ideas?
  • EgnazEgnaz Member Posts: 111
    Table: 2000000040
    But it's a hidden system table and you have to pick the license value from a textfield. Take a look into the table and I think you'll get what I mean.

    Regards,
    egnaz
  • marvinqmarvinq Member Posts: 69
    Bingo,

    Thanks Egnaz, just perfect !
Sign In or Register to comment.