Sunday 31 December 2023

Print directly to local printers from the Job Queue with E-Print in Business Central SaaS


We cannot select "Report Output Type" as "Print" in "Job Queue" to print a report in Business Central SaaS

We get the following message.

You cannot select a printer from this online product. Instead, save it as PDF, or another format, which you can print later.

The output type has been set to PDF.


We need to make the below code change to achieve this.

[EventSubscriber(ObjectType::Codeunit, Codeunit::"Job Queue Start Report", 'OnBeforeRunReport', '', false, false)]

local procedure "Job Queue Start Report_OnBeforeRunReport"(ReportID: Integer; var JobQueueEntry: Record "Job Queue Entry"; var IsHandled: Boolean);


        if JobQueueEntry."Job Queue Category Code" = 'PRINT' then

            JobQueueEntry."Report Output Type" := JobQueueEntry."Report Output Type"::Print;


Based on that, I created a “PRINT” Job Queue Category and changed the Report Output Type before running the report.


Next, Navigate to the “Printer Management” page and set up an “Email Printer”.


Enter your printer's E-Mail address as shown below.


Select the “Email printer” for the report you want to print on the “Printer Selection” page.


Create a “Job Queue Entry” as per your requirements.

NOTE: do not forget to set “Job Queue Category Code” as “PRINT”


You can ignore “Report Output Type” here as we change it via code.

Or you can create an action on the “Job Queue Entry” page to change it to "Print" as well.

When the Job Queue has successfully executed then an email will be sent to the printer's email address which will be taken care of.




What is E-Print?


Thursday 30 November 2023

How to customize the #msdyn365bc theme for your organization

The organization theme takes center stage in the top navigation bar for all members within your organization. As administrators, you hold the power to craft multiple themes tailored to different segments of your organization, giving you the flexibility to curate unique experiences. This includes the ability to establish a default theme that universally applies or create up to four distinct group themes assignable to various Microsoft 365 groups.

Friday 6 October 2023

Business Central Error Dialog for Enhanced User Support - (BC23)


The AL language boasts a wealth of error handling features, empowering you to navigate unexpected situations that may arise during code execution. 🧩

When an error surfaces, Business Central's client steps in, displaying an error dialog to provide users with crucial information. 🖥️

In our latest article, we dive deep into the various components of this error dialog. 📚✨ Understanding them can significantly enhance your ability to assist users in resolving any challenges they may face. 💪

Beginning with version 22, the error dialog in Business Central has been structured into four distinct parts:

v  Title (Optional):

Ø  This is the first part of the error dialog and is optional. It typically provides a concise and descriptive title for the error message to give users a quick idea of the issue at hand.

v  Message Directed to the User:

Ø  This is where the main error message is displayed, providing information about the problem or issue that has occurred. It's directed towards the user and aims to communicate the nature of the error in a clear and user-friendly manner.

v  Copy Details Action:

Ø  This part includes an action called "Copy Details." When clicked, this action allows users to copy additional technical details related to the error. These details can be valuable when reporting the issue to support teams or developers for troubleshooting.

v  Yes or No Question on Message Helpfulness:

Ø  The final part of the error dialog asks the user a question, typically in a yes or no format, regarding whether the message was helpful. This feedback mechanism helps gauge the effectiveness of the error message in assisting users.

This structured approach to error dialogs enhances user experience by providing clear and informative error messages while also collecting user feedback on message effectiveness. Users can copy technical details for further analysis or reporting, contributing to more efficient issue resolution.


The following figure shows an example of a “Testfield” error in the 2023 release wave 1 and earlier.


We currently lack the 'Copy Details' option to provide developers or the support team with error-specific information.

In the event that we need to undo a change or clear an error, our recourse is to use the 'Refresh' action located at the top of the page.

Microsoft is in the process of making certain adjustments to the error message formula associated with "TestField" and “Table Relation” (and possibly implementing other improvements). These changes are aimed at achieving the above two key objectives.


The following figures show an example of a “Testfield” property validation error in the 2023 release wave 2




Similarly, Table Relation property validation error in the 2023 release wave 1 and earlier.



Table Relation property validation error in the 2023 release wave 2.




Information in the Copy details section for Testfield:


If requesting support, please provide the following details to help troubleshooting:


Status must be equal to 'Open'  in Sales Header: Document Type=Order, No.=S-ORD101009. Current value is 'Released'.


Internal session ID:



Application Insights session ID:



Client activity id:



Time stamp on error:



User telemetry id:



AL call stack:

"Sales Line"(Table 37).TestStatusOpen line 15 - Base Application by Microsoft

"Sales Line"(Table 37)."Quantity - OnValidate"(Trigger) line 16 - Base Application by Microsoft


