Skip to main content

Hi, we have to develop 20 purchase order report layouts and need to suggest a limited list (2 or 3 layouts) to users depending some rules.

Using  Set Property and Layout file, we can’t select more than 1.

Do you have a solution to suggest a limited list  ?

Regards,

Christophe 

@BUSSI_C wow! 20 different layouts for PO? 

Why not use just one layout and add conditions on what data to be printed based on your different scenarios.

If you will end up with 20 layouts you will need multiple report rules with different conditions. You cannot do it with just one report rule.


Hi Marcel ,

We though about one layout and add conditions but it will complexify this report.

So it is why we plan to use report rules. We agree to create multiple report rules but we need to be able to suggest more than one layout and it seems to be impossible. if we create multiple action just the first is applicable.

Regards Christophe

 

 


@BUSSI_C I understand what you are saying, but it’s not possible to show only a subset of the laoyouts to the user in the Print Preview assistant. 

 

Using Report Rule actions you can choose one of these options for showing a Layout in the Print Dialog. When using Set Property - user will not be able to change the layout in Print Dialog. When using Set Default Property or Preselect Property, users will be able to change the layout and in the dropdown all the Layouts marked as Used in Report Definition will be shown. There’s no way to restrict the LoV.

  1. Set Default Property
    If you set an action type of Set Default Property it will set pre-selected properties in the action in the Print Dialog. However when the Report Format request is made, the Report Formatter will also check for the default properties in the action and will apply these settings which would not override any changed settings from the Print Dialog. These settings may come in use when print jobs are directly sent from application without going through the Print Dialog.

  2. Set Property
    If you set an action type to Set Property it will set properties in the Print Dialog with a lock. This way you cannot change the pre-selected values. Further, this means that the Report Formatter will override all the settings if pre-selected.

  3. Preselect Property
    If you decide to set an action with type Preselect Property, properties of that action will be set in print properties in the Print Dialog by default.

 


Of course I don't know your exact requirements but 20 separate layouts seems excessive. I would strongly advise against having 20 separate layouts as this is not evergreen in the slightest. If any new features are added in IFS Cloud Release Updates you can end up having to update all 20 layouts. The same applies even with basic changes like having to use a different font if your CI changes.

 

I would recommend to try to group the requirements to perhaps 2 or 3 layouts with common requirements and handle the remaining differences with report rules if this is in any way possible!


Reply