Skip to main content
Solved

how to use report_sys.parse_parameter with date datatype parameter

  • November 18, 2024
  • 1 reply
  • 132 views

Forum|alt.badge.img+2
  • Do Gooder
  • 4 replies

I have requirement to create a report and invoice date which is of date data type is the parameter that needs to be given in the order report dialog which should also allow between operator. I'm trying to use report_sys.parse_parameter(column (which is date data type), parameter (which is date datatype)).its throwing me invalid relational operator error.

 

How do we solve this.when the parameter is date data type.

 

 

Thanks in advance.

Best answer by Tomas Ruderfelt

I would suggest doing two parameters instead. Then you have full freedom in the RDF to create a proper WHERE statement instead of using Report_SYS.Parse_Parameter (which also might lead to performance issues).

 

Like this example:

voucher_date BETWEEN from_date_ AND from_date_

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

1 reply

Forum|alt.badge.img+19
  • Superhero (Employee)
  • 488 replies
  • Answer
  • November 19, 2024

I would suggest doing two parameters instead. Then you have full freedom in the RDF to create a proper WHERE statement instead of using Report_SYS.Parse_Parameter (which also might lead to performance issues).

 

Like this example:

voucher_date BETWEEN from_date_ AND from_date_


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