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

SO Posting Error: Document No. must have a value in Gen. Journal Line: Journal Template

(1) ShareShare
ReportReport
Posted on by 4
Hi All,
 
I get this error when I try to post a sales order.
Document No. must have a value in Gen. Journal Line: Journal Template Name=, Journal Batch Name=, Line No.=0. It cannot be zero or empty.
 
I checked with different items and customers, but it's the same.  Could you kindly help me to resolve this? Thanks in advance.
 
SO Error.png
I have the same question (0)
  • Suggested answer
    Pallavi Phade Profile Picture
    4,157 on at
    Namaste @Hasi-K
     
    Ensure Posting No series for invoice and Shipment is setup in Sales Recievables setup or Posted No series Setup. IF posting number is blank system would have given other error
     
    It seems some customization done after posting .  Can you please check cusotmizations done . 
     
     
    Warm Regards
    Pallavi Phade
    www.linkedin.com/in/pallaviphade131116
  • Hasi-K Profile Picture
    4 on at
    Hi Pallavi,
    Thank you very much for your reply. I checked the posting no series as you suggested and they seem to be ok (please see the image). I'm unsure about the customizations and I'll check it too. Thank you!
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,838 Super User 2025 Season 2 on at
    It is usually caused by missing No. Series setup or custom code inserting journal lines without assigning Document No.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,838 Super User 2025 Season 2 on at
    @Hasi-K I have just seen your screenshot. Could you please check if there is any custom code related to the Sales Order? If any custom extension is installed, try removing it and then check again.

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

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 675 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 665 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans