Friday, March 2, 2018

Tutorial 6 Loop in Dotnet

1. While Loop

This Loop is checking the condition written in brackets , if the condition is correct then Code block will be executed till the While condition is fulfilled.

Note: While is similar to NAVISION IF condition.

2. Do While Loop 

do
{

}
while(Condition);

This loop will execute once and then checks the condition if condition is found true then do code will be executed again.

Note : This code is good for providing menu option to end user of program.

3. For Loop 

For Loop is also present in NAV and the working is same as in Dotnet. I had summarized the syntax for all loops present in Dotnet.

4. For Each Loop

This loop is present in dotnet and is very easy to use with collection classes in nav.

Break & Continue:

Break is a very special type of keyword that we can use in any loop to break on condition.

Continue is also same and is used for special reasons to continue a loop.



Tuesday, February 27, 2018

BLOG 1 : LS Retail & MS Dynamics NAVISION 2017


Hi All ,

This blog is all about LS NAV 2017 it will contain various details about LS Retail so be continue

with my blog post. I will try to make it as simple as possible , as per reader I will update my blogs 

and revise my this section of blog.

Q 1. What is LS Retail for NAVISION ?

LS Retail is a Add on provided to MS Dynamics NAV for all version from Nav 3.0 to till present. We

 NAV developers are provided with all the LS Retail objects. Whole customisation if required in LS 

Retail needs to be done in C/AL code itself on our base objects till we are using AL development 

environment. As we know the development environment is going to change soon I will update my 

blog post as required after release.


LS Retail License :

We need LS Retail License which is different from NAV License and this can be taken from below LS Partners in India.

1. Trident Information Systems Pvt. Ltd.

2. Godrej Infotech

3. EBT  



Tutorial 5 Conditional Statement in Dot Net

1. IF Statement

This is the most common operator for NAV developers and we use it with BEGIN END statement for every multiple line conditions. So its very common in Dot Net also.


It is very common for all programming language.

2. ELSE IF Statement

If we use, only if statement then all the conditions will be followed either they are true or not. So for program structure we must use this example.


Note : What is the difference between && and & operator?

&& operator does not check all conditions and if first condition is true then code block will excute.

For E.g.
IF (A && B && C) THEN
{
   Code block execution
}

If A is TRUE then code block will execute 

IF (A & B & C) THEN
{
    Code block execution
}
For this code execution all A B C conditions needs to be completed.
Same is true for || and | OR Operator.

3. SWITCH - CASE Operator

This operation is similar to NAV Switch Case. FOR Example :