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

HOW TO UNDO LINE PAIEMENT

$
0
0

Hello my friends, I am lucky to be among the members of this forum. I want to propose my problem and I would like to propose a solution, we have a specific development in the order sales and payment part, the truck is what the sales order page, and split into two parts, part line order sale and part line payment.when I received an advance on an order I validate this payment with a pre forma invoice, after a period the customer wants something but he will speak with other commercial knowing that there is already an order related to an advance, the commercial create an order also a payment as long as the customer have a receipt, which makes the payment doubling one exists and the other no, here i want to create a function that automatically makes the cancellation of payment and the pro forma invoice (here in reserve Item)
thank you

NAV2015 Email Quote, Sales order. LDAP server is unavailable

$
0
0
When connected to office Domain, I could email quote and SO.
but when at Home (without connecting to Domain), I received error LDAP server is unavailable.
Full error as follow

A call to Microsoft.Dynamics.NAV.SMTP.MailHelpers.TryGetEmailAddressFrom Active Directory failed with this message: The LDAP server is unavailable.

NAV 2015 PU6 was installed recently.

Has anyone faced this issue?

Record are disappear at sale line. Is any idea for me?

No SQL Servers show up on "Available Microsoft SQL Servers" page in NAV Development Environment

$
0
0
Hello all, i would like to see installed SQL Servers in the NAV Development Environment when press F6 on Open Database page while i am at Server Name field. I should able to see the list on screenshot-1 in the list on screenshot-2.

zud5rj57zfor.png

0se8kt42ds71.png

Get Records from SubPage based on a Temporary Table

$
0
0
Hi,

I have created a Wizard page, in Dynamics NAV 2017.
The Wizard has a few steps, and one of them shows a SubPage where the Source Table is Temporary.

The user will fill in multiple Lines in this SubPage, and at the end of the Wizard we do some validation checks, then insert these records into the real table.
I am struggling with how to retrieve these Temp records stored in the subpage.

Is there a way to do this?

I have tried the following, and it only returns the last record the user enters, the previous records are not found.
On the Temp SubPage, I have added a function called "GetTempRecords(VAR "TempTable")" (I am replacing the real table names here for the example).

This function essentially does the following:
IF Rec.FINDSET THEN 
  REPEAT
    TempTable := Rec;
    TempTable.INSERT;
  UNTIL Rec.NEXT = 0;

I am then calling this from the Wizard Page, with the following line of code...
CurrPage.TempSubPage.PAGE.GetTempRecords(TempTable);

I used the VAR parameter, in the hope it would return all the records the user has entered.
When I debug, the line "Rec.FINDSET" only finds the last record entered, and I have tried adding "RESET" before but this didn't help.

Is there a better way to do this?


NAV2017: Print from web client

$
0
0
Is it possible in NAV 2017 to print to a specific printer from the web client?

I would like it to use the value in the printer selection in NAV.

Now it just makes a pdf file, so the user have to click more times to print the output.

Copy document error

$
0
0
HI everyone, I'm trying to copy a document (sales shipment document) but I'm always the error "The sales shipment line does not exist. Document no x, line no 10000"

After a little debug I found that in Item Ledger Entry table, this document have the document type "Sales Shipment". if i change this to "Sales Invoice" the error don't appear.
With the debugger the error occurs in this line:
Codeunit CopyDocument

function GetAsmDataFromSalesInvLine , line   SalesShipmentLine.GET(ItemLedgerEntry."Document No.",ItemLedgerEntry."Document Line No.");

Microsoft SQL 2014 Report Builder

$
0
0
Hi everyone, I am asking if anyone knows how to total a column with a formula (like IIF ...), thank you very much.

Problem with Report/Email/...

$
0
0
at one of our subsidiaries (NAV 2018) we are facing very strange problem. Sending email from documents (Sales Quote, Sales Order, Sales Invoice) run 100% correct. Only one user has a problem running Purchase Order:
4k8j0w05iy8f.png

all other users can run and that user can run all other "send email"

what can be done to solve this?

Extensions in NAV 2018 and BC OnPrem

$
0
0
I know AL and VSCode is way to go and will be used to create extensions but is it possible to use older method of creating extensions (from NAV 2017 or NAV 2016) , I know why would you want to use the older method as it was not tedious but just I am just curious.

Thanks.

Licens Table extension and Page extension

$
0
0
Hi

Do Table extension and Page extension need to be assigned in the licens as table/pages ?

i thought that it didn't but after changing the licens on a 2018 i get an error when uploading my extension from VS Code that my licens do not allowe me to create an specific object which are of type Table Extension.

Apply TO Oldest is not Working in dynamics nav 2015 Version W1 8.00

$
0
0
Hello Everyone,
I am facing an issue from many days and client needs solution.
Problem is that Payment Method Apply to Oldest is not working in dynamics nav 2015 version W1 8.0.378740. How can i fix that?
Or customer want i pickup opened payment entry from Customer ledger Entry table and apply that payment on oldest Invoice and Close that payment Entry.
I try many custom codeunits but i failed.
If anyone know about the best solution kindly Inform me.
Thanks.

Bin Contents 0 Quantity

$
0
0
Hi All,

I know the Bin Contents are meant to be deleted when they are empty (unless marked with fixed) but some of ours appear to not be deleted. Where is the Function called in the code?

Thanks

Edit records in table of the type CRM directly

$
0
0
Hi, my scenario is that I want to trigger email to be sent from CRM and linked to correct entity and processed in CRM

I have set up integration between CRM (dynamics 365 for sales) and NAV 2018 (On premise) and created staging entity in CRM and identical linked table in NAV using New-NAVCRMTable.

Now I can create, edit and delete records in the CRM table from the linked table in NAV and my CRM workflows are processed and email is sent.

Now my question is am I risking something by editing the records in the linked table directly instead of having real table in NAV that is processed by the integration process in NAV where records in NAV are coupled with records in CRM. This seems to be the Microsoft way.

So I answer my own question I guess I'm risking some inconvenience if the CRM is not down or not available and also there are some concerns regarding users not having appropriate permissions in CRM but is anything else I'm missing?

Upgrade from NAV 2009 -> NAV2018


Windows Event Logs and Event Tags

$
0
0
Hi,

I am interested in creating some monitoring dashboards for our system, so we can monitor the long running SQL Queries/Deadlocks/Locks etc.
To do this, we can use the Event Viewer on the servers running the Service Tier, in conjunction with Kibana which collects the Event Logs for us.

https://docs.microsoft.com/en-us/dynamics-nav/troubleshooting-long-running-queries-using-event-log

These and other events are logged to the Event Log automatically, but my issue is being able to group them easily.
One thing I have spotted, is that each type of event which is logged, has a "Tag".

For instance, the Tag for a Long Running Sql Query, is "Tag: 000007L".
I have found this by comparing events which are currently being logged, and looking at the Microsoft Documentation.

dogaisrzlzpf.png


What is missing, is a definitive list of all the tags, so I can group the events easily....
I have checked the docs, and I can't find any information on this.

Has anyone tried to do this before? Or has anyone got any information on these Tags?
Perhaps there is another way, any advice is appreciated.

RDLC: Report in 2 columns

$
0
0
I would like to make a report in NAV 2017 (RDLC in Visual Studio). It must have two columns so that when the first column is filled, it shall continue on column 2. And when column 2 is filled, it shall continue on column 1 on page 2. And so on.

How do I do that?

(As I understand, the "Columns" property on the report only make for instance two columns that has different kind of content.)



[SOLVED]NAV CRM Integration error after upgrading CRM to 9 - metadata issue

$
0
0
Hi,

Our customer in NAV2016 is natively integrated with Dynamics CRM (on-line), using the standard Dynamics NAV - CRM integration. Originally was connecting to Dynamics CRM 7.0.

During 2017, the Dynamics CRM was upgraded to version 8, so the integration stopped working (we started receiving a metadata error). We updated a few libraries (XRM) on the NAV service and client from the latest CRM SDK and the communication between both was re-stablished.

Recently Dynamics CRM has been upgraded to version 9, again resulting on the communication between NAV and CRM being broken. We have proceeded as before, downloading the latest CRM SDK and changing libraries on the Dynamics NAV folders (client and server).
However this time the metadata error persists (this time version 9). So we don't know if there is some file or configuration that we are missing upgrading, or we need to do something differently.

We have also proceeded to change the server settings (Windows Register) to use TLS1.2, just in case it was the cause of the issue, but the only result of that is a different error this time ("authentication error"). We can roll back these changes.

Can anyone give any suggestion on anything that we should be taking into account or possible fixes?

The steps given are essentially what described on this blog:
https://anandan-msft.blogspot.com/2017/02/how-to-make-nav-2016-crm-connector-work.html

Thanks.
Tomas

How to createsimple JSON file with Dynamics Nav

$
0
0
Using REST services I'm trying create a simple file to pass it Using the PUT method. example: the content should look like this ["WO_1234"]
I need to know what .net objects to use and how to convert a string in NAV to Json file to I can use it as a HttpContent to pass it using a PUT method.
I see examples on the we for JasonTextWriter but it requires Propertyname Exaple: [{"Workorder":"WO_1234"}] . I just need to pass the value without property name ["WO_1234"].



Please help

Thnaks

Apply collapsed function on a fast tab of a list page

$
0
0
Hello,

I want to know whether it is possible to make a fast tab collapsed by default when opening a list page in NAV 2016. Can you please tell me whether this is feasible? And what is the best approach in case it is feasible?

Thanks
Viewing all 10070 articles
Browse latest View live


Latest Images

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