ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Interfaces in Business Central: Enums, Testing, and Extensions

Автор: Stefan Maron

Загружено: 2024-10-13

Просмотров: 431

Описание: Interfaces in AL cause confusion even for experienced Business Central developers, so this stream does a full walkthrough from first principles to production patterns. Starting with the basic contract concept — declaring an interface, implementing it in a codeunit, and using an interface-typed variable — you can see exactly why the "Interface not initialized" error happens and how to avoid it.

The enum + interface combination is where things get practical. Using DefaultImplementation and UnknownValueImplementation on extensible enums removes scattered case statements from your codebase entirely. Any extension can add a new enum value with its own implementation without touching your app, and the runtime resolves the correct codeunit automatically. The stream also covers the testability angle: extracting logic behind an InvoiceCreator interface lets you pass a FakeInvoiceCreator in AL unit tests, verifying orchestration logic without any database preconditions.

The session also looks at real examples from the BC base application — the Email Connector interface in the System Application — and covers the interface extension syntax introduced in BC v25, which lets you add procedures to a published interface without breaking existing implementors.

Streaming all kinds of coding for Microsoft Dynamics 365 Business Central.
Join me to just hang out or tell me what I am doing wrong ;)

Join me live and let's build this together.

📝 Blog post: https://stefanmaron.com/posts/interfa...

====== Content of this Video ======
0:00 - Introduction and Audio Setup
1:39 - Overview of Interfaces in Business Central
2:32 - Creating a Basic Car Code Unit
4:19 - Introducing the Vehicle Interface
5:58 - Setting Up a Test Page Extension
8:03 - Implementing the Vehicle Interface
10:00 - Initializing and Using Interfaces
13:57 - Using Enums with Interfaces
16:56 - Creating a Setup Page for Vehicle Selection
20:48 - Default and Unknown Value Implementations
24:52 - Advanced Use Cases for Interfaces
28:59 - Creating a Sales Invoice Example
31:31 - Breaking Down the Invoice Creation Process
34:48 - Creating a Fake Invoice Creator for Testing
37:32 - Overloading and Default Implementations
39:06 - Creating Interfaces for Individual Functions
41:33 - Factory Pattern and Customizable Behavior
42:44 - Exploring Interfaces in Base Application
45:29 - Extending Interfaces in BC v25
46:46 - Conclusion and Q&A

About Me:
https://stefanmaron.com/

Music by:
   / @streambeatsbyharrisheller  
https://open.spotify.com/artist/6GTRL...

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Interfaces in Business Central: Enums, Testing, and Extensions

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

What Are Table Keys in Business Central AL?

What Are Table Keys in Business Central AL?

AppSource Entitlements in Business Central: Plans, Permissions & S2S

AppSource Entitlements in Business Central: Plans, Permissions & S2S

AI-Generated Docs and Alert Improvements for BusinessCentral.Sentinel

AI-Generated Docs and Alert Improvements for BusinessCentral.Sentinel

🌹 Deep House Obsession 24/7 • Emotional Chill House Live Radio | Rose Afterhours

🌹 Deep House Obsession 24/7 • Emotional Chill House Live Radio | Rose Afterhours

AL Development using Claude Code - The Business Central Coding Stream

AL Development using Claude Code - The Business Central Coding Stream

Claude Code in a Standalone Docker Container: Building a Real Sandbox (Part 2)

Claude Code in a Standalone Docker Container: Building a Real Sandbox (Part 2)

Best of Deep House [2026] | Melodic House & Progressive Flow

Best of Deep House [2026] | Melodic House & Progressive Flow

Soft Rose Aura 4K Background Loop - Warm Pink Gradient for Professional Videos

Soft Rose Aura 4K Background Loop - Warm Pink Gradient for Professional Videos

How to #msdyn365bc

How to #msdyn365bc

AL-Go Repository Setup for Business Central: From Template to First Release

AL-Go Repository Setup for Business Central: From Template to First Release

Почему AI генерит мусор — и как заставить его писать нормальный код

Почему AI генерит мусор — и как заставить его писать нормальный код

Двигатель Стирлинга: обогнать паровой век и покорить космос

Двигатель Стирлинга: обогнать паровой век и покорить космос

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

Война в Иране пошла НЕ по плану: США СНИМАЮТ САНКЦИИ с России?!

Война в Иране пошла НЕ по плану: США СНИМАЮТ САНКЦИИ с России?!

Deep House Mix 2024 | Deep House, Vocal House, Nu Disco, Chillout Mix by Diamond #3

Deep House Mix 2024 | Deep House, Vocal House, Nu Disco, Chillout Mix by Diamond #3

ALCops: LinterCop's Successor for Business Central AL Code Analysis (feat Arthur van de Vondervoort)

ALCops: LinterCop's Successor for Business Central AL Code Analysis (feat Arthur van de Vondervoort)

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Real-Time Chat App as a Beginner (Socket.io Rooms + Join Room) — Part 3

Real-Time Chat App as a Beginner (Socket.io Rooms + Join Room) — Part 3

Владимир Боглаев.

Владимир Боглаев. "У ИРАНСКОЙ ВОЙНЫ БУДУТ ПОСЛЕДСТВИЯ ДЛЯ РОССИИ И УКРАИНЫ".

What's new in AL - Interfaces

What's new in AL - Interfaces

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]