In NAV, the IF statements can be written in one of two ways: either with BEGIN and END statements, or without. If you skip the BEGIN and END, your IF statement can only include a single instruction, and then it is assumed to be over.
Posted inDynamics NAV & BC Tips & tricks