My Oracle Support Banner

Activity End Date To Be Predeault To Null In CRM Desktop (Doc ID 2086093.1)

Last updated on SEPTEMBER 04, 2017

Applies to:

Siebel CRM Desktop - Version [IP2013] and later
Information in this document applies to any platform.


We have followed the steps given in the CRM Desktop bookshelf to default a value to the field. In our case to make Activity End Date to null.

Following Code written in business_logic.js file
scheme.objects.get_object("Action").get_field("Planned Completion")["initial_value_fn"] = function() { return null; };

Later identified in forms.js there is a logic which makes End Date to predefault to current date

if (read_from["Planned"] != null)
if (read_from["Planned Completion"] == null)
var duration = 0 + read_from["Duration Minutes"];
write_to["Duration Minutes"] = duration;
var date = new Date(util.utc_to_local(read_from["Planned"]));
date.setMinutes(date.getMinutes() + duration);
write_to["Planned Completion"] = util.local_to_utc(date.getVarDate());
Please suggest how to resolve this issue


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

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