Jump to content

cascading input test parameter


pcouas_1

Recommended Posts

Hi,

I have define an first parameter name isGrpMoreTweleve like this with default value expression

Boolean

(((int) ((new java.text.SimpleDateFormat("dd/MM/yyyy").parse($P{periodeFin}).getTime() -
new java.text.SimpleDateFormat("dd/MM/yyyy").parse($P{periodeDebut}).getTime())/(1000*60*60*24)))>365 ? true:false)

 

AND i want use it

($P{isGrpMoreTweleve} ?
    "nvl(decode ((TRUNC((to_number(to_char(iv.inventory_date, 'MM'))-1) / 3)+1), 1,'First Quarter',2,'Second Quarter',3,'Third Quarter',4,'Fourth Quarter', ''),'') || '-' || to_char(iv.inventory_date, 'YYYY')"
    : "to_char(iv.inventory_date,'MON-YYYY')")

This second value expression is NOT Ok

Why ?

Regard

Phil

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...