Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Extracting value from one page to another

(0) ShareShare
ReportReport
Posted on by 386

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

  • Muhammad Anas Naeemi Profile Picture
    386 on at
    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.

  • Muhammad Anas Naeemi Profile Picture
    386 on at
    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
    9,278 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

  • Muhammad Anas Naeemi Profile Picture
    386 on at
    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
    85,571 Super User 2025 Season 1 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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans