Dynamics 365 Business Central: How to check BaseApp version via AL (Include First-party localization)

In this post I would like to share another mini tip about this, how to check BaseApp version via AL. If you can get the BaseApp version, you can control your code to run in certain specific versions, such as only running in the W1 version.

Source : Dynamics 365 Lab
Read more…

How to Transfer Attachments from Blanket Orders to Sales Orders in Business Central

When working with Dynamics 365 Business Central, one common challenge is ensuring that important attachments from Blanket Orders are carried over to Sales Orders. Natively, Business Central does not support this functionality, which can lead to inefficiencies and potential information loss. After experimenting with various approaches, I discovered a straightforward and effective solution.

Source : Ivan Singleton
Read more…

Sharepoint Service to Service Authorization. Integration with Business Central. No user permissions.

I think integrating Sharepoint into Business Central is a fairly common request. The standard library already supports some level of Sharepoint/OneDrive integration out of the box, but it is quite limited. What if we need more advanced logic? In that case, we can use Sharepoint Interfaces from the System Application! But did you know that this will only work if the user has permissions on Sharepoint? Regardless of whether we are using Microsoft Entra Application, it all comes down to the authorization that Sharepoint Interfaces use by default. Let’s dive in and understand this better.

Source : Volodymyr Dvernytskyi
Read more…

Dynamics 365 Business Central: How to convert Text to Hexadecimal in AL

Today I would like to talk about how to convert Text to Hexadecimal in AL.
The hexadecimal number system is a type of number system, that has a base value equal to 16. Hexadecimal numbers are represented by only 16 symbols. These symbols or values are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F.

Source : Dynamics 365 Lab
Read more…