Bookshelf Home | Contents | Index | Search | PDF |
Siebel eSales Administration Guide > Shopping Service API > Workflow Methods >
GetShoppingCartStatus
GetShoppingCartStatus is called to get the status of the Shopping Cart (current quote as indicated by the CurrentQuoteId profile attribute). It returns three output arguments: Status, Quote Type, and Count.
Expected Preconditions Before the Method Can Be Called
None.
Arguments
The GetShoppingCartStatus method has the arguments shown in Table 54.
Pseudo-Algorithm
- If CurrentQuoteId is empty or equals to EMPTY_CART:
Set Quote Type = Quotation;
Set Status = Empty;
Set Count = 0;
End.
- If Quote Type is not Persistent Cart:
Set Quote Type accordingly;
Set Status = Empty;
Set Count = 0;
End.
- Loop through the Quote Item business component. Set Status and Count accordingly.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eSales Administration Guide Published: 18 April 2003 |