CUT.Invoices

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

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

Parameters

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

State

12/18/2024 6:00:08 PM (+4.451s) 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)

+21ms Processing

Server:
2022-cli-con-1:6876
Worker:
9c0cc08c
+759ms
+773msSyncing 1 invoices found since 20241216 12:00:05.176
+775ms
+776msChecking whether or not to sync invoice: TC0004011772
+1.172sUpdating order W000291375 for invoice: TC0004011772
+2.870sChecking Order: W000291375 | RecordDate: 20241217 18:09:53.630
+4.226sSyncing Invoice Num: TC0004011772 with Infor CoNum: W000291375 and Magento OrderID: 555180
+4.440sInvoice: TC0004011772 failed
+4.444s1 total exceptions occured!

+19ms Enqueued

Triggered by recurring job scheduler

12/18/2024 6:00:04 PM Created