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

Notifications

Announcements

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,153 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
    97,370 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

Responsible AI policies

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

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

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,242 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,197 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans