fake-xrm-easy icon indicating copy to clipboard operation
fake-xrm-easy copied to clipboard

Added DeleteRecordChangeHistoryRequest Fake executor for Shared project.

Open victorsolaya opened this issue 4 years ago • 3 comments

Title

Added DeleteRecordChangeHistoryRequestTest Fake executor for Test Shared project.

Description

It has been included a quick fake DeleteRecordChangeHistory to fake the message in the Shared Projects. It has been created a DeleteRecordChangeHistory_Tests as well in the SharedTest project.

victorsolaya avatar Jan 08 '21 20:01 victorsolaya

Hi @jordimontana82 I am having some errors because DeleteRecordChangeHistory was added in the v9.0.1.0

9.0.1.0: UR1 (Update Rollup 1)
   Added DeleteRecordChangeHistory message to delete audit change history for a particular record

How could I say to my tests not to include this if it doesn't exist? Do you have any example? CC @BetimBeja just in case you had the same issue before and you could help me.

victorsolaya avatar Jan 08 '21 22:01 victorsolaya

I made a PR victorsolaya/fake-xrm-easy#1 to your repository which will update this PR if merged. Each build of FakeXrmEasy defines a symbol for the dependency it has on the specific version of the CrmSdk. When there are braking changes we can use those symbols in the #if directives to handle the missing dependencies.

BetimBeja avatar Jan 09 '21 07:01 BetimBeja

Thanks both for this.

jordimontana82 avatar Jan 14 '21 23:01 jordimontana82