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:

How to Get Trade Agreement Line Discount Percentage by Item and Date in D365FO Using X++

  In Microsoft Dynamics 365 Finance and Operations (D365FO), trade agreements are used to manage prices and discounts for customers, vendor...