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...
Active Discussion

The Gen. Journal Template does not exist. Identification fields and values: Name=''

(0) ShareShare
ReportReport
Posted on by 42

Hi

Getting below error while inserting gen. Jornal form web services any idea??

"The Gen. Journal Template does not exist. Identification fields and values: Name=''.

Same journal i am able to insert wiht API page.

  • Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    You need to give a valid value for the Gen.Journal Template field. That can not be empty because it is part of the primary key of the journal line table.

  • YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at

    Hi, if you publish General Journal (39, Worksheet) page directly in Web Service, it's not the same code as the API page.

    Personally, I recommend using API page because it has better performance.

  • Mohd Anas Profile Picture
    42 on at

    Hi YUN,

    I tried with the API page and it's working but what could be the reason why it's not working with the 39 pages directly if you know??

  • Mohd Anas Profile Picture
    42 on at

    Hi YUN,

    I tried with the API page and it's working but what could be the reason why it's not working with the 39 pages directly if you know??

  • YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at

    Hi, I tested it, and it works.

    pastedimage1666592393058v1.png

    Get: api.businesscentral.dynamics.com/.../GeneralJournals

    pastedimage1666592549982v2.png

    Post: api.businesscentral.dynamics.com/.../GeneralJournals

    Body:

    {
       "Journal_Template_Name""GENERAL",
       "Journal_Batch_Name""DEFAULT",
       "Line_No"30000,
       "Posting_Date""2022-04-11",
       "Document_No""221024",
       "Account_Type""Customer",
        "Account_No""10000"
    }

    pastedimage1666592695932v3.png

    pastedimage1666592722129v4.png

    pastedimage1666592740704v5.png

    As the error message suggests, you should have missed the Gen. Journal Template ("Journal_Template_Name").

    Hope this helps.
    Thanks.

    ZHU

  • GaneshN Profile Picture
    5 on at

    I am also having similar issue. But I need to use the OData 4 Web Service page 39 option only. Since we have several customers who are using ODATA 4 web service for page 39, so we can't migrate to API page. We need to resolve this issue for this one customer who is getting this error for some reason even when the Gen. Journal Template exists.  

    Could you please help with this?

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 2,155 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,043 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 955 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans