Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all 10069 articles
Browse latest View live

NAV 2018 CU7 - Very slow RapidStart performance

$
0
0
We recently upgraded our servers to a hyper-converged (NUTANIX) solution. We've setup 2 Server 2016 VMs, one for Service Tier and the other for SQL DB.
Specifications exceeds the Microsoft recommendations.
We find the RapidStart performance very slow. For some reason the RTC client is not responsive at the end of the "Apply Package" process. The RTC will remain in this state until the process is completed.
I've monitored server performance and during this time the only intensive activity is network activity where the SQL server is sending data to the Service Tier server.
We've applied a package which updates Items at about 50,000 records and that took about 15 hours to complete. It only updated 50 records in the end even though there were no issues with validation which is weird. Anyway this could be down to user error so will park that.
I've then created another package to update the Post code table which is about 3,000 records. I've turned on "Skip table triggers" this time. It's been 5 hours and it's still running.
We are on CU7 on NAV2018 and I did have a look at CU8 notes but can't see anything related to RapidStart.
I'm diving into server setup and configuration but can't see anything that is amiss. From Googling I've found a thread (https://community.dynamics.com/nav/f/34/t/283389) which means a final call to FixIntegrationRecordIds but nothing really conclusive.
Hopefully someone can kindly shed some light as this will impede the Go Live data upgrade timings.


Alternatives of .Net Interoperability for Web Client

$
0
0
Hi everyone!

I have a very tricky question for you)
For our project, we have implemented .Net library WaldoNavPad to add large comments on Requests and other entities.
We share Requests on Web Client, so users should be able to leave large comments through Web Client as well. However, the problem is that .Net interoperability is not supported for Web Interface.

Could you suggest any alternative solutions we could use to provide the same functionality on Web Client?
I will be extremely appreciated for any pieces of advice))

Thank you in advance!

Permissions setup - problems

$
0
0
NAV2017 CU6.
I have two users who manage items throw item card. But sales prices are not allowed for one user. I removed read permissions for sales prices for that user. The user cant open item card now because some checks in OnOpenPage.

Is there some tricks to do it?


Stack trace from debugger when the item card is opening with no access to sales lines.

Object Type Object ID Object Name Function Name Line No.
Table 1304 Sales Price and Line Disc Buff LoadSalesPrice 141
Table 1304 Sales Price and Line Disc Buff LoadDataForItem 45
Page 30 Item Card UpdateSpecialPricesAndDiscountsTxt 144
Page 30 Item Card EnableControls 57
Page 30 Item Card OnOpenPage 5

Bug The server "GOLIVE" was unable to process the request. The application will close

