if (purchaseOrderDetail.UnitMeasure != null && Math.Round(Math.Abs(purchaseOrderDetail.StockedQuantity), 4) > 0)

                {
                    stockedQuantityForPeriod +=
                        this.GetBaseUnitMeasureQuantityForProduct(purchaseOrderDetail.StockedQuantity,
                            purchaseOrderDetail.UnitMeasure);
                }