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 :
Microsoft Dynamics NAV (Archived)

NAV 2017 Error : Source Code must have a value in gen. journal line. Journal Template Name=Sales, Journal Batch Name=DEFAULT, Line No.=2.It cannot be zero or empty.

(0) ShareShare
ReportReport
Posted on by 255

Hi,

I received the following erorr when I tried to import opening sales invoice to NAV.

"Source Code must have a value in gen. journal line. Journal Template Name=Sales, Journal Batch Name=DEFAULT, Line No.=2.It cannot be zero or empty."

Below is the screenshot of the Excel Template which I populated with 2 rows of data for testing.1856.Capture.PNG

Any idea?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Check whether you have selected source code on Journal Template.

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at

    hi ,

    on your lines there is one field or more than one on your "source code" are may missing or not match with on your categories

    Check it ...

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Please check for Gen. Journal Template SALES as source code setup.

  • Saifudin Profile Picture
    255 on at

    Where and how to check the source code? I have no idea.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Search for General Journal Templates, then on that page for SALES make sure you have the source code column has value, if not please select a value usually it will be SALESJNL.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    In General journal templates search for SALES templates and put source code in fields.

  • RUNNEUSEGES Profile Picture
    35 on at

    i  had this probleme

    in the general templates, for genéral, i have a source code, so i don't see why i have this message

    i use OPENBAL for opening balance

    thanks

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans