Skip to main content
Answer

Invoice Report has duplicate lines, but not sure what is causing the issue

  • September 5, 2023
  • 3 replies
  • 290 views

Forum|alt.badge.img

Hi,

 

When a client is generating an invoice from the Invoices screen (SO303000), the result shows duplicate lines.

The odd thing is that it doesn’t occur for all invoices, just a select number of them, so it could be the joins, but then it could be something else, and I am out of ideas of what I can look at.

I tried things like changing the groupings, comparing a problematic invoice with one that works, but still couldn’t find anything that would be the problem.

I have attached the report file below. Are you able to spot something that could be causing this occasional issue?

Let me know if I can provide any further information.

 

Kind regards,

Andrew

Best answer by AndrewA

Hi @dcomerford , thanks for your response. Turns out the issue was with a join between the ARTran and SOOrder tables, which led to the issue of the SOOrder and SOOrderShipment join that you mentioned. I amended both these joins and it has now been resolved.

 

Kind regards,

Andrew

3 replies

dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • September 5, 2023

Had a very quick look but try making these two joins a left join as if you have a BAccount with more than one location (you could use tle location in the joint) or a Sales Order with more than one Shipment then it will give duplicates.

 


Forum|alt.badge.img
  • Author
  • Varsity I
  • Answer
  • September 6, 2023

Hi @dcomerford , thanks for your response. Turns out the issue was with a join between the ARTran and SOOrder tables, which led to the issue of the SOOrder and SOOrderShipment join that you mentioned. I amended both these joins and it has now been resolved.

 

Kind regards,

Andrew


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • September 7, 2023

Thank you for sharing your solution with the community @AndrewA!