Source Codes

by Oct 20, 2020

Home 9 Source Codes ( Page 20 )

Below are my free-time projects. Please take in mind all these projects are created as a free-time activity and hence I do not provide any support or take any responsibilities. If you want to use any of these projects as well as any part of the code from these projects, please contact me. All codes are available under a CC-BY-NC-SA license.

Larger Projects

ALRM (AL ID Range Manager), originally from Coding4BC Hackathon

The solution that helps every Business Central developer manage object IDs and enforce rules in object names. The solution is built from two extensions – one for the Business Central (that allows defining ranges, extensions, etc.) and another one for VS Code which allows every developer to gain unused IDs without leaving his workplace. To see details and download links, see links to GitHub below.

Field Level Permissions (Restricted Fields)

This extension extends security functionalities with field-level permission. Using this extension, users are able to define who can or can not change specific fields in any table in your system.

  • Business Central Extension is currently available through the GitHub repository and has to be installed manually using the app package.

Replace Document Attachments

This simple extension allows to replace existing document attachments in master entities and open sales documents.

  • Business Central Extension is currently available through the GitHub repository and has to be installed manually using the app package.

Short Examples & Guides

AL Language

Dart/Flutter

Recent Articles from the category

Processing Sales Returns and Cancellations

It's tricky when a customer wants to cancel or return the item they bought from your company. One of the best ways to handle this through Business Central is to create a "sales credit memo" or a sales post that highlights the specific change. By doing this, you'll be...

read more

How to Record Prices and Discounts for Purchases

You can't get anywhere as a business if you don't produce sales through selling your items. But it's also just as important to keep as much inventory coming in as what's going out, so it's good to keep a clean record of your purchases, prices for those purchases, and...

read more

C/AL + AL: SetAutoCalcFields

SetAutoCalcFields is very similar method to CalcFields method. The only difference is that CalcField is run on the records already loaded from the database. On the other hand, SetAutoCalcFields is set before the records are loaded from the database. Although it can be...

read more

C/AL + AL: CalcFields

CalcFields is a method to calculate the FlowFields in a record. Flowfields are special fields (virtual) that are not stored physically in the database/table. Standard fields are loaded once the record is retrieved from the database. However, as the flowfields are...

read more

Recording Prices and Discounted for Sales

As a business, your main source of income is from your sales. Sales are one of the most important aspects for your company, so when you need to record and keep track of all the surrounding aspects. Business Central is there to help you keep things tidy and optimized....

read more

Item Transfers and Stock Adjustment

Inventory management is a long and sometimes painful process, that's why with Business Central's inventory management tools there is always an easy way to mark, map, and transfer your physical and digital products around. Although there are a lot of tools involved,...

read more

Optimized Progress Dialogues in C/AL

In the previous articles (see here) we discussed how to build standard progress dialogue in C/AL language. However, as mentioned at the end of the article, this way is definitely not applicable to a production environment due to the performance issues. In this...

read more

Dimensions (part 2)

This is the second part of the articles about Financial Dimensions. The first part that described what dimensions are and how to set up them on customers and vendors properly is here. How To Set Up Dimension Priorities, Combination, and Global Dimensions To make an...

read more

Progress Dialogues in C/AL

One of the most neglected things I found on projects I have reviewed is progress dialogue for tasks, that run for more than a seconds. Although it is not always easy to estimate how long the task will run on production data, it is necessary to use progress dialogue as...

read more

Sign Up for News

Certifications

Highest certification
Microsoft Data Management and
also in D365 Business Central

Microsoft Certified: Dynamics 365 Business Central Functional Consultant Associate

See other certifications here