-
Welcome to the Design Patterns forums!
Let me start by thanking Luc and Alain for making this forum reality. The Dynamics NAV ecosystem is becomming more and more aware of Design patterns and I get almost daily questions about them via mail or other channels. These forums are meant to share knowledge and ask questions. You can find descriptions about Design…
-
NAV 2016 (9.0.50528.0) Docker
Greetings everyone, We are looking to migrate our NAV Servers and instances to on-prem Docker services, from my knowledge & research this doesn't seem possible, maybe I am wrong.. Does anyone have NAV v((9.0.50528.0)) running on Docker right now? If so can you please provide resources on how to accomplish this task.. Thank…
-
Contact Insights are not working after PROD environment has been reinstalled (BC online)
Hi All, We have installed PROD environment on BC online (premium subscription), we are using Office365 accounts for authentication. We have deployed add-in: Contact Insights. User could connect to the demo database: Cronus DE after clicking the icon: Contact Insights inside Outlook client as expected. Everything else…
-
detailed comments in NAV code
I got a request to add comments like below for each line of code we modify or write What are your thoughts with pros and cons? IF (StartDate = 0D) AND (NOT UseEmploymentDate) THEN StartDate := WORKDATE; // If Start Date is Null and the user did not check Use EmploymentDate then use the Workdate IF (StartDate > EndDate) AND…
-
NAV2013 Implementing Manufacturing Module
Good Day everyone,I have a customer that is already using NAV2013 for 4 years. Just recently they decided to implement manufacturing module (a new company book). Is there anything to take note i.e. Server specification prior to the implementation? Or I shall say, what would be the guide to calculate the sizing of the…
-
Renaming fields IDs in Navision tables & effects on other Objects
Problem: Now we found that one of our Programmer have given new Fields IDs in NAv_2016 for all our new fields which are coming from Nav_2009. What we want to have : We want to maintain the same fields IDs in our new Nav_2016 with the same Fields ID like Nav_2009. Our Concerns: Now the question is if we changed all tables…
-
Processing Template pattern
I want to offer to the community for discussion Processing Template Pattern. We use processing template pattern to setup document workflow for Nav and external applications. Basic concepts: 1. Document Status. Every document should have status. 2. Statuses list must be configured for document type. 3. Processing template…
-
Transferfields Versus Assignment Method (Rec1:=Rec2)
Transferfields Versus Assignment Method (Rec1:=Rec2) 1. What is the main Difference? 2. What is Best Practice and Why? 3. I have a code that causes an error which might be from assignment method, it goes something LIKE this: Function() Rec1:=Rec2; Rec1.Insert(True); --- function Rec1 - Insert() Main_Key:= LastNumber + 1;…
-
XML Handling with COM Automation / DotNet
Let's assume we have the following scenario: - We want to handle complex XML files (export and import, XMLPorts have limitations... so they are not an option in this case) - We want to separate business code from the technical code - We want to implement this in older (Classic COM Automation) and for newer NAV Clients…
-
Best Practice for FIND commands for addon development
There are many resources around which explain how FINDSET, FINDFIRST, FIND('-') etc. work but my understanding is that it really depends on the NAV version. Not all NAV versions behave the same on the SQL Server. Let's say I want to maintain *one* codebase (addon) which works for all NAV versions between NAV5.0 classic and…
-
PROJECT SERVER and Dynamics NAV 2013 R2 and last versions
Hi Does anybody knows which partners in South Europe have real !! experience in Project Server Project integrations with Dynamics NAV 2013 R2 or last versions ? By the way, where can we have any ideia (documents, presentations, white papers, etc... ) about NAV integrations with Project Server, to understand how dificult it…
-
Coding best practices to overcome merge conflicts?
In an attempt trying to understand the merge commandlet and dealing with conflicts, I came accross some situations I would like to get some more explanations about the 'why' of these conflict situations. Example 1 (OnModify Customer) Original code...
MODIFY;
CallSyncCodeunit;
FIND;
... Modified…
-
Design Template
Hi Guys, Does anyone have any templates for Nav Development Documentation? Let's say the client needs some modification and I have to write down those modification and make design document to send to a developer to make the changes. Cheers,
-
Code commenting in C/AL (NAV) - Pros and cons
I have seen the question of code commenting in NAV application code, being asked again and again. There are pros and cons to it. Maybe this topic deserves to have a place of its own. This is not a promise that the results of this conversation will influence production code. That is not the goal. The goal is for NAV…
-
C/AL Coding guidelines are published
Yesterday, the C/AL coding guidelines that are used internaly at Microsoft were published. You can find them here. https://community.dynamics.com/nav/w/de ... fault.aspx It contains a wide range of rules that should be applied when doing NAV Development. Internaly MSFT has a tool that checks for these rules. Please vote…