Record not sorting correctly CS 2002
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Record not sorting correctly CS 2002

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
Paula Blohm
Guest





Posted: Mon Nov 22, 2004 10:23 pm    Post subject: Record not sorting correctly CS 2002 Reply with quote

I am currently running Commerce Server 2002, standard edition. We are
current on the service packs.

I have an .asp page performing the following call:

set rsProductDetails =
Application("MSCSCatalog").GetProduct(strSku).variants("sortOrder")

The result set is not sorted. I have found a service pack for Commerce
Server 2000 that addresses this
problem but not one for Commerce Server 2002. We loaded Service Pack 3 for
Commerce Server 2002
and it did not fix the problem.

Does anyone have any ideas on how to return a sorted record set using the
above call?

Thanks,

Paula Blohm
Back to top
Austin Skyles [MSFT]
Guest





Posted: Sat Jan 01, 2005 4:17 am    Post subject: RE: Record not sorting correctly CS 2002 Reply with quote

The following VBScript code, using CS2002 SP3 with the Adventure Works
Catalog correctly sorts the variants as requested.
Is it possible that you have modified your catalog schema or stored
procedures, or applied any hotfixes or other changes?
Are you sorting on a multilingual column?
Is it possible that the sort correct, but is using the wrong collation?

----

set catalog = catalogManager.GetCatalog("Adventure Works Catalog")
set variants = catalog.GetProduct("AW045-03").Variants("ProductColor")

variants.MoveFirst

do while NOT variants.EOF
WScript.echo variants("ProductColor")
variants.MoveNext
loop

---

Austin Skyles
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure! For more info visit http://www.microsoft.com/security.
Please reply to the newsgroups only. Thanks


--------------------
From: "Paula Blohm" <paula_blohm@b-f.com>
Subject: Record not sorting correctly CS 2002
Date: Mon, 22 Nov 2004 11:23:40 -0500
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Ok7M5$K0EHA.1404@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: n33.b-f.com 12.154.100.33
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15138
X-Tomcat-NG: microsoft.public.commerceserver.general

I am currently running Commerce Server 2002, standard edition. We are
current on the service packs.

I have an .asp page performing the following call:

set rsProductDetails =
Application("MSCSCatalog").GetProduct(strSku).variants("sortOrder")

The result set is not sorted. I have found a service pack for Commerce
Server 2000 that addresses this
problem but not one for Commerce Server 2002. We loaded Service Pack 3 for
Commerce Server 2002
and it did not fix the problem.

Does anyone have any ideas on how to return a sorted record set using the
above call?

Thanks,

Paula Blohm
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB