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

MOSC Banner

This operation is not available for read only field 'SYM EMP Reactivate Date'.(SBL-DAT-00402)

edited May 5, 2016 9:04PM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 4 commentsAnswered

Hi All,

We need to set a date filed on Update Responsibility field on Employee BC.

we configured as below:

Employee BC>SYM EMP Reactivate Date>S_CONTACT_X.ATTRIB_28

function BusComp_WriteRecord ()

{

    var boEmp = TheApplication().GetBusObject("Employee");

    var bcEmp = boEmp.GetBusComp("Employee");

    var vDate = new Date();

    bcEmp.ActivateField("SYM EMP Reactivate Date");

    var vResp = TheApplication().GetProfileAttr("Primary Responsibility Id");\\Profile Attribute

    //var vPrRespId = bcEmp.ActivateField("Primary Responsibility Id");

    if(vResp != "No Match Row Id")

    {

       bcEmp.SetFieldValue("SYM EMP Reactivate Date", vDate);

    }

    else

    {

    bcEmp.SetFieldValue("SYM EMP Reactivate Date", "");

    }

}

if i am trying to save record then showing below error

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