예제 #1
0
 public TOTransaction <string> printCertificado(string tna_docu, string tna_nomb, int emp_codi)
 {
     try
     {
         BoSucacer bo = new BoSucacer();
         emp_codi = new tools.General().GetEmpCodi(emp_codi);
         return(bo.printReport("", emp_codi, "SSuCacNA", tna_docu, tna_nomb));
     }
     catch (Exception ex)
     {
         return(new TOTransaction <string>()
         {
             objTransaction = null, retorno = 1, txtRetorno = "No es posible generar el certificado"
         });
     }
 }
예제 #2
0
 public TOTransaction <List <ToSuperca> > getInfoBeneficiarios(string ter_coda, int emp_codi)
 {
     try
     {
         BoSucacer bo = new BoSucacer();
         emp_codi = new tools.General().GetEmpCodi(emp_codi);
         return(bo.getInfoBeneficiarios(emp_codi, ter_coda));
     }
     catch (Exception ex)
     {
         return(new TOTransaction <List <ToSuperca> >()
         {
             objTransaction = null, retorno = 1, txtRetorno = "No es posible generar el certificado"
         });
     }
 }
예제 #3
0
 public TOTransaction <string> printCertificado(string ter_coda, int emp_codi, string reporte)
 {
     try
     {
         BoSucacer bo = new BoSucacer();
         emp_codi = new tools.General().GetEmpCodi(emp_codi);
         return(bo.printReport(ter_coda, emp_codi, reporte));
     }
     catch (Exception ex)
     {
         return(new TOTransaction <string>()
         {
             objTransaction = null, retorno = 1, txtRetorno = "No es posible generar el certificado"
         });
     }
 }