Thursday 14 September 2023

Unlock Efficiency: Enhance Your Pages by Adding Existing Table Fields

Business Central already equips you with a rich toolbox to hide, show, or rearrange UI elements. 🧰 But that's not all! Microsoft taking it a step further by unlocking table fields. Now, administrators, department owners, and partner consultants can effortlessly add them to their pages without the need for code extensions. 🛠️🔓

By adding existing table fields to your pages, you unlock the power of self-service, reduce time to value, and cut implementation costs. 🚀💲 Plus, it frees up valuable time for pro developers to focus on more strategic and rewarding projects. 🌟

Discover the true potential of Business Central customization and supercharge your SMB's growth! 💪📈

Tuesday 12 September 2023

Seamless Intercompany Transactions: Connecting Business Central Environments

In today's global business landscape, many companies operate across multiple entities and even different Business Central environments. Managing transactions between these entities can be complex and time-consuming. Fortunately, Business Central's Intercompany Postings feature simplifies this process, making it easier to handle accounting for multiple companies in various tenant environments, all while eliminating the need to manage files manually.

Here's a closer look at the key features and benefits of Intercompany Postings:

1. Seamless Setup of Intercompany Partnerships:

Setting up an intercompany partnership between companies operating in different Business Central environments is a breeze. On the Intercompany Partner Setup page, you can effortlessly select an environment you have access to and choose a company that you're authorized to set up as an intercompany partner in that environment. This streamlined setup process saves you time and minimizes complexity.

2. Efficient Transaction Handling:

Once you've established intercompany partnerships, you gain the ability to automatically send and receive transactions for partner companies, even if they are located in different Business Central environments. This means you can seamlessly process sales and purchase documents, intercompany general journals, and purchase invoice cost distributions, enhancing operational efficiency.

3. Comprehensive Intercompany Functionality:

Business Central's Intercompany Postings feature extends across environments, allowing you to leverage all intercompany capabilities, such as mapping accounts to an intercompany chart of accounts, handling dimensions, or managing items. This means transactions can flow smoothly and accurately, even when partners reside in different Business Central environments.

In summary, Business Central's Intercompany Postings feature empowers businesses to handle transactions effortlessly, whether they operate in a single environment or across multiple tenant environments. This streamlined approach simplifies accounting processes, saves time, and ensures accuracy, ultimately contributing to improved operational efficiency and financial management.

Stay tuned for more insights on how to make the most of Business Central's powerful features!

Monday 11 September 2023

Unlocking Mobile Potential: Streamlined Access and Navigation in Business Central mobile app.


In today's fast-paced world, the use of mobile phones and tablets to access Microsoft Dynamics 365 Business Central is rising. 📈

The power to swiftly locate pages and data on our mobile devices has ushered in a world of new possibilities for mobile scenarios. 🌐💼

Whether it's checking real-time inventory from the warehouse floor or approving purchase orders while on the go, the convenience and accessibility of Business Central on mobile are transforming the way we work. 💻📲

As the mobile landscape continues to evolve, it's essential to harness these capabilities to drive productivity and stay ahead in the digital era. 💪

Mastering Multitasking: Simplifying Tab Navigation for Efficient multitasking.


In Business Central, users can enhance their productivity by employing multiple browser tabs or windows to compare data, even across different companies or handle new tasks as they arise. However, the challenge arises when it becomes cumbersome to navigate across these open windows, especially when they all look the same.

In this latest update, Business Central offers a solution by introducing a clear and straightforward naming scheme for browser tabs and windows:

Context: The tab name on list, card, and document pages now mirrors the current record, page, or view, regardless of how you arrived there.

Readability: To enhance readability, the tab name has been streamlined, removing any extraneous information. This means no more lengthy product branding or redundant view/edit indicators cluttering your tabs.

Real-time Updates: The tab name is automatically updated as you navigate within the web client, ensuring it always reflects your current context.

Multi-Company Support: For users dealing with multiple companies, the company badge is now included in the tab name, providing a clear distinction.

This enhancement simplifies the user experience, making it easier than ever to switch between tasks and maintain context, ultimately boosting efficiency. Try it out and experience the difference!



The following table includes examples of browser tab naming:




Browser tab name

list page

Items list page


list view

Open filtered view on Sales Orders list

"Sales Orders - Open"

single record

Item Card showing single record

"Item Card - 1896 ∙ ATHENS Desk"

setup pages

Sales and Inventory Forecast Setup page

"Sales and Inventory Forecast Setup"

draft records

Customer Card for new customer

"New - Customer card"

root URL

Business Manager Role Center home page

"Dynamics 365 Business Central"

profile override

URL includes ?profile=DISPATCHER

"Service Manager - Dynamics 365 Business Central"