web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

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

(0) ShareShare
ReportReport
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????

I have the same question (0)
  • Nitin Verma Profile Picture
    21,698 Moderator 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

  • Jassi Gill Profile Picture
    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
    21,698 Moderator 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.

  • Suggested answer
    Jassi Gill Profile Picture
    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.

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

    Thank you for sharing workaround.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,553

#2
Sumit Singh Profile Picture

Sumit Singh 2,057

#3
YUN ZHU Profile Picture

YUN ZHU 1,915 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans