Question

How do I automatically select the report layout based on logic?

  • 21 September 2022
  • 2 replies
  • 98 views

Badge +1

The supplier Check report has several layouts based on Banks. I want to select multiple bank checks and when I print, system will select automatically layouts based on banks.


2 replies

Userlevel 6
Badge +14

You can also define pay documents by cash account.

 

Userlevel 7
Badge +15

Hi,

You can use Report Rules for this. Have a look at the following link.

https://docs.ifs.com/techdocs/Foundation1/040_administration/250_operational_reporting/070_report_rules/default.htm

In the condition you can check against the bank is it’s in the XML data, or you can write a select to get the bank code or something and check it against the known bank value.

The action can be a “Set Default” or “Set Property” depending on if you want to change it later if you are printing though the Print Dialog or direct printing. If you are printing through the Print Dialog then you can use a “Pre Select” action as well.

Hope this helps.

Regards,

Reply