Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

AIF Update Operation Error: No valid document identified from the entity key.

$
0
0

Hi,

 

I have created a document service based on a query with the following data sources:

CustTable -> DirOrganization -> PartyLocation -> LogisiticsLocation -> LogisticsPostalAddress (all inner joins except an outer join for DirOrganization -> PartyLocation)

When I try to issue an update operation against the AIF service, I receive the following error:

No valid document identified from the entity key.

I'm using CustTable.AccountNum as the EntityKeyField.

Upon debugging the service code, the error is produced in the method, AxdBaseUpdate.buildStructuredDocumentEntityKey(). The line  this.buildStructuredDocument(_localQuery) results in a NULL 'document'. 

I'm not sure why the above line doesn't return a result? Looking at _localQuery the conditions and joins seem correct and should return a result.

Does anyone have any ideas what is causing the error? Maybe there is a problem with the query?

Thanks,

Nick

 



Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>