Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Document No. must have a Value in Gen. Journal line

(1) ShareShare
ReportReport
Posted on by 130
This Error is coming at the time of Posting a Sales Order in the System.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 76,911 Super User 2025 Season 1 on at
    Document No. must have a Value in Gen. Journal line
    If you have trouble finding the problem, it is recommended to ask a developer to debug it.
     
    Thanks.
    ZHU
  • Suggested answer
    Jun Wang Profile Picture
    Jun Wang 7,503 Super User 2025 Season 1 on at
    Document No. must have a Value in Gen. Journal line
    It is likely that the general journal template or batch hasn't been set up correctly/fully. You could go to the below page to check if no series is missing and check the batches if the value is missing. 
     
     
    If all setup is correct, there might another place asking for the default no. series but it has not been populated. 
  • gdrenteria Profile Picture
    gdrenteria 13,653 Most Valuable Professional on at
    Document No. must have a Value in Gen. Journal line
    Hi
    According to our colleague, you can test it on a new document, or validate that it does not occur in another order.
    By any chance, do you have any development around these functionalities?
    Best
    GR
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 25,642 Super User 2025 Season 1 on at
    Document No. must have a Value in Gen. Journal line
    It might be worth creating a new sales order with the same information and posting that one if the error persists and the suggestions below haven't worked. Or, do you encounter this error message on all orders?
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 7,593 Super User 2025 Season 1 on at
    Document No. must have a Value in Gen. Journal line
  • Ahmad Subhani Profile Picture
    Ahmad Subhani 130 on at
    Document No. must have a Value in Gen. Journal line
    I have checked
    In the Inspection Page the Posting Number series is attach
     
    Sales invoice and posted sales invoice number series is different.
    But i am facing the error regarding
    "Document No. must have a Value in the General Journal Line"
     
    Any Idea?
  • gdrenteria Profile Picture
    gdrenteria 13,653 Most Valuable Professional on at
    Document No. must have a Value in Gen. Journal line
    Hi
    Are you running a shipment or an invoice?
    Could you check the call stack and see more details of the error?
     
    Best
    GR
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 76,911 Super User 2025 Season 1 on at
    Document No. must have a Value in Gen. Journal line
    Hi, hope the following helps as well.
    Dynamics 365 Business Central: Manual number for Posted Sales invoice and Posted Purchase invoice (Use the same number in Sales Order and Posted Sales Invoice?)
     
     
    Thanks.
    ZHU
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 25,642 Super User 2025 Season 1 on at
    Document No. must have a Value in Gen. Journal line
    I agree with KasparsSemjonovs, I would check if you have a value in the posting no. series field. You can check in the page inspection pane:
     
     
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 7,593 Super User 2025 Season 1 on at
    Document No. must have a Value in Gen. Journal line

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans