-
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
-
After BC upgrade from 14 to 20 on-prem, can't install Email - SMTP Connector and other apps on DVD
Hi all We upgraded version 14 to 20 and it went smoothly. We can run the web client and the data is there. Everything looks fine. Now we want to publish additional apps from the Applications folder, but when we run the Publish-NavApp in Powershell it appears to not be published because we can't install it and if we run…
-
"Internet browser is not installed" error message BC13
Using Business Central 13 CU 6 users who have upgraded to windows 11 are now receiving the message "Internet browser is not installed" when attempting to open a document via the attachments fact box. I can see in NAV 2018 this was fixed as a platform update in cumulative update 48:…
-
Version 20 debugging, always breaking on UserPreference.modify
Since upgrading to version 20, every time I run the debugger from Visual Studio it breaks immediately on standard code in the Rolecenter Selector Mgt. codeunit, 1485, shown below procedure SetShowStateFromUserPreference(UserName: Code[50]; State: Boolean) var UserPreference: Record "User Preference"; begin if…
-
Can a payment be applied to specific invoice lines? Can you query for that if it is possible?
I'm using Navision 2009 R2 and querying in SQL Server, can I find if a payment was applied to specific invoice lines (assuming that's possible)? Here's what I'm currently querying:SELECT pmt.[Entry No_] , inv.[Document No_] , d_inv.Amount , sil.[Line No_]
FROM dbo.[<Company>$Cust_ Ledger Entry] pmt -- payment entries
INNER…
-
The number of keys specified in the URI does not match number of key properties for the resource
Error: "The number of keys specified in the URI does not match number of key properties for the resource" while exposing Business UnboundActions using Odata V4
-
How to execute functions in codeunit across multiple database
Hi, We have four databases ( and some companies on each of them) , and we want to write the codes of functions in only one of the database and execute functions( as job) on all of them. Is there a way to do this? Our aim is having the code in one place so that we can ensure that it is same for all databases, companies.
-
Dynamics mobile templates
Hello everyone! I wanna change and switch templates for dynamic mobile but do not know where to find the templates. Do you have any ideas? Please give me a hand, I very much appreciate your support.
-
Links
Hi there, I created a codeunit to insert links where I use ADDLINK etc... when I try to open the link in Nav it says "Link address is not valid" but if I add it manually the same link is OK. When I look at the Link record (See pic) the entries added by my codeunit looks exactly the same as the one added manually except…
-
NAV2017 float Feld?
Moin Moin, ich häng aktuell bei bei der Erstellen einer Schnittstellentabelle und Verknüpfung einer Externen Tabelle (.dbo) fest... Mein Problem ist, dass ich zwar die float Felder in der Externen Datenbank mit den NAV Datentyp BLOB in einer Page anzeigen lassen kann. Aber bei einem erstellen eines neuen Datensatzes…
-
help this issue The request for path /v2.0/Sandbox/dev/apps?tenant=5ab57dbe-56d1-42be-a34a-e8cddae9
-
"No active message processors listening on the message queue." Troubleshooting
This is a prompt that my clients get from time to time and restarting the service tier fixes it, but I don't know how to find the cause of the message. Especially when the service is running. Does anyone know of any tips for looking into this particular prompt further? I have a client asking and I'm not sure what to tell…
-
Add new field in the form from other table to be used as storage once data is posted
Hi, I would like to seek help from all experts here. In the Warehouse Receipt Header form, I wish to use one of the fields of the Purchase Header table into the said form so that I can input remarks and these remarks can be seen in Purch. Rcpt. Header table upon posting. Thank you in advance experts.
-
Change Tax Amount on Purchase Line by AL Code
Hi All, I'm trying to build an integration to an external system to sync purchase orders and lines. There are small rounding differences between the two systems. Tried setting rounding on general ledger setup but the reality is it's never going match 100%. What are the options to set tax amount on document lines? Couldn't…
-
Creating empty container (CSIDE)
Hey, I am looking for the best way to create container with c/side version that would contain only those objects that are present on some client environment. The easiest way that comes to my mind would be to create container with no objects inside (no standard) and then import *.fob with desired objects. Is this possible?…
-
Danish letters in subject on e-mail using Lessor Payroll
Hi experts, I use Business Central version 13 on-prem. When I make a new codeunit and use codeunit "SMTP Mail" to send an e-mail, everything works fine. But when I use Lessor Payroll codeunit 6000802 to create an e-mail with the payslip using codeunit "SMTP Mail", then the "Subject" of the e-mail is changed from…
-
VAT check by VIES returns an error
Hej Guys, i've searched through the threads, but didn't find anything. So maybe someone faced the same problem and can help ? Since some time (about 2 weeks) we face the problem, that the vat check via VIES returns the message "error by exceuting System.Xml.XmlDocment.Load with following message: unexpected token ">". The…
-
POST request fails: Could not create SSL/TLS secure channel
Dear Experts, I am trying to post data to some https endpoint of our partner from NAV2018 When I am sending the request from NAV (i tried AL variant with HTTPClient and C/AL variant with HttpWebRequestMgt), it fails with the following error: "The request was aborted: Could not create SSL/TLS secure channel." When I do test…