JobAutomacaoAuditoriaPosService.ProcessarAutomacao

// Id: #8950942
using Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos;

var jobAutomacaoAuditoriaPosService = Activate<JobAutomacaoAuditoriaPosService>();
await jobAutomacaoAuditoriaPosService.ProcessarAutomacao();

Parameters

CurrentCulture
"pt-BR"
RecurringJobId
"automacao-auditoria-pos"
RetryCount
1
Time
1783965651

State

07/13/2026 18:32:03 (+560ms) Failed

An exception occurred during performance of the job.

Microsoft.Data.SqlClient.SqlException (desktop-qarb8l0.staging:6340)

Invalid column name 'CdStatus'. Invalid column name 'CdStatus'. Invalid column name 'CdStatus'.

Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid column name 'CdStatus'.
Invalid column name 'CdStatus'.
Invalid column name 'CdStatus'.
   at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__195_0(Task`1 result)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Dapper.SqlMapper.QueryAsync[T](IDbConnection cnn, Type effectiveType, CommandDefinition command) in /_/Dapper/SqlMapper.Async.cs:line 434
   at Inpart.DataAccess.EFRepository`1.QueryAsync[TResult](String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService.CalcularValorTotalPedido(Int32 idPedido, Int32 idCliente, Int32 idSeguradora, Int32 idSucursal) in C:\Users\Ber\Documents\Inpart\Inpart.Integracao.GerenciadorJobs\Inpart.Integracao.GerenciadorJobs\Services\AutomacaoAuditoriaPos\JobAutomacaoAuditoriaPosService.cs:line 118
   at Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService.ProcessarPedido(PedidoCandidatoAuditoriaDto pedido, List`1 histsPendentes) in C:\Users\Ber\Documents\Inpart\Inpart.Integracao.GerenciadorJobs\Inpart.Integracao.GerenciadorJobs\Services\AutomacaoAuditoriaPos\JobAutomacaoAuditoriaPosService.cs:line 89
   at Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService.ProcessarAutomacao() in C:\Users\Ber\Documents\Inpart\Inpart.Integracao.GerenciadorJobs\Inpart.Integracao.GerenciadorJobs\Services\AutomacaoAuditoriaPos\JobAutomacaoAuditoriaPosService.cs:line 63
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+70ms Processing

Server:
desktop-qarb8l0.staging:6340
Worker:
5b1e035d

+4m 20.833s Enqueued

Triggered via Dashboard UI

+ <1ms Deleted

Exceeded the maximum number of retry attempts.

System.TypeLoadException

Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

+28.764s Failed

Can not change the state to 'Processing': target method was not found.

System.TypeLoadException (6a5717e1699b.development:1)

Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.Reflection.RuntimeAssembly.GetTypeCore(String typeName, ReadOnlySpan`1 nestedTypeNames, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny)
   at System.Reflection.TypeNameParser.NamespaceTypeName.ResolveType(TypeNameParser& parser, String containingAssemblyIfAny)
   at Hangfire.Common.TypeHelper.TypeResolver(Assembly assembly, String typeName, Boolean ignoreCase) in C:\projects\hangfire-525\src\Hangfire.Core\Common\TypeHelper.cs:line 241
   at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny)
   at System.Reflection.TypeNameParser.NamespaceTypeName.ResolveType(TypeNameParser& parser, String containingAssemblyIfAny)
   at System.Type.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError)
   at Hangfire.Common.TypeHelper.DefaultTypeResolver(String typeName) in C:\projects\hangfire-525\src\Hangfire.Core\Common\TypeHelper.cs:line 78
   at Hangfire.Storage.InvocationData.DeserializeJob() in C:\projects\hangfire-525\src\Hangfire.Core\Storage\InvocationData.cs:line 96

-22.997s Enqueued

Triggered via Dashboard UI

+3ms Deleted

Exceeded the maximum number of retry attempts.

System.TypeLoadException

Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

+28.744s Failed

Can not change the state to 'Processing': target method was not found.

