PostSapJobs.PostOrderToSap

// Job ID: #3678615
using OOP.BackgroundJobsManager.Jobs;

var postSapJobs = Activate<PostSapJobs>();
postSapJobs.PostOrderToSap(1862669, 1889751, 1931124);

Properties

CurrentCulture
"en-IN"
CurrentUICulture
"en-GB"
RetryCount
2

State

10/14/2025 9:13:11 AM (+2.816s) Failed

An exception occurred during performance of the job.

System.InvalidOperationException

The 'Areacode' property on 'SP_GetPostOrder_head_Result' could not be set to a 'System.Int32' value. You must set this property to a non-null value of type 'System.String'.

System.InvalidOperationException: The 'Areacode' property on 'SP_GetPostOrder_head_Result' could not be set to a 'System.Int32' value. You must set this property to a non-null value of type 'System.String'. 
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)
   at lambda_method(Closure , Shaper )
   at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at OOP.BackgroundTask.Orders.PostOrderToSap.<>c__DisplayClass34_0.<PostOrderToSapDivisionWise>b__1(PostOrderToSapDto post) in D:\Source\OOP\OOP.BackgroundTask\Orders\PostOrderToSap.cs:line 131
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at OOP.BackgroundTask.Orders.PostOrderToSap.PostOrderToSapDivisionWise(Int32 OrderId, Int32 DivisionOrderID, Int32 OrderAmendmentID) in D:\Source\OOP\OOP.BackgroundTask\Orders\PostOrderToSap.cs:line 110
   at OOP.BackgroundJobsManager.Jobs.PostSapJobs.PostOrderToSap(Int32 OrderId, Int32 DivisionOrderID, Int32 OrderAmendmentID) in D:\Source\OOP\OOP.BackgroundJobsManager\Jobs\PostSapJobs.cs:line 22

+60ms Processing

Server:
nsho02swlap16:15600
Worker:
89b34b56

+5m 8.080s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 2 of 2: The 'Areacode' property on 'SP_GetPostOrder_head_…

Enqueue at:
10/14/2025 9:13:00 AM

+14ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException

The 'Areacode' property on 'SP_GetPostOrder_head_Result' could not be set to a 'System.Int32' value. You must set this property to a non-null value of type 'System.String'.

System.InvalidOperationException: The 'Areacode' property on 'SP_GetPostOrder_head_Result' could not be set to a 'System.Int32' value. You must set this property to a non-null value of type 'System.String'. 
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)
   at lambda_method(Closure , Shaper )
   at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at OOP.BackgroundTask.Orders.PostOrderToSap.<>c__DisplayClass34_0.<PostOrderToSapDivisionWise>b__1(PostOrderToSapDto post) in D:\Projects_2.O\OOP_Git\OOP.BackgroundTask\Orders\PostOrderToSap.cs:line 131
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at OOP.BackgroundTask.Orders.PostOrderToSap.PostOrderToSapDivisionWise(Int32 OrderId, Int32 DivisionOrderID, Int32 OrderAmendmentID) in D:\Projects_2.O\OOP_Git\OOP.BackgroundTask\Orders\PostOrderToSap.cs:line 110

-3m 52.517s Processing

Server:
ooptest:24764
Worker:
cc9e7f9c

+4m 990ms Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 1 of 2: The 'Areacode' property on 'SP_GetPostOrder_head_…

Enqueue at:
10/14/2025 9:10:52 AM

+900ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException

The 'Areacode' property on 'SP_GetPostOrder_head_Result' could not be set to a 'System.Int32' value. You must set this property to a non-null value of type 'System.String'.

System.InvalidOperationException: The 'Areacode' property on 'SP_GetPostOrder_head_Result' could not be set to a 'System.Int32' value. You must set this property to a non-null value of type 'System.String'. 
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)
   at lambda_method(Closure , Shaper )
   at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at OOP.BackgroundTask.Orders.PostOrderToSap.<>c__DisplayClass34_0.<PostOrderToSapDivisionWise>b__1(PostOrderToSapDto post) in D:\Projects_2.O\OOP_Git\OOP.BackgroundTask\Orders\PostOrderToSap.cs:line 131
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at OOP.BackgroundTask.Orders.PostOrderToSap.PostOrderToSapDivisionWise(Int32 OrderId, Int32 DivisionOrderID, Int32 OrderAmendmentID) in D:\Projects_2.O\OOP_Git\OOP.BackgroundTask\Orders\PostOrderToSap.cs:line 110

-3m 52.510s Processing

Server:
ooptest:24764
Worker:
3953d3ad

+7ms Enqueued

10/14/2025 9:11:43 AM Created