AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • 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...
SQL Behind Customer...
 
Notifications
Clear all

#AcumaticaTnT SQL Behind Customers (AR3030PL) Screen

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 4 years ago
1 Posts
1 Users
0 Reactions
1,636 Views
RSS
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
Topic starter
October 13, 2021 11:41 am
(@timrodman)
Famed Member
Joined: 10 years ago

How can you find the SQL Query or Database Source behind the Customers (AR3030PL) screen?

I got this question via a private message so I'm posting my response here in case anyone else has the same question.

 

You have two options:

 

1. On the Customers (AR3030PL) screen, go to CUSTOMIZATION -> Edit Generic Inquiry. Note that you must have Access Rights to the Generic Inquiry (SM208000) screen to see this option.

image

You won't see SQL in the Generic Inquiry (SM208000) screen, but you'll see the what you would need in order to write a SQL statement, with the tables listed on the TABLES tab, the joins listed on the RELATIONS tab, and the fields selected on the RESULTS GRID tab:

image

 

2. On the Customers (AR3030PL) screen, go to TOOLS -> Trace... (1st screenshot) and you'll get a pop-up window, then click the down arrow next to Details (2nd screenshot) to see the SQL code in the yellow area. Note that the SQL code will likely look pretty ugly since any software application (not just Acumatica) tends to generate messy SQL code. I recommend copying and pasting into Notepad++ and inserting line breaks to make it more legible.

image
image

Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,530 Topics
  • 11 K Posts
  • 6 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Negative/Credit Inventory Value?
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

  • Tim Rodman
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×