Options

NAV 2009 R2 Page Issue while opening the Company

MallikarjunaMallikarjuna Member Posts: 64
edited 2011-06-13 in NAV Three Tier
Hi All,

Following code is not working in NAV 2009 R2 IN Version(32012), However it is working fine in NAV 2009 SP1 IN Version(29626).

//Test Code:
FORM.RUN(21);

Please find the attached "Error.jpg" for the error message.

My Goal: I want to select the responsibility center while opening the company in RTC.

Is there any hotfix available to resolve the above Issue or Iam doing any mistakes?

Thanks in Advacne,
Mallikarjuna Kilari

Answers

  • Options
    manisharma31manisharma31 Member Posts: 285
    Form No. 21 is Customer Card & your goal is to select responsibility center while opening the company.

    What are you trying to achive by this, and what are you going to do if you are able to select the responsibility center.

    Can we have more detail.
    Regards,
    Manish
  • Options
    MallikarjunaMallikarjuna Member Posts: 64
    Hi Manisharma,

    Thanks for the reply. However I already wrote in the post that it is a test code.
    //Test Code:
    FORM.RUN(21);

    This test code is working fine in NAV 2009 SP1 but not in R2.

    Thanks in Advance,
    Mallikarjuna Kilari
  • Options
    manisharma31manisharma31 Member Posts: 285
    What are you trying to achive by this, and what are you going to do if you are able to select the responsibility center.

    Can we have more detail.
    Regards,
    Manish
  • Options
    MallikarjunaMallikarjuna Member Posts: 64
    Hi Manisharma31,

    Again Thanks for the reply/Question.

    Forget about all the above posts.

    I want to open any base/customised page while opening the company in NAV 2009 R2 RTC. (This is ONLY for my Testing)

    Is it possible or not, If Yes please suggest.

    Thanks,
    Mallikarjuna Kilari
  • Options
    postsauravpostsaurav Member Posts: 708
    Hi Mallikarjuna Kilari,

    I tried to do the same think. What i did is -

    1) Wrote the code in LogInStart() trigger of Codeunit 1.

    //TESTCODE
    IF NOT ISSERVICETIER THEN
    FORM.RUNMODAl(21)
    ELSE
    PAGE.RUNMODAL(21);

    2) I tried to start the RTC but the application crashes (as u said).
    3) I blocked the code and started the RTC, and uncommented the code again.
    4) Now if i tried to change the company, the Customer page got opened.
    5) Then i debug the RTC Codeunit 1.

    And what i can conclude from that is, until the application (windows forms) is not fully loaded, you cannot Run a page.

    * I doubt that i was working on NAV 2009 SP1 RTC.

    I will to try to get through it.

    Thanks & Regards,
    Saurav Dhyani
    http://saurav-nav.blogspot.com/

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • Options
    BeliasBelias Member Posts: 2,998
    already reported in MS connect and then fixed here
    https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2522754
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    MallikarjunaMallikarjuna Member Posts: 64
    Hi Belias,

    Thank you very much. Issue solved with 32259 DLLs. :thumbsup: :D

    Thanks,
    Mallikarjuna Kilari
Sign In or Register to comment.