In the Sales Invoice Header table, there are these Amounts for a specific customer:
I have this code that will collect each of those remaining amounts.
Upon running it the column values for "amount" show up as 0 when Messaging/Printing to BC.
But when printing out the Sales Invoice No. (referring to table picture above), it messages the number just fine:
it grabs the correct posted invoices
Is there something wrong with my logic here?
I am working on a report extension for the Customer Statement report.