Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all 29197 articles
Browse latest View live

How to pick values from middle in a report data set?

$
0
0

How can I show Total Caption and discount field in a table(non-repeating). It shows empty fields When I try =Fields!FeildNAME.VALUE

DATA SET from About page

Documnet TYPE           Documnet NO          SALES LINE AMOUNT     TOTAL CAPTION            Discount

ORDER                         SO0001                               <>                                 <>                             <>

ORDER                         SO0002                               10                           Total Amount                   2

ORDER                         SO0002                                20                          Total Amount                   3

ORDER                         SO0004                               30                           Total Amount                   5

ORDER                          SO0005                              <>                               <>                             <>


Payment Against Invoices

$
0
0

Hi

 I want to generate a report in which i want Bank Payment done to Vendor and against which invoices it has been done.

Thanks

restrict posting date for Whse Phys Inv Journals, Whse Reclassifciation Journals and Revaluation Journals

$
0
0

Hello Experts,

Currently, Nav is allowing users to enter a posting date outside of their allowable posting date range set up in User Setup table when posting in Whse Phys Inv Journals, WHse Reclassification Journals and Revaluation Journals.  It doesn't seem like Nav is checking user's allowable posting date in the User Setup table.

Is there a set up somewhere in NAV that will enable for Nav to check the allowable posting date range in user setup when users are posting in any of above journals?  I thought maybe I should ask you first to avoid having to modify the code if not necessary.

Use navision to fill dataset result into external word document

$
0
0

Greeting,

The situation of my problem is next:

I have a word template for Manager contract. Word template is on path „C:\temp“ for example. Manager contract template look likes:

                                                           Manager contract

Manager contract is concluded between [Name],[Address Street], JIB:[JIB] which represents [Confidential Clerk Name], [Confidential Clerk Position] and [First Name Employee] [Last Name Employee]

..........................................................................

........................................................................... etc

Bold words should be dataset result from navision. So, my first question is, is it possible to fill dataset result from NAV to word external template document. If the answer is positive(yes), how can I realize that?

 

Thanks for your help.

The Server "NAV Server Instance name" was unable to process the request. The Application will close.

$
0
0

Hi all, I just bought a new computer yesterday and I installed Dynamics NAV 2016 RTC on my computer. When I was trying to logon it giving me these error: The Server "DynamicsNAV90" was unable to process the request. The Application will close. I have tried to log on with my other computer with my username it works fine. NAV server instance on server is running. Event Viewer Details give me these:

The description for Event ID 0 from source MicrosoftDynamicsNAVClient cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The server "DynamicsNAV90" was unable to process the request. The application will close.
StackTrace:
     at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: The server "DynamicsNAV90" was unable to process the request. The application will close.
StackTrace:
     at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
     at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServiceConnection.SetClientSettings(SessionSettings sessionSettings, Boolean saveOnly)
     at Microsoft.Dynamics.Nav.Client.ServiceConnection.SetupCultureCore(SessionSettings sessionSettings, CultureInfo userCulture)
     at Microsoft.Dynamics.Nav.Client.ServiceConnection.SetupCulture(CultureInfo currentCulture)
     at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.OpenConnectionToServer()
     at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.OpenServerConnectionCore()
     at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.OpenServerConnectionWithMultipleLoginAttempts()
     at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.InitializeUISession()
     at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.InitCore()
     at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.InitCore()
     at Microsoft.Dynamics.Framework.UI.ClientSessionCore.Init()
     at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
     at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: The server "DynamicsNAV90" was unable to process the request. The application will close.
HResult: -2146233088
----------------------------------
Type: System.Globalization.CultureNotFoundException
InvalidCultureId: 14345
Message:
  Culture is not supported.
  Parameter name: culture
  14345 (0x3809) is an invalid culture identifier.
ParamName: culture
StackTrace:
     at System.Globalization.CultureData.GetCultureData(Int32 culture, Boolean bUseUserOverride)
     at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)
     at Microsoft.Dynamics.Nav.Runtime.NavSession.GetFormattingCulture(ClientSettings clientFormats)
     at Microsoft.Dynamics.Nav.Runtime.NavSession.set_RegionalSettings(ClientSettings value)
     at Microsoft.Dynamics.Nav.Service.NSService.SetClientSettings(SessionSettings settings, Boolean saveOnly)
     at SyncInvokeSetClientSettings(Object , Object[] , Object[] )
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
     at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
Source: mscorlib
HResult: -2147024809


the message resource is present but the message is not found in the string/message table

I did try to do installation repair but the error still persist. Can anyone help me with these?

greatly appreciated!

Karl Jayawan

Invoice Rounding Precision

$
0
0

Hi Friends,

i want to create sales order when i open the sales order that time it showing error  like this.

please tell any solution to solve this error.

Thanks&Regards,

Ashwini.E

