Skip to main content

Notifications

Business Central forum
Suggested answer

Extracting value from one page to another

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

Categories:
  • 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,217 Moderator 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 69,510 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

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans