コード例 #1
0
        public ByARpt Insert(decimal ID_PLA,string NUM_PROC)
        {
            mPlantillas oPlantilla = new mPlantillas();
            vPL_PLANTILLA Plantilla = oPlantilla.Get(ID_PLA);

            vDOC_PLANTILLA Reg = new vDOC_PLANTILLA();
            Mapper.Map(Plantilla, Reg);
            Reg.EST_DOC = "AC";
            Reg.FEC_DOC = DateTime.Now;
            Reg.NUM_PROC = NUM_PROC;
            Reg.ID_PLA = ID_PLA;
            Reg.COMPLETADO = "INI";

            cmdInsert o = new cmdInsert();
            o.oDto = Reg;
            return o.Enviar();
        }
コード例 #2
0
 public vPL_PLANTILLA Get(decimal ID)
 {
     mPlantillas o = new mPlantillas();
     return o.Get(ID);
 }