Error Log Details
Detailed view of error information
Error Information
Error ID: c69a7d86-d3d6-4ea2-a462-35a046213db1
Project: SV Aurora ERP 2.0
Method: GoodsReceiptNoteServiceRepository.Save()
Date: 2026-08-01 00:25:28
Session ID:
ef0355bb-c502-4b89-9e7f-8beeb6e0d815
View Session Details
Error Message
An error occurred while saving the entity changes. See the inner exception for details. | The INSERT statement conflicted with the FOREIGN KEY constraint "FK_tGoodsReceiptNote_LkupGoodsReceiptStatus_FK_GoodsReceiptStatusID". The conflict occurred in database "SVAuroraERP2.0Beta", table "dbo.LkupGoodsReceiptStatus", column 'PK_GoodsReceiptStatusID'.
Stack Trace
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeResultSet(Int32 startCommandIndex, RelationalDataReader reader) at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(RelationalDataReader reader) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection) at Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.SqlServerModificationCommandBatch.Execute(IRelationalConnection connection) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess) at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess) at SVAuroraERP.Infrastructure.Repositories.Purchase.GoodsReceiptNoteServiceRepository.Save(GoodsReceiptNote request)
Request Data
null