Hi @Shamalaka Perera,
I’m not technician, but I think that your best option for this requirement is the use of Report Rules:
Report Rules in IFS allow you to control which layout or template is used when printing a report, based on specific conditions such as:
- Company
- Country
- Language
- Customer/Supplier
- Document type
This is essential when different countries have different legal or formatting requirements for printed documents (e.g., invoices, purchase orders).
✅ How It Works
-
Define Multiple Layouts
Create or upload the different layouts (e.g., invoice templates for Spain, France, Germany).
-
Set Conditions in Report Rules
In the Report Rule configuration, you specify:
- Report ID (e.g., CustomerInvoice)
- Condition (e.g., Company = ES01 for Spain)
- Layout (the template to use when the condition is met)
-
Priority Handling
If multiple rules apply, the system uses the highest priority rule.
✅ Steps to Configure
- Navigate to:
Reporting → Report Rules - Create a new rule:
- Report ID: Select the report (e.g., CustomerInvoice)
- Condition: Add filters like Company, Country, Language
- Layout: Assign the correct layout file
- Save and activate the rule.
✅ Example for Your Requirement
- Report ID: CustomerInvoice
- Rule 1: Company = ES01 → Layout = Invoice_ES
- Rule 2: Company = FR01 → Layout = Invoice_FR
- Rule 3: Company = DE01 → Layout = Invoice_DE
When printing an invoice for ES01, the system automatically picks Invoice_ES.
📌 Tip: You can also use Language or Customer Country as conditions if the same company operates in multiple regions.
I hope this clarifies your question.
Regards,
Pilar