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

MOSC Banner

Copying Parent Record

edited Feb 2, 2011 3:40AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 3 commentsAnswered
I have a view based on Service Agreement and Related Service Agreement (custom BC). I have written a script to copy the parent record and set the Id of the parent to PAR_AGREE_ID. On clicking the button, I get an error stating Operation is not allowed when no records displayed..... (SBL-DAT-00215).
The code is essentially instantiating the parent BC (Service Request) - querying for the parent Id and in a while loop copying the record (NewRecord(NewAfterCopy)), setting the Par_Agree_Id on the newly created record and writing the record and refreshing the view.

Searched on support.oracle.com for  SBL-DAT-00215 and none of the SRs seem applicable to this case. Looking for tips on how to accomplish this.

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