Commerce Server General - Retrieve Product Info From Variant Id

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > September 2004 > Retrieve Product Info From Variant Id





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 Retrieve Product Info From Variant Id
jw56578@gmail.com

2004-09-22, 9:47 pm

Hi, Is there a method to retrieve a product solely from the variant id.
thanks
Vinayak Tadas[MSFT]

2004-09-22, 9:47 pm

No. There is no method to reliable get the product from the variantid
One thing you can try is do a Saerch using the CatalogManager object and
set the sqlWhereClause to "VariantId='yourvariantid'"
This will return all the records in the catalog which contain this variant
id.
You can then use the ProductId to get to the products. If you have unique
variantids in your system then the above method can be used to get the
product records for the specified variantid.
Hope this helps
--------------------
From: jw56578@gmail.com
Newsgroups: microsoft.public.commerceserver.general
Subject: Retrieve Product Info From Variant Id
Date: 20 Sep 2004 11:51:27 -0700
Organization: http://groups.google.com
Lines: 2
Message-ID: <d3e23e59.0409201051.3c849d80@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 1095706287 28119 127.0.0.1 (20 Sep 2004
18:51:27 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 20 Sep 2004 18:51:27 +0000 (UTC)
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!fr.ip.ndsoftware.net!proxad.net!postnews1.google.com!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14801
X-Tomcat-NG: microsoft.public.commerceserver.general

Hi, Is there a method to retrieve a product solely from the variant id.
thanks


Thanks
Vinayak Tadas
Microsoft
http://blogs.msdn.com/vinayakt

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com