web
You’re offline. This is a read only version of the page.
close
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 390

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

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,593 Super User 2025 Season 2 on at

    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

  • Muhammad Anas Naeemi Profile Picture
    390 on at

    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
    DAnny3211 Profile Picture
    11,397 on at

    hi

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

    DAniele

  • Muhammad Anas Naeemi Profile Picture
    390 on at

    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

  • Muhammad Anas Naeemi Profile Picture
    390 on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans