Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Illegal Operation error when using date functions in siebel vb

edited Nov 30, 2018 12:43AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 2 commentsAnswered

Hi,

We are facing the issue with siebel vb code when using date functions, code is as below. Also, this issue is happening in QA, where as the same is working fine in Prod, so we are suspecting some kind of local settings while retrieving date is causing the issue and same has been mentioned in Scripting Code That Manipulates Dates is Leading To "Type mismatch(SBL-SCR-00156)" Errors. (Doc ID 552021.1), but we need some detailed explanation on the cause and solution section, so kindly explain in detail.

sActCreated =.GetFormattedFieldValue("Created")

sSRCreated =.GetFormattedFieldValue("Created")

dx = DateValue(sSRCreated)

'TheApplication.RaiseErrorText(dx)

dy = DateValue(sActCreated)

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