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...
Unanswered

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.

I have the same question (0)
  • Inge M. Bruvik Profile Picture
    1,111 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
    95,729 Super User 2025 Season 2 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
    95,729 Super User 2025 Season 2 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

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

#2
YUN ZHU Profile Picture

YUN ZHU 867 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans