Retrieve Product Info From Variant Id
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Retrieve Product Info From Variant Id




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Retrieve Product Info From Variant Id  
jw56578@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:47 AM

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





[ Post a follow-up to this message ]



    RE: Retrieve Product Info From Variant Id  
Vinayak Tadas[MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:47 AM

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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:19 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register