AL icon indicating copy to clipboard operation
AL copied to clipboard

Event when a field is set without validation

Open Joerio opened this issue 7 years ago • 1 comments

When a field is set in code without using the validate trigger there is no event to handle this. The only way to handle this now is using the Modify events on the table itself.

Is there an event or is an event planned like this? Can we use the OnAfterValidate event even when there is no Validate called for a field somehow? Maybe with an extra parameter if the validate trigger is actually called or if the field is set directly.

I could imagine a solution like the property getters and setters we have in C# which we can implement for every field in the database.

Joerio avatar Dec 12 '18 09:12 Joerio

Hi @Joerio! We do not have any plans in this area at the moment.

You should share your idea on Business Central - Ideas so that it gets noticed by other partners or planned for implementation.

You can also try posting your question to the following resources: Business Central Community mibuso forum Dynamics User Group

I recommend that you read this blog post: https://community.dynamics.com/business/b/financials/archive/2018/12/04/find-the-right-resources-and-provide-feedback so that you can easily find the right place for your questions and ideas.

atoader avatar Dec 12 '18 12:12 atoader