Tag: use CASE statement in Business Central

How to use CASE statement in D365 BC

CASE statement in D365 BC: (1) Definition- Case statements are typically used when you must choose between more than two different actions. (2) Syntax of “CASE” statement- case <Expression> of <Value set 1>: <Statement 1>; <Value set 2>: <Statement 2>;  <Value set n>: <Statement n>;  end; (3) Lets take an example, get name of the month from Date: (4) The <Expression> is evaluated, and the …