Commerce Server General - Viewing of all the order forms

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > February 2006 > Viewing of all the order forms





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Viewing of all the order forms
ukeu

2006-02-23, 7:51 am

Hi,
Is it possible for a user to view select/all details of his order
history using CS 2002? If yes, how can this be achieved. Please help.


Thanks,
ukeu

Ravi Shankar

2006-02-23, 7:51 am

Hi ukeu,

Yes. The mechanism is as follows:

1. Create a OrderGroupSearchOptions object /w FetchLineItemInformation,
FetchOrderFormInformation, PageSize (very important)
[http://msdn.microsoft.com/library/?....asp?frame=true]

2. Create a OrderGroupSearch object and set the UserID property to the
current logged in User... Set the StartDateTime & EnddateTime properties to
enable time based search
[http://msdn.microsoft.com/library/?....asp?frame=true]

3. Do a search (OrderGroupSearch.Search) which returns a Dataset with the
list of orders.

4. Create a ASP Repeater control & bind it to the dataset (it should have
atleat one table) which should also give your the ordergroup_id

5. If the user selects a specific order then based on the ordergroup_id
create a purchaseorder object and use a page similar to basket/checkout page
to display the order form.

BTW. If you have the retail2002 site setup all this code is available there
--
Ravi Shankar


"ukeu" wrote:

> Hi,
> Is it possible for a user to view select/all details of his order
> history using CS 2002? If yes, how can this be achieved. Please help.
>
>
> Thanks,
> ukeu
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com