Skip to main content
Solved

How to find parameter values in the PDF_REPORT_CREATED event?

  • January 11, 2024
  • 1 reply
  • 599 views

Sandun1997
Do Gooder (Partner)
Forum|alt.badge.img

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.

 

Best answer by dsj

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

 

View original
Did this topic help you find an answer to your question?

1 reply

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 853 replies
  • Answer
  • January 12, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings