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.
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.
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?
Hi, I tested it, and it works.
Get: api.businesscentral.dynamics.com/.../GeneralJournals
Post: api.businesscentral.dynamics.com/.../GeneralJournals
Body:
As the error message suggests, you should have missed the Gen. Journal Template ("Journal_Template_Name").
Hope this helps.
Thanks.
ZHU
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??
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??
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.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,524 Super User 2024 Season 2
Martin Dráb 228,493 Most Valuable Professional
nmaenpaa 101,148