Siebel eSales Administration Guide > Siebel eSales Shopping Cart > Shopping Service Business Service >

Shopping Service Business Service Methods


The Shopping Service has many business service methods. Those used by the Shopping Cart in Siebel eSales are described in Table 12.

For detailed descriptions of these methods, see Shopping Service Methods Reference.

Table 12. Shopping Service Business Service Methods
Method
Description
Used In Workflow

AddItem Method

Adds an item to the Shopping Cart or Favorites.

 

CreateOrder Method

Converts a quote to an order. Also confirms training class and event registrations.

eSales - Authorize Order Process

DiscardCart Method

Deletes the current Shopping Cart and sets CurrentQuoteId to empty, but only when the Quote Type equals Persistent Cart.

eSales - Edit Quote Process

eSales - Reorder Process

GetShoppingCartStatus Method

Gets the status of the current Shopping Cart, which can be one of the following:

  • Empty. CurrentQuoteId is empty or Quote Type equals Persistent Cart.
  • Not Empty.
  • No Save.

Also returns information such as Quote Item and Item Count.

eSales - Edit Quote Process

eSales - Modify Order Process

eSales - Reorder Process

OrderQuote Method

Creates an order based on the quote.

eSales - Checkout Process

eSales - Order Quote Process

Reorder Method

Creates a quote based on an existing order.

 

RepriceQuote Method

Reprices quotes, for example when a customer orders a saved quote that has expired.

 

SaveCartAsQuote Method

Saves the current Shopping Cart as a quote:

  • Finds the quote record whose Id equals CurrentQuoteId.
  • Saves it as a quote, that is, sets the quote status to Quotation.
  • Sets CurrentQuoteId to empty (empties the Shopping Cart).

eSales - Edit Quote Process

eSales - Reorder Process

eSales - Save Cart Process

SaveCartAsTemplate Method

Saves the current Shopping Cart as a template, but keeps the Shopping Cart.

Ordering from a template copies the template items to the Shopping Cart.

eSales - Save Cart Process

SelectPrimary Method

Uses the contact Primary ID field to copy the primary personal address, primary personal account address, and primary payment profile from the pick field to the current quote (Shopping Cart).

 

SetApplicationName Method

Sets the ApplicationName dynamic user profile attribute. Triggered by the application's WebLogin event.

Used in run-time events to support the different Shopping Cart behavior between Siebel eSales and other Siebel Business Applications.

 

SetPendingRequest Method

Allows workflows to continue after anonymous users are sent to the Login view to register.

eSales - Checkout Process

eSales - Save Cart Process

SetShoppingCart Method

Supports the persistent Shopping Cart and allows anonymous users to add items to the Shopping Cart. Triggered by the application's WebSessionStart event.

When a session begins, the method does the following:

  • If the user is anonymous, does nothing.
  • If CurrentQuoteId is not empty (that is, the user already has a Shopping Cart), checks if the Shopping Cart quote type is Anonymous Quote.

    If there is an Anonymous Quote, converts it to Persistent Cart and sets Contact Id to the login Id of the user.

  • If CurrentQuoteId is empty, tries to find an existing quote of type Persistent Cart (user's Shopping Cart from the previous session) and set CurrentQuoteId to that quote ID.

    If there is no such quote, the user did not leave a Shopping Cart (for example, saved it as a quote or checked out).

 

Siebel eSales Administration Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.