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 :
Business Central forum

Tablerelation question for page

(0) ShareShare
ReportReport
Posted on by

Hi Everyone,

I have create a page with a field have table relation with another table. This page will display shipment line number and the item ID. For now, I add the table relation on shipment line number and find item No. after insert. How could I get both shipment line number and item No. and fill this two field at same time.

Thanks in advance.

WeChat-Screenshot_5F00_20180906180036.pngWeChat-Screenshot_5F00_20180906180220.pngWeChat-Screenshot_5F00_20180906180426.png

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Not so clear. You need to set the tablerelation on the field you want to select (where you want the lookup) and in the OnValidate trigger of this field you can automatically populate the second field value.

  • Community Member Profile Picture
    on at

    Thank you for replying. Because I want to move the lookup to "item No." field. However, there are duplicate itemNo in ItemLookup table. So what I need is select the itemNo and get the correct line No. as well. The line No. is unique.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans