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.

  • GaneshN Profile Picture
    5 on at
    RE: The Gen. Journal Template does not exist. Identification fields and values: Name=''

    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?

  • YUN ZHU Profile Picture
    78,972 Super User 2025 Season 1 on at
    RE: The Gen. Journal Template does not exist. Identification fields and values: Name=''

    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

  • Mohd Anas Profile Picture
    42 on at
    RE: The Gen. Journal Template does not exist. Identification fields and values: Name=''

    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
    RE: The Gen. Journal Template does not exist. Identification fields and values: Name=''

    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
    78,972 Super User 2025 Season 1 on at
    RE: The Gen. Journal Template does not exist. Identification fields and values: Name=''

    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.

  • Inge M. Bruvik Profile Picture
    999 Moderator on at
    RE: The Gen. Journal Template does not exist. Identification fields and values: Name=''

    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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,020 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,837 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans