示例#1
0
        public ActaReunionComiteCalidadRpt GetDetailReport(ActaComiteInfo item)
        {
            if (item == null)
            {
                return(null);
            }
            ActaReunionComiteCalidadRpt doc = new ActaReunionComiteCalidadRpt();

            List <ActaComiteInfo> pList = new List <ActaComiteInfo>();

            List <PuntoActaInfo> list = new List <PuntoActaInfo>();

            foreach (PuntoActaInfo info in item.PuntosActas)
            {
                list.Add(info);
            }

            pList.Add(item);

            doc.Subreports["PuntosActaComiteListSubRpt"].SetDataSource(list);

            //FormatReport(doc);

            return(doc);
        }
示例#2
0
        public void CopyValues(ActaComiteInfo source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source.Base.Record);
        }
示例#3
0
        public static string SELECT_BY_ACTA(long oid_acta)
        {
            QueryConditions conditions = new QueryConditions()
            {
                ActaComite = ActaComiteInfo.New()
            };

            conditions.ActaComite.Oid = oid_acta;

            return(PuntoActa.SELECT(conditions, true));
        }
示例#4
0
        protected virtual void CopyFrom(ActaComiteInfo source)
        {
            if (source == null)
            {
                return;
            }

            Oid      = source.Oid;
            Codigo   = source.Codigo;
            Serial   = source.Serial;
            Titulo   = source.Titulo;
            Revision = source.Revision;
            Motivo   = source.Motivo;
            Fecha    = source.Fecha;
        }