CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs
@@ -36,10 +36,21 @@
            {
                return false;
            }
            SqlParameter SuppliersId = null;
            if (trueModel.SuppliersId.HasValue)
            {
                SuppliersId = new SqlParameter("@SuppliersId", trueModel.SuppliersId);
            }
            else
            {
                SuppliersId = new SqlParameter("@SuppliersId", DBNull.Value);
            }
            IList<SqlParameter> sqlParms = new List<SqlParameter>()
            {
                    new SqlParameter("@FirmId",trueModel.FirmId),
               new SqlParameter("@SuppliersId",trueModel.SuppliersId),
                    SuppliersId,
               new SqlParameter("@GoodsId",trueModel.GoodsId),
               new SqlParameter("@ClearingStatusId",trueModel.ClearingStatusId),
               new SqlParameter("@Price",trueModel.Price),