Skip to main content
Solved

How to join PMTask table with PMRevenue Budget table so it does not duplicate lines in report?

  • September 26, 2024
  • 8 replies
  • 49 views

Hello,

I am trying to pull the “CuryRevisedAmount” field into the PM632000 report. I added the PMRevenueBudget table in Schema Builder and now it duplicates lines. I cannot confirm this, but it appears that when the billing rule is TE, it duplicates the task and adds the “CuryRevisedAmount” data from the Cost Budget on one line, and from the Revenue Budget on the duplicate line. I am only after the revenue side. Any ideas? Thanks!

Best answer by BenjaminCrisman

@tfacemyer It appears to be working for me:

The only thing I did was make the join look like this:

 

View original
Did this topic help you find an answer to your question?

8 replies

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 711 replies
  • September 26, 2024

@tfacemyer You should be able to specify in the relations of the report to only get the Revenue side of the data. I don’t have the tables up at the moment but you would just add a line to PMRevenueBudget join that Type = ‘I’ (where I is the code for Revenue, but I can’t remember if it’s I, or R or something else)


  • Author
  • Freshman I
  • 11 replies
  • September 26, 2024

Thanks for the quick response, Benjamin. I tried using “Type” before but then the Amount field is blank. Maybe I am not in the correct area. See screenshots below.

 

Relationships: 

Report Preview:

 


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 711 replies
  • September 26, 2024

@tfacemyer I’m not sure that is the correct link from PMTask to PMRevenueBudget. I see PMTask side having ProjectID and TaskID and the RevenueBudget side having ProjectID, ProjectTaskID:

The relation would look something like this:

Though you may need a different Join type


  • Author
  • Freshman I
  • 11 replies
  • September 26, 2024

Thanks again. I tried setting up the relationships as you have shown. I have tried every single join type and always get the same error on the report that says “Response is not well-formed XML.

 

 


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 711 replies
  • September 26, 2024

@tfacemyer Might be easier if you upload the report to this post so I can check it (File > Save As… .rpx file). Otherwise I’m not sure T is a option for Type, I think it’s either Income, I, or Expense, E. It’s possible it could be blank, but it should be one or the other. You also might need to try saving the report to the site and running it from there to see if it can work. Sometimes I’ve seen Report Designer throw the not well formed XML error and then have difficulty even when things are working as expected.


  • Author
  • Freshman I
  • 11 replies
  • September 26, 2024

Here is link to grab the .rpx file.

PM632000withRevenueBudgetTable.TF.rpx

 


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 711 replies
  • Answer
  • September 26, 2024

@tfacemyer It appears to be working for me:

The only thing I did was make the join look like this:

 


  • Author
  • Freshman I
  • 11 replies
  • September 26, 2024

That was the ticket! Thanks a bunch, Benjamin!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings