Last updated on SEPTEMBER 30, 2016
Applies to:Oracle Fusion Sales Cloud Service - Version 18.104.22.168.0 and later
Oracle Fusion Application Toolkit Cloud Service - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
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:
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)
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms