Report Assist Edit Strange Behaviour

AlexLimAlexLim Member Posts: 15
edited 2014-10-21 in NAV Three Tier
Dear all,

Nav Version : Nav 2013

Recently I have face an issue that make me head scratch. #-o

I have 2 report, let say A & B, B is duplicate of A and made some changes.

Whenever I try click the assist button in report B to call Page 209 (Unit of Measurement), its will prompt "Object of type page with id 50001 could not found" error message, where id 50001 is the report own id.

Fun part coming, when i click assist button in report A, page is successful to open. Then I open the report B and click the assist button again, the page can open without any problem.

But this was not solve permanently, this issue happen again after close the RTC.

Currently what I try
1. Duplicate to another ID
2. Compile object and meta data(even all object)
3. Change code in assist edit trigger (Code totally same as Report A, but A is workable)
Before
IF PAGE.RUNMODAL(0,UOMRecord) = ACTION::LookupOK THEN BEGIN
After
UOMPage.SETTABLEVIEW(UOMRecord);
UOMPage.LOOKUPMODE := TRUE;
UOMPage.EDITABLE := FALSE;
IF UOMPage.RUNMODAL = ACTION::LookupOK THEN BEGIN
4. ](*,)

Note : This error happen no matter run from development or RTC.

Hopefully someone can solve my problem.Thank in advance.

Comments

  • postsauravpostsaurav Member Posts: 708
    Hey AlexLim,

    Please try below listed steps -

    1. Run Table 2000000071 Object Metadata.
    2. Apply Filter - Type - Report, ID - 1|2 (where 1 and 2 are your report Id's).
    3. Delete the Two records that appear in the table.
    4. Compile both reports from object designer.
    5. Restart the service tier.

    ** NEVER DO THESE STEPS FOR TABLES.

    Let me know the results after following the steps.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • AlexLimAlexLim Member Posts: 15
    Hi postsaurav,

    Thank you for your reply. Solution you given work fine and now i able to run the report. =D>

    However, i wonder what is the causes of this issue? It is possible to avoid? As this happen quiet often.

    Anyway, sorry for late reply :oops:
Sign In or Register to comment.