GetRelatedPromotions Method

Gets related promotions. External.

Syntax

Product Data Service.InvokeMethod(“GetRelatedPromotions", Input Arguments,Output Arguments);

Arguments

Argument Type Description

Input Arguments

In

Hierarchy: SiebelMessage (Integration object PDS Product Details Interface)

String: ContextMode (Optional)

String: EligibilityMode

String: PricingMode

Hierarchy: SiebelMessage (Integration object PDS Catalog Context)

Output Arguments

Out

Hierarchy: SiebelMessage (Integration object PDS Related Promotions Interface)

Example of Input Arguments

PropertySet@0012CCC4 p#3 c#2 type="" vt=0 value=""
{
    p["EligibilityMode"] = "";
    p["ContextMode"] = "SiebelContext";
    p["PricingMode"] = "Y";
    c[0] PropertySet@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] PropertySet@0A7BE0A8 p#0 c#1 type="ListOfPDS Catalog Context" vt=0 value=""
        {
            c[0] PropertySet@0AB2D9E0 p#0 c#1 type="Context" vt=0 value=""
            {
                c[0] PropertySet@0A9AD8D0 p#0 c#1 type="ListOfSiebel Context" vt=0 value=""
                {
                    c[0] PropertySet@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] PropertySet@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] PropertySet@0AAFB870 p#0 c#1 type="ListOfPDS Related Promotions Interface" 
vt=0 value=""
        {
            c[0] PropertySet@0B747730 p#1 c#1 type="Product" vt=0 value=""
            {
                p["Name"] = "InMotion 130XL";
                c[0] PropertySet@0AA473D0 p#0 c#1 type="ListOfRelated Promotion" vt=0 
value=""
                {
                    c[0] PropertySet@0AA29BF8 p#1 c#0 type="Related Promotion" vt=0 value=""
                    {
                        p["Name"] = "*";
                    }
                }
            }
        }
    }
}
PropertySet@0012CCB8 p#0 c#1 type="" vt=0 value=""
{
    c[0] PropertySet@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] PropertySet@0ABAEE98 p#0 c#1 type="ListOfPDS Related Promotions Interface" 
vt=0 value=""
        {
            c[0] PropertySet@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] PropertySet@0AC02DC8 p#0 c#2 type="ListOfRelated Promotion" vt=0 
value=""
                {
                    c[0] PropertySet@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] PropertySet@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"] = "";
                    }
                }
            }
        }
    }
}

None.