AL now support multiline string literals. It will enhance code readability and maintainability, especially when dealing with lengthy text content or complex string literals. Functionality is available with the AL Language Extension version 15.0 I thought, โOh, we can use this to store the prompts for Copilot or OpenAI.โ However, Dmitry suggested that utilising the …
Tag: TipsWithTC
Mar 11
How to Enable Outbound HTTP Requests in the Sandbox
Did you know that outgoing HTTP requests are automatically disabled when a Business Central sandbox is created to prevent unintended calls? To enable outgoing HTTP requests in a sandbox environment, follow these steps:1. Go to the Extension Management page.2. Select the extension making the HTTP request.3. Enable the “Allow HttpClient Requests” option in the extension’s …
Mar 11
Do you specify the ๐๐ฎ๐ง๐๐ซ๐ข๐ ๐ ๐๐ซ parameter?
When you call the Insert, Modify, or Delete functions, it is important to specify the ๐๐ฎ๐ง๐๐ซ๐ข๐ ๐ ๐๐ซ parameter. If you do not include this parameter, the compiler assumes you ๐ ๐ ๐๐๐ ๐๐๐๐ to run the trigger. ๐จ๐๐๐๐๐ ๐๐ ๐๐๐๐๐ ๐๐๐๐๐ ๐๐๐๐ ๐๐๐๐๐๐๐๐๐๐. For example:If you do not want to run the trigger, use:Record.Modify(๐๐๐ฅ๐ฌ๐); Avoid using:Record.Modify(); If …