-
Issue with Multiple Mail Attachments
Hi I have been playing around with the Email routines in NAV, specifically the Mail codeunit 397 and trying to send multiple attachments by Outlook. However, what seems to be a simple modification is being anything but! I have added a function which is based on the standard CreateAndSendMessage function, but accepts an…
-
OptionString in XML
I try to create a sales order using a standard web service. It works fine with items, but I cannot create sales lines that uses G/L Accounts. I write this in XML: <Sales_Order_Line> <Type>G/L Account</Type> <No>1485</No> <Description>Description</Description> <Quantity>1</Quantity> <Unit_Price>59</Unit_Price>…
-
Error in getting access token for azure key vault in business central?
Hello Everyone! I am trying to POST an HTTP request with different parameters in the body, but i am getting the message "oauth2 error AADSTS90014: The request body must contain the following parameter: 'grant_type' ". Through Postman i am able to get the access token, with the same parameters. I don't know what i am doing…
-
Merged GL entries
Hi, I have dilemma with customer requested modification to BC. In BC, GL Entries with same dimension set are combined into one gl entry. Now I'm requested to do a mod to BC with a purpose of not to combine gl entries. Rough Example --> Sales GL Account is 3000 Sales Invoice with two lines and with identical dimensions is…
-
SMTP Email without Server Internet
Hello Team, I need a help on the below scenario.It would be great if I get a solution. While I am sending mail from NAV 2013 I am getting this Error " The SMTP mail system returned the following error: "Failure sending mail. The remote name could not be resolved: 'smtpout.secureserver.net'"." In the above scenario My…
-
Adjust Cost Item Entries batch job (795) is taking long time
Adjust Cost Item Entries batch job (795) is taking more than weekend hours (38 hours) to execute and we cannot run this batch during working days due to table lock error?: Server Configuration Windows Server 2008 R2 Standard, Service Pack-1 Processor:- Intel(R) Xeon(R) CPU X5650 @ 2.67 GHz 2.67 GHz Installed Memory(RAM) :-…
-
Issue in Event
Dear Sir, In NAV 2016, there is an Event function called OnBeforePostItemJnlLine in Codeunit 22 Item Jnl.-Post Line. I am subscribing the same function in my custom codeunit & call the Codeunit 22 Item Jnl.-Post Line to Post something. It's working with a message "There is nothing to Post" & it does not clear the Page.…
-
Reverse G/L Entry From Code
Good morning, I've been trying to create a general ledger entry that would reverse the desired purchase transaction (or a part of transaction). All I really want to do is find the one general ledger entry and post it with negative amount, then post it again to another account. I'm using BC15 and the only event I found,…
-
"There are too many dimensions " Error
I have a List Page which displays data of one integer field from a table. I have to produce some operations with this field (sort in decreasing). So my field is like 10 dimension array (10 integer numbers are get). Here error is occurs ("j" gets value from 1 to the (length of array-1)) Could anybody tell me what I have to…
-
apply entry error in nav16
When a user trying to apply entry he is getting error "you cannot apply multiple documents with service tax in one transaction"....please help
-
Inconsequent System.Xml.XmlDocument.Save error
I hope someone can point me in the right direction. Sometimes a user gets one of the attached error messages when either calling a webservice of exporting a payment file. The last one is standard Dutch NAV functionality, so no customizations. It is also not a consequent message, since the user performs these tasks multiple…
-
Danish locale for help server not working in Business Central V14
I have installed the help server from "CU 04 Dynamics 365 Business Central Spring 19 Update DK", so I would assume that the danish language would be included in the help server, and it is in part. The navigation menu is in danish, but the content doesn't show up, an error does. I've done a few on-premise installations of…
-
SMTP Mail setup CreateMessage --> with or without HTML?
Hi all, I am using smtp mail setup to send email this is new CreateMessage function in smtp mail setup,so we cant put html as true or falseSMTPMail.CreateMessage(CompanyInformation.Name, SMTPMailSetup."User ID", ToAddress, EmailSubject, BodyTextEmail); Previously i created template with my own <br> because smtp mail setup…
-
Responsibility Center in Business Central
Hi, As we can setup different responsibility center in Navision and can assign them to a default location code for monitoring purpose. But in D365 BC, is there anyway or a function to have different responsibility center to be assigned with different serial numbers. Currently Serial Numbers function is in Item Card (Item…
-
NAV crashes when I try to open Jobs on a customer
Hi I have a problem when I've looking at a customer card and try to open Job List (Jobs) from there. Then NAV crashes without af error message. It's only one some customers where it happens and some of my colleagues aren't having the same problems. I've checked the windows log, and I see to errors occouring: Application…
-
Getting error Dynamics 365 integration
Hi I am getting error while setting up Dynamics 365 connection setup. I have entered Domain user id and password and authentication type AD "The connection setup cannot be validated. Verify the settings and try again. Detailed error description: Organization cannot be null or empty. Parameter name: Organization Name" warm…
-
Filtering page API
Hi everyone, I've published a page that is consumed from an external application. The source table of this page, is "Item". I need to aplly one filter, not to send al the items to the external aplication. The filters logic is this: IF "Item Category Code" = 'XXX' THEN SETFILTER("Product Group…
-
Any way to find out last activity for items in stock?
Dynamic Nav 2013 R2 - Is there any way to find out items that are currently in stock but their last activity was before a certain date? I tried going into the Item ledger entry table and filtering out "remaining Qty" <> 0 and posting date before 'date' but that then excludes the last activity which could have been after…
-
Invalid URI: The hostname could not be parsed.
Hi all. I have this piece of code: Hyperlink(GETURL(CurrentClientType(), COMPANYNAME, OBJECTTYPE::Table, 18)); It used to work, but since I restarted my computer the error "Invalid URI: The hostname could not be parsed." appears. It's a Windows client. Any suggestion? Thank you ever so much
-
Dynamically change caption on standard dialog page
Hi all, Is there a way to dynamically changed caption on field? Page type is standard dialog, so no source table. Thanks
-
MSD NAV 2015
when a customer list opens, in the header the caption for the column should be a value stored in variable. for example instead of "Name" I would like to have "Customer Name" and "Cust Name" based on condition. one of the two will be stored in the variable that has to pe in header when page opens.
-
service tax apply entry error in nav16
hi friends, When ever my user trying to post an apply entry in Nav 16 india version getting this error, to remind he is trying to apply entries with service tax not GST
-
"optimizing-sift-and-vsift" - 10 year ol article on dynamicsuser.net
Hi I stumbled over this interesting article by Jörg Stryk: https://dynamicsuser.net/nav/b/stryk/posts/optimizing-sift-and-vsift It is (more than) 10 years old, but the question is: Is it still relevant? More precisely for Nav 2017 and onwards.
-
Update Totals on Subform
I have created 2 fields by extending the Sales Line table.* Premium % (Decimal) * Premium Amount (Decimal) These two fields will be shown on the Sales Order Subform and will function like how Line Discount % works. It is just that, it will add the Premium Amount value to the Line Amount instead of how Discount % subtracts…
-
Unit Of Measure Translation
Hi, We have the German Language Pack installed and a Unit of Measure translation setup for the German Language. When running a report with the Unit of Measure field displayed with the CurrReport.LANGUAGE set as the German Language code, we still see the english 'EACH'. What other factors need to be considered for the UoM…
-
Add new calculated field in a table taking the value from same table.
Hi Everyone, I have created one new field 'VAT Amount' in purchase line table. and i want this to update as calculated field as: VAT Amount= Amount including VAT - Amount; eg. VAT Amount=15-10=5;[field: 'Amount including VAT' and 'Amount' already is present] SO, i tried the below code in VAT Amount field ONValidate trigger…
-
Tell me a way to cancel or exclude OPen PO and open Another PO while running MRP
For the demand. I have an open SO for 4 delivery dates for one purchased part. The buyer has already opened a PO with four lines on it buying the part and scheduling the delivery to coincide with the date of need. I would expect the plan to see the open PO and count it as a scheduled receipt. Instead, when I run the plan,…
-
Problem with insert built-in layout for a report
I created a custom Sales Invoice and Credit Memo and they work fine, I'm able to print them without any problem, but I need to insert a Word Layout for them and as soon as I click on Accept on the page (image added) it just says there was a problem and disconnects. It's done on VS Code on the latest release wave. A…
-
Deploy ClickOnce Dynamics NAV2018
Hi Friends, NAV2018 CU06 SDK-V8.1A NETFX 4.5.1 Windows Server 2012R2I got an error message as below when try install client from ClickOnce: "System.Deployment.Application.DeploymentException (ManifestSemanticValidation) - The customHostSpecified attribute is not supported for Windows Forms applications." After…
-
How to output full array by message?
I have an array of 10 elements. How to output this elements by message without hardcoding like: MESSAGE(FORMAT(ArrayNumber[1]) + ', ' + FORMAT(ArrayNumber[2]) + ', '+ FORMAT(ArrayNumber[3]) + ', '+ FORMAT(ArrayNumber[4]) + ', '+ FORMAT(ArrayNumber[5]) + ', '+ FORMAT(ArrayNumber[6]) + ', ' + FORMAT(ArrayNumber[7]) + ', '+…