CUT.Invoices

// Id: #1608179
using ClarityConnect.Clients.CUT;

var cUT = Activate<CUT>();
await cUT.Invoices(null, null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"Invoices"
Time
1734552009

State

12/18/2024 8:00:14 PM (+4.823s) Failed

An exception occurred during performance of the job.

System.Exception (2022-cli-con-1:6876)

{"message":"Invoice Document Validation Error(s):\nThe invoice can't be created without products. Add products and try again.\nThe order does not allow an invoice to be created."} /rest/V1/order/555180/invoice

System.Exception: {"message":"Invoice Document Validation Error(s):\nThe invoice can't be created without products. Add products and try again.\nThe order does not allow an invoice to be created."}
/rest/V1/order/555180/invoice
   at ClarityConnect.Clients.CUT.CUT.ProcessInvoicesInforToMagento(PerformContext context, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3 - Copy\ClarityConnect.Clients.CUT\Jobs\ProcessInvoices.cs:line 69
   at ClarityConnect.Clients.CUT.CUT.Invoices(PerformContext context, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3 - Copy\ClarityConnect.Clients.CUT\Jobs\ProcessInvoices.cs:line 26
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

+16ms Processing

Server:
2022-cli-con-1:6876
Worker:
282be887
+745ms
+749msSyncing 1 invoices found since 20241216 14:00:10.145
+750ms
+752msChecking whether or not to sync invoice: TC0004011772
+1.235sUpdating order W000291375 for invoice: TC0004011772
+3.148sChecking Order: W000291375 | RecordDate: 20241217 18:09:53.630
+4.527sSyncing Invoice Num: TC0004011772 with Infor CoNum: W000291375 and Magento OrderID: 555180
+4.817sInvoice: TC0004011772 failed
+4.821s1 total exceptions occured!

+18ms Enqueued

Triggered by recurring job scheduler

12/18/2024 8:00:09 PM Created