Question

How to create link to Report with parameters?

  • 12 April 2021
  • 5 replies
  • 152 views

Userlevel 5
Badge +14
  • Hero (Customer)
  • 275 replies

We would like to call report via link. However we could not select enumaration parameter. How can we call with enumaration parameter?

 

Link : 

ifsrep:DENER_SATIS_PROFORMA_FORMU_REP?REF_NO=P22516&REF_TYPE=PROFORMA_TIPI_CFP.DECODE('Müşteri Siparişi')

 


This topic has been closed for comments

5 replies

Userlevel 5
Badge +9

Hi @hhy38 ,

Creating a custom menu and mapping parameters would be a solution for this. 

That way when you click the RMB and it will load the report with mapped parameters.

Hope that way you can achieve the requirement.

Regards,

Userlevel 5
Badge +14

Hi @hhy38 ,

Creating a custom menu and mapping parameters would be a solution for this. 

That way when you click the RMB and it will load the report with mapped parameters.

Hope that way you can achieve the requirement.

Regards,

Is there an example of it? We could not do it from the custom menu.

Userlevel 5
Badge +9

Hi @hhy38 ,

It is similar to what is mentioned in the docs.

Report Custom Menu Sample (ifs.com)

Just add,

Source → Destination

PROFORMA_TIPI_CFP.DECODE('Müşteri Siparişi') = REF_TYPE

 

This should work. Right now i cant find an example for this. 

Let me know if it doesn't work.

Userlevel 5
Badge +14

Hi @hhy38 ,

It is similar to what is mentioned in the docs.

Report Custom Menu Sample (ifs.com)

Just add,

Source → Destination

PROFORMA_TIPI_CFP.DECODE('Müşteri Siparişi') = REF_TYPE

 

This should work. Right now i cant find an example for this. 

Let me know if it doesn't work.

Let me explain better. We will create a report but the report can call from different views. Like calling from customer order and customer quotation. The report will work differently it is up to view. So we added a parameter to it. We will call the report via the custom menu. We could not set parameters, after that, we decided to use a link to open report. because of that, we are asking. 

Userlevel 5
Badge +14

And Can we send constant value to the report? It can solve our problem.