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

Table relation from a Temporary table

(0) ShareShare
ReportReport
Posted on by 292

HI,

is it possible to use a "Temporary table" in a table relation in Business central ?

Thanks,

Nishan

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    Not unless you do it in the same database transaction where you put data in the temp table.

    And that is something you can only do in code. In the user inferface you would not be able to use a temp table for relations.

    Data in temp tables exists only in memory during the span of your transaction.

  • Verified answer
    YUN ZHU Profile Picture
    98,128 Super User 2026 Season 1 on at

    Hi, In this case I recommend using Onlookup Trigger.

    Before using Page.RunModal() Method, insert some data you need into the temporary table.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/page/page-runmodal--method

    Hope this will help.

    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

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 2,033 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,105 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,035 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans