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

GetRelatedPromotions Method


Gets related promotions. External.

Syntax

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

Arguments
Argument
Type
Description

const CCFPropertySet & inputArgs

In

Hierarchy: SiebelMessage (Integration object "PDS Product Details Interface")

String: ContextMode (Optional)

String: EligibilityMode

String: PricingMode

Hierarchy: SiebelMessage (Integration object "PDS Catalog Context")

CCFPropertySet & outputArgs

Out

Hierarchy: SiebelMessage (Integration object "PDS Related Promotions Interface")

Example of Input Arguments

CCFPropertySet@0012CCC4 p#3 c#2 type="" vt=0 value=""

{

p["EligibilityMode"] = "";

p["ContextMode"] = "SiebelContext";

p["PricingMode"] = "Y";

c[0] CCFPropertySet@0AA62270 p#4 c#1 type="Context" vt=0 value=""

{

p["MessageId"] = "";

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

p["IntObjectName"] = "PDS Catalog Context";

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

c[0] CCFPropertySet@0A7BE0A8 p#0 c#1 type="ListOfPDS Catalog Context" vt=0 value=""

{

c[0] CCFPropertySet@0AB2D9E0 p#0 c#1 type="Context" vt=0 value=""

{

c[0] CCFPropertySet@0A9AD8D0 p#0 c#1 type="ListOfSiebel Context" vt=0 value=""

{

c[0] CCFPropertySet@0A995050 p#4 c#0 type="Siebel Context" vt=0 value=""

{

p["BusObjName"] = "Quote";

p["ContextRowId"] = "1-10MLH";

p["SignalMode"] = "Quote";

p["BusCompName"] = "Quote";

}

}

}

}

}

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

{

p["MessageId"] = "";

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

p["IntObjectName"] = "PDS Related Promotions Interface";

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

c[0] CCFPropertySet@0AAFB870 p#0 c#1 type="ListOfPDS Related Promotions Interface" vt=0 value=""

{

c[0] CCFPropertySet@0B747730 p#1 c#1 type="Product" vt=0 value=""

{

p["Name"] = "InMotion 130XL";

c[0] CCFPropertySet@0AA473D0 p#0 c#1 type="ListOfRelated Promotion" vt=0 value=""

{

c[0] CCFPropertySet@0AA29BF8 p#1 c#0 type="Related Promotion" vt=0 value=""

{

p["Name"] = "*";

}

}

}

}

}

}

Example of Output Arguments

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

{

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

{

p["MessageId"] = "42-1NRM";

p["IntObjectName"] = "PDS Related Promotions Interface";

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

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

c[0] CCFPropertySet@0ABAEE98 p#0 c#1 type="ListOfPDS Related Promotions Interface" vt=0 value=""

{

c[0] CCFPropertySet@0AC41580 p#23 c#1 type="Product" vt=0 value=""

{

p["Class Id"] = "1-PJLX";

p["Vendor Integration Id"] = "";

p["Reference Price"] = "";

p["Product Def Type Code"] = "None";

p["Eligibility Reason"] = "";

p["Id"] = "1-ZMH";

p["Product Id"] = "1-ZMH";

p["Pre Pick"] = "N";

p["Part #"] = "IM-130";

p["Eligibility Status"] = "";

p["Integration Id"] = "";

p["Inclusive Eligibility Flag"] = "N";

p["Parent Item Id"] = "";

p["Net Price"] = "";

p["List Price"] = "";

p["Effective To"] = "";

p["Product Line Id"] = "1-3HZA";

p["Product Configuration Model Id"] = "1-ZMH";

p["Effective From"] = "01/01/1999";

p["List Price Type Code"] = "STANDARD";

p["Name"] = "InMotion 130XL";

p["Quantity"] = "1";

p["Price List Id"] = "1-1D79";

c[0] CCFPropertySet@0AC02DC8 p#0 c#2 type="ListOfRelated Promotion" vt=0 value=""

{

c[0] CCFPropertySet@0AC68EB0 p#5 c#0 type="Related Promotion" vt=0 value=""

{

p["Eligibility Reason"] = "";

p["Eligibility Status"] = "";

p["Promotion Id"] = "42-519PJ";

p["Name"] = "Test Promotion1";

p["Description"] = "";

}

c[1] CCFPropertySet@0AC4DD68 p#5 c#0 type="Related Promotion" vt=0 value=""

{

p["Eligibility Reason"] = "";

p["Eligibility Status"] = "";

p["Promotion Id"] = "42-53MU1";

p["Name"] = "Z PROM1";

p["Description"] = "";

}

}

}

}

}

}

Error Conditions

None.

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