Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to get data filled in a pop up page in Nav 2013 R2

(1) ShareShare
ReportReport
Posted on by 105

Guys,

How to get a pop up page filled with data from the Master page?. Have created an Action in the master page, On clicking this Action I need to obtain another page on which some fields should be filled by the data from the master page.

fetched the last data entry in the pop up page, but i'm not able to enter data in the new line of the page. Can anyone pls help me.

Thanks and Regards

*This post is locked for comments

  • tonykuttan Profile Picture
    105 on at
    RE: How to get data filled in a pop up page in Nav 2013 R2

    Bingo.

    Thanks dude. That really worked out. Have used Page.Run Operation and assigned values for the fields required.

  • Suggested answer
    jcastro Profile Picture
    2,245 on at
    RE: How to get data filled in a pop up page in Nav 2013 R2

    Hello tonykuttan,

    If you do not feel liike going into .net, you have alternative solutions. Maybe not as elegant but hey.

    You can create a page that will run when you press the button using the varPage.RUN(MODAL) function, and after it's been closed you can retrieve the variables that have been set during the opening of the page by calling functions inside of it you've previously created.

    Something like...

    Function GetParameter1

    EXIT(Variable1);

    And within the main page, after it's been closed you can call the getparameter1 function.

    Rec.Field1 := varPage.GetParameter1;

    If you do not like this approach, you can also create a Single Instance codeunit to set variables and retrieve them afterwards.

  • tonykuttan Profile Picture
    105 on at
    RE: How to get data filled in a pop up page in Nav 2013 R2

    Thanks Jose Angel Lopez.

    It seems complicated on going with .net etc. for me. Anyway thanks for your concern.

  • Suggested answer
    jaloag Profile Picture
    678 on at
    RE: How to get data filled in a pop up page in Nav 2013 R2

    In previous versions (classic client) you could use the object "input dialog".

    Make a small development in a .net language (C # or VB) showing the popup. Then from C / AL using interoperatibility to call the popup you created before and send / get data.

    More info... msdn.microsoft.com/.../hh168247(v=nav.71).aspx

  • tonykuttan Profile Picture
    105 on at
    RE: How to get data filled in a pop up page in Nav 2013 R2

    From the master page(List type) some field's (Like cheque no, cheque date etc  )value should be transferred to the pop up page(List type- Bank Receipt Voucher(16569)) in a new line while Posting (Action ) from the master page, this should be filled automatically on pop up.

    And also, can we do this directly without entering the data into the source table of the popup page?

  • jcastro Profile Picture
    2,245 on at
    RE: How to get data filled in a pop up page in Nav 2013 R2

    What kind of information do you need to enter in that popup page? And from what kind of page would that popup page be called?

  • tonykuttan Profile Picture
    105 on at
    RE: How to get data filled in a pop up page in Nav 2013 R2

    As I am a beginner can you please make it more clear.

    Can I do it with C/AL code?

  • Suggested answer
    jaloag Profile Picture
    678 on at
    RE: How to get data filled in a pop up page in Nav 2013 R2

    You can solve this problem using .NET interoperability, making a component that shows the popup window and send/get the value from the user.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans