I’m working on a GI that information is needed from both the PMProjectRevenueTotal and ARInvoice tables. Right now, I have both of these as child tables to the parent table of PMProject. However, both are coming up with the parent/child fields as contractid equals projectid, so my results are skewed. The projects themselves are only pulling in once, but the column values are multiplying based on how many times the project has been invoiced. Are there other tables/relations that will allow data from CuryRevisedAmount, CuryUnpaidBalance, and CuryRetainageUnreleased that won’t result in the inaccurate values? Thanks!
Answer
Problem Pulling PMProjectRevenueTotal and ARInvoice to same GI
Best answer by mnecaise
After some testing and viewing some other reports, I was able to come up with a solution. I ended up clearing out all the tables and relations to start over. From the Tables tab, I started with ARInvoice and added PMProject as a related table. Then from PMProject, I added PMProjectRevenueTotal as a related table. So far all my amounts seem to be pulling in the correct numbers. Doing it this way is only showing me projects that have invoices attached to them, verses all projects. However, this works for what I'm needing the GI for.


Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
