PCDPRODCLASS — Do It Best Product Classification Hierarchy File - Margin Master

Margin Master Handbook

Introduction
Part I · Installing
Part II · Introducing the Main Window
Part III · Initial Configuration
Part IV · Customizing the Workspace
Part V · Basic Application Functionality
Part VI · Learning Margin Master
Part VII · Advanced Topics
Part VIII · Updates, Troubleshooting & Help
Appendix
AppendixUpdated 2026-03-24

PCDPRODCLASS — Do It Best Product Classification Hierarchy File

What is this file?

The PCDPRODCLASS file defines the Do It Best product classification hierarchy as a tree of nested XML elements. Each node has an ID, description, and classification type, with parent-child relationships expressed through XML nesting. Combined with the PCDITEMXREF file (which maps SKUs to classification nodes), this creates the taxonomy columns in the main table.

File Details

Property Value
File pattern PCDPRODCLASS* (typically .xml)
Format XML (hierarchical/nested)
Vendor Do It Best
Frequency As needed
Cloud table DIBProductClassificationRecords

Raw File Structure

<ProductClassifications>
  <ProductClassification ID="100" ClassificationType="Dept" Description="Hardware">
    <ProductClassification ID="200" ClassificationType="Class" Description="Fasteners">
      <ProductClassification ID="300" ClassificationType="SubClass" Description="Bolts">
        <ProductClassification ID="400" ClassificationType="FineLineClass" Description="Hex Bolts" />
      </ProductClassification>
    </ProductClassification>
  </ProductClassification>
</ProductClassifications>
XML Attribute Data Type Cloud Column Description
@ID string ID Unique classification node ID
@ClassificationType string ClassificationType Node type (Dept, Class, SubClass, FineLineClass)
@Description string Description Node description
(parent element's @ID) string ParentID Reference to parent node; NULL for root nodes

Cloud Table Mapping

Source Cloud Column Notes
@ID ID Primary key
@ClassificationType ClassificationType e.g., Dept, Class, SubClass, FineLineClass
@Description Description Human-readable name
Parent element's @ID ParentID NULL for root-level (Dept) nodes

Main Table Impact

This file indirectly populates the main table taxonomy columns. The DIB_Sku_4ClassificationLevel view walks the parent-child hierarchy to flatten each SKU's classification path into four levels:

Main Table Column Hierarchy Level Description
DIB_Taxonomy1 Level 1 (Dept) Top-level department ID
DIB_Taxonomy1Desc Level 1 (Dept) Top-level department name
DIB_Taxonomy2 Level 2 (Class) Class ID
DIB_Taxonomy2Desc Level 2 (Class) Class name
DIB_Taxonomy3 Level 3 (SubClass) Sub-class ID
DIB_Taxonomy3Desc Level 3 (SubClass) Sub-class name
DIB_Taxonomy4 Level 4 (FineLineClass) Fine line class ID
DIB_Taxonomy4Desc Level 4 (FineLineClass) Fine line class name

Business Rules

  • Hierarchical traversal: Processing starts at root nodes where ClassificationType="Dept", then recursively processes child elements, maintaining parent-child relationships.
  • Primary key: ID (unique across all classification levels).
  • Companion file: PCDITEMXREF maps individual SKUs to leaf nodes in this hierarchy.
Connect with us

Margin Master by RetailerSoft, Inc. © 2026. All rights reserved.

Loading...

Reconnecting to the server...

This usually takes a few seconds.