ArcherPoint Dynamics NAV Developer Digest - vol 282

ArcherPoint Dynamics NAV Developer Digest - vol 282

The Dynamics NAV and Business Central community, including the ArcherPoint technical staff, is made up of developers, project managers, and consultants who are constantly communicating, with the common goal of  sharing helpful information with one another to help customers be more successful.

As they run into issues and questions, find the answers, and make new discoveries, they post them on blogs, forums, social media…so everyone can benefit. We in Marketing watch these interactions and never cease to be amazed by the creativity, dedication, and brainpower we’re so fortunate to have in this community—so we thought, wouldn’t it be great to share this great information with everyone who might not have the time to check out the multitude of resources out there? So, the ArcherPoint Microsoft Dynamics NAV Developer Digest was born. Each week, we present a collection of thoughts and findings from NAV/BC experts and devotees around the world. We hope these insights will benefit you, too.

Developer Tip of the Day: Page Repeaters and Actions

Kyle’s Developer Tip of the Day is about Page Repeaters and Actions: “If you take a look at the Physical Inventory Journal in Business Central 15, they have attached a lot of Actions to the line repeater. You can see these with the three little vertical dots next to the first repeater column. How’d they do that?  When you define an Action, use Scope to attach it to the repeater. 

 

action(CalculateCountingPeriod) 

{ 

ApplicationArea = Basic, Suite; 

Caption = ‘&Calculate Counting Period’; 

Ellipsis = true; 

Image = CalculateCalendar; 

Promoted = true; 

PromotedCategory = Category5; 

Scope = Repeater; 

Figure 1 – Actions for Physical Inventory in Business Central 15
Figure 1 – Actions for Physical Inventory in Business Central 15 

Business Central SaaS Barcodes

Ryan offers this tip: “If you have a Business Central SaaS client who needs barcodes (and can’t wait the 2 months until the next release), you can embed the barcode font into a Word report and use it as a Built In Word Layout or Custom Report Layout. When Sending to PDF, it will print the barcode even if you don’t have it installed on your local computer. It even works through printnode. I haven’t tried rdl PdfFontEmbedding yet, though this is up next.”

Windows 10 Update Having Negative Effect for Docker on Windows

Bill shares this post from Freddy’s blog, HyperV Isolation to the Rescue!, noting that, “This appears to be problematic in the following ways (if you’re not using HyperV isolation):

  • Certificate signing has stopped working
  • Creating a container in some cases is no longer working 
  • Exporting CAL Objects fails

Removing KB4532693 will resolve the issue short term. Otherwise, use HyperV isolation.”

Another Way to Refresh a Report Dataset?

Bill W wants to know: “Is there a way to refresh a report dataset without having to close and re-open SQL Report Builder in Business Central 15? It’s somehow now taking 30-45 seconds to open up a layout. I suspect there’s a larger issue with my install, as simple things like viewing group properties takes 20-25 seconds to open.”

Tom H offers: “I know that you can add new fields manually to the dataset in the RDLC definition if you need to, but I don’t know of another way to do it.

Kyle H states: “I have not been able to figure out how it actually publishes the dataset. The next time I am working on a report, I’ll see if I can figure out what it is actually doing. It does not appear that the dataset is in the actual RDL file.

Bill clarifies: “It’s definitely in the RDL layout. The problem is that I always find myself saving over any update that may have happened, so I have to close, re-package and then re-open the layout. It’s a very laborious process. You used to be able to do a debug in Visual Studio and it would refresh the layout. A restart has it back to opening in 3-5 seconds.”

Kyle did some testing: “I waited minutes for an edited AL file to update the RDL dataset. Nothing. I did a publish from VSC, and that triggered the RDL update. So, it has to be something ALC is doing (which is probably why I found that every compile is generating updated RDL files throughout the project). That’s what I talked you into shutting off during our AL builds.

 

If you are interested in Dynamics NAV and Business Central development, be sure to see our collection of NAV/BC Development Blogs.

Read the “How To” blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV and Dynamics 365 Business Central.

Trending Posts

Stay Informed

Choose Your Preferences
First Name
*required
Last Name
*required
Email
*required
Subscription Options
Your Privacy is Guaranteed