QuestionQ64
VerifiedCustomizing Sales OperationsAn integration uses a cron service that runs twice daily and sends the Order ID to the integrated ERP system when orders are eligible to create an invoice. The order has already been loaded with the following code:
$order = $this->orderRepository->get($orderId);
To determine whether the store has invoices that can be created, which implementation should the Adobe Commerce developer use?
Community Discussion