---------------------------------------- Timestamp: 5/21/2026 12:30:48 AM Message: System.NullReferenceException: Object reference not set to an instance of an object. at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.ObtenerTelefonoId(Telefono telefono) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 1633 at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.AgregarDocumentoElectronico(FacturaElectronica entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 2979 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238181182479311 ProcessId: 9440 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:12976 Extended Properties: Trama: - 50618052600310169635400100026010000000398100045862 3101595167 5610.0 4530.0 00100026010000000398 2026-05-18T13:32:31 INTELECTIVA COSTA RICA SOCIEDAD ANONIMA Paseo Colon 1 02 03 Paseo Colon, calle 32, avenida 0 cr_facturacion_distribucion@mail.gosocket.net CIOSA AUTOPARTES SOCIEDAD ANONIMA CIOSA AUTOPARTES SOCIEDAD ANONIMA 506 +50641081200 recepcioncr@ciosa.com 01 1 1 01 10040003 1.0 Unid Pieza BB KCS Bacon Ranch 5610.6195 5610.6195 5610.6195 5610.6195 01 13.0 729.3805 729.3805 6340.0 2 01 90030003 1.0 Unid Pieza Extra Tomate 442.4779 442.4779 442.4779 442.4779 01 13.0 57.5221 57.5221 500.0 CRC 1.0 6053.0974 0.0 0.0 0.0 0.0 0.0 0.0 0.0 6053.0973 0.0 0.0 0.0 6053.0973 0.0 6053.0973 01 08 786.9027 786.9027 0.0 02 DATAFONOS 6840.0 6840.0 Clase: - FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN Metodo: - AgregarDocumentoElectronico Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-003048 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 12:38:19 AM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238181182479311 ProcessId: 9440 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:3540 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-003819 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:29:30 AM Message: System.NullReferenceException: Object reference not set to an instance of an object. at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.ObtenerTelefonoId(Telefono telefono) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 1633 at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.AgregarDocumentoElectronico(FacturaElectronica entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 2979 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238325143657106 ProcessId: 13860 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:4784 Extended Properties: Trama: - 50618052600310169635400100026010000000398100045862 3101595167 5610.0 4530.0 00100026010000000398 2026-05-18T13:32:31 INTELECTIVA COSTA RICA SOCIEDAD ANONIMA Paseo Colon 1 02 03 Paseo Colon, calle 32, avenida 0 cr_facturacion_distribucion@mail.gosocket.net CIOSA AUTOPARTES SOCIEDAD ANONIMA CIOSA AUTOPARTES SOCIEDAD ANONIMA 506 +50641081200 recepcioncr@ciosa.com 01 1 1 01 10040003 1.0 Unid Pieza BB KCS Bacon Ranch 5610.6195 5610.6195 5610.6195 5610.6195 01 13.0 729.3805 729.3805 6340.0 2 01 90030003 1.0 Unid Pieza Extra Tomate 442.4779 442.4779 442.4779 442.4779 01 13.0 57.5221 57.5221 500.0 CRC 1.0 6053.0974 0.0 0.0 0.0 0.0 0.0 0.0 0.0 6053.0973 0.0 0.0 0.0 6053.0973 0.0 6053.0973 01 08 786.9027 786.9027 0.0 02 DATAFONOS 6840.0 6840.0 Clase: - FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN Metodo: - AgregarDocumentoElectronico Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-042930 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:35:32 AM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238325143657106 ProcessId: 13860 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:11888 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-043532 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:36:39 AM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238325143657106 ProcessId: 13860 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:2328 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-043639 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:28:44 AM Message: System.NullReferenceException: Object reference not set to an instance of an object. at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.ObtenerTelefonoId(Telefono telefono) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 1633 at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.AgregarDocumentoElectronico(FacturaElectronica entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 2979 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238469199910356 ProcessId: 13804 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:12448 Extended Properties: Trama: - 50618052600310169635400100026010000000398100045862 3101595167 5610.0 4530.0 00100026010000000398 2026-05-18T13:32:31 INTELECTIVA COSTA RICA SOCIEDAD ANONIMA Paseo Colon 1 02 03 Paseo Colon, calle 32, avenida 0 cr_facturacion_distribucion@mail.gosocket.net CIOSA AUTOPARTES SOCIEDAD ANONIMA CIOSA AUTOPARTES SOCIEDAD ANONIMA 506 +50641081200 recepcioncr@ciosa.com 01 1 1 01 10040003 1.0 Unid Pieza BB KCS Bacon Ranch 5610.6195 5610.6195 5610.6195 5610.6195 01 13.0 729.3805 729.3805 6340.0 2 01 90030003 1.0 Unid Pieza Extra Tomate 442.4779 442.4779 442.4779 442.4779 01 13.0 57.5221 57.5221 500.0 CRC 1.0 6053.0974 0.0 0.0 0.0 0.0 0.0 0.0 0.0 6053.0973 0.0 0.0 0.0 6053.0973 0.0 6053.0973 01 08 786.9027 786.9027 0.0 02 DATAFONOS 6840.0 6840.0 Clase: - FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN Metodo: - AgregarDocumentoElectronico Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-082844 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:34:12 AM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238469199910356 ProcessId: 13804 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:14000 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-083412 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:34:45 AM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238469199910356 ProcessId: 13804 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:9740 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-083445 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:35:55 AM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238469199910356 ProcessId: 13804 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:5832 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-083555 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 12:28:08 PM Message: System.NullReferenceException: Object reference not set to an instance of an object. at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.ObtenerTelefonoId(Telefono telefono) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 1633 at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.AgregarDocumentoElectronico(FacturaElectronica entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 2979 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238613186224407 ProcessId: 1924 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:11576 Extended Properties: Trama: - 50618052600310169635400100026010000000398100045862 3101595167 5610.0 4530.0 00100026010000000398 2026-05-18T13:32:31 INTELECTIVA COSTA RICA SOCIEDAD ANONIMA Paseo Colon 1 02 03 Paseo Colon, calle 32, avenida 0 cr_facturacion_distribucion@mail.gosocket.net CIOSA AUTOPARTES SOCIEDAD ANONIMA CIOSA AUTOPARTES SOCIEDAD ANONIMA 506 +50641081200 recepcioncr@ciosa.com 01 1 1 01 10040003 1.0 Unid Pieza BB KCS Bacon Ranch 5610.6195 5610.6195 5610.6195 5610.6195 01 13.0 729.3805 729.3805 6340.0 2 01 90030003 1.0 Unid Pieza Extra Tomate 442.4779 442.4779 442.4779 442.4779 01 13.0 57.5221 57.5221 500.0 CRC 1.0 6053.0974 0.0 0.0 0.0 0.0 0.0 0.0 0.0 6053.0973 0.0 0.0 0.0 6053.0973 0.0 6053.0973 01 08 786.9027 786.9027 0.0 02 DATAFONOS 6840.0 6840.0 Clase: - FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN Metodo: - AgregarDocumentoElectronico Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-122808 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 12:32:33 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238613186224407 ProcessId: 1924 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:11876 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-123233 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 12:33:37 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238613186224407 ProcessId: 1924 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:14192 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-123337 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 12:34:29 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238613186224407 ProcessId: 1924 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:9628 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-123429 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 12:35:14 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238613186224407 ProcessId: 1924 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:11072 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-123514 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:28:35 PM Message: System.NullReferenceException: Object reference not set to an instance of an object. at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.ObtenerTelefonoId(Telefono telefono) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 1633 at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.AgregarDocumentoElectronico(FacturaElectronica entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 2979 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238757117557543 ProcessId: 11684 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:7292 Extended Properties: Trama: - 50618052600310169635400100026010000000398100045862 3101595167 5610.0 4530.0 00100026010000000398 2026-05-18T13:32:31 INTELECTIVA COSTA RICA SOCIEDAD ANONIMA Paseo Colon 1 02 03 Paseo Colon, calle 32, avenida 0 cr_facturacion_distribucion@mail.gosocket.net CIOSA AUTOPARTES SOCIEDAD ANONIMA CIOSA AUTOPARTES SOCIEDAD ANONIMA 506 +50641081200 recepcioncr@ciosa.com 01 1 1 01 10040003 1.0 Unid Pieza BB KCS Bacon Ranch 5610.6195 5610.6195 5610.6195 5610.6195 01 13.0 729.3805 729.3805 6340.0 2 01 90030003 1.0 Unid Pieza Extra Tomate 442.4779 442.4779 442.4779 442.4779 01 13.0 57.5221 57.5221 500.0 CRC 1.0 6053.0974 0.0 0.0 0.0 0.0 0.0 0.0 0.0 6053.0973 0.0 0.0 0.0 6053.0973 0.0 6053.0973 01 08 786.9027 786.9027 0.0 02 DATAFONOS 6840.0 6840.0 Clase: - FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN Metodo: - AgregarDocumentoElectronico Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-162835 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:33:07 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238757117557543 ProcessId: 11684 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:1760 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-163307 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:34:06 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238757117557543 ProcessId: 11684 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:12292 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-163406 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:34:46 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238757117557543 ProcessId: 11684 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:14156 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-163446 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:35:40 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238757117557543 ProcessId: 11684 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:12420 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-163540 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 4:36:26 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238757117557543 ProcessId: 11684 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:5124 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-163626 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:26:35 PM Message: System.NullReferenceException: Object reference not set to an instance of an object. at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.ObtenerTelefonoId(Telefono telefono) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 1633 at FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN.AgregarDocumentoElectronico(FacturaElectronica entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Facturacion\Impl\FacturaElectronicaLN.cs:line 2979 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238900788731325 ProcessId: 3504 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:12248 Extended Properties: Trama: - 50618052600310169635400100026010000000398100045862 3101595167 5610.0 4530.0 00100026010000000398 2026-05-18T13:32:31 INTELECTIVA COSTA RICA SOCIEDAD ANONIMA Paseo Colon 1 02 03 Paseo Colon, calle 32, avenida 0 cr_facturacion_distribucion@mail.gosocket.net CIOSA AUTOPARTES SOCIEDAD ANONIMA CIOSA AUTOPARTES SOCIEDAD ANONIMA 506 +50641081200 recepcioncr@ciosa.com 01 1 1 01 10040003 1.0 Unid Pieza BB KCS Bacon Ranch 5610.6195 5610.6195 5610.6195 5610.6195 01 13.0 729.3805 729.3805 6340.0 2 01 90030003 1.0 Unid Pieza Extra Tomate 442.4779 442.4779 442.4779 442.4779 01 13.0 57.5221 57.5221 500.0 CRC 1.0 6053.0974 0.0 0.0 0.0 0.0 0.0 0.0 0.0 6053.0973 0.0 0.0 0.0 6053.0973 0.0 6053.0973 01 08 786.9027 786.9027 0.0 02 DATAFONOS 6840.0 6840.0 Clase: - FE.COREFE.LogicaNegocio.Facturacion.Impl.FacturaElectronicaLN Metodo: - AgregarDocumentoElectronico Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-202635 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:31:53 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238900788731325 ProcessId: 3504 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:14188 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-203153 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:34:40 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238900788731325 ProcessId: 3504 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:9996 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-203440 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:35:39 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238900788731325 ProcessId: 3504 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:7920 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-203539 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:36:23 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238900788731325 ProcessId: 3504 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:8364 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-203623 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:37:06 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238900788731325 ProcessId: 3504 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:7808 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-203706 ---------------------------------------- ---------------------------------------- Timestamp: 5/21/2026 8:38:14 PM Message: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MonedaResumen_Moneda". The conflict occurred in database "FacturacionRecepcion", table "dbo.Moneda", column 'Id'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- End of inner exception stack trace --- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Internal.InternalContext.SaveChanges() --- End of inner exception stack trace --- at System.Data.Entity.Internal.InternalContext.SaveChanges() at FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1.Agregar(T entidad) in D:\Fuentes\Personal\COREFECR\FE.COREFE\FE.COREFE\Desarrollo-v4.4\FE.COREFE.LogicaNegocio\Base\Impl\BaseLN.cs:line 232 Category: General Priority: -1 EventId: 1 Severity: Information Title: Machine: PLECSYS-STUDIO- App Domain: /LM/W3SVC/4/ROOT-1-134238900788731325 ProcessId: 3504 Process Name: c:\windows\system32\inetsrv\w3wp.exe Thread Name: Win32 ThreadId:9620 Extended Properties: Clase: - FE.COREFE.LogicaNegocio.Base.Impl.BaseLN`1 Metodo: - Agregar Usuario: - IP: - 10.128.0.9 URL: - http://10.128.0.6:1605/Facturacion/FacturaElectronica/AgregarDocumento Codigo Error: - FE.COREFE-20260521-203814 ----------------------------------------