$
0
0
Hi guy
I meet a problem below when i run an action :

Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The server "GOLIVE" 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 "GOLIVE" 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.ServiceConnectionBase.ActionField(NavRecordState& state, NavDataSet recDataSet, Int32 controlId, Int32 controlEventId)
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.ActionMethod(Int32 controlId, Int32 controlEventId)
at Microsoft.Dynamics.Nav.Client.Actions.InvokePageTriggerAction.InvokeTrigger(LogicalControl logicalControl, UISession uiSession)
at Microsoft.Dynamics.Nav.Client.Actions.InvokePageTriggerAction.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(LogicalControl logicalControl, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.ActionControl.Invoke()
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(Action action)
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(ActionControl actionControl)
at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(LogicalControlAdapter adapter, ActionControl actionControl)
at Microsoft.Dynamics.Framework.UI.UX2006.WinForms.LogicalCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Ribbon.RibbonButton.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088

Anyone can help me to solve this problem ?
Thanks for reading and responding !

Execute action on doubleclick in list

$
0
0
In the Service Dispatch Board, i'd like the Show Documents action bo be executed on doubleclicking a record. Since there is code to do this i can't use CardPageID.
So there is an example of doing this in My Customers List Part for Role Centers using "Return" as a shortcutkey. But that seems to only work in Role Centers.
Does anybody have another solution of doing this or is this another limitation?

Integer Value to Date Formula

$
0
0
Imagine this scenario,

I've calculated the average number of days that a Purchase Order takes to get in the wharehouse. Basically the difference between the Posting Date and the Order Date . The result was a value integer.

My goal is to fill in the table Item , the field Safety Lead Time that is a date formula, but it need a preefix such as D or it gives me back error.
How can i converto the integer to days?

This is what i've tried
MediaDias:=ROUND((DiasTotal/ContadorDocs),1,'>');
EVALUATE(DataP,FORMAT(MEdiaDias));

Item."Safety Lead Time Calculado":=DataP;
Item.MODIFY;

Where DataP is also datatype Dateformula.

Thanks for the help

Business Central Customize reports

$
0
0
Hi,

I am trying to customize a report in business central. Report 1306 Standard Sales - Invoice.
I have exported it and re-created as an extension with number 50100.
After this I would like to add the original word layout back as a custom layout.
When I try to import it I get an error. What am I doing wrong?
fauwueheawqw.png
...

8zah2n2ifmfw.png

The Dimension Value Does not exist. while running Physical Inventory Journal

$
0
0
I'm working on Physical Inventory Journal follow these step
1. go to Calculate Inventory, put information on
v6nmfqzdiv8n.jpg

2. run the report and there is an error
bcst2yiifawl.jpg

I have no clue what is the relation between Phys. Inventory Journal and Dimension ( Department for my case)
It was working before though,How can I fix this?


Thank you so much

anonymous nav data

$
0
0
Hi

I think in here their is a download too a codeunit too anonymous data in NAV

Can you help me

How to Avoid progress bar and message after posting successfully journal line nav?

$
0
0
Hello everyone,

I'm working on an automated posting of the general journal line. I want to get to the line responsible of the progress bar and the message after to avoid it. Where can I find the code if I may ask?
Thanks in advance.

Payment and Reconciliation problems after deactivating and installing the extention

$
0
0
Hi
We have experienced some troubles after deactivating the payment and reconciliation extension in the Danish version of NAV 2018. When we activate the extension again, all vendor ledger entries disappears. We can however see a balance on the vendor, but no entries are shown.
Have anyone else experienced the same problems and found a solution?

problem with Server Computer Name

$
0
0
Hi Guys

I have the following setup

NAV 2018 CU8, my service tier is running on a server named navserver.domain.local. When I connect to the servicetier from remote I use navserver.domain.com,
and everything is fine. When I from the RTC wants to open the sessions page it comes with a warning saying

You are about to connect to 'Instance name' on server navserver.domain.local which is not your current default connect settings.
This can create a security risk.


I understand the warning is because my default connect settings is navserver.domain.com but why is it not using the default connect settings and is there a fix for this? I have the same problem when using the development client from remote and I want to sync changes.

SubPage ListPart Insert with InsertAllowed = No in Mainpage

$
0
0
Hello,

I am currently facing the issue, that users should have the possibility to create new rows in a SubPage of Type ListPart, but mustn't alter, insert or delete the SourceTable of the Mainpage. But when I set InsertAllowed = No the ListPart is also not "insertable".

Is there a way to achieve that?

Thanks

Btw.: I tried SubPage of Type List, but then inserted rows disappeared after refreshing the page.

Printing MultiColumn labels

$
0
0
I am working on a Purchase Order Label report and needing multiple columns. I modeled my report layout based on the REP10137

zyzr0bo5wg7a.png

This Purchase Order has 3 lines and the label is printing out 9 labels. instead of 3 (the red marked boxes)
(first line has 1 label printed and 2 wasted)
(second line has 2 labels printed and 1 wasted)
(third line is the "correct" print)

my question is how do I get it to not waste the line while printing?
I couldnt find anything in the REP10137 that was of any help.

Upgrade tool kit

$
0
0
oxuf0d3w243c.png
im trying to upgrade NAV2017 to NAV20108, which upgrade tool kit will be use?

Handling Conflicts after merging objects

$
0
0
v391irtebj8x.png

I'm currently Merging 2017 modified Objects with 2018 demo objects and I can't understand what the meaning of this (See Attached Photo)

Can someone help with this ?

and this is the .Txt File

a4lq3bs9mxni.png

Send-To Excel function doesnt export flowfields NAV 2018

$
0
0
Hi there!
I have unusual issue with standard action Sent-to Excel in NAV 2018. I want to export page list with flowfields ,but exported Excel file shows everything but flowfields. Is this CU issue of NAV 2018,since this functionality works perfectly in NAV 2017?

Thanks!

Event Subscriber works when debugging and otherwise not

$
0
0
Hi!

I have created a new event subscriber codeunit in NAV 2018 (CU08 / W1). This subsciber should give me default values for a new sales order. Default values are stored in config template "TEMP". See code below.

What is strange here is that this works fine when using the debugger BUT not when the debugger is not running...

Have you faced something similar? Any ideas what is wrong? Or is this perhaps a bug in NAV?

________________________________________________________________________________________

Documentation()

OnRun(VAR Rec : Record "Sales Header")

LOCAL [EventSubscriber] InsertSalesDocDefaultValues(VAR Rec : Record "Sales Header";RunTrigger : Boolean)
IF (Rec."Document Type" = Rec."Document Type"::Order) THEN
InsertDefaultValues('TEMP',Rec);

LOCAL InsertDefaultValues(ConfigTemplateName : Code[10];Rec : Record "Sales Header")
ConfigTemplateHeader.RESET;
ConfigTemplateHeader.SETRANGE("Table ID",DATABASE::"Sales Header");
ConfigTemplateHeader.SETRANGE(Enabled,TRUE);
ConfigTemplateHeader.SETRANGE(Code,ConfigTemplateName);
IF ConfigTemplateHeader.FIND('-') THEN BEGIN
SalesOrderRecRef.GETTABLE(Rec);
ConfigTemplateMgmt.UpdateRecord(ConfigTemplateHeader,SalesOrderRecRef);
END;

How to create text file using C/AL Code

$
0
0
I need to create a text file using C/AL code in Dynamics 365 Business Central hosted version. Where can I find an example or documentation on the best practice for creating text or csv files in C/AL Code?

Universal App - Showing Actions from Ribbon

$
0
0
I am trying on a few pages in the universal app (NAV 2018) to display the actions from the ribbon.
For example on the Requests to approve page, the approve and reject actions. When viewing on an iPhone or Android phone I cannot se the actions displayed. When I access via a tablet I can see them there. Am I to understand that they are shown based on screen resolution? Is there no option to override this behavior and force them to be shown? I saw this thread but see no info there in regards to this.

https://docs.microsoft.com/en-us/dynamics-nav/differences-and-limitations-when-developing-pages-for-the-microsoft-dynamics-nav-universal-app
Viewing all 10069 articles
Browse latest View live


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