IF - THEN And IF - THEN - ELSE Satement In Microsoft Dynamics NAV
IF Satement In Microsoft Dynamics NAV IF Statement is the most commonly used conditional statement that work based upon the statement is TRUE or FALSE. Conditional Statements works like first check one condition and based upon the result of this condition further flow of the program happened. Microsoft Dynamics NAV(previously Navision) language C/AL is used other conditional statements too. If statement or IF loop is used execute a code when a purticular statement is TRUE only and some case its used to execute some statements when the statement is FALSE too. There are mainly 2 types of IF statement specifications IF - THEN Syntax IF - THEN - ELSE Syntax IF - THEN Syntax : - In this type of IF statements you have to use following type of syntax IF boolean expression THEN statement This statement works in a manner that first the Boolean expression is evaluated and if the value is TRUE then the Statement excuted and if the Boolean expression is FALSE then the statements after the IF sta...