Quantcast
Channel: Microsoft Business Solutions online community
Viewing all 14219 articles
Browse latest View live

Cannot Sync migrating from BC14 to BC15

$
0
0
I have database in BC14 CU3. The database is synchronized and runs with no issues, single tenant. I am migrating to BC15 (wave2) and following guide https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-unmodified-application

After converting database and had published NavApps, (checked if they are published - they are), try to Sync database and get error that all tables will be deleted.
  1. Sync-NAVTenant : The schema synchronization may result in deleted data. The following destructive changes were detected:
  2. Table: 3, Payment Terms: Deleted
  3. Table: 4, Currency: Deleted
  4. Table: 5, Finance Charge Terms: Deleted
  5. Table: 6, Customer Price Group: Deleted
  6. Table: 7, Standard Text: Deleted.............
  7. ..........

I have tried upgrading database to CU5
Opened with CU5 - did not help
Overwrote CU5 objects - did not help

Should I force sync? that would result in data lost, or is it how its managed now?

Thank you for your help



Problem in initial page Business central On prem after upgradte from version 14 to 15

$
0
0
Hi,

have sombody happened that??
When I open web client, I can see the role center during 3 secods more or less, and then appear the next error.

7hvoi9a5toly.png



in the event log I can see that, but I don't know how to resolve it.

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"&gt;
- <System>
<Provider Name="MicrosoftDynamicsNavServer$BC150" />
<EventID Qualifiers="0">701</EventID>
<Level>2</Level>
<Task>33</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2019-10-22T06:54:28.014201200Z" />
<EventRecordID>10959</EventRecordID>
<Channel>Application</Channel>
<Computer>DESKTOP-5PA52J8</Computer>
<Security />
</System>
- <EventData>
<Data>Server instance: BC150 Category: TaskScheduling ClientSessionId: 00000000-0000-0000-0000-000000000000 ClientActivityId: 838be5f6-ae97-4d3f-8830-062e0ee2eba0 ServerSessionUniqueId: 00000000-0000-0000-0000-000000000000 ServerActivityId: 52177917-df1a-49ed-8c25-be4f5e86224c EventTime: 10/22/2019 06:54:28 Message (InvalidCastException): RootException: InvalidCastException Unable to cast object of type 'System.DirectoryServices.AccountManagement.GroupPrincipal' to type 'System.DirectoryServices.AccountManagement.UserPrincipal'. ExceptionStackTrace: at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, IdentityType identityType, String identityValue) at Microsoft.Dynamics.Nav.Runtime.NavUser.JoinUserGroupsWith(NavDiagnostics diagnostics, IdentityReferenceCollection listOfGroups, ContextType typeOfGroups) at Microsoft.Dynamics.Nav.Runtime.NavUser.TryRefreshUserWindowsGroups(NavTenant tenant, ContextType contextType) at Microsoft.Dynamics.Nav.Runtime.NavUser.TryUpdateUserGroupsFromTenantCache(NavTenant tenant) at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.AuthenticateTaskSchedulerCredential() at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.Authenticate() at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication..ctor(NavTenant tenant, NavClientCredentialType authenticationType, UserType userType, Object token, String userName, String authenticationKey, AuthorizationCodeContext authorizationCodeContext, String navAppId, Func`1 getWindowsIdentity, INavLicenseServiceClient licenseClient) at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.<>c__DisplayClass87_0.<CreateTaskSchedulerAuthentication>b__0(Object securityToken) at Microsoft.Dynamics.Nav.Runtime.NavUserAuthenticationCache.GetNavUserAuthentication(Object token, String navAppId, NavDiagnostics diagnostics, Func`2 authenticationFunc, AuthorizationCodeContext authorizationCodeContext, NavClientCredentialType authenticationType) at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.CreateTaskSchedulerAuthentication(NavTenant tenant, Guid userId, String userName, String navAppId) at Microsoft.Dynamics.Nav.Runtime.NavTenant.Microsoft.Dynamics.Nav.Runtime.ITenantSessionHandler.CreateTaskSchedulerSession(Guid userGuid, String userName, TimeZoneInfo timeZone, String navAppId) at Microsoft.Dynamics.Nav.Runtime.TaskRunnerCodeUnit.TaskSpecificInternalRun() at Microsoft.Dynamics.Nav.Runtime.TaskRunner.InternalRun() CallerStackTrace: at Microsoft.Dynamics.Nav.Runtime.TaskRunner.InternalRun() at Microsoft.Dynamics.Nav.Runtime.NavTaskFactory.<>c__DisplayClass1_0.<RunTask>b__0() at System.Threading.Tasks.Task.Execute() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at System.Threading.ThreadPoolWorkQueue.Dispatch() ProcessId: 1712 Tag: 000003P ThreadId: 20 CounterInformation: CustomParameters: 00000000-0000-0000-0000-000000000000</Data>
</EventData>
</Event>



