Siebel Business Process & Functionality (MOSC)

MOSC Banner

RCOIS Service RemoveItem method

edited Dec 16, 2016 12:07AM in Siebel Business Process & Functionality (MOSC) 4 commentsAnswered

Hello,

Need to change Main Product from 250bw to 2000bw; To achive this I am doing removeItem for 250bw then AddItem for 2000bw.

For RemoveItem , I need the path of Main Product, so I am using GetPath function.

Providing below parameter for getpath

psIn.SetProperty("ObjId", newOrderId);

psIn.SetProperty("RootId", sRootItemId);

psIn.SetProperty("IntObjName", sIntObjName);

psIn.SetProperty("Parent Path", IntegrationId);

GetPath(psIn, psOut, oldProdId, oldProdName);

And in GetPath function I have written below code.

bsRCOIS.InvokeMethod("EnumObjects", psInput, psOutput);

  var enumObjCount = psOutput.GetChildCount();

  for(var i=0; i<enumObjCount;i++)

  {

  var enumChild = psOutput.GetChild(i);

  if((enumChild.GetProperty("Product Id") == ChildProdId) || (enumChild.GetProperty("Name") == Name))

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