Develop Multiline property in AL code in BC D365:
(1) Multiline property is available in Page field and Page Label. But if you break or separate lines in AL then you should follow the below steps. Let’s take an example, In the Purchase Order report, the comment is shown in a single line but the requirement is to split the line row-wise as shown.
(2) If you notice that the above-entered value and images, print in a single line in the report, but the requirement is to display the line wisely. For that, refer to the below function.
(3) After calling the above function to display purchase comments in the report, the result as shown.