Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

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

Posted on by 5

I am new to this.

I am trying to create a workflow that will add journal lines in business central journal template "TEST". I am using workflowendpoint for that in API Category.

pastedimage1655266202463v1.pngpastedimage1655266277836v2.png

The error says that Name='' is empty value thus cannot find a Journal Template for that value. 

However, in the power automate flow there is no field named "Name"

The only reference to the Journal Batch Name is Journal Batch ID, which I have given. 

pastedimage1655266392559v3.png

Anyone can help?

Where can I add a template name to let the flow know which template do I want to send the values to????

  • Verified answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: ErrorCode: Internal_RecordNotFound The Gen. Journal Template does not exist. Identification fields and values: Name=''

    Thank you for sharing workaround.

  • Suggested answer
    Jassi Gill Profile Picture
    Jassi Gill 5 on at
    RE: ErrorCode: Internal_RecordNotFound The Gen. Journal Template does not exist. Identification fields and values: Name=''

    I had to use a work around.

    I used create record (with v2.0 api) - created the record with missing dimension codes (v2.0 table "Journal Lines" is limited fields)

    Then used update record (with API workflowendpoints) - to update the the record with dimension codes

    It is weird that update record with API workflowendpoints does have a field to end template name, whereas add record for the same API does not.

  • Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: ErrorCode: Internal_RecordNotFound The Gen. Journal Template does not exist. Identification fields and values: Name=''

    Hi,

    Those are normal fields, it must be visible like other fields you are using, and those are mandatory to give. Can you please check how you are getting other fields in the same way those two fields should be available?

    Thanks.

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

    Thanks for your reply. I am using power automate. I do have the values for Journal template name and batch id. My original query is that power automate flow item "update record" for BC using workflowendpoint as API, is not giving me a field value to enter a journal name or batch name. But, when failing the error states missing batch name.

    I am wondering how or where can I give the value for journal name or batch name is the flow does not have an input field for it?

  • Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: ErrorCode: Internal_RecordNotFound The Gen. Journal Template does not exist. Identification fields and values: Name=''

    Hi,

    If you go to Inspect page data of General Journal page you will find there are two different fields available to provide the template and batch name, you have provide those fields into your powerapp, see the image.

    pastedimage1655268213627v1.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans