Browsed by
Tag: Business Central

How To Add Long Text On Last Page Of Custom Word Report in Business Central

How To Add Long Text On Last Page Of Custom Word Report in Business Central

Today we look at how to print a long text on the last page of a custom Word Report. Some customers have the requirement to print terms and conditions on the last page of their sales quotes. This is exactly what we will do in this tutorial. Prerequisites I assume that you have a working environment for Business Central in a Visual Studio Code Project. My examples are done using a Docker Container with Business Central 16. Have a look…

Read More Read More

Record Deletion Tool

Record Deletion Tool

Recently I was faced with the challenge of deleting a lot of data from different tables in NAV. I thought I was not the only person who had faced such a challenge and so I went searching. On Olof Simren’s blog I quickly found what I was looking for. His Record Deletion Tool allows to delete transactional data from tables. Unfortunately he programmed this functionality for NAV 2015 and I needed it for Business Central as an extension. For this…

Read More Read More

Zero Values in Word Reports

Zero Values in Word Reports

Today we look at how to hide zero values in Word Reports. Sometimes it makes sense not to print the value 0 in reports to protect the user from a flood of information. With the help of two small procedures we can achieve this behavior in Word Reports. If you are familiar with RDLC reports, you will know the function BlankZero. In this post, we are going to implement something similiar. BlankZero in RDLC Reports With RDLC Reports, we have…

Read More Read More

Resize Columns in Word Layouts

Resize Columns in Word Layouts

Have you ever bothered with column widths in Microsoft Word when you wanted to edit a Business Central Report? You resize columns and thereby automatically reduce the size of the following column. What a bummer! You don’t know what I mean? Let me show you. In the GIF down here, I’m enlarging the first column “ItemNo_Line_Lbl”. As a result, the second column “Description_Line_Lbl” is automatically reduced in size. But I do not want that at all. Instead, I just want…

Read More Read More

Missing Permission Set

Missing Permission Set

A while ago, I came across an interesting error message that I had not seen before. The error message occurred when I created an empty table with the “ttable” snippet, claiming that my extension has a “missing permission set”. PerTenantExtensionCop Ruleset Apparently the PerTenantExtensionCop felt that we had stepped on his toes. Recently, the rule “PTE0004” forces all table definitions to have a matching permission set. If not, you will get an error. Here you can look up the rules…

Read More Read More