Best regards!

Nav 2013 License question

$
0
0
Hi Everyone,

Question. We are currently/have been paying for software/annual insurance for Nav 2009 for quit some years now. We have been under the assumption that paying this fee would guarantee us any future releases of Nav like Nav 2013. We have successfully downloaded Nav 2013 from customer source but quickly realized that we need another license to run Nav 2013. We have contacted our partners to please provide us with a license so we can test out all the new features before any kind of commitment to the new software to make sure it's what we want to use moving forward ( from an IT standpoint we are super excited \:D/ :mrgreen: ) We are also in the process of purchasing more "seats" for Nav 2009 because business is growing.

Come to just find out, we are not allowed to get the Nav 2013 license until we are committed to use the new software... WHAT?!?!?! We haven't even tested it out yet! Kinda reminds me of a chicken and egg... which comes first? Also come to find out, If we do commit to the new Nav 2013 we are not allowed to purchase additional seats for Nav 2009! again a WHAT??!?!!??!!? what if we need one more seat...

So my question to everyone here... is my partner correct in stating the facts above? I haven't been able to find anything on the Microsoft website. Also if so, WTF Microsoft... where can I go to Bi**h and say how dumb this process is.

Please! I hope someone can come and tell me I got it all wrong [-o<

Wave 2 BC installation error

$
0
0
Dear Friends,

I am facing problems when I tried to install 365 BC Wave 2 with Server
//
Microsoft Dynamics 365 Business Central Server Components
Fatal error during installation.

The service 'Microsoft Dynamics 365 Business Central Server [BC150]' (MicrosoftDynamicsNavServer$BC150) failed to start. This can be caused by one of several issues. For example, the password for the account that runs the service may be incorrect, or there could be a conflict in port sharing for the port settings for the service, or you have specified that the port for the server should be opened in the Windows firewall even though the Windows firewall is not enabled on the computer. For more information, see the event viewer.
Created on "SERVER"

//

Please can you suggest me as I have tried on two systems simultaneously

warm Regards
Kris

"Internal error: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral,

$
0
0
Hi all,
I have install B.C.on prem on virtual machine.
I want to download symbol in Vs Code nowwhen i tried to download symbols in vs code in problem it gives following error:
77abhjmlab2i.png
7bktjk23r0nh.png
o3ycpsgkd29k.png
any help would be appreciated. It's Urgent
Thanks in advance



accounting periods (in particular for italian accountancy)

$
0
0
Hi to all,

one of our customer wants to change accounting periods from 01/01-31/12 (actual in use) to 01/10-30/09.
This customer:

- started in 2018
- printed only "Vat Register" and "Calc. and Post VAT Settlement" in final mode.
- uses fixed assets but he hadn't calculated depreciation yet


I'd like to know what consequences could be to change Accounting Periods and which controls/check/changes we have to do (for ex. starting and ending depreciation dates on fixed assets)


Thanks
Alberto

Scanner lector de Códigos de barras

$
0
0
Buenas noches:

En mi empresa estamos intentando integrar unas pistolas PDA para poder implementar el almacén avanzado. Para esto, hemos adquirido una PDA CK3X de Intermec con un sistema operativo Windows Embedded handle 6.5.3. Por lo que he podido leer, se pueden descargar APPs que se conectarían con Navision (NAV 2018 en nuestro caso) para poder llevar a cabo todas las tareas asociadas. El problema es que no consigo encontrar ninguna o las que encuentro parece que necesitan un sistema operativo superior. ¿Alguien ha implementado estas pistolas en su almacén que pueda ayudarme?

Muchas gracias de antemano.

Running RTC (BC On Premise) )on Windows 7

