Tri-State locking in database: How-to use in AL

The tri-state locking feature is aimed at enhancing the performance and concurrency of database transactions. By enabling this feature, AL-based read operations that follow write operations are performed optimistically, rather than with strict consistency and low concurrency.

Source : Roberto Stefanetti Business Central Blog
Read more…

Dynamics 365 Business Central: How to quickly comment one or more lines of code in AL – Comment/uncomment Selection

Today I would like to share another tip about Business Central. During the development, how to quickly comment one or more lines of code in AL.
I was asked this question recently and found that there are still BC developers who don’t know, so I will briefly share it.

Source : Dynamics 365 Lab
Read more…

Dynamics 365 Business Central: How to check whether the feature in Feature Management page is enabled via AL

Some new features are turned off when Business Central is updated to a newer version. These features are optional for a period of time until they are automatically enabled for all users in a later software update according to the Release Plan.

Source : Dynamics 365 Lab
Read more…

PAYONE API HMAC authentication in AL

This is one of the more specific posts about API authentication in Business Central. But probably someone could use the snippets for his own implementation. Right now we’re implementing the payment API of PAYONE for one of our customers. This provider needs the API request headers and additional information to be hashed using HMAC256 and send with every request.

Source : J3NS.DE
Read more…