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.

No comments:

Import and Export file from BLOB storage Account(Azure) in D365 F&O using X++

  Import and Export file from BLOB storage Account in D365 F&O using X++ Import: /// <summary> /// MKInventQualityOrderLineService...