Hi Community,
In mobile we need to add validation in delete event. In the business rule only "Terrasoft.BusinessRuleEvents.ValueChanged" and "Terrasoft.BusinessRuleEvents.Save" is available. Any idea how we can set validation on record delete event?
Like
Hi Fulgen,
Please refer to the following article:
https://academy.creatio.com/docs/developer/back_end_development/objects…
There you can find the description of the Terrasoft.Core.Entities.Events.BaseEntityEventListener class that provides the handler methods of various entity events.
To find some examples, you can run the following script in the database:
SELECT * FROM "SysSchemaSource" WHERE "Source" LIKE '%OnDeleting%'
It will show you schemas that use the OnDeleting handler method.
Best regards,
Max.
Max,
Any example in mobile client side? The same manner as how these two works in mobile business rule:
"Terrasoft.BusinessRuleEvents.ValueChanged" and "Terrasoft.BusinessRuleEvents.Save"