Skip to main content
Answer

Duplicate lines in GI when joining SOLine and SOLineSplit

  • September 27, 2023
  • 2 replies
  • 158 views

jhouser
Captain II
Forum|alt.badge.img+6

Hello,

 

I’ve joined SOLine and SOLineSplit so I can get the PO and AP bill associated with sales orders in a GI. When I activate the join, it shows multiple lines for an invoice / order with only one line as shown below. Been wrestling with it for a while and hoping someone can assist. XML of my GI attached. Thanks in advance. 

 

 

 

 

 

Best answer by dcomerford

From a quick look you will need to use the Grouping tab. So group by the ARTran RefNbr, LineNbr should elimiinate the duplicates you can then use Average as the Total Agregate function to get the correct results of the decimals fields 

2 replies

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

From a quick look you will need to use the Grouping tab. So group by the ARTran RefNbr, LineNbr should elimiinate the duplicates you can then use Average as the Total Agregate function to get the correct results of the decimals fields 


jhouser
Captain II
Forum|alt.badge.img+6
  • Author
  • Captain II
  • September 27, 2023

@dcomerford That worked, thanks so much!