Siebel Order Management Guide > Product Data Service and Import/Export API Reference > Product Data Services API Methods >

GetRelatedProducts and GetRelatedPromotions Method


Gets related products. Gets related promotions. External

NOTE:  GetRelatedPromotions has similar syntax and logic to GetRelatedProducts.

Syntax

ErrCode GetRelatedProducts (const CCFPropertySet& inputArgs, CCFPropertySet& outputArgs);

Arguments
Argument
Type
Description

const CCFPropertySet & inputArgs

In

Hierarchy: SearchSpec

CCFPropertySet & outputArgs

Out

Hierarchy: SiebelMessage (Integration object "PSS Related Products")

Example of Input Arguments

CCFPropertySet@0012C5B0 p#0 c#1 type="" vt=0 value=""

{

c[0] CCFPropertySet@1088CCE8 p#4 c#1 type="SearchSpec" vt=0 value=""

{

p["SearchSpc"] = "xxx"

}

}

Example of Output Arguments

CCFPropertySet@0012C5B0 p#0 c#1 type="" vt=0 value=""

{

c[1] CCFPropertySet@1088CCE8 p#4 c#1 type="SiebelMessage" vt=0 value=""

{

p["MessageId"] = "";

p["MessageType"] = "Integration Object";

p["IntObjectName"] = " PSS Related Products";

p["IntObjectFormat"] = "Siebel Hierarchical";

c[0] CCFPropertySet@1088CCE8 p#4 c#1 type="Internal Product" vt=0 value=""

{

c[0] CCFPropertySet@108797E8 p#0 c#1 type="ListOfPSS Related Products" vt=0 value=""

{

c[0] CCFPropertySet@1088CCE8 p#4 c#1 type=" Component Product" vt=0 value=""

{

}

c[1] CCFPropertySet@1088CCE8 p#4 c#1 type=" Component Product" vt=0 value=""

{

}

}

}

}

}

Error Conditions

None.

Siebel Order Management Guide Copyright © 2009, Oracle and/or its affiliates. All rights reserved. Legal Notices.