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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Change G/L Code per line on a sales order

(0) ShareShare
ReportReport
Posted on by 19
Is there a way to amend the G/L code associated to a specific line on a sales order like we could do on our previous system?
 
Thanks!
 
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
    Hi
    What can't you do? Why do you say it doesn't allow you? Is it a sales order that's already been sent or invoiced? Please provide more information.
    Best
    GR
  • Mohamed Amine Mahmoudi Profile Picture
    26,801 Super User 2026 Season 1 on at
     
    I don't think it's a good idea to change the G/L code.
     
    BR,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,169 Super User 2026 Season 1 on at
    Maybe this will help clarify things.
     
    In Business Central, Sales Order Lines post to G/L accounts based on the Sales Posting Group or Item Posting Group, not directly via a G/L code field.
     
    Options if you need per-line G/L control:
     
    1. Use G/L Account as the line type:
     
    Change the Type field to G/L Account on that sales line.
     
    Then you can choose any G/L Account manually for that line.
     
     
     
    2. For items/resources, the G/L account is controlled by setup (Sales Posting Group). If you need flexibility per line, consider:
     
    Customization
     
    Or use General Journal for such specific postings instead.
     
     
     
     
    Mark below checkbox to make this answer Verified if it helps you. 
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    As far as I know, this was not possible in the past.
    You can manually modify the posting group, although this is not recommended.
    Or you can try the following new feature:
    Business Central 2023 wave 2 (BC23): Use different general ledger accounts for payables, receivables (Change default customer/vendor posting group)
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,547 Super User 2026 Season 1 on at
    Can you please help us understand when you amend GL code associated specific line. Do you mean while creating sales order? As GL entries are associated with posting group and its not good ideal to change setup
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans