cancel
Showing results for 
Search instead for 
Did you mean: 

How to validate a product is in Product Catalog or not

Former Member
0 Kudos

Hi-

How can I validate that a product is in Product Catalog (TREX) or not. Is there any function module or any java class or any flag in the item object to determine this.

Scenario: B2B Web Channel

Version: CRM 7.0

Regards-

Raj

Accepted Solutions (0)

Answers (1)

Answers (1)

mark_foley
Active Contributor
0 Kudos

Hello Raj,

Would it be possible to get some more information on what you would like to achieve, I'm afraid from your initial message I'm a little unsure .

Regards

Mark

Former Member
0 Kudos

Mark-

Am back from the vacation and is the delayed reply. Appreciate your time.We are looking to carry one of the below functionality from the legacy application to CRM Web Channel 7.0.

a) User can add product to the shoppping cart from an external excel file. We would like to add the product to the shopping cart, only If the given product in the excel file exists in the product catalog. Else we want to display error message(Product does not exist in Product Catalog. Contact Cusomer care). Any suggestions how I can validate the existence of a product in Product Catalog.

Regards-

Raj

Former Member
0 Kudos

Raj,

Use WebCatInfo object.

Using the IQueryStatement you can query if a product belongs to the product catalog or not.

-Sudheer