$
0
0
Hi! Have anybody tried to install the RTC client for BC Spring Release (CU 5 ) on a Win 7 ?
I know that the requriments says Win 10, but the customer wants to give it a try and see if it is possible

Dynamics Nav 365 integration with Dynamics 365 Sales

$
0
0
Hello,

I'm working on an integration between Dynamics NAV 365 and Dynamics 365 for sales, I'm trying to connect using Microsoft given link ("https://*.crm4.dynamics.com&quot;) and whenever I test the connection or enable the connection I get the following error ( Microsoft Dynamics 365 Business Central The connection setup cannot be validated. Verify the settings and try again. Detailed error description: The system is unable to connect to Microsoft Dynamics CRM. Detailed description: Unable to Login to Dynamics CRM. )

Any help would be appretiated!

Thanks in advance.

Chinese Character overlap in the report

$
0
0
Hi All,
I have some customers using nav 2017 and nav 2018
but when they print using chinese characters, sometime is overlap
any advise to resolve this?
Thanks
mvni95ye9bw4.png


BC API's Moving from Beta to v1.0 (where are the changes?)

$
0
0
Regarding this documentation:
https://docs.microsoft.com/pt-br/dynamics-nav/api-reference/v1.0/moving-from-beta-to-v1

Is spoken what was changed but I don't find the code with real changes.

It has the reference for example to customerFinancialDetails
I already searched the al code for the customerFinancialDetails API page and I don't find any.
Also all API pages reference the struture of beta API and not v1.0 API.

Someone already did find where in code the changes are really aaplied?

For now I'm not finding the API pages that have the v1.0 API changes.

Email Notification from Approver to Sender

$
0
0
hi all,
i have this scenario.
A is Requester
B is Approver

when A send to request approval to B, B will receive email notification.
can we get the other way around?
when B approve it..
then it will send email notification to A

Please advise
Thanks

System Notes: Crashing Client for a small handful of users

$
0
0
Experiencing an issue with NAV closing without error on a page with the system notes factbox.
Having investigated the event viewer I identified the below errors.
It mentioned RichTextBox in the error, so I thought this might be down to the notes box rendering.
I removed the factbox from that user profile and low and behold it doesn't crash anymore.
However the notes factbox is used for these purchase orders.

Has anyone else experienced this issue and have guidance on how to fix on end user machines.
FYI - DotNet framework is up to date and we have reinstalled the NAV client also.

Thanks
Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
   at System.Windows.Forms.RichTextBox.StreamIn(System.IO.Stream, Int32)
   at System.Windows.Forms.RichTextBox.StreamIn(System.String, Int32)
   at System.Windows.Forms.RichTextBox.set_Rtf(System.String)
   at Microsoft.Dynamics.Framework.UI.WinForms.MultilineRtfControlAdapter.OnUpdateValue()
   at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.UpdateValue()
   at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.PropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs)
   at Microsoft.Dynamics.Framework.UI.LogicalControl.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)
   at Microsoft.Dynamics.Framework.UI.LogicalControl.OnRowChanged(Microsoft.Dynamics.Framework.UI.CurrentRowChangeEventArgs)
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at Microsoft.Dynamics.Framework.UI.RepeaterViewportControl.SetRowEntry(Microsoft.Dynamics.Framework.UI.RepeaterRowControl, Microsoft.Dynamics.Framework.UI.RowEntry)
   at Microsoft.Dynamics.Framework.UI.RepeaterCurrentRowViewportControl.UpdateViewport(Microsoft.Dynamics.Framework.UI.BindingManager)
   at Microsoft.Dynamics.Framework.UI.RepeaterCurrentRowViewportControl.AddRowEntries(Microsoft.Dynamics.Framework.UI.BindingManager, Int32, Int32)
   at Microsoft.Dynamics.Framework.UI.RepeaterControl.CommitAddedRowEntries()
   at Microsoft.Dynamics.Framework.UI.RepeaterControl.BindingManger_FillCompleting(System.Object, System.EventArgs)
   at Microsoft.Dynamics.Framework.UI.BindingManager.ChangeStateToFilled()
   at Microsoft.Dynamics.Framework.UI.BindingManager.DoFill(Microsoft.Dynamics.Framework.UI.DataReaderFillOptions)
   at Microsoft.Dynamics.Framework.UI.BindingManager.Fill(Microsoft.Dynamics.Framework.UI.BindingManagerFillOptions)
   at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksTableControlBase.RefreshFilters()
   at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksTableControlBase.OnParentFormReady()
   at Microsoft.Dynamics.Nav.Client.Controls.NotesControl.OnParentFormReady()
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at Microsoft.Dynamics.Framework.UI.LogicalForm.LoadDataInternal()
   at Microsoft.Dynamics.Framework.UI.LogicalForm.LoadData()
   at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.OnLoadData()
   at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.LoadDataInternal()
   at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.OnUpdateUI(Boolean)
   at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.OnUpdateUI(Boolean)
   at Microsoft.Dynamics.Framework.UI.Windows.ContainerLogicalControlAdapter.OnUpdateUI(Boolean)
   at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapter.OnUpdateUI(Boolean)
   at Microsoft.Dynamics.Framework.UI.Windows.ContainerLogicalControlAdapter.OnUpdateUI(Boolean)
   at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.OnUpdateUI(Boolean)
   at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.OnUpdateUI(Boolean)
   at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.OnIdle()
   at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.Idle(System.Object, System.EventArgs)
   at System.EventHandler.Invoke(System.Object, System.EventArgs)
   at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.EnterIdle(System.EventArgs)
   at System.EventHandler.Invoke(System.Object, System.EventArgs)
   at System.Windows.Forms.Application+ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
   at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
   at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
   at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
   at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
   at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)
   at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])

Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 10.0.16177.0, time stamp: 0x58dd4bdb
Faulting module name: KERNELBASE.dll, version: 10.0.17763.771, time stamp: 0x4eb60cdf
Exception code: 0xe0434352
Fault offset: 0x0000000000039129
Faulting process id: 0x40d0
Faulting application start time: 0x01d588f6a88e0cf2
Faulting application path: C:\Users\marco\AppData\Local\Apps\2.0\DC57XRRK.HGP\CW2LCAAA.ZLX\aspi..line_0000000000000000_000a.0000_ff1ae9b33e45d608\Microsoft.Dynamics.Nav.Client.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: ed1d0016-45e1-4d40-b52e-4481d244ff6b
Faulting package full name: 
Faulting package-relative application ID:


