private ProductMix LoadProductMix(XmlNode inputNode, out string productId)
{
productId = string.Empty;
if (!IsProductMix(inputNode))
return null;
var productMix = GetProduct(inputNode);
// Required fields. Do not proceed if they are missing
productId = inputNode.GetXmlNodeValue("@A");
productMix.Description = inputNode.GetXmlNodeValue("@B");
if (productId == null || productMix.Description == null)
return null;
LoadTotalQuantity(inputNode, productMix);
if (!LoadProductComponents(inputNode.SelectNodes("PRN"), productMix))
return null;
_taskDocument.LoadLinkedIds(productId, productMix.Id);
return productMix;
}