cancel
Showing results for 
Search instead for 
Did you mean: 
1WSCGomez
Moderator
Moderator

Basic Categorization

Description

All products captured by 1WorldSync are classified into categories. These categories are defined by the type of products they will regroup and one PDM (Product Data Model) will be attributed to each category to describe the features of these products.

Example: 

Class: "A  Systems"
Category: "AA  Desktop & Servers"

 

Database Structure

The Cds_Cctxx table is the vocabulary table which contains all classes and category descriptions. A product's category can be determined by joining the Prod table to the Cctxx table. All categories are represented by a two-letter code while classes are represented by a single letter code in cds_Cctxx.
 

cds_Cctxx

1WSCGomez_0-1687339214354.jpeg

 

cds_Prod

1WSCGomez_1-1687339214375.jpeg

 

 

1WSCGomez_2-1687339214563.jpeg

 

Related Queries

Here's a query to export the class and the category for a product.

SELECTLEFT(p.catid,1)AS[Class ID],
       c1.description   AS[Class Name],
       p.catid          AS[Category ID],
       c2.description   AS[Category_name]
FROM   cds_prodp
       JOINcds_cctxxc1ONLEFT(p.catid,1)=c1.id
       JOINcds_cctxxc2ONp.catid=c2.id
WHERE  p.prodid='PRODUCTID'

Comments
IrinaCh
New Contributor

Nice article!

Version history
Revision #:
1 of 1
Last update:
‎06-21-2023 05:21 AM
Updated by:
 
Contributors