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

How do I upgrade NAV with PowerShell

$
0
0
We have a lot of customers on NAV 2013 R2 and NAV 2015. I have been charged with upgrading the existing customers to NAV 2016. My boss would like as much of the process as possible can be done with PowerShell. Having never worked with PowerShell before I don't really know how to begin?

I have watched this video:
https://msdn.microsoft.com/en-us/dynamics/nav/dn833299

and looked at the example provided on the NAV installation DVD.

All the examples I can find are for single-tenant, but our customers are all multi-tenant.

Are there any good resources for this information?

Any information or examples would be very appreciated...

User Metadata."Page Metadata Delta"

$
0
0
There is a blob field in the User Metadata table called "Page Metadata Delta" that is a blob datatype. Most user personalization (moving columns, hide/show etc...) is stored in here as xml. I was wondering if anyone new how to map the guid's ({47F878F7-1EB4-4B40-A6D5-55E87F26029B} for example) to the actual controls/fields that are being referenced? Here is a sample of the xml for some personalization I did on page 20 General Ledger Entries:

<?xml version="1.0"?>
<delta xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
<changes>
<order id="{17F878F7-1EB4-4B40-A6D5-55E87F26029B}" sequence="{47F878F7-1EB4-4B40-A6D5-55E87F26029B}; {00000014-0000-0039-0008-0000836BD2D2}; {00000014-0000-0030-0008-0000836BD2D2}; 205eb6cb-6b7a-4f2d-b2e5-748d3b3bca7f; {87F878F7-1EB4-4B40-A6D5-55E87F26029B}; {97F878F7-1EB4-4B40-A6D5-55E87F26029B}; {CDBA910D-E283-4A38-AD03-C9D42763C3CE}; {27F878F7-1EB4-4B40-A6D5-55E87F26029B}; {37F878F7-1EB4-4B40-A6D5-55E87F26029B}; {57F878F7-1EB4-4B40-A6D5-55E87F26029B}; {67F878F7-1EB4-4B40-A6D5-55E87F26029B}; {77F878F7-0003-4B40-A6D5-55E87F26029B}; {77F878F7-0004-4B40-A6D5-55E87F26029B}; {77F878F7-0005-4B40-A6D5-55E87F26029B}; {77F878F7-0006-4B40-A6D5-55E87F26029B}; {77F878F7-0007-4B40-A6D5-55E87F26029B}; {77F878F7-0008-4B40-A6D5-55E87F26029B}; {77F878F7-0009-4B40-A6D5-55E87F26029B}" />
<order id="{97F878F7-1EB4-4B40-A6D5-55E87F26029B}" sequence="{3964E29E-BD34-4f2b-B7E5-3B3749ED8B92}; {EA0CB2A3-D17D-4148-BAC7-5D76DDA797F3}; {8AF9CED3-EAE5-4735-88A4-B2E24CF29384}" />
<order id="{dcaf515a-205a-4113-b2e4-37ecffeb7ee1}" sequence="{00000014-0000-0018-0008-0000836BD2D2}; {00000014-0000-000B-0008-0000836BD2D2}; {a4a26640-eb10-41aa-894d-ce8778650cde}; {bbc4c78a-4e7b-45eb-a018-42c1f3788c84}; {7CD09CCE-5C58-409e-A79B-05ED9416E806}; {1AF878F7-1EB4-4B40-A6D5-55E87F26029B}" />
<update id="d2371308-c54a-4221-a23a-a5ba38313c6e" uri="" name="Caption" value="" />
<update id="{8AF9CED3-EAE5-4735-88A4-B2E24CF29384}" uri="" name="Visible" value="False" />
<update id="{27F878F7-1EB4-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{57F878F7-1EB4-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{67F878F7-1EB4-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0003-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0004-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0005-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0006-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0007-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0008-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0009-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{a4a26640-eb10-41aa-894d-ce8778650cde}" uri="" name="Caption" value="General Ledger Entries" />
<update id="{9e511277-3955-4b4c-8ebd-e34570808bf7}" uri="" name="Visible" value="False" />
<update id="{0ccf4a6a-de68-44e2-812f-928774f5ba1e}" uri="" name="Visible" value="False" />
<update id="{00000014-0000-0001-0008-0000836BD2D2}" uri="" name="FreezeColumnID" value="-1" />
<update id="{00000014-7198-B453-0008-0000836BD2D2}" uri="" name="Visible" value="1" />
</changes>
</delta>

