I'm trying to create a custom statement, but running into a few problems. I need aging information for line items (such as invoices), but i don't know if they are available or if i have to calculate them. My biggest issue is that i don't know what record type the line items (statement.lines) are, thus i don't know how to find valid variables. Below is the code i'm using to step through the list. Any pointers would be greatly appreciated.