I have a user defined field that is a checkbox in item master data. When printing a sales order I need to print a field (a block of text) if there is any item with the checkbox activated. I know how to reach to the items and user fields, the only thing I don't know is how to define a text block to be shown when printing a document depending on the items that are present.
Hope you can help me :) thank you