Monday, September 26, 2016

How to create a PROGRESS Bar in Navision ?

To create a progress bar for a long process in NAV .

We will create 4 variables for calculation and creation of progress bar in navision. These four variable are of type Dialog and Integer.


To create a demo progress bar we will just give AmtToProcess  a value of 500000.We are using a ROUND function for this scenario.And UPDATE function which will 

Update the progress bar for few seconds.




The final result will be like this one.



I hope this code will help you to create progress bar in navision.
And you can more customize the progress bar according to your need.

Sunday, September 25, 2016

How to implement Factorial Program using C/AL CODE in MS Dynamics NAV?

Concept:

Factorial is program in which n multiplies n-1 itself till it comes to 1. For Eg.

6! = 6*5*4*3*2*1

In NAV we use generally use C/AL programming so here we will use looping in NAV.


Step:1 Create a Codeunit in NAV Development environment.

Step 2. Create 3 global variable.

Step3. Then writing the coe as below will generate the Factorial of a number.

This one is simple.

Mile stone journey starts with a single step.


I will start with more complex program soon.






But in this example we have taken the counter in increasing order by using TO we can also do it in decreasing counter using DOWNTO For Eg.


1.(a)Factorial Program using while Loop.

While Loop Syntax must be followed with Care else we will move in an infinite loop.



1.(c) Factorial program using REPEAT UNTIL






Tuesday, September 20, 2016

What are the new Features in MS Dynamics NAV 2017?

As you know MS has released its latest version of Beta 2017 MS Dynamic NAV, Let's have a look over the new features included in it.




1. First new feature I observed in NAV 2017 web client is notification which we can use for different purpose in our development like overdue balance of customer,Routine posting and other things.

For this purpose we have been provided with new notication data types.
which works in 2 scopes local and global both according to function and our client requirement.

2. We can now further categorise our G/L Account in different categories of our requirement.

For example,

till yet we can only categorise a COA on the basis of Income/Balance sheet till yet now we can have other categories also. We can define a COA acoount on our requirement also.

I will post further new features also as i will go futher development and my learning.
Please share new features which you also see in comment box.


Get your copy of Beta version of MS Dynamics NAV 2017 here in below link.