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...
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,111 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
    95,634 Super User 2025 Season 2 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…

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 2,785

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans