Skip to main content
Solved

Order Register - Adding relationships


Forum|alt.badge.img
  • Freshman I
  • 41 replies

Community,

I need a little direction.  On the Order Register it did not contain SOShipment table in it.  I want to add that so that I can pull in the field SOShipment.CuryFreightCost to the report.  I have it pulling, but when I run the report, it messes up the Total Lines Amount column.  I haven’t made changes to it, so I feel that it has to do with the relationship that I have when I added the SOShipment table.  I’ve tried multiple relations and haven’t found the right one.  

 

This is the report with the relationships that I have in the report.  The original report had the top 3 lines already there and I added the last line.

 

In this screenshot the highlighted item is the one that I’ve been using to test for accuracy.  The number 7475.00 is supposed to be the Total Lines Amt.  However, the correct amount that it should be is 575.00.

 

Any ideas or direction is much appreciated!!

Thank you!

Best answer by Laura02

Hello @tveld ,

I see; the Sales Order number appears on the Shipment in two tabs:  Details and Orders.  You are correct - the order number isn’t connected to the shipment in the header tables.  Therefore to add shipment details to the Order Register, add SOShipLine or SoOrderShipment tables to your report.

Link from SOOrder to either SOShipLine or SOOrderShipment tables on the Order Number and Order Type.

Laura

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

4 replies

Laura02
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3132 replies
  • November 22, 2023

Hi, I think you want to join SOOrder and SOShipment tables on order number and order type instead of Address ID.

 

Laura


Forum|alt.badge.img
  • Author
  • Freshman I
  • 41 replies
  • November 22, 2023

@Laura02 ,

The SOShipment tables do not have those to choose from.  

Thank you!

Trisha


Laura02
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3132 replies
  • Answer
  • November 22, 2023

Hello @tveld ,

I see; the Sales Order number appears on the Shipment in two tabs:  Details and Orders.  You are correct - the order number isn’t connected to the shipment in the header tables.  Therefore to add shipment details to the Order Register, add SOShipLine or SoOrderShipment tables to your report.

Link from SOOrder to either SOShipLine or SOOrderShipment tables on the Order Number and Order Type.

Laura


Forum|alt.badge.img
  • Author
  • Freshman I
  • 41 replies
  • November 22, 2023

Laura,

Thank you for your help!  This is what I ended up doing for my tables and so far in my testing it appears to be working correctly.

SOOrder to SOOrderShipment

 

SOOrderShipment to SOShipment:

 

Thank you for all your help!  Have a great day!

Trisha


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