My Oracle Support Banner

Method 'BatchValidate' Executed On 'Asset' Context Returns Inactive Assets in 8.1.1.10 (Doc ID 2765357.1)

Last updated on MARCH 31, 2021

Applies to:

Siebel eCommunications - Version 8.1.1.10 [23021] to 21.2 [Release V8 to V17]
Information in this document applies to any platform.

Symptoms

When running the Business Service "Remote Complex Object Instance Service" > Method "BatchValidate" on "Assets" there is a Promotion Validation error. although Product is valid.


However when customizing the same Product in the UI, the Validation error does not occur.

It is expected that the Validation process has the same result either via Scripting or via UI "Customize"

The issue can be reproduced at will with the following steps:

1. Have a Product Structure:

PB1
 -- CP1
    -- Child products

2. Add the Script using the affected BS:

 var s = TheApplication().GetService("Remote Complex Object Instance Service");
 inps.SetProperty("Mode","Asset"); ------------> we are executing batch validate on asset context
 inps.SetProperty("IntObjName","SIS OM Asset");
 inps.SetProperty("ObjId", sAssetId); ---------->  row id of product: CP1
 inps.SetProperty("ProductId", sProdId); -------> row id for CP1
 inps.SetProperty("RootId", sAssetId);----------> row id of product: CP1
 inps.SetProperty("Full","Y");
 inps.SetProperty("DetailedExpl", "N");
 inps.SetProperty("ExternalScript","Y");
 inps.SetProperty("OutOriginalInstance", "N");
 inps.SetProperty("OutDelta", "N");
 s.InvokeMethod("BatchValidate",inps,out);
 var salida=out.GetProperty("Batch Validation Status");

3. Run it - Check the Results

4. Now Customize the same CP1 Product in the UI

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.