Skip to main content

Notifications

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

Posted on by 560

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 
  • 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
    DAnny3211 9,264 Super User 2024 Season 1 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
    Manan_Shah 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans