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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

SETSELECTIONFILTER in Subscriber event

(0) ShareShare
ReportReport
Posted on by

Hello!

I have to implement an action into page 1007 Job Planning Lines that takes selected lines and do something with them. But I want to do it with a subscriber function in another codeunit.

I have created an action in the page, and the subscriber function in the codeunit. The problema is that I don't know how to do the CurrPage.SETSELECTIONFILTER in the codeunit, instead the page.

Any help would be greatly appreciated.

 

Pablo Espartero.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    we cannot use currpage functions in subscribers.

    you can redesign it by adding a new Boolean field called select and filter on them.

  • Community Member Profile Picture
    on at

    Thanks for your reply Mohana.

    That is a good idea but I would need another function that sets all booleans to false everytime someone opens the page... that may cause problems if 2 or more users open the page near in time.

  • Verified answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    the only solution that comes to my mind at present is

    create a page like general journal and users needs to select job planning lines and click the action.

    you dont have to modify standard page in this case.

  • Suggested answer
    Community Member Profile Picture
    on at

    this could be a solution.

    I will try it and see what happens.

    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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans