Best Of
-
Re: Codeunit.run vs TryFunction to record errors and contine
@Samantha73, I dont see why codeunit.run would be beneficial in logging errors. Using a try function like you're demonstrating seems at first glance as the right move.1 -
Re: Codeunit.run vs TryFunction to record errors and contine
I believe you misunderstood the use of TryFunction Return Value if TrySetPendingPrepayment(...) then, but TryFunction procedures do not return Boolean values. Instead, they succeed silently or fail a…1 -
Re: Codeunit.run vs TryFunction to record errors and contine
Sorry, but this is not true. See for example: https://yzhums.com/19630/ I have this code, and it workes, proven by unit tests, in either the success or the failure. if TrySendRequest(CreateRequestJso…1 -
Re: Ctrl-E: Table vs Page
I am not sure if this is still the case in BC, but in NAV this used to be controled by the setup in system tables Send-To Program, Style Sheet, User Default Style Sheet. Information about this has al…1 -
Re: Connecting Copilot to Microsoft Dynamics 365 Business Central On-premise
Just a quick note for anyone trying to connect Microsoft Copilot to Business Central On-Premise — the official Microsoft 365 Copilot and Dynamics 365 Copilot integrations are only supported in the Bu…1 -
Re: How to call a procedure in Business Central from Power Automate
@MortenSteengaard Glad to hear this :smile: If you wish you can the mark the answer as approved, this will be help others as well.1 -
Re: <solved> Passing parameters to a request page from another object (in AL)
However, I've realized that I cannot pass the parameters to the request page in AL as they are not exposed variables. My guess is that for achieving this I should duplicate the report 595 (Adjust Cur…1 -
Re: How can I change my Mibuso E-mail address in my user profile?
That's the only option we have, you have to edit profile and then update it.1 -
Re: Codeunit.Run no working when triggered from event subscriber
OnAfterInsert/OnAfterModify sounds more practical as per the information and requirement you have posted. Did you try these Events?1 -
Re: How to import data from an XML file to BC tables?
Take for example this xml file I use the code below to import data from Azure blob storage into Customer table and Ship to Address Table procedure ReadXML(InStr: InStream) var Customer: Record Custom…0



