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

How to find out the related tables?

(0) ShareShare
ReportReport
Posted on by 450

So i added a field to the "Sales Header" table but i need to add it to all the related tables. Now how to i find out what tables are the related tables? (or what are the tables are related to it?)

Categories:
I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    If you need the data to copy into posted documents, you should add the field to tables 110,112 and 114. Also subscribe to a relevant event publisher in codeunit 80 to transfer the value when posting.

    Tero

  • Verified answer
    Kalpavruksh D365 CoE Profile Picture
    2,545 on at

    Hi,

    In Codeunit 80 Search for TRANSFERFIELDS(SalesHeader);

    The line of code referencing salesheader for e.g. SalesCrMemoHeader.TRANSFERFIELDS(SalesHeader);

    In the above-said line, SalesCrMemoHeader is related to SalesHeader where you have to define your newly created field with the same data type, Data length, and Field No.

    Similarly you can find more related tables when Search for TRANSFERFIELDS(SalesHeader);

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