Tag: Begin-End use in Dynamics 365

Use of Begin-End in BC D365

Use of Begin-End in BC D365: (1) It is the “AL Compound Statement” which is enclosing the statements between the “BEGIN & END”. (2) “BEGIN-END” structure is also known as a block. (3) When BEGIN follows THEN, ELSE, or DO, it should be in the same line. (4) Syntax of “BEGIN-END”- Begin <Statement 1>; <Statement 2>;<Statement 3>;    .. <Statement …