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

MOSC Banner

How to pass date comparison searchspec in escript

edited Jul 18, 2014 5:00AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 2 commentsAnswered

Hi all,

We have a requirement that query a date field of one bc, the condition is like [date]>= date_val1 - 5;, date_val is the value of another date type filed in another bc. See below details in script.

As I understand we need convert the date_val to a date object, but I cannot find a good way. it always pops up error, i tried new date(date_val), but it returns the mili secs.

Please share your knowledge and experience.

function GetStartTime()

{

var sBO = TheApplication().GetBusObject("Server Batch Job");

  var sBC = sBO.GetBusComp("Repeating Batch Job Instance");

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