Posts

Generate QR Code in Business Central (On-Prime) Version

Image
Using Swiss QR Code Helper codeunit in W1 version, we can generate the QR Code in BC on-Prime version. Sample Code to Generate QR Code Blob Image File. RDLC report Design:  Output in BC On-Prime: Hope this will help you  Please let me know your views and add your questions in the comments of this article. Thanks & Regards SRK.A      

Business central Sort Variables & Sort Triggers

Image
Sort Variables:  Sorting makes it easy for you to get a quick overview of your variables. For example, if you have many variables  you could sort them. Sort Triggers:  Sorting makes it easy for you to get a quick overview of your Triggers Hope this will help you  Please let me know your views and add your questions in the comments of this article. Thanks & Regards SRK.A      

Business Central 2022 wave 1 : InstructionalText, BuildMultiLineInstruction

Image
                                                                                          InstructionalText Property: Sets the string used for instructions in the UI. Applies to: Page Request Page Page Group The default is an empty string, which means there will be no instructions. According to the user assistance model for Business Central, apps are expected to apply instructional text to setup guides and similar pages. The following example illustrates how you can apply instructional text in an app:                               For Reference : https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-instructionaltext-property How to display text ...

Business Central 2023 wave 2 (BC23) (Namespaces in AL)

Image
                                                                   Namespace syntax : To declare a namespace in AL, you must use the namespace keyword followed by the name of the namespace. Some best practices for namespace keywords are: A namespace should be globally unique. The using directive : The using directive is placed at the top of the .al file, after the namespace declaration and before any object declarations. The following example shows the order of the namespace declaration and the using directive.                        This is similar to namespace in C# and other program language. More details: https://learn.microsoft.com/en-US/dotnet/csharp/fundamentals/types/namespaces                     ...

Action Sound Alerts In Business Central

Image
  Sound alerts can be helpful when you need the user´s attention. But, in my opinion, they should be used carefully. JavaScript in Business Central : Control Addin : The way to call this method with AL is by using a controladdin object like the following:   Usercontrol : Finally, we need a usercontrol to invoke the controladdin. Only then, will we be able to call the method ‘CreateSound’: Test Video                  

D365 Business Central : Add Visual Indicator to Page

Image
                                              Using color or visual indicators is a great way to convey information quickly. They can represent different meanings, conditions, or statuses, making it easier for people to understand and interpret information without needing to read or process data. I have blogged about using Style Color to accomplish this. Another way to do this is to use Emojis as visual indicators. Consider the scenario where we want Inventory Indicator on our Item List page. We want Red = Out of Stock, Yellow = Low Stock (less than 10), Green = In Stock. Let’s use Emojis as a visual indicator. Below is the sample code. Please let me know your views and comments. Thanks  Srk.A