Hello,
i'm trying to fix a script from an entity event, which used to work before Creatio 8,
i need to compile the entity that hold it but there is an error i can't figure out :
on this line :
var IsChangedUsrFraisDePortHT = Entity.GetChangedColumnValues().Any(col => col.Name == "UsrFraisDePortHT");
i got that error message after publishing :
'IEnumerable<EntityColumnValue>' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'IEnumerable<EntityColumnValue>' could be found (are you missing a using directive or an assembly reference?)
how should i process please ?
Best regards
Patrice
Like
2 comments
17:48 Feb 28, 2024
i maybe found a workaround with code from this page : https://customerfx.com/article/adding-code-to-listen-for-entity-events-…
02:39 Mar 04, 2024
Hi,
Verify that the assembly containing the Any extension method is referenced in your project.
Make sure the assembly package checkbox is not checked. It may need to be unchecked and rechecked to verify if the website compiles.
Show all comments