I did as suggested and ran into new Report Design (RD) issue. I rebuilt my Statement of Account (SOA) report using Entity as the primary (parent) table with a related Transaction table (sub detail table, Transaction.EntityRef). I could have used Customer but the results are simliar. I have the Entity data printing but I need filters on BOTH Entity AND Transaction. RD does not allow for filters on both the parent and child tables at the same time. In the Screen button. I allow for an optional Customer resultReportFilter to be selected and added. If they don't select al Customer, all Customers with Balance > 0 are in the report.
In trying add a RD Filter string, if I set the Data Member to Entity.Transaction.Entity, I finally get all the Transactions, unfiltered unfortunately, for the selected Entity (a Customer), but then the address script of the Entity (copied from another stock Method screen) goes empty as its based on the Master table. If I set the Data Member back to Entity, I get the Address script back but only get the first, unfiltered, transaction row for the Entity.
I need filters on both the Entity and Transaction tables in the report.
I am very frustrated with the Report Designer. Are there any complete, in-depth advanced training documents or videos for Report Designer? I feel like I am using something from CPM days...
For an SOA report, the Transaction table needs to filter by: TxnType in ('Invoice','ReceivePayment','CreditMemo') and AmountForAccountBalance <> 0
I have the current, 30, 60, 90, >90 bucket calculations working on the Transaction rows with this filter.
I also have a filter on the Entity table,. I need to filter on EntityType = 'Customer' and Balance > 0. I optionally allow users to select a specific Customer as well (FullName = 'ACME Scientific'). If then don't pick a Customer, the report generates for all customers with balances. When I was building my orginal SOA, I was housing the Transaction table so the Customer specific filter was Entity = 'ACME Scientific'. But I can't use Transaction as the main table because I can't add linked the Customer Address columns to it. :-(
I had the Aging (30-60-90) report working based on Transaction except I could not get the Customer's address onto the report. Is there a way to do database reads from a BeforePrint() function so I could pickup the BillAddress columns for each Customer on the fly??
Thanks.