Get your business online with free website builder (en)

How to Develop Multiline property in AL code in BC D365

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.

Multiline property in AL example
Develop Multiline property in AL code example

(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.

Develop Multiline property in d365 bc source code

(3) After calling the above function to display purchase comments in the report, the result as shown.

Develop Multiline property example

How to Assign Role Center to Users in BC D365
Rename or Change the value of Primary Key in BC D365
FlowField in Dynamics 365 BC
How to Import EXCEL data in Business Central D365
Record.TransferFields(var Record [, Boolean]) Method– Microsoft Docs

Leave a Reply