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...
Suggested Answer

Custom Field to add in Line Items

(0) ShareShare
ReportReport
Posted on by 150

how to to add custom field(column) to sales doc lines? We've been wanting to add another column for Shipping Cost, we tried the charge Item, but the shipping amount was equally distributed and we can't change it. So we think having a custom field would solve this.

I have the same question (0)
  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi

    Just as a suggestion. Can you use G/L in SO and add the shipping charge? Like create one line as G/L in SO, select needed G/L (such as outbound shipping) , QTY 1,  then enter the shipping charge? When you ship that line it will add to invoice and selected G/L but will not distribute charge between items.

    If you have a warehouse I suggest you see Alfonso suggestion here

    community.dynamics.com/.../freight-charge-on-sales-order

  • Kae Profile Picture
    150 on at

    Hello MahGah,

    So instead of creating another line, is there any other option to do this by means of the column?

  • Dallefeld Profile Picture
    211 User Group Leader on at

    It's really not going to work to have dollars in a column on the sales lines. You would have to program how these amounts would post, how they affect the total AR, etc.

    Item charge distributes to the individual lines but even then it does the dollar distribution upon posting at the value entry level not to the sales lines.

    Can I ask what you are trying to accomplish?

  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi

    As Kim mentioned the column will add a lot more complication to the whole process.  Kim asked a great question. That can help us to understand your view better. 

  • Suggested answer
    YUN ZHU Profile Picture
    95,681 Super User 2025 Season 2 on at

    Hi, As Kim said, this is not something that can be done simply by adding a column.

    But if you want to add columns, you can refer to the following example.

    pastedimage1649378554530v1.png

    pastedimage1649378560775v2.png

    TableExtension: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-table-ext-object

    PageExtension: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-page-ext-object

    Hope this also helps.

    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,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans