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

How to check the number of the cumulative update that is installed

$
0
0
Hello,

is there a way to check the number of the cumulative update that is installed as for the navision version (About microsoft Dynamics Nav) ?

( version Navision 2018)

Thank you.

Error "Could not load type"

Publishing code modified base app runs into error "Object reference not set to an instance of an obj

$
0
0
We are developing a rather large (~18.000 AL objects with many dotNet Addins) code modified base app. The compilation from Visual Studio code with Ctrl+Shift+B runs successfully. We have created a local Database including NAV-Server with only the system tables. We are able to compile and publish a code modified base app which only includes the Microsoft AL files on that local NAV-Server successfully. When trying to publish our code modified base app with
Publish-NAVApp -ServerInstance NAV -Path "C:\VisualStudioCodeProjects\ALTest\Axians Infoma_newsystem_1.0.0.0.app" -SkipVerification -Verbose

the command runs for approximately 20 minutes and runs into the following error:
Publish-NAVApp : Object reference not set to an instance of an object.
During the running of the command the process Microsoft.Dynamics.Nav.Server utilizes all available free RAM (approx. 24GB).

In the event log there are the following two errors:

MicrosoftDynamicsNavServer$NAV
Server instance: NAV Category: Extensions 
ClientSessionId: 37620e61-72d4-4701-b421-6e88978a3f3d 
ClientActivityId: 394ad171-1a5f-4852-9e7b-345d74c3b69d 
ServerSessionUniqueId: 2101b895-c3ca-4242-bc8a-d625c2be531d 
ServerActivityId: eb66b1bb-1d6c-4140-9ed1-e9850ca9daaf 
EventTime: 07/10/2020 12:46:34 Message Object reference not set to an instance of an object. 
ProcessId: 19496 Tag: 00001YW 
ThreadId: 17 CounterInformation:

Microsoft.Dynamics.Nav.Management.dll
Type: System.InvalidOperationException 
Message: Object reference not set to an instance of an object. 
HResult: -2146233079

iyjdf6986c5z.png
rqqvktx7fvns.png
r4anbxnjnnwn.png

Does anybody have any idea how to solve this?



Use "New-NAVServerUser" Powershell command in Container

$
0
0
I want to use the New-NAVServerUser Command in a container to create a new Nav User. The Container has been build this way:

uayqio5ycq8g.png

When im done, i try the following script:

clqwmvdkflwg.png

As you can imagine, the Username of the Windows Account on the mashine the container is running on is "User". So this wont work and the error occurs:

yx4uzm5l0ck1.png

This is, because NEWCONTAINER/User already exists. Now I want to create a new Windows User in the container to use the New-NAVServerUser Command. Does anyone Know how it works?
So the overall goal is to get a new NavUser in Table "User 2000000120" on Page "Users 9800" and the User should base on a Windows Account.
Thanks for answers!

Business Central Device User Limitations

$
0
0
Hi,
is there official documentation that clarifies wether the Device User has module limitations like the Team Member?

Would it be necessary to add Custom Objects to the "application module" like it is the case with the Team Member? (Licensing Guide says for Team Member: "Team Members application module* may be customized with maximum 15 additional entities")

Or is the approach here, that as long as the use cases of the device users are handled (e.g. Shop Floor, Manufacturing) all (licensed) Objects can be used (and might then be questioned only in a Licensing Audit?)

Kind regards,

Aaron

The Sales Header does not exist

$
0
0
Good day,

I have a job queue that would automatically generate invoices and receipts for your customers. Unfortunately it is now giving errors:

The Sales Header does not exist. Identification fields and values: Document Type='Invoice',No.='INV-00555459'

and no more invoices or receipts are being generated.

Could someone please assist on how to sort this out?

Thanks,

Nagab

Reporting - Problem showing all Unit Costs with their Quantity

$
0
0
Hey Guys,
im trying to create a Report that can show all Items on my Location with their different Unit Costs and Quantity
Here is an Example:
8s8q1g6mmarl.png
Did someone have an Idea how i can realize that?
Ive already tried working with Value Entry but didnt has any working Idea
I'm a NAV Beginner so i really hope some of you can help me.
Working with NAV 2018
Have a nice Day

Table locking on approval with Workflow Step Instance table

$
0
0
Since moving to NAV 2018 (R1) and now using the newer Workflows for approvals, we have a lot of locking that occurs. For example when users send for approval from the sales order, they receive an error due to the Workflow Step Instance table being locked. It is intermittent. I have looked through the code around the workflows and can see it is very lengthy the amount of code that has to fire to create the approval. A total of 22289 lines of code altogether. I can't see any simple way to resolve the problem. I wonder if anyone has encountered this, and would have any advice?

Printer selection VScode BC15 on Prem,

$
0
0
Hello

How to send sales invoice to a printer in VSCode?

The below code wil always print PDF an open a dilogbox to save the file.


SalesInvoice.SetTableView(SalesInvoiceHeader);
SalesInvoice.UseRequestPage := false;
SalesInvoice.Print();



MS say that we cannot use Printer selection anymore as BC15 uses cloud printer.

we are using BC15 W2.

Any suggestions?

Thank you.

Kind regards

No. Of Copies report?

$
0
0
i want to implement no of copies as original,duplicate,triplicate,extra copy, i have seen standered report 206 for reference but i unable to understand how to implement in my report can anyone tell me how to implement ?

untill now what i understand is use integer table and write code on pre,onafter trigger
what i don't under stand is how this reflect/design ssrs report layout to get multiple copies.how to design layout?

Print Settings section in report request page BC16.3

$
0
0
hi All
Hope you can help me. BC 16.3 Saas. Report 116, and 1316 both have a Print Settings Section at the top as shown in the screenshot below. Viewing the code of the request page in VScode this section does not exist! it starts at "Options"
The reason I am looking for this section is to see how it's populated and why it always shows the value "browser" and never "Email Printer" on these two request pages.

Am I correct in thinking the cloud printing functionality is only available for Documents in BC such as the order confirmation and not for standalone reports like the customer statement?
On the a quote I am able to select print and send and then print the order confirmation using the email printer without issues.

menlqeubruze.png


Thanks in advance
Ercan

How to send Vendor Remittance via mail to Vendor while posting Payment Journal?

$
0
0
Hi Friends,

[Version: NAV 2018]

I need to send Vendor Remittance via mail to Vendors as soon as Payment Journal is posted.

I have done steps in NAV as mentioned in the blog: https://itsolutions.bdo.ca/insights/microsoft-dynamics-nav-2017-emailing-from-the-payment-journal/
but still I am unable to send mail automatically to Vendors.

1. Configured SMTP Mail Setup (Departments > Administration > IT Administration Services)
2. Confidured Document Sending Profiles (Documents > Administration > Application Setup > General > Document Sending Profiles)
3. Configured Document Layout (Documents > Financial Management > Payables > Vendors). Selected Vendor Remittance from the drop down menu in Document Layout. Given Report ID 11383 (ExportElecPayments - Word) and entered Vendor's mail ID in Send to Email ID.
4. Configured Report Selection – Purchase (Documents > Administration > IT Administration > Reports). Given Report ID 11383 (ExportElecPayments - Word)
5. Bank Account transfer tab is filled in with all the applicable values and the Vendor has a valid Bank Account Card with the “Use for Electronic Payments” flagged.

Can anyone let me know where am I missing?

Thanks in advancs, Aarvi.

BC - Dynamics CRM Integration

$
0
0
Not sure how many people have used the BC<->Dynamics CRM integration, but once enabled the CDS and Dynamics connection loads BC "CRM ....." tables series 53xx

The question is, are these virtual type tables or references to the CDS Entitiy? I wrote an event OnAfterModifyEvent and OnAfterInsertEvent from the CRM Incident (5349) table however it looks like its never called. I went into the CRM, created 4 cases, modified 4 cases and then opened the Dynamics - Case page in BC and all are there and updated.

Does anyone have experience or success using events on the integration tables?

thanks in advance

Navision 2015 Web Client : Communication with the server failed, and the content cannot be displayed

$
0
0
Dear Friends

Recently we configured three tier architecture (One for NAV Server, Second for SQL Server and another for IIS Server).

RTC client working fine.

Accessing the Web client working ok,. But after select/click menu, system throw the error.

We did check Event viewer on NAV Server & IIS Server, but nothing captured. Same as in the laptop access the web client.

skcm9oq2c9cu.png



Please help to suggest.

Thanks & Regards

Nasheer.

Error accessing Website Microsoft Dynamics NAV 2015 Web Client

$
0
0
Dear Friends

Recently we configured 3 tier architecture (NAVSERVER, SQLSERVER & IIS Server on separate machines).
As per Microsoft documentation SPN registered & delegation setup done.

SPN
setspn - l domain\serviceaccount

ServerInstance/navserver:7046
ServerInsatnce/navserver.domain.com:7046

Delegation
DynamicsNAV navserver 7046
DynamicsNAV navserver.domain.com 7046
HOST navserver
HOST navserver.domain.com

But still we are getting the below error

'A server error has occurred, and the content cannot be displayed. Refresh the page or open a new browser window.'

Below is the event viewer message.

Error accessing Website Microsoft Dynamics NAV 2015 Web Client
URL: https://webserver/ServerInstance/WebClient/list.aspx?tenant=jp
Type: Microsoft.Dynamics.Nav.Types.NavServerNotFoundException
Message: A server was not found at "net.tcp://navserver:7046/ServerInstance/Service". Either the URL is incorrect or the server is currently not available.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.ConfirmOpenConnectionRetry(ConnectFailedEventArgs connectFailedArgs, Exception exception)
at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.TestSpnSettings(ConnectFailedEventArgs connectFailedArgs)
at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection(ConnectionRequest connectionRequest, UserSettings& userSettings)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.OpenConnection()
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Initialize()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.OpenConnectionToServer()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.InitializeCore()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.Initialize()
at Microsoft.Dynamics.Framework.UI.UISession.Initialize()
at Microsoft.Dynamics.Nav.Client.Web.NavWebUISessionInitializer.InitializeCore(UISession session)
at Microsoft.Dynamics.Nav.WebClient.NavWebClientUISessionInitializer.InitializeCore(UISession session)
at Microsoft.Dynamics.Nav.Client.Web.NavWebUISessionInitializer.Initialize(UISession session)
at Microsoft.Dynamics.Framework.UI.Web.ShownFormTrackingUISessionInitializer.InitializeSessionAndTrackShownInitializationForms(UISession session)
at Microsoft.Dynamics.Framework.UI.Web.ShownFormTrackingUISessionInitializer.Initialize(UISession session)
at Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.InitializeSession(FormPropertyBag formBeingInitialized, ClientSession clientSession)
at Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.<>c__DisplayClass1.<Create>b__0()
at Microsoft.Dynamics.Framework.UI.LogicalOperationInvoker.InvokeAndHandleExceptions(Func`1 action, IExceptionHandler exceptionHandler)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
Type: System.IO.IOException
Message: The write operation failed, see inner exception.
StackTrace:
at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
Source: System
Type: System.ServiceModel.CommunicationException
Message: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.9843793'.
StackTrace:
at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnection.WriteNow(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, BufferManager bufferManager)
at System.ServiceModel.Channels.BufferedConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.NegotiateStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
Source: System.ServiceModel
Type: System.Net.Sockets.SocketException
Message: An existing connection was forcibly closed by the remote host
StackTrace:
at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)

Please help to identify the problem.

Thanks & Regards
Nasheer.

Calculate the Amount Vendor Ledger Entry And Insert Table

$
0
0
Hi Everybody,


I create a table with the following fields: Table Name: Cal Balance Vendor

1. Vendor Code
2. Ending Date
3. Currency Code
4. Total Amount
5. Line No

I use this table to save the results of the calculations at the end month. The purpose of reporting liabilities of Vendor.

* I'm new 1 report on the data source Cal Balance Vendor use calculation by Ending Date
VendLedEntries.SETCURRENTKEY("Vendor No.","Posting Date","Currency Code");
VendLedEntries.SETRANGE("Vendor No.","Vendor Code");
VendLedEntries.SETRANGE("Posting Date",0D, EndingDate);
VendLedEntries.SETRANGE("Currency Code","Currency Code");

IF  VendLedEntries.FINDSET THEN BEGIN
  REPEAT
    VendLedEntries.CALCSUMS(Amount);
    TotalBalAmount:=VendLedEntries.Amount;
    
  UNTIL VendLedEntries.NEXT =0 ;
  LineNo+=1000
    "Cal Balance Vendor".INIT
    "Cal Balance Vendor"."Amount":=TotalBalAmount;
    "Cal Balance Vendor"."Ending Date":=EndingDate;
    "Cal Balance Vendor"."Currency Code":=VendLedEntries."Currency Code";
    "Cal Balance Vendor"."Line No":= LineNo;
    "Cal Balance Vendor".INSERT
END;

I cannot insert data into the table. Please help me with 1 solution.
Thanks very much

Docker Development

$
0
0
Hi Experts,

I need suggestion on a Development environment setup for more than 2 developer.
Scenario:
We have a Azure VM and a Container is setup there with Latest BC insider image of V17.
Now i want to give access to 2-3 developers target to that BC Container from there local system.
I want to give them access of Everything that they can do from their local system like if they have installed Docker Container on their local system. Debugging, Development.

Now what steps do i need to follow to give them access for development targeting that Azure VM Docker container.

NOTE : I can access Webclient of that BC Container from my local system. Let say port is opened for accessing webclient outside the server.

Thanks
SUD

Debugger (Extension) Suddenly Stopped.

$
0
0
Hi all,

When I'm doing the debug in extension, debugger suddenly stop and showing the error:
Error: Field 'genJnlLine' defined on type 'Microsoft.Dynamics.Nav.BusinessApplication.Codeunit12+Code_Scope__581928136' is not a field on the target object which is of type 'Microsoft.Dynamics.Nav.BusinessApplication.Codeunit12+RunWithCheck_Scope_2144670235'.

That is standard Business Central coding, I don't know why this error will appear.

May I know that how to solve this issue?

Thanks.



Cannot access help in my desktop.

Pages on mobile devices - Warehouse Processing

$
0
0
Hi Guys,
I am wondering what approach do you take to implement pages on mobile devices.
So here is the simple scenario:
I want my warehouse worker to scan the product and receive the qty on hand.

What we have been doing is providing workers with android phones with Bluetooth scanners with the connection to NAV (2016 on prem).
We have created them a new rolecenter with cue representing actions, so they can simply push on the needed tile to open other page (for example check stock page).

Created a special page just for checking stock. Pretty much one scan field and one text result field.

It works ok, but I am wondering if there is a better way of implementing this? For example, I cannot find a way to remove the cue "counter" from the tile.
Any suggestions for some creative UI?
Viewing all 10032 articles
Browse latest View live


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