NAV inherent Process

$
0
0

Hi Guys,

This might sound a bit silly (at least I think it is), but does any of you know if NAV has an inherent process that you can use? If there is, would I be able to acquire a map of this process & where can I get it?

Here is where we are coming from. Prior to the customization of the system, we want to evaluate first which process would be better or more like a better fit for our doing of business. Because if the inherent process was found to be better that our actual process, then we will be using the inherent process without any customizations.

TIA

Alvin Roy V. Sano

Validation problem in PO auto mail system

$
0
0

Dear Experts,
I write the code when Purchase order will release then Purchase Order will go to the concern person as well as vendors.
Now I have added the new fields in "Purchase header" table name is "Pre-Approved invoice" it is a boolean type fields.
Now the concern is if checkbox is checked then no mail will float. If checkbox is unchecked...then mail go the concern person.
My written code is below:

SendMailtoVendor(PurchHeader : Record "Purchase Header")
IF PurchHeader."Currency Code"='' THEN
PurchHeader."Currency Code" := 'INR';
PH.RESET;
PH.SETRANGE("Document Type",PurchHeader."Document Type");
PH.SETRANGE("No.",PurchHeader."No.");
// PH.SETRANGE(PH."Pre-Approved Invoice", FALSE);
PH.FINDFIRST;
DomPO.USEREQUESTPAGE(FALSE);
DomPO.SETTABLEVIEW(PH);
PdfDocPath :='Purchase Order Details-'+PurchHeader."No."+'.pdf'; //FileName
Path := 'E:\PO Mails\'+PdfDocPath; // Directory + Path
IF RecUserID.GET(PurchHeader."Created by ID") THEN;
IF NOT DomPO.SAVEASPDF(Path) THEN
ERROR('PDF Creating Failed!\\ERROR:\\' + GETLASTERRORTEXT);
SmtpMail.CreateMessage('MKU Limited',RecUserID."E-Mail",'','Released PO No.: '+ PurchHeader."No.",'',TRUE);

IF RecUserID.GET(PurchHeader."Created by ID") THEN
SmtpMail.AddCC(RecUserID."E-Mail");
RecVend.GET(PurchHeader."Buy-from Vendor No.");

//IF PurchHeader."Mail Sent to Vendor" =FALSE THEN BEGIN
IF CONFIRM(Text001+RecVend."E-Mail") THEN
SmtpMail.AddRecipients(RecVend."E-Mail");
//END;

SmtpMail.AppendBody('Dear Sir / Madam,');
SmtpMail.AppendBody('<br><br>');
SmtpMail.AppendBody('Please find attached the Purchase Order for the following items -');
SmtpMail.AppendBody('<br><br>');
SmtpMail.AppendBody('<table border="1">');

SmtpMail.AppendBody('<tr>');
SmtpMail.AppendBody('<th align="left" colspan="1">Vendor Name</th><th colspan="5">'+PurchHeader."Buy-from Vendor Name"+'</th>');
SmtpMail.AppendBody('</tr>');

SmtpMail.AppendBody('<tr>');
SmtpMail.AppendBody('<th align="left">Item Description</th>');
SmtpMail.AppendBody('<th>Currency</th>');
SmtpMail.AppendBody('<th>UOM</th>');
SmtpMail.AppendBody('<th>Quantity</th>');
SmtpMail.AppendBody('<th>Rate</th>');
SmtpMail.AppendBody('<th>Due Date</th>');
SmtpMail.AppendBody('</tr>');

//ReqLine.SETRANGE(ReqLine."Indent No.", "Indent No."); /////////////////// with u can see the mail documnent wise.
PurchLine.RESET;
PurchLine.SETRANGE(PurchLine."Document Type",PurchHeader."Document Type");
PurchLine.SETRANGE("Document No.",PurchHeader."No.");

IF PurchLine.FINDSET THEN
REPEAT
SmtpMail.AppendBody('<tr>');
SmtpMail.AppendBody('<td align="left">'+FORMAT(PurchLine."Print Description")+'</td>');
SmtpMail.AppendBody('<td align="center">'+PurchHeader."Currency Code"+'</td>');
SmtpMail.AppendBody('<td align="center">'+FORMAT(PurchLine."Unit of Measure Code")+'</td>');
SmtpMail.AppendBody('<td align="right">'+FORMAT(PurchLine.Quantity)+'</td>');
SmtpMail.AppendBody('<td align="right">'+FORMAT(PurchLine."Direct Unit Cost")+'</td>');
SmtpMail.AppendBody('<td align="center">'+FORMAT(PurchLine."Promised Receipt Date")+'</td>');
SmtpMail.AppendBody('</tr>');
UNTIL(PurchLine.NEXT=0);
SmtpMail.AppendBody('</table>');
//SmtpMail.AppendBody('<br>');
//SmtpMail.AppendBody(' If you have any queries , please mail at preeti.bhatia@mku.com OR vashique.ahmed@mku.com');
SmtpMail.AppendBody('<br><br>');
SmtpMail.AppendBody('<b>This is a system approved order so does not require signature.</b>');
SmtpMail.AppendBody('<br><br>');
SmtpMail.AppendBody('<b>Regards</b>');
SmtpMail.AppendBody('<br>');
SmtpMail.AppendBody('MKU Limited (Purchase Department) ');
SmtpMail.AddAttachment(Path,PdfDocPath);;
GetReportFilters(SmtpMail,PurchHeader."Shortcut Dimension 1 Code",'MR-0012',5722,RecItem."Item Category Code");
GetReportFilters(SmtpMail,'','MR-0012',91,'');
GetReportFilters(SmtpMail,'*'+PurchHeader."Shortcut Dimension 1 Code"+'*','MR-0012',91,'');
SmtpMail.Send;

