Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Extracting value from one page to another

(0) ShareShare
ReportReport
Posted on by 382

Hey everyone, 

I have created a custom list page (WHT Transaction) and custom table (WHT Transaction Table) for it. Moreover, I have created an action in the payment journal and when that action is triggered some values should get from payment journal page to WHT Transaction list page that I created. I have tried creating a variable for table of Payment journal page (Gen. Journal Line) but it is getting me the values from the tables instead of the page. The first screenshots shows the custom action I created and the two field (with their values) that I want on my custom page. The second screenshot shows the custom page I created with the highlighted field on which I want the data to be appended. Kindly help

pastedimage1671716039125v2.png 

pastedimage1671716136940v3.png

  • RE: Extracting value from one page to another

    Hey ZHU, your hint worked for me. sorry for the above comment. I just put some time on it and it worked. Thank you.

  • RE: Extracting value from one page to another

    I have created a custom list page along with a custom table. The thing is that I want to append values form payment journal into the custom list page. 

    This is  custom table I created.

    pastedimage1671785760437v1.png

    This the custom list page.

    pastedimage1671785834841v2.png

    This is the logic I used on the custom page when it is opened.

    pastedimage1671785953433v3.png

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: Extracting value from one page to another

    hi

    share your AL code, so it is difficult to understand what you are doing

    DAniele

  • RE: Extracting value from one page to another

    Thank you ZHU. It was informative. But the thing is that I cannot apply it in my case as I have used a list page instead of standard dialog page and that's why may be SetItemInfo is not working.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    RE: Extracting value from one page to another

    Hi, Although the content is not relevant to your question, here is a simple example of passing values between pages. Hopefully this will give you some hints.

    https://yzhums.com/17574/

    pastedimage1671756675028v1.png

    pastedimage1671756699250v3.png

    pastedimage1671756686482v2.png

    Thanks.

    ZHU

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans