Closed valredr closed 1 year ago
Hi Valres,
You're likely trying to update an entity record that wasn't initialised (doesn't exist in the In-Memory) database, hence the error.
Please call .Initialize() method first.
Also, this repo is for a version that is deprecated. The newer versions (>= 2.x) live on DynamicsValue/fake-xrm-easy and they require a commercial license for consulting projects that don't want to disclose their source code for the benefit of the community.....
Here's more info (second link below explains the Initalize method and testing with data):
https://dynamicsvalue.github.io/fake-xrm-easy-docs/quickstart/migrating-from-1x/
https://dynamicsvalue.github.io/fake-xrm-easy-docs/quickstart/testing-with-data/
Please find below the code
Code Activity sample below
When i run the test in the code activity when service.update is called it gives error that logical name does not exist