CUT.Invoices

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

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

Parameters

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

State

12/18/2024 9:00:16 PM (+4.585s) 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)

+12ms Processing

Server:
2022-cli-con-1:6876
Worker:
c04194b2
+809ms
+812msSyncing 1 invoices found since 20241216 15:00:12.604
+813ms
+819msChecking whether or not to sync invoice: TC0004011772
+1.291sUpdating order W000291375 for invoice: TC0004011772
+2.971sChecking Order: W000291375 | RecordDate: 20241217 18:09:53.630
+4.315sSyncing Invoice Num: TC0004011772 with Infor CoNum: W000291375 and Magento OrderID: 555180
+4.578sInvoice: TC0004011772 failed
+4.583s1 total exceptions occured!

+13ms Enqueued

Triggered by recurring job scheduler

12/18/2024 9:00:11 PM Created