Upgrade to NAV 2016

$
0
0
We are upgrading from NAV 2009 R2 to NAV 2016. There is a nice blog from the Dynamics NAV Team to go from NAV 2009 R2 to NAV 2015 at https://blogs.msdn.microsoft.com/nav/2014/11/09/cumulative-update-1-for-microsoft-dynamics-nav-2015-has-been-released/
but I am looking for something similar to NAV 2016.

Does the upgrade toolkit that comes with NAV 2016, upgrade from NAV 2009 R2 or do I need to use the NAV 2015 toolkit as well.

I am aware that I need to convert the database to NAV 2013 first before then converting to NAV 2016. Any advice would be appreciated.


Cost reversing mechanism for Sales Credit Memo

$
0
0
Hi,

I'm working in NAV 2013 R2 IN Database. I have a query on Inventory costing. The actual scenario is mentioned below.

On 31-10-15, I have purchased(with invoiced) an ITEM (ITM001) with some value.The Item has "FIFO" costing method in Item Master.This inbound transaction has created Inventory accounting in the General Ledger. After that a Sales Invoice has been posted in the system on 31-10-15. This outbound transaction is applied on that Purchase transaction and it creates the necessary Inventory accounting in G/L table accordingly.

After few days later (on 22-01-16), user has raised a Sales Credit Memo to reverse the previous Sales transaction with proper accounting in the G/L. But it does not have any impact on Inventory accounting. The other accounting has happened nicely in the System (G/L Table) instead of actual cost reversing.

Few days back (on 26-02-16), user has post a Sales Order on that Item. But I've astonished to that this SO is applied on the Credit Memo. :o

Please find the screenshot for more.

My query is that why the Sales Credit memo transaction is not able to create the Inventory accounting in the system when the Automatic Cost Posting is ticked in the Inventory Setup Master and Adjust Cost batches have been executed in the system ?

Kindly reply.

Phone Client / Universal app can't connect: "Server connection timeout occurred"

$
0
0
Hi everyone,

I have set up a NAV 2016 instance, with Windows authentication, along with the web client. I have installed the selfsigned certificate and can access it via browsers - I get an error on the certificate, but am able to install it and move on.

When I try to open it with the universal app - I have tried Windows Phone, Android Tablet and Android Phone - I always get the error "Server connection timeout occurred" .

I have created a series of different certificates and installed them in the phones all the times: using computer names, internal IPs, external IP,...

Really don't know what the issue may be. I am trying to access via an external IP, but I do get the same error when trying to connect via the domain.

Do you know what this may be?

Thanks

Access to the path ... is denied

$
0
0
Hello

I work on a program tu download FTP files to the server (using dotnet)
I use this instruction : SIOFile.WriteAllBytes(filename, MemoryStream.GetBuffer());
Which gives me the error message :
"A call to the System.IO.File.WriteAllBytes failed with the message :
Access to the path ... is denied"

The path is on F:\...\...\... and as a user I can create, read & delete Files in this folder
Even if I run NAV as Admin I get the error
The security on the folder is set to Total control for my user
In my program I successfully used dotnet to upload files
In my program I also successfully create copy and delete files (with nav instructions)

Can you please help me to find other hints to get this work ?
Thanks

Page opened from designer in wrong language

$
0
0
Hi all!

I have additional language installed on my NAV2013 R2 and switch from one language to another, often (in RTC).
After some time working on single database, I start to see issue for which I cannot find cause.

If I open table data from CSIDE designer it will be shown in different language than one that is applied in RTC in that moment. Furthermore, I noticed that some tables will always be shown in first language and some in second, no matter which language is set in RTC, and I can't find a way to show that particular table in other language. I tried everything, deleted ZUP file for CSIDE, deleted personalization data (though it is not connected to tables it self but rather to pages), tried all combination of languages in CSIDE and RTC...

