-
Winscp archive files after uploading
I'm wondering how everyone is archiving their files with Winscp after uploading them to a SFTP site. I have everything working except I'm archiving the entire contents of a folder after the files in the folder are uploaded. The issue is the folder is actively having files inserted and I may archive a file before it gets…
-
Extend Retention Policy
Good morning everyone, We have to make a report/codeunit to clean up a table and we want to see if it is possible to add this table in the Retention Policy, so this cleanup report/codeunit runs automatically outside of Job Queue's. This would save a lot of time in configuration. The only problem now is that this table is…
-
Could not load file or assembly StreamJsonRpc
Happy new year to all. Today is my first day back from leave and I won an environment that doesn't allow users to connect. BC 25.1 - OnPrem When opening the web client, user is presented with: Event Log:Category: Microsoft.Dynamics.Framework.UI.WebBase.ClientExceptionStateProcessingStrategy
EventId: 0
ConnectionId:…
-
Event for on before entering sales line
Hi I have a requirement to check sales header fields entred before any line is inserted for example location on sale sheader bfore a user enters any lines. There is an event on the sales header - onBeforecreatesalesline but I cannot get it to work. Is there any better event or method to achieve this
-
How do I download and use DotNet Packages in BC25
I need to transliterate non-latin characters and found a DotNet package in the package manager NuGet. I don't know how to download it from the command line and make a proper dotnet project yet, but I can download it manually, which gets me a ".nupkg" file. Is this usable in my AL project? Do I just put the it in the…
-
Business Central chocolatey docker install
Hi All, I've spent a while trying to make this work but unfortunately it's a dead end. As you may know docker desktop requires a licence if you are going to develop with it, most likely everyone is ignoring this... Following microsoft's help:…
-
PDF file size when saveas via Job Queue results in 100mb file
We have developed a report batch job that saveas a PDF file and send it via email. We observe that when set in a job queue, after running for > 2 hours (sending a lot of emails), the email server started rejecting the emails. Upon closer inspection, we found that the PDF attachments increased in size, up to 100MB per pdf…
-
Full Rollback in Batch Posting
Hello, There is scenario where I make two sales orders during a process, and I have to post them right away. If the system fails to post any of them under any circumstances, I would like it to roll back entirely. How can I use the Business Central platform (AL Code) to accomplish this? Please share your knowledge about it.…
-
BC (SaaS) Webhook for invoice fully paid (closed)
Hi, I'm looking to implement a webhook in Business Central (SaaS) to trigger a notification whenever a vendor invoice is fully paid (closed). However I've listed the supported webhooks using the /webhookSupportedResources endpoint, and I can't see any that are suitable. I tried using the "v2.0/vendorPayments" resource, but…
-
Save file to Server BC25 OnPrem
Is it still possible to save a file to a server location within Business Central 25 on-premise? Is anyone able to share a working example? Thank you. The current solution doesn't appear to save to the file path: FilePath := \\SomeServer\SomeFolder\File.txt
FileMgt.BLOBExport(TempBlob, FilePath, true);
-
Issue with default user e-mail from Outlook - BC14
Good morning everyone, In the past few days, we have been experiencing an issue with the email associated with a BC14 user account. Specifically, there has been a domain change in the email address associated with the Windows/Microsoft account: for example, from test@XXXX.com to test@YYYY.com. The Windows account settings…
-
How to Disable table trigger in Business Central with AL extension
Hi, I want to disable table trigger on item category table for Parent Category field(2; "Parent Category"; Code[20]) { Caption = 'Parent Category'; TableRelation = "Item Category"; trigger OnValidate() var ItemCategory: Record "Item Category"; ItemAttributeManagement: Codeunit "Item Attribute Management"; ParentCategory:…
-
To Change alternative address automatically
Hi, In Sales Order page, I woul like to change the address option as Alternative Address when user validates the posting date and want to select available ship to address and apply to SO. Is there any ways to do this customization. Thanks in advance.
-
VS Code debugger not working suddenly
Good morning, Hope someone can help. I'm running a local container and suddenly the debugger session attach doesn't work. It just stays there. I've tried to debug using username and sessionID. I've tried disabling firewall just in case. Any ideas? thanks. [2024-12-12 11:36:36.14] Starting a debug session using launch…
-
Monitored field log entries is not working
I am making the change log setup by selecting some fields for the Vendor table (23) and marking it as Notfiy via the Monitored Fields Worksheet. Then when I make a change field on the Vendor card, records are created in the change log entries, but no records are created in the monitored field log entries. Could it be…
-
Remove Bulk Assembly Orders
A client is requesting the ability to remove bulk Assembly orders at once via selection. Would that be possible?
-
Rendering output for the report failed and the following error occurred: the access path is denied
Hi everyone, i have a problem sometimes when editing a report with the following error : "Rendering output for the report failed and the following error occurred: the access path is denied" the problem is that the error is randomly generated for this ( it fails 1 or 2 times each 30 times when it is generated) in…
-
Issue with Postman Request to BC250: Error Using Client Credentials Grant Type
Hello everyone, I am currently facing an issue with my Postman request to a BC250 environment. Environment Details:* BC250: On-premises installation * ClientServicesCredentialType: AccessControlService * Authentication Setup: OpenID Connect with OAuth, successfully configured When using Postman with the Authorization Code…
-
[RESOLVED] Job Queue times
I've been working with NAV for over 20 years but have little experience with setting up recurring Job Queue jobs. I'm running into an issue and am trying to understand how the different times should be set. Here's my current situation. I'm not sure why the Default Time Zones were set different.* Dynamics NAV is running as…
-
Change Log Entries on BC19
Hi, Are there any known weaknesses with the change log? I have a client that has indicated some fields are blank when they have completed them, these fields are set up to record in the change log. When I check the change log entries they fields have not been logged - apart from the correcting entries they keyed in later…
-
Weird NAV2017 behaviour in XMLport with Reserve characters
In XML, the characters &, <, > and % are XML reserve characters, and is supposed to be "escaped". I observer different behaviors on the same version of NAV2017 10.0.30172, that some instance escapes XML reserved characters, and some instances do not. They are of the same version and build. What gives?
-
BC14 RTC Service crash casually
Hi all, i need some advice from you regarding a particular situation we are in. Client - BC14 with RTC services (no web client) Until recently everything was fine, but for a few months now the service crashes sometimes casually, throwing all users out of production. Then the other services also crash in turn. Initially we…
-
Why does an Item standard cost change when Routing Line - Unit Cost Per change?
Hi there, We use standard cost for all inventory. The strange thing is that whenever there is a change in the ‘Unit Cost Per' of the routing line then the standard cost (Rolled-up Subcontracted Cost) changes as well right away. Is there way to prevent this from happening so the standard cost stays static? Thank you! Rudy
-
Regarding dimensions in sales Document(Sales order)
In business central When we give a dimension on salesHeader it automatically updates the dimension of salesLine , In which event or procedure has the code been written backend for this functionality????
-
Code Unit used to check existing transaction while pos loading?
Hi, I am using Dynamics NAV 2018. Which code unit is checking the existing records available or not in pos transaction & pos trans line for a particular pos terminal while loading.
-
How to update Dimension set entry based on field value
How to update Dimension set entry based on field value Need to update the Dimension for corresponding sales order based on field value of sales order
-
How to copy existing attachments into a new document?
I have the procedure to duplicate an existing document into a new one, but I am unable to copy the attachments to the new document. I have done some tests, but some attachments are duplicated. What is the way to do this? OriginalDocAttach.SetRange("Table ID", 38); OriginalDocAttach.SetRange("No.",…
-
FlowField not updating immediately in Purchase Header
I am trying to calculate the sum of the "Purchase Line Total Weight" from the Purchase Line table and display it in the Purchase Header using a FlowField. However, the FlowField only updates when I insert a new line or when I close and reopen the page. What I want to achieve is for the Purchase Header field to update…
-
Sales Order Item Assembly BOM
I've set up a simple BOM containing 2 items. When I add the parent item to a Sales Order, I'm not able to explode the BOM. It always reserves the entry and then gives an error saying you can't explode the BOM if the item is reserved. If I set the Reserve status to Never it's automatically changing it to Optional and then…
-
NAV2018 Extensions OnPrem - Same field no.
Hello, I published two extensions for the same table (User Setup) with two separate additional fields, both using the same field number. No errors were initially given, but now, whenever I try to open the User Setup table or any tables related to it, NAV crashes. I have since renumbered the field numbers in both extensions…