web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    23,574 Most Valuable Professional on at
    Change G/L Code per line on a sales order
    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,340 Super User 2025 Season 2 on at
    Change G/L Code per line on a sales order
     
    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,089 Super User 2025 Season 2 on at
    Change G/L Code per line on a sales order
    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
    92,831 Super User 2025 Season 2 on at
    Change G/L Code per line on a sales order
    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,511 Super User 2025 Season 2 on at
    Change G/L Code per line on a sales order
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,275

#2
Sumit Singh Profile Picture

Sumit Singh 2,677

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,526

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans