-
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…
-
How to export my JSON File in TEXT File & Save it on my desktop
We are working with NAV_BC14 using C/AL code. My Jason Code is as follow: **************************** //Create Json IF ISNULL(StringBuilder) THEN Initialize; SalesHeader.SETRANGE("Document Type",SalesHeader."Document Type"::Order); SalesHeader.SETFILTER("No.",'2258634'); IF SalesHeader.FINDFIRST THEN…
-
pass by value and pass by reference
what is pass by value and pass by reference what is the use of this both diff b/w both and can you explain explicitly give me reference link of this also
-
Error while running the report in Trial Version of D365 F&O.
Dear All, I'm using trial version of D365 F&O, I can post all the transactions but cannot generate report. please help with the issue. Thanks in advance, Srinivas.
-
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 :)
-
upgrade Server version
Hello Guys. I need your help. I need to install my old navision server into a new Virtual machine , I've installed the Client and server. classic is working well but when I open RTC . I got this error. My question is , how can I upgrade de server version and where I get the upgrade.
-
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?
-
What’s new in Dynamics 365 BC version 2022 Wave 2
As the new version of Dynamics 365 Business Central is coming, Simplanova is organizing the webinar with Microsoft MVP for Business Applications – Stefano Demiliani, and encourages you to attend. During the webinar, you will hear detailed information about What’s new in Dynamics 365 Business Central version 2022 Wave 2.…
-
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…
-
Add or Subtract Days, Months, or Years using cueent month and year and date
how should I calculate current month to next months as per customer given For example I have Date Field "Start Date" customer given like this(01-01-2022) I have Contract Period Filed Customer should give In this field 06 Months contract period so That ending date automatically return should be like this with calculate…
-
I don't see automation dbOleWrapper.ocx in variable editor on Win10 x64 or Win Server 2019 x64
Hi. I need to use some automations methods in Classic Client. And some of them are params of type SAFEARRAY. So I downloaded here component "dbOleWrapper v 0.2". Then I copied dbolewrap.ocx to C:\Windows\SysWoW64\ and exec by admin:%SystemRoot%\SysWoW64\regsvr32 C:\Windows\SysWOW64\dbolewrap.ocx I recieved message that…
-
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…
-
dbOleWrapper v0.2
dbOleWrapper This Tiny OCX enables Navision to make use of - COM Objects which do not have an OCX or AutomationController (e.g. OpenOffice) - AutomationControllers, with Methods which are using parameters as SAFEARRAYs (e.g. ImageMagick) First Beta Release - please Test & Enjoy http://www.mibuso.com/dlinfo.asp?FileID=772…
-
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…
-
Error - The Posting Date doesnt lie in Tax Accounting Period
Validation Results - "The Posting Date doesnt lie in Tax Accounting Period" Any Clue on this error while creating Bank Receipt entry with TDS Section having Parameter "Calc Over & above Threshold" set to Yes Business Central Online - India