-
LS Retail PrintBitmap
Hi experts, I need a quick help with Printing Bitmap Barcodes in LS NAV 2018. Below is code: Store.CALCFIELDS(LocationQRCode); IF Store.LocationQRCode.HASVALUE THEN BEGIN lBLOBRef.Blob := Store.LocationQRCode; QRPath := FileMgt.BLOBExport(lBLOBRef, 'QrBmpExp.bmp', FALSE); PrintBitmap(2,QRPath,1); DSTR1 :=…
-
Password Strength CU 9801
I am asked to include special characters in password (NavUserPassword / OnPrem / NAV2018) Before modifying Code Unit 9801 and include special characters like !@#$%^&*()_+ etc, will it be a problem anywhere. I am asking because, I wonder why this is not already included? TIA
-
"The Microsoft Dynamics NAV Application Server session for tenant 'default' has failed" NAV 2017
Hi, I was looking over the event log, and I noticed that I can't seem to get rid of this message and it repeates it self each 30 seconds. Does anyone have an idea how to stop this message appearing in NAV 2017 ?
-
How to capture values in a JSON String.
Hello there, Is there any way that I can copy JSON value and insert into dynamics nav table, Here is the sample JSON response. I am doing this in Dynamics NAV 2013. Initially I copied values using SELECTSTR but is there any proper way to do this. { "result": { "addresses": [ { "city": "8888", "address1": "*******",…
-
Upgrade NAV2015 to BC14 - Licensing issue
Hi all, We are currently running a heavily customized solution on NAV2015, and thought it might be a smart move to first jump to BC14 before making another upgrade some time later. Now, license-wise, is it already too late for this move? We will not be able to get a license for BC14 anymore? Are there any exceptions to…
-
API consumption works on local but throws 401 unauthorized error on live
Hello All, I have created a function which consume a certain API which works fine in my local PC but throws following error on live server: A call to System.Net.HttpWebRequest.GetResponse failed with this message: The remote server returned an error: (401) Unauthorized. The api works perfectly on live server while…
-
BC Excel Buffer Import - Capture Worksheet name for error handling
Hi All I have created an excel buffer import to a new table in BC. All works except when users do not use the specified worksheet name, the system throws an error which is not end user friendly. Is there a way to capture the worksheet name and compare it against the predefined name in codeunit, then show a custom error. I…
-
Accessing files on mapped drives using NAV 2013 web client
Hi, based on this link https://docs.microsoft.com/en-us/dynamics-nav/feature-limitations-of-the-microsoft-dynamics-nav-web-client it says that recordlinks support access to resources on file shares but when i tried to click on a file link inside the Link window in my PO, nothing happens. Does anyone knows why or what I…
-
Are we able to do Posting Cross company ?
Hi All, are we able to do posting cross company? for example I login to Company A. but I want to post for Company B. I can insert data from company A to B, but when post it, it seems still read data from Company A. By the way i am using cloud bc.
-
Sales Order Number Creation Instead of giving manually
Hi ,I would like to create sales order from codeunit, how I can get sales order number instead of giving manually ?
-
Receive data from third party software and create a new text file and keep it in shared location
Hi Experts, Could you please help me with the following: I have a requirement where I would need to read data from third party software. For which I have already created a new codeunit and published that. I have created the following code in the CU to read the data. Procedure ReceiveIncomingDoc(XMLBigText : BigText)…
-
Sending Response to Incoming HTTP Request
Hi Experts, I have a WS URL published, which is being consumed by a third party software to send data. Could anyone help me with how to send a response to that call? Thanks for your input.
-
Unable to void check due to currency rounding error
Codeunit 367 CheckManagement.VoidCheck function specifies if the check amount in local currency is not the same as the balance amount in local currency, get the Currency Code from the Bank Account Card, and adjust rounding as necessary. Our Bank Account does not have a currency code - we treat <blank> as default USD - is…
-
Duplicate Posted Purchase Receipts for a PO?
We have a PO with two Posted Purchase Receipts, by different users, for the same line items. How can this happen, and what can we do to disconnect/delete one of them from the PO so we can close? > Receipts in green are fine. Their received quantity matches the quantity on the PO line. The 2 receipts in yellow/orange are…
-
Cannot access to a function in a webService
Hi all, i am trying to consume a function in a web service published in BC. In postman, I get this error: In the WSDL, I can see tthat the function is published: This is how the function looks like: Must add that in this codeunit, I already have fucntions that are consumed without any problem. I'm afraid that the problem…
-
specify company in SETRANGE before DELETEALL
Hi Guys I have seen code where SETRANGE include a company name or id when selecting a record set as below:Object.SETRANGE(Type,Object.Type::TableData);
Object.SETRANGE("Company Name",COMPANYNAME);
Object.DELETEALL;
[img]https://us.v-cdn.net/5022383/uploads/editor/bi/xks0kbyt5ljw.png[/img] Is this necessary as I haven't use…
-
Working with Data Exch. Definition in SaaS
Hello everyone, I was wondering if Data Exch. Definition is working correctly in SaaS version of BC? I am planning to implement a global integration system for BC SaaS and I want to use Data Exch. Definition as a part of it for importing/exporting XML,CSV etc. since its pretty convenient. But when I check the standard…
-
Not able to receive response during Decryption of invoice in Json format
Dear All, We're using NAV 2016 and we're handling an e-invoicing process and during the API request and response exactly during the decryption process of sales invoice I'm receiving the follow error: A call to System.Net.HttpWebRequest.GetResponse failed with this message: The remote server returned an error: (500)…
-
ExtendedDataType -> call custom application
Hi all, system: NAV2013 R2 OS: Windows 10 Pro I would like to set the custom application that is being executed/called as user clicks on field "Phone No." on page "Contact Card", but I do not know how the call to execute default application is being called. I have done this: 1. CallToFromNav -> inserted the new default app…
-
Alternative Replenishments & Planning Improvements Tool
Hi All, I am looking for a solution - external app or company who had already developed solution which could cover below scenarios. Any suggestions will be highly appreciated. Thank you! Scenario 1. Item is set as to be purchased (Replenishment Method = Purchase). Lead Time connected with purchasing: 8D. Item can be also…
-
Create excel file from stream or from disk C/AL on prem
I need to load an excel template file from a folder on the computer (or from a blob), modify some cells, then send this to the client machine, without modifying the original file, and without prompting the user to upload the file. Currently I have it all working, except for the last part. Is there a report somewhere that…
-
Business Central - Warehouse Shipments / Filtering Sales Orders
Good Day, We are moving to Business Central and are struggling with what we believe should be a simple concept and we have yet to come up with a solution for this issue, nor has our developer. Within BC, we will need to pick and ship many sales orders at one time. We thought this would be simple, creating a Warehouse…
-
permissions bc17-bc19
hi, after new implementation importing client permissions didnt work in permissions sets. where do we import permissions in bc19?
-
NAV 2017 on phone App
Hi would you please guide me how to set up NAV 2017 on Phone App? I have downloaded Dynamics NAV app from google lay store...will it work or there is any other app that can connect.
-
NAV 2018 Task Scheduler doesn't actually run tasks
So on this NAV 2018 build 19394, I have this weird problem, that enables me to schedule tasks but they never seem to actually run. This is was I observe when I schedule a task and try to run it: * Create a simple codeunit that does not do anything but a SLEEP command * Schedule the codeunit to run every 5 minutes, every…
-
Error message not displayed in full in BC19
Hi, I am raising an error with the usual Error command and it is not displaying the error in full. I then open the page in a separate window and then all is revealed, I am interested in showing the error message in full without this extra step: - Regards & Thanks Roddy
-
Unable to post Purchase Invoice
Posted a Purchase Receipt for GL Lines( Productive Indirect Cost) and there is Quantity in "Qty received but not invoiced" field is 123 But while posting the Purchase invoice "Quantity Received" field is getting Blank. And we are getting belowerror: "You cannot invoice Order xyz for more than you have received." Please…
-
How to transfer custom field amount to the right G/L account (Chart of Account)
Hi I would like to send the custom field amount (Allowance) [as the blue box in the image] to the bal. account allowance [50113]. May I know is there any event that I can subscribe or any custom code that I can use? I've tried using the method in base app but it doesn't work.
-
Unable to post Purchase Invoice
Posted a Purchase Receipt for GL Lines( Productive Indirect Cost) and there is Quantity in "Qty received but not invoiced" field is 123 But while posting the Purchase invoice "Quantity Received" field is getting Blank. And we are getting belowerror: "You cannot invoice Order xyz for more than you have received." Please…
-
How to receive a JsonObject by parameter in web services
Hi, I try to create a web service in BC that receives this structure curl --request POST \ --url 'https://api.businesscentral.dynamics.com/v2.0/XXXXXXXXXXXXXXXXXXXX/Testing/ODataV4/Test_CreatePurchase?company='XXXXXXXXX\''' \ --header 'Content-Type: application/json' \ --data '{ "_Header": "00007180", "_Lines": [ {…