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

MOSC Banner

Mysterious Read Only Error in Script

edited May 13, 2013 9:30AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 14 commentsAnswered
Hi,
I have a form applet (based on Service Agreement BC) where the control "Control1 Flag" is exposed and it is a checkbox. We have made it read only using applet control property "Read Only".
This control corresponds to the BC Field "Field1 Flag".

In the BC server script, in PreSetField Value event, we have a custom script where based on some conditions we are setting this flag value to "Y" or "N" using the following statement.

if(FieldName = "Start Date")
{
....
....
....
if(condition == true)
this.SetFieldValue("Field1 Flag","Y");
else
this.SetFieldValue("Field1 Flag","N");
...
...
...
 }

Upon execution, the flag is getting set properly but we have this error seen in the log file "This operation is not available for read only field 'Field1 Flag'.(SBL-DAT-00402)". Because of this error, the succeeding statements in the if.. block are not executed.

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