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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

How to write data to VendInvoiceJourHeaders using web api or postman?

(0) ShareShare
ReportReport
Posted on by 10

I am using postman to create a record in VendInvoiceJourHeader in D365 but getting following error. 

 : "message": "Write failed for table row of type 'KT_VendInvoiceJourEntity'. Infolog: Warning: Matching record for the read only data source 'VendInvoiceJour' does not exist." 

When I talked with the D365 consultant in the office , he replied following message to me.

"From the application point of view, the Vendor invoice journal tables are not supposed to be written by systems outside of D365. The records created were resulted from posting an AP invoice which is a process triggered within D365.Hence it is not a surprise that you can’t write to this table through OData."

I have a buiness need where in both VendInvoiceJourHeader  and VendInvoiceJourLines recods needs to be inserted using a web api. 

Can anyone explain what is missing here/what exactly needs to be done inorder to export data into D365 > VendInvoiceJourHeader  and VendInvoiceJourLines

I have the same question (0)
  • Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Nalini,

    You created the question in the dynamic CRM form. I do not think it should be there. Are you facing the issue in the Dynamic 365 Customer Engemebnt or in the Power Platform?

    pastedimage1671325001501v1.png

  • Nalini Profile Picture
    10 on at

    Sorry, I am new to this platform so was not fully aware where I can choose forum on the form. Thank you for adding the screenshot. 

    In D365 UI I see "Finance and Operations"  and URL to access is xxxxxx-ut2.sandbox.operations.dynamics.com/

    Main issue is still there.. I need to create a record in both VendInvoiceJourHeaders and VendInvoiceJourLines using a web api but it gives following error. 

     : "message": "Write failed for table row of type 'KT_VendInvoiceJourEntity'. Infolog: Warning: Matching record for the read only data source 'VendInvoiceJour' does not exist." 

    Thanks

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 123

#2
Hamza H Profile Picture

Hamza H 112 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans