RTC menu does not appear new items

billbill Member Posts: 100
edited 2012-05-14 in NAV Three Tier
Hi all,
i have an issue. I had created a menu in Navision 2009 for rtc concerning my solution. I had folders and subfolders with my pages etc. Now i want to insert a new Folder with reports and pages in my custom menu but i can see nothing when i run the role tailored client. I restart the services, synchronized the logins but nothing.

Any idea?

Comments

  • billbill Member Posts: 100
    It is the 1080
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    make sure you are connecting to correct database..
  • billbill Member Posts: 100
    I am sure.
    The only i can see is that when i inserted the chart generator fob. Another menu was created the 1090.
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    So you will see the highest ID menusuite always..

    for time being you can delete 1090 and try..
  • billbill Member Posts: 100
    Thank you very much for your help, it worked.

    Now i have another issue. I had created my own user profile with id 50009. Yesterday i was testing it and updated it as default in order to view the changes. When i was updated again to default = false the standard role tailored client profile was appeared. Now the Role tailored client is appearing always with my own profile either it is updated to true or false. How can i return to RTC original profile.

    Any idea ?
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Did you set Default Role Center of Order processing profile to true or not?
    also make sure that no other profile is assigned to you in user Personalisation..
  • billbill Member Posts: 100
    Excellent, there profile id in user personalization table had a value. Thank you very much.

    I have noticed something very strange, i don't know if this happens to your business code.

    I have a process that opens in run modal a page and after a user selection with setselectionfilter method, the code in codeunits is proceeding with some modifications in Vendor ledger entry table. Actually the modification code is searching the vendor ledger entry and is modifying the Open flag.

    In classic client everything is ok but in RTC when the Modify is executed it is also modify and some other fields like document no to blank.

    What do you think? I searched here and find out that there is a problem with modification procedures.
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    I dont think so..

    Can you show us the code?
  • billbill Member Posts: 100
    Of course:
    VendLedgEntry variable is the Vendor ledger entry table

    VendLedgEntry.SETCURRENTKEY("Document No.","Document Type","Vendor No.");
    VendLedgEntry.SETRANGE("Document No.", DocumentNo);
    VendLedgEntry.SETRANGE("Document Type", DocumentType);
    VendLedgEntry.SETRANGE("Vendor No.", VendorNo);
    IF EntryNo <> 0 THEN
    VendLedgEntry.SETRANGE("Entry No.",EntryNo);

    VendLedgEntry.MODIFYALL(Open,OpenFlag);


    This code for some reason when executed if makes blank and other fields like document no. The code is located in a codeunit.

    In classic client i don't have an issue but in rtc i have the aforementioned issue.
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Try to loop through the records and modify each..
    VendLedgEntry.SETCURRENTKEY("Document No.","Document Type","Vendor No.");
    VendLedgEntry.SETRANGE("Document No.", DocumentNo);
    VendLedgEntry.SETRANGE("Document Type", DocumentType);
    VendLedgEntry.SETRANGE("Vendor No.", VendorNo);
    IF EntryNo <> 0 THEN
      VendLedgEntry.SETRANGE("Entry No.",EntryNo);
    
    IF VendLedgEntry.FINDSET THEN 
      REPEAT
        VendLedgEntry.Open := OpenFlag;
        VendLedgEntry.MODIFY;
      UNTIL VendLedgEntry.NEXT = 0;
    
  • billbill Member Posts: 100
    I have already done this, i tried everything. My business code works only when the first method is completed. The design of this method is that i call a codeunit, the codeunit sefilter some records from vendor ledger entry and the opens a runmodal form with those entries. Then the user is selecting some records (setselectionfilter method). Then the code is proceeding with some business logic. In this business logic code, is executed the piece of code you saw before.
  • Dan77Dan77 Member Posts: 17
    Hi

    are you passing the record by Variable, to edit it inside your codeunit?
  • billbill Member Posts: 100
    Yes, i am passing the record by variable
Sign In or Register to comment.