- 2026-09-09 V 1.0.0.4 Corrección en tsVeriFactu
This commit is contained in:
@@ -43,8 +43,8 @@
|
||||
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.7.1" />
|
||||
<PackageReference Include="System.ServiceModel.Federation" Version="10.0.652802" />
|
||||
<PackageReference Include="TSpdf.commons" Version="3.0.4" />
|
||||
<PackageReference Include="TSpdfUtils" Version="3.0.4" />
|
||||
<PackageReference Include="tsWPFCore" Version="1.4.2" />
|
||||
<PackageReference Include="TSpdfUtils" Version="3.0.11" />
|
||||
<PackageReference Include="tsWPFCore" Version="1.4.3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
||||
<PackageReference Include="tsCorreos" Version="1.0.7" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.22" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.23" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace WSAsegasaVerifactu
|
||||
Logs.AñadeLog(tsUtilidades.Enumeraciones.TipoLog.Fallo, ex.Message, ex);
|
||||
}
|
||||
}
|
||||
public DatosConfig ObtieneConfiguracion()
|
||||
public DatosConfig ObtieneConfiguracion(string idEmpresa)
|
||||
{
|
||||
var bd = tscgestionasegasa.NuevoContexto(Procesos.Conf.NombreConexionBD, true, false, true, "ProcesosVeriFactu");
|
||||
var bdts = bdFactu.tscFactu.NuevoContexto("Producción", true, false, true, "ProcesosVeriFactu");
|
||||
@@ -107,7 +107,7 @@ namespace WSAsegasaVerifactu
|
||||
|
||||
|
||||
|
||||
public List<tsRegistroFacturacion> ObtenerOperacionesPendientes()
|
||||
public List<tsRegistroFacturacion>? ObtenerOperacionesPendientes(string idEmpresa)
|
||||
{
|
||||
DateTime Ahora = DateTime.Now;
|
||||
int OperAlta = (int)bdAsegasa.db.registrosverifactu.OperacionEnum.ALTA;
|
||||
@@ -332,7 +332,7 @@ namespace WSAsegasaVerifactu
|
||||
}
|
||||
|
||||
private peticionesverifactu? pvf;
|
||||
public void GuardarPeticionAEAT(string Peticion)
|
||||
public void GuardarPeticionAEAT(string Peticion, string idEmpresa)
|
||||
{
|
||||
pvf = new peticionesverifactu();
|
||||
pvf.Peticion = System.Text.UTF8Encoding.UTF8.GetBytes(Peticion);
|
||||
@@ -345,7 +345,7 @@ namespace WSAsegasaVerifactu
|
||||
|
||||
|
||||
|
||||
public (bool,string, DateOnly?)? ObtenerUltimaFacturaEnviada(string Serie, DateOnly Fecha)
|
||||
public (bool, string, DateOnly?)? ObtenerUltimaFacturaEnviada(string Serie, DateOnly FechaFactura, string idEmpresa)
|
||||
{
|
||||
//int iAlta = (int)registrosverifactu.OperacionEnum.ALTA;
|
||||
//int iPendiente = (int)registrosverifactu.EstadoEnum.PENDIENTE_RESPUESTA;
|
||||
@@ -380,7 +380,7 @@ namespace WSAsegasaVerifactu
|
||||
|
||||
}
|
||||
|
||||
public void Excepcion(Exception ex, string RespuestaAEAT)
|
||||
public void Excepcion(Exception ex, string RespuestaAEAT, string idEmpresa)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -417,7 +417,7 @@ namespace WSAsegasaVerifactu
|
||||
|
||||
}
|
||||
|
||||
public void OperacionIncorrecta(tsRegistroFacturacion op, Exception ex)
|
||||
public void OperacionIncorrecta(tsRegistroFacturacion op, Exception ex, string idEmpresa)
|
||||
{
|
||||
|
||||
int idAplicacion = int.Parse(op.ReferenciaExterna);
|
||||
@@ -427,12 +427,12 @@ namespace WSAsegasaVerifactu
|
||||
bd.SaveChanges();
|
||||
}
|
||||
|
||||
public void Log(string Mensaje, TipoLog Tipo)
|
||||
public void Log(string Mensaje, TipoLog Tipo, string idEmpresa)
|
||||
{
|
||||
Logs.AñadeLog(Tipo, Mensaje);
|
||||
}
|
||||
|
||||
tsEncadenamiento? ItsVeriFactu.ObtenerUltimoEncadenamiento(string idEmisorFactura)
|
||||
public tsEncadenamiento? ObtenerUltimoEncadenamiento(string idEmisorFactura, string idEmpresa)
|
||||
{
|
||||
int pr = (int)bdAsegasa.db.registrosverifactu.EstadoEnum.PENDIENTE_RESPUESTA;
|
||||
// int ae = (int)bdAsegasa.db.registrosverifactu.EstadoEnum.ACEPTADO_CON_ERRORES;
|
||||
@@ -470,7 +470,7 @@ namespace WSAsegasaVerifactu
|
||||
}
|
||||
}
|
||||
|
||||
public void GuardarRespuestaAEAT(RespuestaRegFactuSistemaFacturacionType Respuesta, List<tsRegistroFacturacion> listadoRegistros)
|
||||
public void GuardarRespuestaAEAT(RespuestaRegFactuSistemaFacturacionType Respuesta, List<tsRegistroFacturacion> listadoRegistros, string idEmpresa)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
@@ -6,12 +6,13 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UserSecretsId>dotnet-WSAsegasa-3170e77c-9190-48a1-9c66-26323b65ac5d</UserSecretsId>
|
||||
<RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers>
|
||||
<Version>1.0.0.3</Version>
|
||||
<AssemblyVersion>1.0.0.3</AssemblyVersion>
|
||||
<Version>1.0.0.4</Version>
|
||||
<AssemblyVersion>1.0.0.4</AssemblyVersion>
|
||||
<Authors>Manuel</Authors>
|
||||
<Company>Tecnosis S.A</Company>
|
||||
<Description>Servicio de envío de facturas de asegasa al sistema Verifactu</Description>
|
||||
<PackageReleaseNotes>
|
||||
- 2026-09-09 V 1.0.0.4 Corrección en tsVeriFactu
|
||||
- 2026-07-27 V 1.0.0.3 Se habilita EnableRetryOnFailure en la conexion a la bd y se aumenta el timeout a 60 segundos
|
||||
- 2026-06-15 V 1.0.0.2 Actualización librería tsUtilidades
|
||||
- 2026-05-19 V 1.0.0.1 Se cambian los logs de correo a tsnotificaciones.
|
||||
@@ -30,8 +31,8 @@
|
||||
<PackageReference Include="System.ServiceModel.NetTcp" Version="8.1.2" />
|
||||
<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.2" />
|
||||
<PackageReference Include="tsCorreos" Version="1.0.7" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.22" />
|
||||
<PackageReference Include="tsVeriFactu" Version="2.4.3" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.23" />
|
||||
<PackageReference Include="tsVeriFactu" Version="2.4.5" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="8.0.14" />
|
||||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.3" />
|
||||
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" />
|
||||
<PackageReference Include="tsEFCore8" Version="1.0.5" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.22" />
|
||||
<PackageReference Include="tsEFCore8" Version="1.0.6" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.23" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<PackageReference Include="System.ServiceModel.Http" Version="8.*" />
|
||||
<PackageReference Include="System.ServiceModel.NetTcp" Version="8.*" />
|
||||
<PackageReference Include="System.ServiceModel.Primitives" Version="8.*" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.22" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.23" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user