AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Generic I...
Joining Together Sa...
 
Notifications
Clear all

Questions Joining Together Sales Order Header fields and Sales Order Line fields in Acumatica

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by gonzo 8 years ago
3 Posts
2 Users
1 Reactions
3,007 Views
RSS
gonzo
Posts: 18
 gonzo
Topic starter
June 16, 2017 11:50 pm
(@gonzo)
Eminent Member
Joined: 9 years ago

Hi Everyone,

I used the Inspect Element trick to find the fields that I want on the Sales Orders screen.

This works great, but the fields come from two different tables: SOOrder and SOLine.

How do I join these tables together?


2 Replies
John Doe Updated
Posts: 3193
 John Doe Updated
Admin
June 16, 2017 11:53 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Hi Gonzo,

The Sales Order Header data access class is PX.Objects.SO.SOOrder.

The Sales Order Lines data access class is PX.Objects.SO.SOLine.

You'll need to join them together on the following fields:

  • SOLine.OrderType -> SOOrder.OrderType
  • SOLine.OrderNbr -> SOOrder.OrderNbr

Together, OrderType and OrderNbr form a unique key on the SOOrder table.

Acumatica Version 6.10.0472 used when composing this response

Reply
gonzo
Posts: 18
 gonzo
Topic starter
June 16, 2017 11:53 pm
(@gonzo)
Eminent Member
Joined: 9 years ago

Perfect, thanks Tim


Reply
John Doe Updated reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 32 Online
  • 2,412 Members
Our newest member: thollings
Latest Post: Attribute Input Mask
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

  • John Doe Updated
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×