GetActiveQuote Method

Finds the current active quote with input account Id, compound Product Number and Price List Id and returns this Quote. If it cannot find the quote, then the method creates and returns a new quote.

Syntax

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

Arguments

Argument Type Description

Input Arguments

In

String: Account Id (optional)

String: Compound Product Number (Optional)

String: Price List Id (Optional)

Output Arguments

Out

Hierarchy :SiebelMessage(Integration object PDS Quote)

Example of Input Arguments

PropertySet@0012D370 p#4 c#0 type="" vt=0 value=""
{
    p["Account Id"] = "";
    p["ProcessName"] = "SIS OM Active Quote Sub-process";
    p["Compound Product Number"] = "1-R234";
    p["Price List Id"] = "1-D0D8";
}
PropertySet@0012DA78 p#0 c#1 type="" vt=0 value=""
{
    c[0] PropertySet@0AD2BB48 p#4 c#1 type="SiebelMessage" vt=0 value=""
    {
        p["MessageId"] = "2-3ZJM";
        p["IntObjectName"] = "PDS Quote";
        p["MessageType"] = "Integration Object";
        p["IntObjectFormat"] = "Siebel Hierarchical";
        c[0] PropertySet@0AD85DA0 p#0 c#1 type="ListOfPDS Quote" vt=0 value=""
        {
            c[0] PropertySet@0AAFC110 p#23 c#1 type="Header" vt=0 value=""
            {
                p["Account Location"] = "";
                p["Opportunity Id"] = "";
                p["Revision"] = "1";
                p["Id"] = "2-47QI3";
                p["Status"] = "In Progress";
                p["Account Id"] = "";
                p["Conflict Id"] = "0";
                p["Currency Code"] = "USD";
                p["Contact Id"] = "";
                p["Account"] = "";
                p["Discount"] = "";
                p["Primary Organization Id"] = "0-R9NH";
                p["Updated"] = "02/11/2005 13:16:32";
                p["Integration Id"] = "";
                p["End Date"] = "03/13/2005 00:00:00";
                p["Due Date"] = "02/12/2005 00:00:00";
                p["Active"] = "Y";
                p["Created"] = "02/11/2005 13:15:11";
                p["Quote Type"] = "Quotation";
                p["Quote Number"] = "2-47QI3";
                p["Start Date"] = "02/11/2005 00:00:00";
                p["Name"] = "2-47QI3";
                p["Price List Id"] = "1-D0D8";
                c[0] PropertySet@0A98D8E8 p#0 c#0 type="ListOfLine Item" vt=0 value=""
            }
        }
    }
}

None.

Help Method Syntax

ErrCode ActiveDOCOperator(Input Arguments,Output Arguments, const SSstring strMode)

Help Method Arguments

Argument Type Description

Input Arguments

In

String: Account Id (optional)

String: Compound Product Number (Optional)

String: Price List Id (Optional)

Output Arguments

Out

Hierarchy :SiebelMessage(Integration object PDS Quote)

const SSstring& strMode

In

String: Name help to get corresponding workflow, available value could be GetActiveQuote, GetActiveOrder, SetActiveQuote, SetActiveOrder,

Help Method Error Conditions

IDS_ERR_ANIESALES_MISSING_SERVICE_NAME: The '%1' user property is not defined in business service '%2'

SSAOMErrCannotCreateService: Unable to create the Business Service '%1'