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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

passing the page as a parameter

(0) ShareShare
ReportReport
Posted on by

in  the item card I'm automatically generating the item no using a sub page that opens on the assist edit button of the item no. In order to fill the "No." I need to pass the page as a parameter to the assist edit page. I tried using a function and passing the page as CurrPage but I got a compilation error. Is there any other way to do it?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    Hi,

    I am not sure that your requirement is clear to me(!!??).

    But if you want to, you can try passing the Rec, passing by reference to the AssistEdit function to update your Item No.

    Hope it helps.

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    Passing a page to a function does not get you to anywhere as page is just a object that which will display the data to user depending on the binding rec. You can pass the current Rec or a value to your function and do the modifications as you want.

    Have you check how the assist edit button work in the item card when you assign multiple No. series? Check that and you will get a good idea about it.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    If I understand your requirement then it is like

    User will click on Assistedit button and then enter the Item No which will created automatically in item master and then it displayed on the subpage

    You can not pass page as parameter in function .It is better you pass record or pass the variable

  • Tharanga Chandrasekara Profile Picture
    23,118 on at

    were you able to resolve the issue?

  • Community Member Profile Picture
    on at

    Hi Tharanga,

    yes I created a temp table and filled the values at the assist edit page.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans