AX Error: “Update Patch of AX unable to find a record”
book
Article ID: KB0076550
calendar_today
Updated On:
Products
Versions
TIBCO Cloud Integration - Connect ( Scribe )
-
Description
When updating the CustomerPostalAddress with details and using UpdatePatch block with the matching criteria(e.g AddresslocationId). Below error is encountered:
“Error in calling Operation Update Patch: Operation returned no results. Label: Update Patch CustomerPostalAddresses, Name: CustomerPostalAddressesUpdatePatch”
We could Query, Fetch and Lookup using the same criteria of AddressLocationId to retrieve records from CustomerPostalAddress but UpdatePatch fails
Resolution
If any DateTime field is a primary key for a entity then in matching criteria we have pass all the primary keys.
Here, we are using CustomerPostalAddress entity. Primary fields of this entity are: