My Oracle Support Banner

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

Last updated on MARCH 31, 2021

Applies to:

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


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:

 -- 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("DetailedExpl", "N");
 inps.SetProperty("OutOriginalInstance", "N");
 inps.SetProperty("OutDelta", "N");
 var salida=out.GetProperty("Batch Validation Status");

3. Run it - Check the Results

4. Now Customize the same CP1 Product in the UI




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

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