My Oracle Support Banner

When Using TIMESTAMADD Function, Getting Error Message: Function TimestampAdd is called with an incompatible type. (HY000) (Doc ID 2135300.1)

Last updated on SEPTEMBER 03, 2021

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.4.0.0 and later
Oracle Fusion Application Toolkit Cloud Service - Version 11.1.4.0.0 and later
Information in this document applies to any platform.

Symptoms

Using OTBI, you need to multiply a number column and add add that figure to a date column.

The number column is the "Duration (Weeks)", you need to multiply this by 7 to get the number of days.
Then you need to add the number of days to the "Anticipated Contract Start Date" date column in order find out the "estimated completion date"

 

This can be normally achieved using "TIMESTAMADD" function - syntax: TIMESTAMPADD(interval, expression, timestamp column)

But if for example you use some custom extensible fields as below:

e.g.
FORMULA
TimestampAdd(SQL_TSI_DAY, "Opportunity Extension"."Extension Attribute Number 020", "Opportunity Extension"."Extension Attribute Timestamp 013")

The following Error is generated:
Formula syntax is invalid.
[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22025] Function TimestampAdd is called with an incompatible type. (HY000)
SQL Issued: SELECT TimestampAdd(SQL_TSI_DAY, "Opportunity Extension"."Extension Attribute Number 020", "Opportunity Extension"."Extension Attribute Timestamp 013") FROM "Sales - CRM Pipeline"
OK (Ignore Error)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.