Release Wave 2 sandbox - cannot connect

$
0
0
Hi Experts,

I have create the new project from template.
When I hit F5 it asks me which sandbox version I want to connect, I select "4.0 Release Wave 2. "

It tries to download symbols but cannot.

I can connect when I create another project and select "3.0 Spring Update"

It seems I do not have enough rights for this, should I do something special?

Thank you in advance!

npjdsskc2fea.png

How to resend none replicated records using Data Director 3

$
0
0
We have an issue at a client using NAV HO database and each cash register has its own till database. DD3 is installed for replication purposes and transactions are being replicated by web service (WS) at the time transaction is being posted (commited into the table: Transaction Header and linked tables (Trans_ Sales Entry, Trans_ Payment Entry, Trans_ Infocode Entry, etc.)), but for unknown reason some records from till database are not replicated to HO database. As if they are skipped.

I tried to resend the missing records from till database to HO database and I tried to increase replication counter on table Transaction Header for those none replicated records, but records were not replicated.

We are going to redesign the replication process by eliminating DD3 and use NAS replication, but for now, I need to replicate somehow these missing records.

Thank you for your assistance.

How to connect the Universal App to an OnPrem Server

Which trigger to implement this?

$
0
0
I am trying to write code on Sales Order's subform;
Quantity Remaining = Quantity - Quantity Shipped - Reserved Quantity

