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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Table extension carry to posted table - Sales Line to Posted Sales Invoice Line

(0) ShareShare
ReportReport
Posted on by

I have a table/page extension that adds another field to the sales line table. I need to get that field to copy/move that over to the sales posted invoices table when the sales invoice is posted. Does anyone have a code example of this type of code unit/coding that is needed for this?

Thank you,

Kevin

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Table extension carry to posted table - Sales Line to Posted Sales Invoice Line

    Hi,

    Yes please declare sales line field's id into the Sales Invoice Header table.

    For ex.

    Sales Line

    ID 1 Filed1 : Code[20]

    Sales Invoice Line

    ID 1 Filed1 : Code[20]

    No other code is required, it will automatically pass the values from sales line to posted invoice line.

    Thanks.

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 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans