Home Discussions Questions & Answers Ensuring BI Publisher Data Triggers Run Before SQL Execution

Ensuring BI Publisher Data Triggers Run Before SQL Execution

Avatar photoCustomer May 22, 2021 at 2:51 pm

I have an imported BI Publisher report where the main SQL selects from global temporary tables (GTTs). The GTTs are populated by a beforeReportTrigger. How does Blitz Report execute this logic?

Viewing 4 reply threads
  • Author
    Replies
    • Support May 23, 2021 at 2:02 pm  

      When a report is imported from BI Publisher, the original data definition XML is stored in the BIP Code field. If this field is populated, Blitz Report automatically executes the dataTrigger section, such as beforeReportTrigger, before running the primary report SQL.

    • Avatar photoCustomer May 24, 2021 at 8:00 pm  

      So the BIP Code field is vital for any report that relies on PLSQL preprocessing?

    • Support May 26, 2021 at 4:30 pm  

      Yes, it is crucial for reports that rely on PLSQL code, such as those populating temporary tables, to ensure data is prepared before the main query is executed.

    • Avatar photoCustomer May 26, 2021 at 11:39 pm  

      Is there an easy way to verify the content of the XML template stored there?

    • Support May 27, 2021 at 4:51 am  

      Yes, you can double click onto the BIP Code field in the report setup window to download and view the associated XML data definition template.

Viewing 4 reply threads
  • You must be logged in to reply to this post.

Login with: