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

Value that cannot be found in the related table while inserting data into Item Journal Line from API using Postman

(0) ShareShare
ReportReport
Posted on by 558

I have developed a custom API Page for Item Journals and I tried to insert data to the Item Journal Line using Postman. There I got the following error

"The field Journal Batch Name of table Item Journal Line contains a value (DEFAULT) that cannot be found in the related table (Item Journal Batch).
pastedimage1670321298536v2.png
Any help would be appreciated
Regards,
Tamilarasu Arunachalam 
  • Tamilarasu Arunachalam Profile Picture
    558 on at
    RE: Value that cannot be found in the related table while inserting data into Item Journal Line from API using Postman

    Hi Manan,

    I already have the value default in the Item Journal Batch table.

    pastedimage1670324288017v1.png

    Anyways Thanks for your help

    Regards,

    Tamilarasu Arunachalam

  • Suggested answer
    DAnny3211 Profile Picture
    9,274 Moderator on at
    RE: Value that cannot be found in the related table while inserting data into Item Journal Line from API using Postman

    Hi

    means that you must enter the DEFAULT value in the Item Journal Batch table, but it is not present now

    DAniele

  • Verified answer
    Manan_Shah Profile Picture
    1,457 on at
    RE: Value that cannot be found in the related table while inserting data into Item Journal Line from API using Postman

    Hi Tamilarasu,

    Please check weather Item Journal Template have batch Name as "DEFAULT". 

    Please follow below steps to check it. 

    1) Search for Item Journal Template. 

    pastedimage1670322846683v1.png

    2) Click on Related then click on Template under it you can find it's Batches. 

    pastedimage1670322912662v2.png

    pastedimage1670322932318v3.png 

    If there is no Batch then you need to create it. As Default. 

    Hope this help. 

    Many Thanks,
    Manan

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,043 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,864 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans