U can use the configurationkey to determin is a function is active, if you want to query on the licensecode try this.



static void Job2(Args _args)

{

   Dictionary  dictionary = new Dictionary();

    SysConfig   sysConfigTemp;



    select sysConfigTemp

        where sysConfigTemp.id == LicensecodeNum(projadvanced);



    print dictionary.testCode(sysConfigTemp.id,

                               strUpr(sysConfigTemp.value),

                               xSysConfig::find(ConfigType::LicensName,0).value,

                               xSysConfig::find(ConfigType::SerialNo,0).value,

                               str2date(xSysConfig::find(ConfigType::LicensName,1).value, 321));



    pause;

}



Mit freundlichen Grüßen / Best regards / Med venlig hilsen



Jesper Jørgensen / Abt. NMT-XD
Entwicklung Axapta

arvato systems | Technologies GmbH
An der Autobahn 18
33311 Gütersloh

[EMAIL PROTECTED] <blocked::mailto:[EMAIL PROTECTED]>

http://www.arvato-systems.de <blocked::BLOCKED::http://www.arvato-systems.de/>



Phone:   +49 5242 / 40 80 54

Fax:       +49 5242 / 40 80 40

Mobile:  +49 172  / 571 03 34

________________________________

"Der Inhalt dieser Nachricht oder eventueller Anlagen ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt. Bitte stellen Sie sicher, dass die Information in dieser Nachricht ausschließlich an die adressierten Personen gelangt. Sollte diese Nachricht versehentlich an Sie gesendet worden sein, dann informieren Sie bitte umgehend den Absender und löschen Sie die Nachricht. Vielen Dank."

"The information in this e-mail and any attachments is confidential. The information must only be held in areas that have controlled and limited access to the addressed persons. If this e-mail has been sent to you in error, please immediately notify the sender and delete the e-mail. Thanks."

________________________________

________________________________

Von: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von kwc_thydev
Gesendet: Mittwoch, 1. Februar 2006 13:57
An: development-axapta@yahoogroups.com
Betreff: [development-axapta] Re: Determine if a module is included



Hi,

Try this function.

isConfigurationKeyEnabled(configurationKeyNum(ProjAdvanced))


Best regards,
thy:development

Karsten Wollesen Clausen
System Developer

--- In development-axapta@yahoogroups.com, "Andre Klopper"
<[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> I want do check by code if Projects II has been installed
(licensed). How
> can I determine this?
>
> Regards,
> Andre Klopper
>







SPONSORED LINKS

Computer part <http://groups.yahoo.com/gads?t=ms&k=Computer+part&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yLpvcLTIDJ5FTkRJGsO11w

Programming languages <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=cuhEClK4dU4wapXFmKisbQ

Microsoft axapta <http://groups.yahoo.com/gads?t=ms&k=Microsoft+axapta&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yfeG_U6QaLfPOZZIud02Fg

Support exchange <http://groups.yahoo.com/gads?t=ms&k=Support+exchange&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=hy8yRGMzrmxdphyITTUeqA







________________________________

YAHOO! GROUPS LINKS



*      Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .



________________________________



[Non-text portions of this message have been removed]






YAHOO! GROUPS LINKS




Reply via email to