CUT.Invoices

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

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

Parameters

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

State

12/18/2024 10:00:19 PM (+5.037s) 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)

+14ms Processing

Server:
2022-cli-con-1:6876
Worker:
f145f77a
+837ms
+841msSyncing 1 invoices found since 20241216 16:00:15.155
+843ms
+845msChecking whether or not to sync invoice: TC0004011772
+1.372sUpdating order W000291375 for invoice: TC0004011772
+3.425sChecking Order: W000291375 | RecordDate: 20241217 18:09:53.630
+4.741sSyncing Invoice Num: TC0004011772 with Infor CoNum: W000291375 and Magento OrderID: 555180
+5.030sInvoice: TC0004011772 failed
+5.035s1 total exceptions occured!

+14ms Enqueued

Triggered by recurring job scheduler

12/18/2024 10:00:14 PM Created