Commerce Server General - accessing OrderGroup Object from asp.net

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > November 2004 > accessing OrderGroup Object from asp.net





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 accessing OrderGroup Object from asp.net
suehan

2004-11-02, 8:00 am

Hi, I'm pretty new to Commerce Server programming so I may be missing something obvious.

I'm porting an application from asp to asp.net and I need to retrieve an OrderGroup object so that I can get the line items etc. I can't figure out how to get that OrderGroup object. I do the OrderGroupSearch to get the properties of the group but I can't figure out how to get the object.

Thanks,
....Sue
Nihit Kaul [MSFT]

2004-11-03, 5:49 pm

Hi Sue,

You can get the OrderGroup (which could be a Basket/OrderTemplate or
PurchaseOrder) through various methods to retrieve (or create) these
objects on the OrderContext class defined in the BCLs.

Please lookup OrderContext Class (BCL) in the Help - that should point you
in the correct direction. For e.g. you can do a GetBasket with a UserID to
get the Basket for a particular user etc.

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: suehan <suehan.1f4b1d@mail.webservertalk.com>
Subject: accessing OrderGroup Object from asp.net
Date: Tue, 2 Nov 2004 08:00:31 -0600
Message-ID: <suehan.1f4b1d@mail.webservertalk.com>
Organization: Web Servers forum
User-Agent: www.webservertalk.com news gateway
X-Newsreader: www.webservertalk.com news gateway
X-Originating-IP: 209.219.209.68
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: ev1s-66-98-192-98.ev1servers.net 66.98.192.98
Lines: 1
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13
.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15058
X-Tomcat-NG: microsoft.public.commerceserver.general


Hi, I'm pretty new to Commerce Server programming so I may be missing
something obvious.

I'm porting an application from asp to asp.net and I need to retrieve
an OrderGroup object so that I can get the line items etc. I can't
figure out how to get that OrderGroup object. I do the
OrderGroupSearch to get the properties of the group but I can't figure
out how to get the object.

Thanks,
...Sue



--
suehan
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message456346.html


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com