The following symptoms are observed on a PBA installation:
- A cancelled subscription is invoiced twice.
- A reseller's invoice contains duplicated lines for the same subscription(s).
- The corresponding billing order (with the first subscription charge) has the Cancelled status.
The problem affects PBA 5.4.14 installations.
This is the result of defects in PBA 5.4.14.
The situation is as follows:
The subscription is invoiced (in a Sales or Billing order).
The Sales/Billing order gets stuck in the Ready to Complete (CR) status. The internal flag NeedConsolidation stays active; it is set to "Yes" even if the subscription is already invoiced and paid.
The subscription is cancelled by the customer.
All the orders with the not-final status are cancelled along with the subscription. So, the Sales/Billing order in the Ready to Complete status is cancelled, and the invoice and other A/R documents are detached from it.
- During the next account billing, PBA checks all the orders that require invoicing (by checking the internal flag NeedConsolidation) and invoices with cancelled Sales/Billing orders.
See the resolution part in the Parallels Knowledgebase article #117291 Invoiced orders are stuck in the "Ready to Complete" status.