Quantity Remaining is a new field I added by extending the Sales Line table and Sales Order Subform.

This value will be Quantity - Quantity Shipped - Reserved Quantity
However, Quantity Shipped only gets a value once the SO is shipped with the value in Qty to Ship.

I tried writing the following code on ExtendedSalesLineTable
trigger OnModify()
    var

    begin
        IF rec."Quantity Shipped" <> 0 then begin
            recSalesLine.SetFilter("No.", Rec."No.");
            recSalesLine.SetRange("Line No.", Rec."Line No.");
            recSalesLine.SetFilter("Document No.", Rec."Document No.");
            if recSalesLine.FindFirst() then begin
                "Quantity Remaining" := (Rec.Quantity - Rec."Quantity Shipped") - rec."Reserved Quantity";
                recSalesLine.Modify();
            end;
        end;
    end;

The problem is, I get Not Available in Rec.Quantity Shipped hence it always show me new field Remaining Quantity as 0.

extension cannot see customised fields BC14

$
0
0
Hi,

I have created a table 50000 Test in CAL, so Development environment.

Then I move to VS Code, create new project download symbols, but the table 50000 Test can not be seen or referenced at all.
It is like it does not exist at all ?!?!

The same with fields . I have added some fields in 50000 range on the Customer table in CAL.

Now when I start VS code and download the symbols, and try to reference the fields from customer table in the range 50000 , they just do not appear. It is like they do not exist at all.

It seems that extension can only be used to extend base app tables/fields or another extension ?
Is there a way that I can reference CAL customised fields or tables in an extension.

The app.json option is set to "target": "Internal" .

The issue is in BC14 so Spring edition Cu3

Thanks for your help.

How do i reverse a incorrect vendor payment

$
0
0
I incorrectly posted a payment to a vendor from the payment journal. I unapplied the payment from the purchase invoice. I cannot reverse the payment using the "reverse transaction button" as "the entry has an associated unrealised vat entry".
If I post a refund from the payment journal all balances on chart of accounts return correctly, however vendor payment (LCY) is incorrect (still shows phantom payment) and phantom payment and refund appear on bank reconciliation....
What am I doing incorrectly?

Wave 2 installation

$
0
0
Microsoft Dynamics 365 Business Central Server Components
Fatal error during installation.

The service 'Microsoft Dynamics 365 Business Central Server [BC150]' (MicrosoftDynamicsNavServer$BC150) failed to start. This can be caused by one of several issues. For example, the password for the account that runs the service may be incorrect, or there could be a conflict in port sharing for the port settings for the service, or you have specified that the port for the server should be opened in the Windows firewall even though the Windows firewall is not enabled on the computer. For more information, see the event viewer.
Created on "SERVER"

Even I have changed login account as Service account also. Actually it is domain user and I am installing on Database Server. I have changed Domain/Administrator as Service account in Database Server (BC365 Server)

Please suggest..

Kris
Viewing all 14219 articles
Browse latest View live