4:15:32 PM [express] PUT /api/catalog-products/361 200 in 159ms :: {"id":361,"product_id":null,"exte…
✅ [BOM DELETE] Usunięto BOM dla produktu 361
4:15:32 PM [express] DELETE /api/catalog-products/361/bom 200 in 284ms :: {"success":true,"message":…
4:15:32 PM [express] GET /api/catalog-products/361/bom 404 in 139ms :: {"error":"BOM not found for t…
4:15:32 PM [express] GET /api/catalog-products/361 200 in 269ms :: {"id":361,"sku":"SKU-361","title"…
4:15:33 PM [express] GET /api/catalog-products/361 304 in 264ms :: {"id":361,"sku":"SKU-361","title"…
🔧 [BOM GENERATOR] Starting for product 361...
📝 PUT /api/catalog-products/361 - Received data: {
  sku: 'SKU-361',
  title: 'Szafka na buty VB 80×36×45 cm z siedziskiem i schowkiem D1N1 SONOMA',
  shortDescription: '',
  productType: 'VB',
  productGroup: 'VB50',
  doors: 'D1',
  legs: 'N1',
  longDescriptionHtml: 'present'
}
📦 [BOM] Product: Szafka na buty VB 80×36×45 cm z siedziskiem i schowkiem D1N1 SONOMA
📦 [BOM] Type: VB, Dimensions: 800×360mm, Color: SONOMA
📦 [BOM] Doors: D1, Legs: N1
📦 [BOM] ColorOptions: [ 'WD-BIALY' ]
🔍 [BOM] Base type: VB, Dimensions: 80×36 cm
4:15:33 PM [express] GET /api/catalog-products/361/bom 404 in 143ms :: {"error":"BOM not found for t…
4:15:33 PM [express] GET /api/product-matrices/15 304 in 150ms :: {"id":15,"name":"VB80","namePrefix…
4:15:33 PM [express] PUT /api/catalog-products/361 200 in 194ms :: {"id":361,"product_id":null,"exte…
📋 [BOM] Found 16 templates for VB
🔍 [BOM] Processing 10 parent templates...
  → Parent "BOK-L-VB" has no children, using as-is
  → Parent "BOK-P-VB" has no children, using as-is
  🔗 Parent "DRZWI-VB" has 3 children
    → No matching child, using PARENT: DRZWI-VB
  → Parent "HDF-VB" has no children, using as-is
  → Parent "LISTWA-P-VB" has no children, using as-is
  → Parent "LISTWA-T-VB" has no children, using as-is
  → Parent "POLKA-VB" has no children, using as-is
  → Parent "SIEDZISKO-VB" has no children, using as-is
  🔗 Parent "WD-VB" has 3 children
    → No matching child, using PARENT: WD-VB
  → Parent "WG-VB" has no children, using as-is
✅ [BOM] Selected 10 templates for generation
📝 [BOM] Created BOM #40