I am trying to create an inventory report. I have been able to get everything I need except the complete SKU with color and size modifiers. If anyone has done this, could you please provide info on how you did it. Here is my query so far, in case anyone would like to do the same.
SELECT Product.ProductID, Product.SKU, ProductVariant.SKUSuffix, Product.Published, Product.Name, Inventory.Color, Inventory.Size, Inventory.Quan, Manufacturer.Name , ProductVariant.Colors, ProductVariant.ColorSKUModifiers, ProductVariant.Sizes, ProductVariant.SizeSKUModifiers
FROM Product INNER JOIN
ProductVariant ON Product.ProductID = ProductVariant.ProductID INNER JOIN
ProductManufacturer ON Product.ProductID = ProductManufacturer.ProductID INNER JOIN
Manufacturer ON ProductManufacturer.ManufacturerID = Manufacturer.ManufacturerID LEFT OUTER JOIN
Inventory ON ProductVariant.VariantID = Inventory.VariantID
ORDER BY Manufacturer.Name, Product.SKU