New Release: MB-820 Exam Cram – Error Handling, RAD, Debugging, Permissions, and Application Areas

error handling, debugging, permissions

Share This Post

MB-820 Exam Cram: Error Handling, RAD, Debugging, Permissions, and Application Areas

Master Essential Developer Tools and Techniques for MB-820 Certification

Every Business Central developer needs a solid toolkit. From handling errors gracefully to debugging production issues, from setting up security to controlling what users see – these are the skills that separate good developers from great ones. Today, I’m excited to announce the eleventh book in my MB-820 Exam Cram series: Error Handling, RAD, Debugging, Permissions, and Application Areas in Business Central!

Five Essential Topics in One Guide

This comprehensive guide covers five critical MB-820 exam topics that every Business Central developer must master:

1. Error Handling with Try Functions

Learn to handle errors gracefully instead of exposing raw system messages to users:

  • TryFunction attribute – Catch exceptions in your code
  • Return value patterns – Boolean returns for success/failure
  • Database write restrictions – Critical differences between Online and On-Premises
  • GetLastErrorText() – Retrieve meaningful error information
  • Real examples from the Base Application
[TryFunction]
local procedure ValidateCustomerData()
begin
    if Customer."Credit Limit (LCY)" < 0 then
        Error('Credit limit cannot be negative');
end;

procedure ProcessCustomer()
begin
    if ValidateCustomerData() then
        Message('Customer data is valid')
    else
        Message('Validation failed: %1', GetLastErrorText());
end;

2. Collectible Errors

Implement user-friendly validation that collects multiple errors before stopping:

  • ErrorBehavior attribute – Enable error collection mode
  • ErrorInfo data type – Rich error information with field references
  • HasCollectedErrors() and GetCollectedErrors() – Process all errors at once
  • Real-world scenarios – Document posting validation patterns

3. Rapid Application Development (RAD)

Accelerate your development cycle with delta compilation:

  • The rad.json file – Configuration and usage
  • What RAD includes and excludes – Understanding the delta
  • Keyboard shortcuts – Efficient workflow
  • Limitations you need to know
  • Best practices for daily development

4. Debugging and Snapshot Debugging

Troubleshoot issues in development and production:

  • Launch.json configuration – Setting up your debug environment
  • Standard debugging – Breakpoints, watches, call stack
  • Attach and Debug Next – Connect to running sessions
  • Snapshot Debugging – Capture production issues without interruption
  • Database statistics – Performance analysis in the debugger
  • Extension deployment – Dev, test, and production workflows

5. Entitlements and Permission Sets

Implement proper security architecture:

  • Permission Set objects – Defining object access
  • Entitlement objects – Licensing-based permissions
  • Permission Set Extensions – Adding to existing sets
  • InherentPermissions attribute – Automatic elevated permissions
  • Best practices for extension security

6. Extending Application Areas

Control what users see based on their role:

  • Built-in Application Areas – Basic, Suite, Fixed Assets, etc.
  • Creating custom Application Areas – Feature toggles in AL
  • Experience Tiers – Essentials vs Premium
  • Property inheritance – How ApplicationArea cascades
  • Best practices for feature management

Why These Topics Matter

These five topics represent core competencies for Business Central developers:

  • Error Handling – Professional applications don’t crash with cryptic errors
  • RAD – Fast iteration means faster delivery
  • Debugging – Find and fix issues in any environment
  • Permissions – Security is not optional
  • Application Areas – User experience matters

All five are heavily tested on the MB-820 exam.

Hands-On Learning

This guide includes:

  • 8 Practical Exercises covering all five topic areas
  • 35 Exam-Style Practice Questions with detailed explanations
  • Real Code Examples from Microsoft’s Base Application and System Application

Companion Videos

This booklet complements my YouTube videos on these topics. Watch for visual demonstrations, then use the guide for in-depth learning and exam preparation.

Part of the MB-820 Exam Cram Series

This is the eleventh booklet in the series:

  1. Install and Upgrade Codeunits
  2. BC Admin and Automation API
  3. BC Performance Toolkit
  4. BC Cloud Migration Tool
  5. Creating New Companies
  6. Outlook Integration
  7. Teams Integration
  8. Tables and Table Extensions
  9. Pages and Page Extensions
  10. Reports, Report Extensions, and Queries
  11. Error Handling, RAD, Debugging, Permissions, and Application Areas (NEW!)

Get Your Copy

Ready to master these essential developer skills?

Limited time 20% off

Get the Book

Questions?

Have questions about error handling, debugging, or permissions? Drop a comment below or reach out on LinkedIn. I’m always happy to discuss Business Central development topics.


Good luck with your MB-820 exam preparation!

#BusinessCentral #MB820 #Dynamics365 #ALDevelopment #Certification #ErrorHandling #Debugging #Permissions #MicrosoftDynamics365 #ERP

Share This Post

Related Articles

3 Responses

Leave a Reply

Recent Posts

Get Notified About New Posts

Categories

Discover more from Business Central Musings

Subscribe now to keep reading and get access to the full archive.

Continue reading