This can be troublesome in situations where I need to copy/paste data directly from table, with option fields and data in fields translated in first language, and RTC shows me data in second language, so I have to spend some extra time to translate it manually if I have to do import somewhere else. Or vice verse.

Has anyone else experienced similar thing?

NAV2015 Data Upgrade "Object ID Not Found" during processing

$
0
0
Hi all,

I've got a database that I'm upgrading from NAV2009 to NAV2016. So far, I have
1. Upgraded from NAV2009 to NAV2013, running the "Step 1" upgrade process that stores data in the temp upgrade tables.
2. Opened the database in NAV2015

The database has 4 companies.

Now I'm running the "Data Upgrade" process. It reports an error "Object ID Not found" in only one of the steps, for "Company 1" (out of 4). The other companies all process OK. Here's the detailed output from Get-NAVDataUpgrade. The error message is in the second block (Session ID 4969, Codeunit 104055):
SessionId    : 22
CodeunitId   : 104051
FunctionName : CheckPreconditions
CompanyName  : <Company 1>
StartTime    : 3/29/2016 5:00:49 PM
Duration     : 00:00:00.1406200
State        : Completed
Error        :

SessionId    : 4969
CodeunitId   : 104055
FunctionName : StartUpgrade
CompanyName  : <Company 1>
StartTime    : 3/30/2016 12:33:34 PM
Duration     :
State        : FailedPendingResume
Error        : Object ID not found.

SessionId    : 24
CodeunitId   : 104051
FunctionName : CheckPreconditions
CompanyName  : <Company 2>
StartTime    : 3/29/2016 5:00:49 PM
Duration     : 00:00:00.1562444
State        : Completed
Error        :

SessionId    : 29
CodeunitId   : 104055
FunctionName : StartUpgrade
CompanyName  : <Company 2>
StartTime    : 3/29/2016 5:00:49 PM
Duration     : 00:00:16.5935582
State        : Completed
Error        :

SessionId    : 25
CodeunitId   : 104051
FunctionName : CheckPreconditions
CompanyName  : <Company 3>
StartTime    : 3/29/2016 5:00:49 PM
Duration     : 00:00:00.1406200
State        : Completed
Error        :

SessionId    : 27
CodeunitId   : 104055
FunctionName : StartUpgrade
CompanyName  : <Company 3>
StartTime    : 3/29/2016 5:00:49 PM
Duration     : 00:15:32.3687797
State        : Completed
Error        :

SessionId    : 23
CodeunitId   : 104051
FunctionName : CheckPreconditions
CompanyName  : <Company 4>
StartTime    : 3/29/2016 5:00:49 PM
Duration     : 00:00:00.1406200
State        : Completed
Error        :

SessionId    : 28
CodeunitId   : 104055
FunctionName : StartUpgrade
CompanyName  : <Company 4>
StartTime    : 3/29/2016 5:00:49 PM
Duration     : 00:00:44.2494866
State        : Completed
Error        :

It appears that Codeunit 104055 (UPG6080.StartUpgrade) ran through all its steps, because the last thing that it does is run the following:
IF IsLastCompanyInDatabase THEN
  MarkUpgradeToolkit.MarkTablesForDeletion;

This changes the version tag of all the upgrade objects and other objects to be deleted - and it has done that.

Any ideas from anyone?

Thanks

Ron

Restart Client after Change in Table Design

$
0
0
In NAV 2015 it was pretty easy for a developer to change a table design of Table 18 (Customer), e. g., without the need to restart the client.
Now, in NAV 2016 (Cum. Update 4) any changed table object throws an immediate error in the RTC, which is often not even related to the changed table. For example: A change of Table "Item Variant" causes the immediate error on the open Item List page:
9q95dsp0ejsg.png
Is this a bug or a feature?
Please try it out yourself, before you post further questions.

Modify ApprovalsMgmt in NAV 2016

$
0
0
Hi to all,

I have a task, to do some modification in Sales Approvals Management. I do that in CU:439 Approvals Management in functon FindApproverSales in NAV 2013.

But now in NAV 2016 I can't find a CU:439. On page Sales Order on Page Action "Send Approval Request" I see the code:

