|
Home > Archive > Commerce Server General > September 2004 > why can't you search for order templates
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 |
why can't you search for order templates
|
|
| jw56578@gmail.com 2004-09-22, 9:47 pm |
| so, I need to search for a person's order templates.
When you save a template through otemplate.save() the object is
persisted to the BasketGroup table. When you use OrderGroupSearch, it
only searches the OrderGroup table. You cannot persist templates to
the OrderGroup table, so how is it possible to search for saved
templates without having to create stored procs to do it for you?
thanks for any help
| |
| Vinod Kumar[MSFT] 2004-09-23, 5:51 pm |
| Try using the "FindTemplatesForUser" method on the OrderGroupManager class.
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
--------------------
From: jw56578@gmail.com
Newsgroups: microsoft.public.commerceserver.general
Subject: why can't you search for order templates
Date: 22 Sep 2004 14:35:07 -0700
Organization: http://groups.google.com
Lines: 7
Message-ID: <d3e23e59.0409221335.79bd32a9@posting.google.com>
NNTP-Posting-Host: 63.78.50.30
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1095888908 16152 127.0.0.1 (22 Sep 2004
21:35:08 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 22 Sep 2004 21:35:08 +0000 (UTC)
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!news.maxwell
.syr.edu!postnews1.google.com!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14815
X-Tomcat-NG: microsoft.public.commerceserver.general
so, I need to search for a person's order templates.
When you save a template through otemplate.save() the object is
persisted to the BasketGroup table. When you use OrderGroupSearch, it
only searches the OrderGroup table. You cannot persist templates to
the OrderGroup table, so how is it possible to search for saved
templates without having to create stored procs to do it for you?
thanks for any help
|
|
|
|
|