System.TypeLoadException (6a5717e1699b.development:1)

Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.Reflection.RuntimeAssembly.GetTypeCore(String typeName, ReadOnlySpan`1 nestedTypeNames, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny)
   at System.Reflection.TypeNameParser.NamespaceTypeName.ResolveType(TypeNameParser& parser, String containingAssemblyIfAny)
   at Hangfire.Common.TypeHelper.TypeResolver(Assembly assembly, String typeName, Boolean ignoreCase) in C:\projects\hangfire-525\src\Hangfire.Core\Common\TypeHelper.cs:line 241
   at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny)
   at System.Reflection.TypeNameParser.NamespaceTypeName.ResolveType(TypeNameParser& parser, String containingAssemblyIfAny)
   at System.Type.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError)
   at Hangfire.Common.TypeHelper.DefaultTypeResolver(String typeName) in C:\projects\hangfire-525\src\Hangfire.Core\Common\TypeHelper.cs:line 78
   at Hangfire.Storage.InvocationData.DeserializeJob() in C:\projects\hangfire-525\src\Hangfire.Core\Storage\InvocationData.cs:line 96

+26m 5.830s Enqueued

Triggered via Dashboard UI

+ <1ms Deleted

Retries were disabled for this job.

System.InvalidOperationException

Cannot create a DbSet for 'Pedido' because this type is not included in the model for the context.

+2.316s Failed

An exception occurred during performance of the job.

System.InvalidOperationException (desktop-qarb8l0.staging:6928)

Cannot create a DbSet for 'Pedido' because this type is not included in the model for the context.

System.InvalidOperationException: Cannot create a DbSet for 'Pedido' because this type is not included in the model for the context.
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
   at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
   at Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService.ProcessarPedido(PedidoCandidatoAuditoriaDto pedido, List`1 histsPendentes) in C:\Users\Ber\Documents\Inpart\Inpart.Integracao.GerenciadorJobs\Inpart.Integracao.GerenciadorJobs\Services\AutomacaoAuditoriaPos\JobAutomacaoAuditoriaPosService.cs:line 96
   at Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService.ProcessarAutomacao() in C:\Users\Ber\Documents\Inpart\Inpart.Integracao.GerenciadorJobs\Inpart.Integracao.GerenciadorJobs\Services\AutomacaoAuditoriaPos\JobAutomacaoAuditoriaPosService.cs:line 63
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+77ms Processing

Server:
desktop-qarb8l0.staging:6928
Worker:
9e33d7d2

+7.437s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 1 of 1: Could not load type 'Inpart.Integracao.Gerenciado…

Enqueue at:
07/13/2026 18:01:23

+28.660s Failed

Can not change the state to 'Processing': target method was not found.

System.TypeLoadException (6a5717e1699b.development:1)

Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.Reflection.RuntimeAssembly.GetTypeCore(String typeName, ReadOnlySpan`1 nestedTypeNames, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny)
   at System.Reflection.TypeNameParser.NamespaceTypeName.ResolveType(TypeNameParser& parser, String containingAssemblyIfAny)
   at Hangfire.Common.TypeHelper.TypeResolver(Assembly assembly, String typeName, Boolean ignoreCase) in C:\projects\hangfire-525\src\Hangfire.Core\Common\TypeHelper.cs:line 241
   at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny)
   at System.Reflection.TypeNameParser.NamespaceTypeName.ResolveType(TypeNameParser& parser, String containingAssemblyIfAny)
   at System.Type.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError)
   at Hangfire.Common.TypeHelper.DefaultTypeResolver(String typeName) in C:\projects\hangfire-525\src\Hangfire.Core\Common\TypeHelper.cs:line 78
   at Hangfire.Storage.InvocationData.DeserializeJob() in C:\projects\hangfire-525\src\Hangfire.Core\Storage\InvocationData.cs:line 96

+20ms Enqueued

Triggered by recurring job scheduler

Queue:
inpart-jobs

07/13/2026 18:00:22 Created