Clearing Out A Date Field On VBC Doesn't Take Effect

(Doc ID 2036894.1)

Last updated on JULY 11, 2017

Applies to:

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


Create a applet based on a VBC. In the applet has some text and date fields exposed. Create a button on the VBC applet that implements browser script this.buscomp().Getfieldvalue method to obtain the field values.
When a valid date is entered in the date field or leave the date field as null and click on the button everything works fine. However, once valid date is entered, and subsequently clear out the date field, this.buscomp().Getfieldvalue doesn't return null. It instead returns the valid date that was entered prior to clearing out the field.

The issue can be reproduced at will with the following steps:
1. The Button in the VBC applet is based on the Browser Script
2. when the button is clicked it does not show the latest value in the Date field only when type is DTPE_DATE.




Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms