Sunday, 17 July 2016

How to use CASE Statement In Microsoft Dynamics Navision.

For understanding the use of CASE statement in NAV , show below example.

VehicleType:=VehicleType::CAR;
CASE VehicleType OF
  VehicleType::CAR:
  BEGIN
    MESSAGE('You Select CAR');
  END;
  VehicleType::BUS:
  BEGIN
    MESSAGE('You Select BUS');
  END;
  VehicleType::TRUCK:
  BEGIN
      MESSAGE('You Select TRUCK');
  END;
END;



OUTPUT: 




0 comments:

Post a Comment

Thanks for comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Toggle Footer