Symptoms

There are customers with consolidated invoicing enabled in PBA, and some of their orders are stuck in the Ready to complete (CR) status, even though corresponding invoices were already generated. Clicking the "Complete" button in a stuck order results in the following error message:

Order is waiting for consolidated invoice

The problem affects PBA versions <= 5.4.15.

Cause

The problem is caused by defects in the PBA code.

Resolution

Upgrade to PBA-E 5.4.15 or install the hotfix #116397.

If the hotfix #116397 is already listed as installed, and you still see old orders stuck in the Ready to complete status, then reinstall the hotfix.

Note: On the Windows platform, only the part with the fixOrdersConsolidatedInvoiceFlag.pl script should be executed; there is no need for binaries replacement.

Internal content

Link on internal Article