-
Business Central Scroll bar issue while accesssing in mobile browser
Hi All, I created a list page in Business Central 18 On-premises. when I access that page in a mobile browser, Left&Right swipe not working. But if I open any default list pages swipe is working fine. Noticed the difference between the default page Vs customized page. In customized page horizontal scroll bar is not showing…
-
find the values of an array in a json (power automate flow)
Array: [ "5", "6", "4" ] Json: "body": { "fecha_inicio": "01-01-2023", "Id_Recurso": "{00000000-0000-0000-0000-000000000000}", "lunes": "5", "martes": "6", "miercoles": "5", "jueves": "6", "viernes": "4" } I need to find my array values inside json for example 5: lunes, miercoles 6: martes, jueves 4: viernes but I don't…
-
XmlDocument.root().SelectSingleNode() - or error handling in general
Hi experts, I have a class that call various classes in AX 2009. It handles all the files in an folder. I would like to catch all errors that may come from these classes, but some errors are not caught by try-catch {} For instance, if an xml file is incorrect when I read it, the call to…
-
Pass Document Attachment from Company A to Company B
Hi All, I am using cloud BC. any idea how to pass Document attachment from Company A to Company B? so I have Posted Purchase in Company A, i want to pass all these records to Unposted Purchase Invoice in Company B. Purchase Header and Purchase Line no problem. the thing is how about Document Attachment. My Code :…
-
XMLport import XML doesnt work when xmlns attribute within XML root in BC
When using Xmlport.Run, i am getting "The Attribute is unexpected." XML sample:<?xml version="1.0" encoding="UTF-8"?>
<Order xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"…
-
How to move cursor to the new line in BC
I need to move the cursor to the new line when I validate some field or after inserting.
-
Determine the page that begun the call stack
Hi, I have code that stops users re-opening some sales orders. But If a user is posting the warehouse shipment then std NAV re-opens the Sales order to set the posting date. Can I determine the page that begun the call stack ? I.e. if I determine the page the user was on was a warehouse shipment then I can determine in…
-
Having a Posting Problem with too many Direct Cost entries in Business Central SaaS
Dear all, I have a customer I’m setting up, and for some reason, the way I set up their system, I’m getting too many Direct Cost transactions posting to the G/L. You can see in the attachment that I’m getting 2 Direct Cost (in-and-out) that don’t need to be there: I have Direct Cost posting turned on, but in Cronus it’s…
-
How to Put a Exported XML file from Xmlport to Azure Blob Container in BC 365 AL
Hello Everyone, I wanted to achieve a task in which i am using an xmlport to export a xml file and trying to put that file into Azure Blob Storage Containers. Written the code something like this.This code is just placing a blank file on Azure, not my Exported Xml file which is in Outstream (OutStr). Please help with the…
-
Cancel payment to vendor
Hello, one of our customers has the following concern: he booked a vendor payment against an incorrect account and would now like to cancel it. So he has re-entered the payment in a general ledger, but here the amount with a negative sign. Now he gets the error message: "Amount must be positive in general ledger journal…
-
XML Port closing TAG
Hello everyone I would like to know how to use the closure of an xml tag explicitly when a null value is present. Example NAV closure <code /> closure i need <code></code> thanks to all
-
Create Corrective Credit Memo - Field Value Problem
Hi, I get the following error when I try to create a credit memo from a Posted Sales Invoice where Closed Field is True. "Invoice SQO-002200 is closed. The corrective credit memo will not be applied to the invoice. Show applied entries |Skip|Create credit memo anyway" How can I skip this Error? Because it I can't change a…
-
Go to specific line in grid
Hi experts, In Axapta 4.0, I have a grid with lines/records. The user can create records and change field values. When a field is modified, the form must change values on the current record and on some other records in the same form. And then it must refresh itself. It works fine, except that when all that is done (from…
-
Read files content from server on SAAS
Microsoft has a development for North America to generate some files and saves them into disc. My problem is that I can not read these files from disc because SAAS does not allow me to use any function that reads file content from disc. Could someone please help me how to proceed with this issue? Is there any possibility…
-
SendRequestAndReadResponse - HTTP Web Request Mgt - Procedure
Dear all! The case : I am having to do a post request using http method. What i need to know is , when exactly, does the post request in the sendrequestandreadresponse procedure, occurs? Because there are times that i am getting a timeout error in the getwebresponse , which is called by getresponse procedure ( codeunit…
-
Add file in encrypted ZIP file
Hi to all, Adding files into a .zip file is possible using FileManagement and functions for adding file to zip archive. But, is it possible in NAV to encrypt the ZIP file when it's created with pre-defined password in the system? I'll be grateful for any experience or advice. Best Regards
-
Business central + mermaid.js
Hi everybody I need to create a gantt diagram in Business Central, and I am thinking about doing it with mermaid.js (https://mermaid-js.github.io/mermaid/) but I can not manage to make it work in a Control AddIn i business central. Has anyone managed to do it, or something similar? Thank you in advance.
-
Lot No does not work when it is generated by code in transfer lines
I am creating transfer order by code and it works but i want to assign lot no also i wrote this code procedure AssignLotNO(transLine: Record "Transfer Line") var EntryNo: Integer; begin if LastTRackingSPecs.FindLast() then EntryNo := LastTRackingSPecs."Entry No." + 1; GetItem(transLine."Item No.");…
-
ShortCutKey on NavigatePage
I've got a question about the ShortcutKey Property. When I add a Shortcut to an Action on a Card- or Listpage. -> The Shortcut works perfectly. But when I add a Shortcut to an Action on a NavigatePage. -> The same Shortcut used above doesn't work for example for "back". Does anyone know how to solve this problem? (BC190,…
-
winhttprequest send method (with blob) with Umlaut conversion problem.
When in send a BLOB through an InStream that contains a special character ( german umlauts Ä/Ö/Ü ) i get a "400" response because the character doesn't get converted correctly. According to the ms docs you can add a second parameter to the function for enconding but it doesn't work with navision 2009sp1 does it? I'm…
-
Xml import question
Hi, is there a way we can import a complex type element in an xmlport? I am getting the error 'the element cannot contain text. Content model is empty'. I'm not sure how to get around this Regards,
-
There are any Microsoft Tool in order to convert the database in EUR?
Dear NAV & BC experts, We have a croatian Company. As you know, in January croatian companies have to pass to EUR currency. Dou you know if there are any Microsoft Tool in order to convert the databe in EUR? Thanks in advance.
-
Totaalbedrag sales line niet zichtbaar in uitgedraaid report.
De titel is een beetje vaag, dus ik zal het wat beter uitleggen. Ik ben met een opdracht bezig, waarin er in de verkoopfactuur een tabel voor openstaande ongefactureerde artikelen uit de Sales Line moet komen. Mijn opdrachtgever wil een totaalbedrag onder het tabel met de Sales Line artikelen hebben. Ik heb een global…
-
Print to ELO with BC
Hi, my customer has an ELO archive to which documents are printed through a printer driver. The Document has special control chararacters, so ELO know what document it is. With NAV 2017 this worked fine, as the printer output is textual based and therefore can be interpreted by ELO. The same print from BC results in a way…
-
Navison 3.53 license
Hi Does any one have Navison 3.53GB license and want to sell it/share for educational purpose?
-
random files on temp folder of service account?
The windows user "service.sql" is only used as a service user of the NAV ( 2017) , and c folder of the server is totally filled because of the produced temp files ( each has size 70 mb, so far total: 213gb ) in temp folder of this account. Please see the attachment . Do you know any reason why NAV produces this temp files,…
-
Guidelines for Partners: The Universal Code Initiative and SaaS related cases
The latest guidelines for partners on the Simplanova blog will explain the Universal Code Initiative, and its goals and will enlighten you about the most popular breaking changes regarding Cloud development. Take your time and have a read here:…
-
Cryptography Management and TempBlob
Hello Everyone, I'm trying to do something that is harder than expected. I have to send a file (a pdf report, for example), via httprequest with multipart form-data. I managed to do that, only working with the tempblob codeunit (it has to be compatible with cloud environment). The problem is that the provider receiving the…
-
Error with extension not properly connected to separate company
Hi there, I am installing an extension that I only want active in one company. However, when I try to use my other company where the extension is installed but not connected/active, I get this error on the pages that the extension touches. We can't connect with this other company since it is in a different country and the…
-
Updating Profile role from web client
Hi there, if you go to the profile role, there exist the possibility to customize the profile for all. But when I click to Customize a new site is opened with following link: http://s22-navapp2c:48900/BC190?profile=BUCHHALTER/IN&customize the port 48900 does not exist. May be it is because of missing the Client Base URL in…