Solved

How to find parameter values in the PDF_REPORT_CREATED event?

  • 11 January 2024
  • 1 reply
  • 175 views

Badge

Hi All,

I am trying to activate an event action that send the report “Payment Advice” to an email address. But I am having a hard time getting it to work.

 

All the parameters starting with pdf_ are blank except PDF_PARAMETER_1 and PDF_PARAMETER_2  

I believe PDF_PARAMETER_1 is value in AP Supplier Contact and PDF_PARAMETER_2 is Report ID in Report Definition.

I have been gone through the table in the below link but it doesn’t include how values are fetched for Payment Advice 

https://docs.ifs.com/ifsclouddocs/22r2/default.htm?openpage=https://docs.ifs.com/ifsclouddocs/22r2/Procurement/AboutEmailReports.htm

Can someone help me out find out how the rest of values are fetched? Additionally I have tried to set value for default PDF_PARAMETER_3 using function Pdf_Report_Event_Param_API.New_Parameter after referring ifs community link but still value for PDF_PARAMETER_3 is still empty.

 

icon

Best answer by dsj 12 January 2024, 10:00

View original

1 reply

Userlevel 7
Badge +20

Hi @Sandun1997 ,

 

If can’t find the information in the documentation, I usually check the plsql code where the report is generating since the parameters are set in the code.

 

I checked Payment_Proposal_API.Order_Proposal_Advice_Report which I ‘guess’ how the report is ordering and seems only PDF_PARAMETER_1 and PDF_PARAMETER_2 is set there, so other values are empty for this report.

 

Hope it helps!

Damith

 

Reply