Chris,
In looking at the BSV, the issue was actually in the CREATE statement.
CREATE InvoiceBatch WITH InvoiceBatch.DateTimeCreated=CURRENT_DATE, InvoiceBatch.InvoiceDate=CURRENT_DATE, InvoiceBatch.TotalAmount=SUM Payment.BalanceDue WHERE (Payment.DueDate>=LoggedInRegularUser.InvoiceBeginDate AND Payment.DueDate<=LoggedInRegularUser.InvoiceEndDate AND Payment.BalanceDue<>0), InvoiceBatch.TotalInvoices=COUNT Payment WHERE (Payment.DueDate>=LoggedInRegularUser.InvoiceBeginDate AND Payment.DueDate<=LoggedInRegularUser.InvoiceEndDate AND Payment.BalanceDue<>0)
The "WHERE..." needed to be added to calculate the appropriate batch totals in the SUM and COUNT actions.
Tom