IF ApprovalsMgmt.CheckSalesApprovalsWorkflowEnabled(Rec) THEN
ApprovalsMgmt.OnSendSalesDocForApproval(Rec);

where ApprovalsMgmt is CU:1535 in NAV 2016 and OnSendSalesDocForApproval is Event with out code.
[IntegrationEvent] OnSendSalesDocForApproval(VAR SalesHeader : Record "Sales Header")

Can please somebody tell me how to find the code that execute calling the ApprovalsMgmt.OnSendSalesDocForApproval(Rec);

Thanks a lot,
Best Regards,

Tracking Object Changes in Codeunit 1 without SQL Trigger

$
0
0
Hello,
is there any known way to track object changes in Codeunit 1? I remember that this was possible in NAV 2009.
Would be great if this can work without SQL Trigger.

greetings
mik

In the Navision, using Workflow only payment journalline

$
0
0
Currently, I am setting up a workflow function in Navision.
However, I dont need to use workflow function in General Journal line and recurring journal line.
I only wanna use the function in payment journal line and General payment Journal line.
So, what I desire to know is that using workflow function only in the Payment journal line .
Thanks

"nav 2013" use default function in layout code

$
0
0
Hello

please i want to know if it is possible to use the defaut system function in a report layout code section (customize code)
for example how in the report layout code section (customize code) how to use the default function CountDistinct
who can be use in a textbox expression
Thanks

How to print one check for a payment journal having different G/L Account?

$
0
0
Hi,

We have just implemented NAV 2015 and we are having an issue concering the check printing. For one payment journal with multiple lines (G/L Account) NAV seperate each one of these lines in one check.

We need Nav to adds up the lines and print the total in one check. Kindly advise how we should proceed.

thanks

What is the SQL server license provided with NAV 2015 in Azure Marketplace?

$
0
0
Hi everyone,
is it possible for anyone to clarify if and what SQL server license is provided with the Virtual Machine of Dynamics NAV 2015 in the azure marketplace?
Kind Regards

How do you remove the time stamp from Word layout reports?

$
0
0
I have created a PO report in Word for NAV 2015 which I imported into the custom layouts.

When I edit the report to map the fields to the correct positions I am having an issue when using the dates where the date will show as "[day]/[month]/[year] [hours]:[minutes]:[seconds] [AM/PM]".

For example it will show "1/1/2016 12:00 AM" when I need it to just show as "1/1/2016".

Does anyone know how to do this?

Update with Application Design in NAV 2015 and 2016

$
0
0
Hi There,

Would like to hear your thought about the application design changes between NAV 2015 and 2016 versions, was there any? As I referred to MSDN's Application Design documentation there was none. Could anyone confirm if this was so?

Thanks!

Printing G/L Entries

$
0
0
Hi,

Let's say I've got a standard journal entry, for example an expense postings against a Bank Account. What's the best way to print out the transaction? NAV doesn't seem to have a single report which produces these G/L Entries unless printing the G/L Register. The latter is quite decent but if the same G/L Register contains numerous document numbers, all entries will be printed within the same document.

Is there any other solution?

Regards,

Steve

How to use Variable section in a report layout

$
0
0
Hello

please i want to know how to declare variable and how to use it in a report layout variable section

Thank you
it is correct and work but if i want to use the CountDistinct function in the code section (custom code section = report properties code section ) and not in the body
it is possible ?

Right click → properties → variable (in the report layout)


hfo4bueezb2r.jpg

Transheader / Transfooter in Word Layout (NAV 2016 CU4)

$
0
0
Hello everyone

I'm in the middle of a project that includes converting RDLC to Word reports.
So far, everything worked like a charm.

However, we've now encountered an issue: there seems to be no native way of doing transfooters and transheaders except for counting the number of lines that word will probably insert on the page before breaking...

Now, we thought: why not create a visual basic code that sums before each page break a specified range in a table (like a conditional {SUM(ABOVE)} ) and inserts the value in a field control?

Does anyone have an idea how to realize such a task?

Thanks in advance and have a great weekend!

Best regards,
Sébastien


Viewing all 10032 articles
Browse latest View live


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