Friday 2 October 2015

AIF: Error No valid document identified from the entity key

No valid document identified from the entity key

Ax2012 : AIF Error:

The root cause for this error is, when you are trying to read or find the record, system will try to find the record, based on the query.

If your query is using more then one data source, system will try to find the records in all the related tables. If any of the related tables record is missing it will throw an error "No valid document identified from the entity key". This is because you are using the inner data source relation as "Inner Join".

Solution:

we have to change the inner data source relation to "Outer Join". then it will work.

Update NuGet package to new MS D365FO version

1. Import the NuGet package files from LCS for that particular version please take the PU version files only. a. Goto LCS-->Asset Libra...