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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

How to passing custom value field from Sales Line to Posted Sales Invoice Line?

(0) ShareShare
ReportReport
Posted on by 625

Hi All,

Hope you are all doing good and safe. I have a requirement where i have created a custom field in sales line table and now i want to pass its value to a similar custom field with same name and type in sales invoice line table . so that it can be displayed on Sales invoice report.

Can someone pls explain how can i achieve this?

Thanks in Advance

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    159 on at

    Due to this functionality: docs.microsoft.com/.../transferfields-function--record-

    the process is fairly easy. Create the corresponding field in the other table with the same field ID.

  • AXBOY Profile Picture
    625 on at

    hi, @Josh Anglesea  can you pls explain where exactly I should use tranferfields function to serve the purpose?

  • Verified answer
    Daniel Rimmelzwaan Profile Picture
    3,485 on at

    The sales posting routine already copies Sales Line data to the Sales Invoice Line table, and it uses a function called TransferFields. This works when the source field and the target field both have the same field number and data type (and I think they have to have the same name too). What I always do is simply copy/paste the field.

    So, when you add a field to the Sales Line table, and you want that to be copied to the invoice line, all you need to do is copy the field from the Sales Line table, and paste it in the Sales Invoice Line table. The existing TransferFields should take care of your field automatically.

  • AXBOY Profile Picture
    625 on at

    Thank you it worked

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 518 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 362 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 327 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans