-
The server has rejected the client credentials
Hi all, In a SOAP web service we get sometimes the error 'The server has rejected the client credentials'. If we get this error we must restart the instance. After restart everything is working fine again. In the eventviewer we don't see any warning or error when this error occurs. Does someone have a suggestion for me?…
-
Business Central - Project-Centric organisation setup
Hi, im trying to configure BC and i have an idea in my head how i would like it to work for my users, ii wondering if anybody could clarify if its possible to achieve what i want? * id like all new projects to have the same tasks. * id like the project manager to be able to allocate resource to the job (i know his can be…
-
How to configure manufacturing module in Dynamics D365 BC?
How to configure manufacturing module in Dynamics D365 BC?
-
<SOLVED> Migration error in Microsoft Dynamics 365 Business Central Indian Version
I got this error while use below options(for migration) in Microsoft Dynamics 365 Business Central (IN) Version 14.0.47832 Tools>Sync. Schema For All Tables>Check Only
-
Inventory Valuation having quantities and values not in G/L
Greetings, I have a client running Business Central Spring 2019. The system is set up to run a batch job that updates Item Cost Entries and one that posts inventory cost to G/L in the night and these two are working fine. The issue I am facing is that the Inventory Valuation has items that have quantities and values that…
-
how to insert 6 months contract period data when click action
how to insert the data one table to another Customer have a 6 month Contract period when create the customer 1000 with 6 months contract that record should be save on contract list with 6 months records like jan,feb,march like until 6 month can you give me reference code if you any links also likes this Contract1…
-
Nav.Integration.Office.Excel.ExcelHelper Replacement in BC
Hi, I have to make an update of a codeunit from NAV2017 to BC19. As there does not exist anymore the Excelhelper, I have replace some of these functions. Microsoft.Dynamics.Nav.Integration.Office.Excel.ExcelHelper.'Microsoft.Dynamics.Nav.Integration.Office, Version=10.0.0.0, Culture=neutral,…
-
Replace CONTEXTURL in BC19
Hi, due to the fact that the buildin function CONTEXTURL does not exist anymore, I hav to replace this function by other function. Has anybody a solution from where I get the same information like CONTEXTURL? best regards,
-
How to POST a JSON to an API
Hi experts, This is Business Central cloud. I'm trying to send a POST HttpRequestMessage to an API. The body of the message must contain a JSON object, that I have created. When I run the code, I get this error: {"type":"https://tools.ietf.org/html/rfc7231#section-6.5.13","title":"Unsupported Media…
-
VAT is being rounded up wrongly
I am baffled by this behavior of BC rounding up the VAT Amount. My BC has Local Currency setup as USD and VAT Rounding Type set to as Nearest; Here is my currency setup for AED; When I create a PO in AED with Total Value without VAT as 50, with 5% VAT 52.50; The VAT Prod. Posting V1 with VAT Bus. Posting is configured to…
-
BC TechDays 2022 Video
My impressions of this year's conference: BC TechDays 2022
-
Consume external NAV SOAP webservices from SaaS BC
I am trying to consume a webservices in Business Central 14 (RTC C/AL) from Business central (BC19). I need to send an xml file from BC19 to BC14 to obtain checks and validation. So, I've a function in CU to do this:[External] ValidaXML_AIFM(VAR _XMLToValidate : Text;VAR _Error : Text) RetVal : Boolean IF NOT…
-
NST Services problem
Hi, got a new Job in the Developmend Field and have to look for the Dev-Server regarding Performance etc. On the Dev Serrver there are different NST's for different usage Configured. I've seen that they are using different amounts of memory. After rebooting the Server this will varying between 200MB and 2GB without any…
-
NAV CLient(s) using VPN
Hello Good day. Does anyone knows or have any idea on how to connect the NAV Client using VPN? currently we're using FORTiClient Thanks :)
-
Local characters in e-mail subject
Hi experts, I use Business Central version 13 on-prem. I have made a new codeunit that uses codeunit "SMTP Mail" to send an e-mail. It works fine (also with Danish characters in the e-mail subject and body). But if I add an attachment (a pdf-file), the Danish characters in the e-mail subject, is shown wrongly in Outlook.…
-
Business central standard application/system app code to protect a pdf-file with a password
Hello everyone, is there maybe a way to protect a pdf-file with a password in the business central application/system app? Or would be the only ways to implement this with azure functions or a control-addin? Best regards and thank you very much in advance
-
How to remove HTML tages without removing style
Hello am trining to add an add-in editor STyle to be the Notpade for the description fields on Sales Quote Page in Business central , so when i add this add-in the desciption was shwing with the html tags and i haven't experience on Javascript to correct this issue , so how can delete or replace moving this tags to not…
-
Setting password on pdf file OnCloud
Hey! I would like to set a password on pdf file (or just it's stream representation) in cloud ready solution; that means I don't want to use a DotNet. Ideally no Azure Functions either. Just a pure AL - is it even possible? Have any of you encountered such issue?
-
Nav 2018 Multiple Servers
Hi everyone, While I am not going to go into super specific details, is it normal for Nav to be ran across several servers? For example: You have a SQL Server named Server A, A Nav instance running on Server B, database -> Server A Another instance running on Server C, database -> Server A This might sound silly, but does…
-
Consume external soap Webservice from SaaS Business Central
Is there any way to do this? All procedure are marked [Scope('OnPrem')]..
-
How to debug in OIOUBL app from Microsoft?
Hi experts, This is regarding Business Central cloud with the Danish "OIOUBL" app from Microsoft installed. I have made an EventSubscriber like this: [EventSubscriber(ObjectType::Codeunit, Codeunit::"OIOUBL-Management", 'OnExportXMLFileOnBeforeBLOBExport', '', true, true)] local procedure…
-
odata/api page with cross-origin requests
Hi, I´ve been trying now for a while to create a react application and run it inside a page on NAV as a control add-in. I´m running version 2018 on a docker instance on my local machine and the control add in itself works fine. I´m able to pass data to the control add in with AL code, and i´m able to invoke AL functions…
-
change expiration date for a lot
How do you change an expiration date for a lot on a posted item?
-
read Bridge weight
Hello Am workin to add a function to read Bridge Value directlly from scale balance to business central (Version BC is Clous in Saas (20.0+) however the DotNet function is not working in saas , can i have any suggestion or exemple of source code to read value and out into my page with buttom function Thank you
-
Why does BC pick VAT Prod. Posting Group from GL Account Card for Prepayment Invoice?
If I am posting a Purchase Prepayment Invoice, and do not have a VAT Prod. Posting Group on my Advance to Supplier GL Account Card, I get no VAT Line in GL Entry during Prepayment Invoice Preview posting. Even the VAT Entry has a line with 0 VAT Amount. But if I have a VAT Prod. Posting Group in GL Account Card, I do get…
-
Merge PDF with Bullzip PDF
Hi everyone! I'm struggling with merging different PDF documents into one. I'm working with a NAV 17. My code is almost the same as the example they use in their page, but the merge part. While they use:// Merge with other PDF files. pdfSettings.SetValue('MergeFile', mergeBeforeFileName + '|.|' + mergeAfterFileName); I use…
-
Notification test
Hi, Does anyone have experience with notification testing? I'm currently writing tests and while using handler (https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/attributes/devenv-sendnotificationhandler-attribute) I manage to check if the notification message is what I assume, I can't test…
-
Partner license
Hi, I want to use power shell to export objects to text file from the customer Production license, any work around? Thank you
-
Approval Workflows - validation instead of just applying new value
Hello. I want to create Approval Workflow for Unit Price change on Sales Order lines. I got this using standard 'Revert the value of Unit Price field' and 'Apply the new values' responses from Workflows Templates. Unfortunately - it is just applying values without validation. After change Unit Prices approval requests is…
-
Processing CDATA with DotNet variables in NAV2013
Hello I've been searching the forum all afternoon reading about how I can handle CDATA in an XML response from a web service I am consuming in NAV2013 (yes, I know, it's an ancient version, lol). I've found some threads that show how to handle it with XMLDOM, but I prefer to handle with system.xml due to the msxml.dll…