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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans