Skip to main content

Notifications

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

  • Suggested answer
    Nitin Verma Profile Picture
    21,544 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans