Skip to main content
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.

  • Suggested answer
    YUN ZHU Profile Picture
    85,978 Super User 2025 Season 1 on at
    RE: Custom Field to add in Line Items

    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

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Custom Field to add in Line Items

    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. 

  • Dallefeld Profile Picture
    175 User Group Leader on at
    RE: Custom Field to add in Line Items

    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?

  • Kae Profile Picture
    150 on at
    RE: Custom Field to add in Line Items

    Hello MahGah,

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

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Custom Field to add in Line Items

    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

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans