The Method Is Not Supported In Business Service When Calling BS for the Second Time (Doc ID 1433446.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version 8.1.1 [21112] and later
Information in this document applies to any platform.

Symptoms

PROBLEM DESCRIPTION
--------------------------------------

Customer is seeing Method not supported error when calling the BS for second time. This is happening when called first time from script and then second time from signal.

WHAT IS WORKING
---------------------------
First time call to BS works fine.

ERROR MESSAGES/EXPECTED BEHAVIOR
----------------------------------------------------------

The method 'QuoteTotals' is not supported on Business Service 'HDS Quote Item Utilities'. (SBL-DAT-00323).

ENVIRONMENT
-----------------------
The current version used: 8.1.1.1. Issue occurs with customize .srf.

Scripts used:
Applet: Quote List Applet

function WebApplet_PreInvokeMethod (MethodName)
{

if (MethodName == "NewQuery")
{
var par1 = TheApplication().NewPropertySet();
var par2 = TheApplication().NewPropertySet();
var oBS = TheApplication().GetService("Test BS");
oBS.InvokeMethod("Test", par1, par2);
return(CancelOperation);
}

return (ContinueOperation);
}

BC:Quote
function BusComp_NewRecord ()
{
this.InvokeMethod("Test Signal");
}

BS: Test BS
function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
{

if (MethodName == "Test")
{
var a =1;
var b = 2;
return (CancelOperation);
}
return (ContinueOperation);
}


RESULTS:
========
Compile above, go to Quotes screen.
Click Query button and then New button, error SBL-DAT-00323 shows up.
Logout. Come back to Quotes. Click New button no error.
So the error happens only when calling BS first time through script and then second time using signal.

Cause

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