Skip to content

Two Operational Reports (like a Service Quotation and a Service Order Acknowledgement) share the same underlying Report Definition and Report_ID with nearly identical data — how do you have a Print button determine which of the two layouts to actually print, instead of leaving it to the user to pick manually every time?

Answer

Look for a state-type field already present in the shared underlying view/table that distinguishes the two scenarios (for example, a STATE field that's one value for a quotation and another for an acknowledgement) — you can reference that field to dynamically select which layout applies. Set this up on the Report Rule page: create an action there and specify which layout to use based on that condition, which lets a single Print button resolve to the correct layout automatically instead of prompting the user to choose.

← Browse Reporting and analytics questions