The first of the two payments was for $109.72 and was associated with an
invoice for $109.72 (shows up in the customer's History like it should).
The second of the two payments was for $0.00 (Type = Auto Pay) and was
associated with an invoice for $0.00 (shows up in the customer's History
like it should).
The first invoice was for 99.72 (6 month discount for a $19.95/month
account) plus a $10.00 setup charge. The charge and invoice were created
with Emerald 2.1.11.
The second invoice was created when the customer payed $39.90 for a $19.95
invoice (one month) and was automatically payed.
For both invoices, InvoiceItems.PaymentID = null eventhough they've both
been paid in full.
I can't think of a reason why InvoiceItems.PaymentID wasn't updated with the
corresponding Payments.PaymentID. All of the other various payments made
were associated correctly as far as I know.
Emerald 2.5.278, SQL 6.5 SP5a