Hello,
I have created new excel template, which I want to use to insert lines into Hour journal. When I open that template, I can see records, that are already inserted in the journal using "Refresh" in add-in. I am even able to update those lines, for example change some fields in those lines and then publish them. BUT when I want to publish some new created lines, I got error:
'Write failed for table row of type 'ProjJournalTransEntity'. Infolog: Warning: Matching record for the read only data source 'ResourceView' does not exist.'
Does anyone has any idea, please, where the problem might be? I have tried to debug it, but the only thing I have found out is that it throws error in persister class of the data entity, where it checks the conflict for read-only data source.
Thanks, Fachuh
Thank you! It worked!
Hi Fachuh,
When you leave it blank it might be fetching the Resource Id values from the journal header. Please check the journal you adding lines to and if it has Resource filled in under "Default values" tab.
If you are trying to specify an existing resource Id (or even your resource Id), are you specifying values in the "ResourceCompanyId" field as well? Resource values will be fetched based on both of these fields.
Hi Gunjan,
I am specifying resource id, this field is read only. So when I try to change lines, that are already created, I can change all fields except resource id. When I want to create new line with this field resource id filled in, I get the error. BUT when I publish the new line with this field empty, it publishes the new line and the resource ID is filled automatically as my user. Although when I want to publish new line with my user as resource ID, I get the error.
Hi Fachuh,
Are you specifying the resource Id and Resource legal entity in the import file? If yes, have you verified they exist in the legal entity where you are importing the project journal lines?
Hi Gunjan,
I am using Installed product version : 10.0.24 (10.0.1084.80)
Hi Fachuh,
What version of Dynamics 365 F&O are you on?
Martin Dráb
487
Most Valuable Professional
Abhilash Warrier
310
Saalim Ansari
291