Many ways to validate a field in AL and Business Central

  Рет қаралды 6,472

Erik Hougaard

Erik Hougaard

Күн бұрын

Пікірлер: 18
@BlackTigerAP
@BlackTigerAP 3 жыл бұрын
There are special "10 hours" and "24 hours" videos on KZbin... :D Very good to watch before going to sleep. Very hypnotizing.
@cesarverduzco3903
@cesarverduzco3903 11 ай бұрын
Amazing explanation! Thank you! I love the examples, many other videos just explain with theorical things.
@denisshitov7221
@denisshitov7221 3 жыл бұрын
Interesting video, Erik. Thanks a lot.
@klauskaan6320
@klauskaan6320 3 жыл бұрын
Bonus content! I love me some late night bonus content!!!!!
@yahyahussaini
@yahyahussaini 25 күн бұрын
Hello Erik, I would like to know if it is possible to call an external API to fetch a discount and populate the line discount percentage when an item is added to the sales invoice line. what trigger or code unit should i use in business central. Waiting for your response. Thanks
@romulusmare
@romulusmare 4 ай бұрын
Thank you Erik!!!! One question though, how do you display the red field error icon when the validation fails? User enters invalid data and error() function will only stop the execution and display on top the error message, but actual BC validation has a red field error icon that gets display when say you enter "abc" in a phone number field which accepts only digits...
@Hougaard
@Hougaard 4 ай бұрын
That's when it's a "field validation error"....
@michaelkraithat4852
@michaelkraithat4852 3 жыл бұрын
Hi Erik, Great video like always, i have a valid question. will you do a video on Customer and Item template where you need to add more fields into the template for auto population and transfer it to the customer / item card. If you can show this one would be Awsome!
@hmarinov
@hmarinov 3 жыл бұрын
Thanks a lot for the detailed video, Erik! I find it especially useful for a newcomers to BC and also really curious to find out on what depends the order of the extensions of the different apps. I just couldn't get what advantages do you find in using Table Extensions triggers, except that you have all the code in one place? In our company we usually use Table Subscribers, so that's why I'm curious what advantages do you find of Table Extension triggers over Table Subscribers?
@brianthorchristensen5076
@brianthorchristensen5076 3 жыл бұрын
I believe that event subscribers are executed in a different session. So there could be scenarios where you would choose your approach for this reason. But if you are calling your validate trigger by code repeatedly and you are not using a single instance event handler, you can get a performance hit from creating and destroying the event session/codeunit.
@Hougaard
@Hougaard 3 жыл бұрын
Subscribers are not executed in a different session, they are executed in the session that triggers them.
@Maly_Suk
@Maly_Suk Жыл бұрын
Hey, im trying to do some code onaftervalidate of standart page field. Page extends SalesCreditMemo, layout->modify("Sell-to Customer No.")-> trigger OnAfterValidate() ->CODE the problem is it never realy triggers when i change customer on this page..Even debbuger does not work on this trigger.. Code has to do diffrent things for invoice and for CR MEMO. So i can not use trigger on table. Any ideas?
@Hougaard
@Hougaard Жыл бұрын
You're sure you're extending the right page?
@navnav3134
@navnav3134 2 жыл бұрын
Dear @eric, Is there any way to validate on all fields without add trigger on validate on each field? Best Regards, NAV
@Hougaard
@Hougaard 2 жыл бұрын
No
@RaoufIshak
@RaoufIshak 3 жыл бұрын
Hey Mr Erik Hougaard , is There any possibility to use javascript and make a progress bar to ratio field iam trying and couldn't find any solution is there any possibility to help thank you
@Hougaard
@Hougaard 3 жыл бұрын
perhaps....
@RaoufIshak
@RaoufIshak 3 жыл бұрын
@@Hougaard any solution or idea 💡?
Mandatory Fields in AL and Business Central
25:20
Erik Hougaard
Рет қаралды 4,2 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
FlowFields, the superpower inside Business Central.
25:45
Erik Hougaard
Рет қаралды 10 М.
Use RecordRefs to create a Search App in Business Central
29:10
Erik Hougaard
Рет қаралды 4,5 М.
ELI5 Create a new table in Business Central with AL
45:34
Erik Hougaard
Рет қаралды 5 М.
What PageType should I use when in AL and Business Central
32:48
Erik Hougaard
Рет қаралды 4,1 М.
The Return of Procedural Programming - Richard Feldman
52:53
ChariotSolutions
Рет қаралды 64 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Do you know what a QueryCategory is?
14:52
Erik Hougaard
Рет қаралды 1,8 М.
Halloween is coming
0:12
Younes Zarou
Рет қаралды 3,4 МЛН
КОРОЧЕ ГОВОРЯ, НЕДЕЛЯ БЕЗ ТЕЛЕФОНА
3:54
The Million view clip on China's Tiktok P2428 #shorts #gochannel
0:15
Go Channel TV
Рет қаралды 29 МЛН
The Million view clip on China's Tiktok P2428 #shorts #gochannel
0:15
Go Channel TV
Рет қаралды 29 МЛН
🪄Вечная спичка #diy #выживание #поход
1:00
Короче, ВИ
Рет қаралды 2,8 МЛН