ArcherPoint Dynamics NAV Business Central Developer Digest - vol 310
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.
Cleaning Up Your Docker Artifacts
Kyle posts another Developer Tip of the Day: “Just as you should have been periodically cleaning up your stray Docker images, you should do the same with Docker artifacts. This will keep you from having a couple of petabytes of unused Docker chuff.”
Flush-ContainerHelperCache -cache bcartifacts -keepDays 7
The D365 Business Central Hack-A-Thon is On!
Coding 4 BC has changed the Hack-A-Thon date to November 18, 2020. Registration closes on November 6. Sign up now to submit your ideas and join a team!
Business Central 16 Introduces a Change to Default Mailto Field
Kyle offers: “Important safety tip about BC16: Emailing from a Sales Order with Post+Email or emailing directly from a Posted Sales Invoice now defaults to the Sell-To customer email address. There is a new field on the Sales Header table, called “Sell-to E-Mail”, and that now wins over the Bill-to email address. The Bill-to address always won in BC15 and older.”
Retirement of the TXT2AL Tool
Kyle informs: “Looks like Microsoft retired the TXT2AL tool with BC15. It is not included in the BC16 installation kit.”
Michael H asks: “Was this the final nail in the coffin?”
Where to Find License Information
Kyle asks: “Is there a way for a customer to see license information, like the number of users and object ranges? This would be the equivalent of Tools, Options, License in the Dev client.”
Jim Benson replies: “There is a text version of the license file that can be downloaded from the PartnerSource Business Center. Not as readable as the old license format, but probably helpful to you.”
Tim Muldoon adds: “The Permissions Detailed Report.txt from PartnerSource is really the only place to see this type of license detail. There is nothing within the BC Dev client that will provide it.”
Exporting a BC13 File Without Write Access
Tom H says: “I have quite the vexing problem with Business Central 13. I need to export a file and put it in a directory that the end user does not have write access to. I thought I could get around that by using the Job Queue to schedule the export, but when I try to write it, I get an error saying the following:
Microsoft Dynamics 365 Business Central Server attempted to issue a client callback to download a file: [file path] (CodeUnit 419 File Management). Client callbacks are not supported on Microsoft Dynamics 365 Business Central Server.
I thought I could use TEMPORARYPATH to save the file on the server and then use a .NET variable to copy it to the final destination on the network, but I get the error as soon as I try to export the file to the temporary path.
Is there a way I can do this? What are some things I could try?”
Suresh suggests: “There are some exports we have developed to save the files and which use job queue.”
Kyle expands: “The File Handler codeunit has server-side functions, but that error message sounds like you are using a client copy function. Render the output on the service tier, and then do a server-side copy to whatever final file destination. But don’t ever attempt to get the file on the client.”
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.