web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV 2015 RU7. Error message when opening Page from Page Action.

(0) ShareShare
ReportReport
Posted on by 3,011

I've got a NAV 2015 RU7 Installation.

I have a custom page "Students" that shows a list of students and Invoice No. This data is stored in a custom table as well.

I've created a new Page Action in the Posted Invoices List Page. In the properties I've set RunObject "Page Students" and RunPageLink "Invoice No.=FIELD(No.)"

When I use this new page action, first I get an error message that says "The record that you tried to open is not available. The page will close or show the next record". However, when I accept this error message, the correct records are displayed in the "Students" Page. 

So the page action works correctly, but shows this annoying error message. Any ideas on how to fix this?

*This post is locked for comments

I have the same question (0)
  • Mohana Yadav Profile Picture
    60,985 Super User 2025 Season 2 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    what is the primary key of Students table?

  • Ghetz Profile Picture
    3,011 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    The primary key is: "Resource No.",Student.

    However in this case, I need to filter just by a third field which is "Invoice No."

  • mmv Profile Picture
    11,471 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    Hi,

    If you are having any other filter apart from the Primary key, please check whether the filter is yielding any record.  This issue normally only if there are no records available for the currently applied filter.

  • Ghetz Profile Picture
    3,011 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    Thanks for the answer. As I said in my original post, the records are being displayed after the error message, so the end result is correct, I only don't understand why it's showing the error message. 

     

    I haven't got any other filter, just "Invoice No."=No. in the Record link property.

     

    Could this be somehow related to NAV 2015 Cumulative Update 5 ?

    363897
    "The record that you tried to open is not available. The page will close or show the next record." error message if any Get statement fails in the OnInsert trigger.

  • Suggested answer
    Mohana Yadav Profile Picture
    60,985 Super User 2025 Season 2 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    Or please write code under action by setting filter on Invoice No. and run the page

  • Ghetz Profile Picture
    3,011 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    Doing it by code works, but maybe there is a bug when doing this with Page Action properties??

  • Suggested answer
    Mohana Yadav Profile Picture
    60,985 Super User 2025 Season 2 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    But you said you have installed CU7 so which means CU5 fixes are included in it?

  • Ghetz Profile Picture
    3,011 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    Yes, but maybe this wasnt fixed in Page Action RecordLinks. Not sure anyway, If someone could test this in their installation:

    It's just call a Page from a PageAction using RunObject and RunPageLink properties. The RunPageLink must not use the primary key of the target table.

  • Verified answer
    Rajasekhar@MS Profile Picture
    5,569 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    Could you tell us what is the Page Type, if it is not list can you change it to LIST and check

  • Ghetz Profile Picture
    3,011 on at
    RE: NAV 2015 RU7. Error message when opening Page from Page Action.

    Nice catch! Indeed the page type was card. This was actually a page upgraded from a Nav 5 form, and the upgraded page type  was set as card. Chaging to List fixed the error.

    Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans