BI Publisher (MOSC)

MOSC Banner

Receiving error when trying to bind a parameter to the DataSet

edited Apr 10, 2013 4:41AM in BI Publisher (MOSC) 1 commentAnswered
 Hi All,
I'm creating an age analysis report in BI Publisher (10.1.3.4.1)  and i seem to be unable to get around the following error.

ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER

My Query looks like this.
select api.INVOICE_ID, api.GL_DATE, apv.VENDOR_NAME , api.INVOICE_NUM, api.INVOICE_AMOUNT, api.INVOICE_DATE, api.DESCRIPTION, api.TERMS_ID, 
api.TERMS_DATE, apt.Name, aptl.DUE_DAYS, api.TERMS_DATE + aptl.DUE_DAYS as DUE_DATE ,:p_date-(api.TERMS_DATE + aptl.DUE_DAYS) as "Due For",
case 
when :p_date-(api.TERMS_DATE + aptl.DUE_DAYS)> 45 and :p_date-(api.TERMS_DATE + aptl.DUE_DAYS)<= 60 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center