web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

AL code to auto populate a field from one page to another having same table

(0) ShareShare
ReportReport
Posted on by 335

Hi All,

I have created a  field on Purchase Order List page to add a Description(to add the part  number with a PO number).

I have a requirement where I want this field I have created  i.e. "Description " that a user would enter in purchase Order page to be auto populated on purchase order list page .Both pages have the same table.

Can you please help me with the code.

Regards,

Rupali

I have the same question (0)
  • Suggested answer
    THE Italian Profile Picture
    Microsoft Employee on at

    You might check these useful documentation resources

    docs.microsoft.com/.../

    docs.microsoft.com/.../devenv-dev-overview

  • Suggested answer
    JAngle Profile Picture
    150 on at

    Would it make more sense to have it as a table field and then just add the field to the separate pages? The editable property on the order page can be true and on the list page it can be false. Coding wise this would be a table extension and then a couple of page extensions. Resources from Dulio will do the trick as full overviews but these are more specific:

    docs.microsoft.com/.../devenv-table-ext-object

    docs.microsoft.com/.../devenv-page-ext-object

  • Suggested answer
    Anks27 Profile Picture
    1,085 on at

    Hello,

    I have gone through your question and analyze the issue and as per my understanding you need to add your custom field Description into Purchase Order List and this field is available on Purchase Order page right nowfor that we need to create one extension and add that field.

    below is the code to add this field.

    Purchase Order Page in​​​​​​​ Description field is already available:

    PO-Description1.png

    Purchase Order List Page in Description field is not available:

    PO-Description2.png

    You can use this code to add description field.

    • Before that you must need to add your dependency .app details in your extension after that you can see your custom field as per below example.

    PO-Description3.png

    Signed, Sealed and Delivered.

    Don't forget to help the community by Verifying the answer and Like it if your question has been answered. It will let others know that the topic has verified answer.

     

    Thanks & Regards,

    Ankit Shah(MCT-Microsoft Certified Trainer || Dynamics 365/Business Development Manager)

     

    Follow/Connect 101 on below

    LinkedIn:-   https://linkedin.com/in/dynamicpower101/

    Twitter:-     https://twitter.com/Dynamicpower101

    Facebook:- https://facebook.com/DynamicPower101/

    Telegram:- https://t.me/dynamicpower101

    Medium:-   https://medium.com/dynamicpower101

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,958 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,101 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans