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