For sending the mail I have write the code in codeunit no 415...

the screenshot is below:


Page Width Property for Boolean(and any other datatype) can't be set

$
0
0

Hi There

hoping to get someone's attention on the NAV team at MS... 

I'm wondering what the rationale was behind not being able to set the width property on a Boolean field on a page was? is the assumption that because the field value is TRUE/FALSE (i.e. very short) the field caption would also be TRUE/FALSE? 

This limitation combined with the haphazard way matrix pages have to be built leads to a really poor user experience, are there any plans to remove this limitation in future versions? and also making the width property editable at run time as we can with Visible etc... would be very handy!(or every property if you're feeling particular generous? ;))

Regards

Garry

Copy Document function taking too long

$
0
0

Hi,

The Copy Document function is taking too much time to create a sales invoice from a posted invoice. The lagging exists even when they create a manual invoice, entering qty takes a long time to validate.

It is only happening to few users. They have NAV 2017 and this cannot be reproduced on my login at all. I have tried logging on the user PC NAV by using Run as a different user and it works in seconds. So it is not a user PC/user NAV installation issue.

Deleted the user personalisations, removed the  PersonalizationStore.xml from the user PC and even gave them SUPER rights. The issue still persists. I am running out of ideas now. Please, can anyone suggest any other way to diagnose/resolve this issue?

Regards,

Cecil

Copy records from one table into another

$
0
0

HI! I have 4 tables: tab1header, tab1lines and tab2header, tab2lines. I want to create something like posting -  copy information from one table (tab1heder and lines) to tab2heder and lines, then delete order from 1table. I am not good at using filters and its issue difficult to me. How I can do it? Can I find similar code in standard solution?

How to get currency exchange rates for CHF (swiss frank) in NAV 2017?

$
0
0

Hi community,

Standard setup for swiss localization gives only Yahoo Service. But unfortunately, it is not working.

query.yahooapis.com/.../yql * from yahoo.finance.xchange where pair in ("CHFAED","CHFAUD","CHFBGN","CHFBND","CHFBRL","CHFCAD","CHFCZK","CHFDKK","CHFDZD","CHFEUR","CHFFJD","CHFGBP","CHFHKD","CHFHRK","CHFHUF","CHFIDR","CHFINR","CHFISK","CHFJPY","CHFKES","CHFLTL","CHFLVL","CHFMAD","CHFMXN","CHFMYR","CHFMZM","CHFNGN","CHFNOK","CHFNZD","CHFPHP","CHFPLN","CHFRON","CHFRSD","CHFRUB","CHFSAR","CHFSBD","CHFSEK","CHFSGD","CHFSZL","CHFTHB","CHFTND","CHFTOP","CHFTRY","CHFUGS","CHFUSD","CHFVUV","CHFWST","CHFXPF","CHFZAR")&env=store://datatables.org/alltableswithkeys

Another option is europen central bank, but it gives results only EUR to other currencies.

How to get currency exchange rates for CHF (swiss frank) in NAV 2017?

Format date in a report word layout

$
0
0

Greetings,

I have a question about dates in a report word layout. Example I have a field "Starting Date" and I add this field to my word report. But also, I have to add just a year of "Starting Date". So, my question is does I have to add a field StartingDateYear in my report or I just can display year of "Starting Date" directly in a word. 

Thanks for your help

Dynamics NAV 2016 and NAV Universal App on IOS Access Issue

$
0
0

Hello Everyone,

So we have a Dynamics NAV 2016 installation on-premise and have been looking at implementing ADFS and IFD for some time now.
Over the last few weeks we have setup ADFS and have used a WAP to get external access to our NAV development installation from the internet.
This works fine for any web client on any device we have tested.

However, we are having issues gaining access to the environment through the Dynamics NAV universal app for IOS.
We cant seem to get past the 'Service Name' screen where the external address of the server is inputted as we get the generic 'Could not connect to the server' error.

QfiFJ5lsTwuX9uf2I5Zn_Image-1.jpg
Using a packet trace through our Fortinet Firewall seems to indicate our WAP may not be re-directing some .ASP pages incorrectly, as indicated from the snippet below.
These pages exist on the NAV server but for whatever reason the request isnt getting forwarded and its looking for these pages on the WAP.

2017-10-06 18:33:42 10.2.1.1 27735 10.2.1.35 443 HTTP/1.1 GET /Fireball_NAV_DEV/Empty.aspx - 404 - NotFound -
2017-10-06 18:33:42 10.2.1.1 28131 10.2.1.35 443 HTTP/1.1 POST /Fireball_NAV_DEV/auth?dc=phone&aid=NAV - 404 - NotFound -
2017-10-06 18:33:45 10.2.1.1 31504 10.2.1.35 443 HTTP/1.1 GET /Fireball_NAV_DEV/Empty.aspx - 404 - NotFound -
2017-10-06 18:33:45 10.2.1.1 31899 10.2.1.35 443 HTTP/1.1 POST /Fireball_NAV_DEV/auth?dc=phone&aid=NAV - 404 - NotFound -
2017-10-06 18:58:56 10.2.1.1 6969 10.2.1.35 443 HTTP/1.1 GET /Fireball_NAV_DEV/Empty.aspx - 404 - NotFound -
2017-10-06 18:58:56 10.2.1.1 7357 10.2.1.35 443 HTTP/1.1 POST /Fireball_NAV_DEV/auth?dc=phone&aid=NAV - 404 - NotFound -
2017-10-06 19:00:06 10.2.1.1 41452 10.2.1.35 443 HTTP/1.1 GET /Fireball_NAV_DEV/Empty.aspx - 404 - NotFound -
2017-10-06 19:00:06 10.2.1.1 42022 10.2.1.35 443 HTTP/1.1 POST /Fireball_NAV_DEV/auth?dc=phone&aid=NAV - 404 - NotFound -
2017-10-06 22:00:31 10.2.1.1 20678 10.2.1.35 443 HTTP/1.1 GET /Fireball_NAV_DEV/Empty.aspx - 404 - NotFound -
2017-10-06 22:00:31 10.2.1.1 21062 10.2.1.35 443 HTTP/1.1 POST /Fireball_NAV_DEV/auth?dc=phone&aid=NAV - 404 - NotFound -

So, as a general question, what could I be missing in terms of setup if the access to the web client works on any device except within the IOS Dynamics Universal NAV app?

I should mention I have also tried creating an Azure install under a trial just to demo the app, and have even install the self-signed cert for the NAV server ion Azure on the device using the universal app itself and still cannot connect to our NAV installation (Trust Root CA is enabled on the IOS device).

If more details are need let me know.
Any feedback appreciated!

Best Regards,

Assemble to Stock - What generates the Assembly Order?

$
0
0

What generates the Assembly Order for an Assemble to Stock item that is below the reorder point on the item card - I don't see it from Order Planning or Planning Worksheet.


UOM OF ITEM CARD?

$
0
0

IS THERE ANY METHOD TO CHANGE UOM OF A ITEM CARD ONCE INVENTORY IS MOVED?

2 Tablix

$
0
0

Hi

  I have DataItem Structure like this

   Sales Header

        Sales Line

   Item Charge Assignment (Purchase)

In report i have 2 Tablix. In first Tablix Sales Line Data is displayed.

In second Item Charge Assignment (Purchase) Data is displayed.

Problem is if there is 1 line in Sales Line Data and 10 or more lines in Item Charge Data then in First Tablix also it takes that much Height. I want it should take height of only its Data.

Thanks

Query

$
0
0

Hi

   I have 1 Table  with field Document Type  . I want those records of Customer whose Sum(Amount) of Document Type 4 - Sum(Amount) of Docutype6 > 0

then those records of that Customer whose Document Type in (4,6) should be displayed.

Thanks

Consolidation of Action messages - Cancel/New

$
0
0

Hi,

I have read a lot about action messages and how to request the system consolidate or reschedule orders if there are any changes in the demand or supply, instead of asking you to cancel the production/purchase order. We have adjusted both the Rescheduling Period and Lot accumulation period at a SKU level; however, when I run MRP/MPS (combined or separately) on certain items the system requests cancellation of existing purchase orders and for us to raise new ones for the same quantity.

Are there any flags in the background that we have may missed?

I would appreciate any feedback from someone who has experienced a similar situation.

Regards,


Rob Ercegovic

Purchasing Manager 

HVAC Consoilidated

License version of NAV is need to publish page as webservice?

$
0
0

Hi ,

Do i need a license copy of NAV 2016 to publish a page of NAV as webservice and to consume that service through a client application?

Thanks

Viewing all 29197 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>