Merge branch 'develop' into factura-e/firmas-e
commit
2e13e8ff4e
|
|
@ -2113,6 +2113,8 @@ namespace Exferia_Aplicacion.General
|
|||
|
||||
public static long G_LNG_RUTA_CARTASNOTIFICACIONTASAANUAL = 13;
|
||||
public static long G_LNG_RUTA_Modelo347 = 14;
|
||||
public static long G_LNG_RUTA_FACTURA_E_IN = 15;
|
||||
public static long G_LNG_RUTA__FACTURA_E_OUT = 16;
|
||||
|
||||
public static List<INF_Rutas> G_LST_RUTAS = null;
|
||||
|
||||
|
|
|
|||
|
|
@ -1714,6 +1714,7 @@
|
|||
<Compile Include="Script_Actualizacion\Scripts_Version_1419.cs" />
|
||||
<Compile Include="Script_Actualizacion\Scripts_Version_1418.cs" />
|
||||
<Compile Include="Script_Actualizacion\Scripts_Version_1417.cs" />
|
||||
<Compile Include="Script_Actualizacion\Scripts_Version_1440.cs" />
|
||||
<Compile Include="Script_Actualizacion\Versiones_EF.cs" />
|
||||
<Compile Include="Script_Iniciales\Scripts_Iniciales.cs" />
|
||||
<Compile Include="SGA_InventarioCabecera_TMP.cs">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,53 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Exferia_EntityFramework.Script_Actualizacion
|
||||
{
|
||||
class Scripts_Version_1440
|
||||
{
|
||||
public static Version G_VRS_VERSION = new Version("1.4.4.0");
|
||||
public static long G_LNG_VERSION = 1437;
|
||||
public static int G_INT_TIPO = 0;
|
||||
public static string G_STR_SCRIPT =
|
||||
$@"
|
||||
IF (exists
|
||||
(
|
||||
SELECT *
|
||||
FROM INFORMATION_SCHEMA.TABLES
|
||||
WHERE TABLE_NAME = 'INF_Rutas'
|
||||
)
|
||||
) AND
|
||||
(not exists
|
||||
(
|
||||
SELECT *
|
||||
FROM INF_Rutas
|
||||
WHERE id = 15
|
||||
)
|
||||
)
|
||||
BEGIN
|
||||
INSERT INTO INF_Rutas(id, codigo, descripcion, rutaFichero) VALUES (15, 15, 'Recepción de facturas electrónicas', 'C:\Pruebas\factura-e-recep')
|
||||
END
|
||||
IF (exists
|
||||
(
|
||||
SELECT *
|
||||
FROM INFORMATION_SCHEMA.TABLES
|
||||
WHERE TABLE_NAME = 'INF_Rutas'
|
||||
)
|
||||
) AND
|
||||
(not exists
|
||||
(
|
||||
SELECT *
|
||||
FROM INF_Rutas
|
||||
WHERE id = 16
|
||||
)
|
||||
)
|
||||
BEGIN
|
||||
INSERT INTO INF_Rutas(id, codigo, descripcion, rutaFichero) VALUES (16, 16, 'Emisión de facturas electrónicas', 'C:\Pruebas\factura-e-emi')
|
||||
END
|
||||
";
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue