Cambios en Constancias. KLB
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C533
This commit is contained in:
parent
03bb0a9a50
commit
a08519451c
2 changed files with 24 additions and 6 deletions
|
|
@ -2181,7 +2181,15 @@ public partial class Forms_Trans_frwCartaSolicitud : General
|
|||
string[] arrayNombre = row["NOMBREDOCUMENTOCARTA"].ToString().Split(delimitador);
|
||||
//strResultado = oDoc.Consultar_Documento(arrayNombre[1].ToString() + "-" + arrayNombre[2].ToString() + "-" + arrayNombre[3].ToString() + "|Constancia", row["NOMBREDOCUMENTOCARTA"].ToString(), row["NOMBREDOCUMENTOCARTA"].ToString() + ".pdf");
|
||||
|
||||
strResultado = oDoc.Visor_Documento(arrayNombre[1].ToString() + "-" + arrayNombre[2].ToString() + "-" + arrayNombre[3].ToString() + "|" + "Constancia", lblNumSolicitud.Text.Trim(), pdfPath, row["NOMBREDOCUMENTOCARTA"].ToString() + ".pdf");
|
||||
|
||||
string Archivo = row["NOMBREDOCUMENTOCARTA"].ToString() + ".pdf";
|
||||
string strAlmacenado = "";
|
||||
if (File.Exists(@"C:\fileproyectos\FileDesarrollo\WCF-PDF\" + Archivo))
|
||||
{
|
||||
strAlmacenado = "EXISTE";
|
||||
}
|
||||
|
||||
//strResultado = oDoc.Visor_Documento(arrayNombre[1].ToString() + "-" + arrayNombre[2].ToString() + "-" + arrayNombre[3].ToString() + "|" + "Constancia", lblNumSolicitud.Text.Trim(), pdfPath, row["NOMBREDOCUMENTOCARTA"].ToString() + ".pdf");
|
||||
|
||||
if (strResultado == string.Empty || strResultado == "No existe")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2766,9 +2766,14 @@ public partial class Forms_Trans_frwGestionTrabajo : General
|
|||
|
||||
//se carga el archivo y el registro a vision 2020
|
||||
Documento oDoc = new Documento();
|
||||
string Archivo = strNombreCarta + "-AP.pdf";
|
||||
string strAlmacenado = "";
|
||||
if (File.Exists(@"C:\fileproyectos\FileDesarrollo\WCF-PDF\" + Archivo))
|
||||
{
|
||||
strAlmacenado = "EXISTE";
|
||||
}
|
||||
|
||||
|
||||
string strAlmacenado = oDoc.Visor_Documento(strNombreCarta.ToString().Trim() + "|" + "Criterio técnico AP", strNombreCarta.ToString().Trim(), pdfPathCriterioAP, strNombreCarta + "-AP.pdf");
|
||||
//string strAlmacenado = oDoc.Visor_Documento(strNombreCarta.ToString().Trim() + "|" + "Criterio técnico AP", strNombreCarta.ToString().Trim(), pdfPathCriterioAP, strNombreCarta + "-AP.pdf");
|
||||
string p_strMensaje = string.Empty;
|
||||
|
||||
if (strAlmacenado != string.Empty && strAlmacenado != "No existe")
|
||||
|
|
@ -2815,8 +2820,13 @@ public partial class Forms_Trans_frwGestionTrabajo : General
|
|||
//se carga el archivo y el registro a vision 2020
|
||||
Documento oDoc = new Documento();
|
||||
|
||||
|
||||
string strAlmacenado = oDoc.Visor_Documento(strNombreCarta.ToString().Trim() + "|" + "Criterio técnico AS", strNombreCarta.ToString().Trim(), pdfPathCriterioAP, strNombreCarta + "-AS.pdf");
|
||||
string Archivo = strNombreCarta + "-AP.pdf";
|
||||
string strAlmacenado = "";
|
||||
if (File.Exists(@"C:\fileproyectos\FileDesarrollo\WCF-PDF\" + Archivo))
|
||||
{
|
||||
strAlmacenado = "EXISTE";
|
||||
}
|
||||
//string strAlmacenado = oDoc.Visor_Documento(strNombreCarta.ToString().Trim() + "|" + "Criterio técnico AS", strNombreCarta.ToString().Trim(), pdfPathCriterioAP, strNombreCarta + "-AS.pdf");
|
||||
string p_strMensaje = string.Empty;
|
||||
|
||||
if (strAlmacenado != string.Empty && strAlmacenado != "No existe")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue