🌟 🌟 Actionable Errors in AL and Business Central🌟 🌟
Вставка
- Опубліковано 5 гру 2024
- With Business Central 2023 wave 2 AL developers can now provide users with Actionable errors. See how you can build sleeker errors too!
I am demoing 3 use cases:
on customer card when City is blank, OnValidate has code to signal the user that City cant be blank and the user can "Show Cities"
on customer card, when Post Code is blank, and only one record exist for the current City in Post Code table, the error triggered by OnValidate is Post Code cant be blank, and an action to Set Post Code to the value in the unique record
on customer card when Post Code is blank and there are more than 2 records for the current City in the Post Code table, the error triggered by OnValidate is the Post Code cant be blank and an action to Show all Post Codes for current City. The selected Post Code will be passed in the field on customer card.
If you want to see the entire extension, check my repository here:
github.com/Sil...
Microsoft documentation:
learn.microsof...
Subscribe to my UA-cam channel: / @businesscentralmusings
Follow my blog for BC Tips: www.svirlan.com
Follow me on Twitter: cutt.ly/BCTips...
Follow me on LinkedIn: cutt.ly/BCTips...
Get my book ⬇
🔆 Beyond the Ledgers: Cutting-edge data insights with Business Central and AI
leanpub.com/BC...