I created a generic inquiry it was working correctly until I tried to add the payments received column. Now the contract amounts/billing amounts and payment amounts are wrong on ones with multiple invoices. I know the problem is creating duplicate lines for projects with multiple invoices. I tried the grouping function and getting rid of the sum function but that didn’t work so I think it how I joined the tables. I can’t figure out how to fix it. I attached the xml file.
Solved
Some values are duplicating on Generic Inquiry
Best answer by plambert
There are a couple of ways to keep your unrelated multi-record joins separate. One option if you’re on 24r1 or later is to make a GI that does the summation of the ARInvoice and join on that instead of directly - effectively a subquery.
Another is a technique of doing a fixed full join to separate the unrelated tables so they can join in and group together without interfering with one another. It’s frequently called the ‘Wayatt.ERP’ technique and I go into it in detail in another post. Check it out and adapt it to isolating the ARInvoice and PMProject DACs.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.