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

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, the method creates and returns a new quote.

Syntax

ErrCode GetActiveOrder(const CCFPropertySet& inputArgs,CCFPropertySet& outputArgs)

Arguments
Argument
Type
Description

const CCFPropertySet& inputArgs

In

String: Account Id (optional)

String: Compound Product Number (Optional)

String: Price List Id (Optional)

CCFPropertySet& outputArgs

Out

Hierarchy :SiebelMessage(Integration object PDS Quote)

Example of Input Arguments

CCFPropertySet@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";

}

Example of output Arguments

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

{

c[0] CCFPropertySet@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] CCFPropertySet@0AD85DA0 p#0 c#1 type="ListOfPDS Quote" vt=0 value=""

{

c[0] CCFPropertySet@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] CCFPropertySet@0A98D8E8 p#0 c#0 type="ListOfLine Item" vt=0 value=""

}

}

}

}

Error Conditions

None.

Help Method Syntax

ErrCode ActiveDOCOperator(const CCFPropertySet& inputArgs,CCFPropertySet& outputArgs, const SSstring strMode)

Help Method Arguments
Argument
Type
Description

const CCFPropertySet& inputArgs

In

String: Account Id (optional)

String: Compound Product Number (Optional)

String: Price List Id (Optional)

CCFPropertySet& outputArgs

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'

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