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...
Accounts Payable Do...
 
Notifications
Clear all

Questions Accounts Payable Document Type Database Code Values

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Shawn P Slavin 7 years ago
2 Posts
2 Users
1 Reactions
3,433 Views
RSS
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
Topic starter
May 23, 2019 2:34 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Sometimes when you are creating a Generic Inquiry, you need to know the Database Code Values for a Document Type.

I created a reference list for all of the Document Types that appear in the APRegister.DocType field.

Here is the list (note: not sure what Prepayment Req. is, maybe a future feature?):

 

These values correspond to what you see when you click on the field within the Generic Inquiry:


1 Reply
Shawn P Slavin
Posts: 196
 Shawn P Slavin
May 23, 2019 5:43 pm
(@shawn-p-slavin)
Estimable Member
Joined: 6 years ago

Tim, thanks for the leg work.

I recently found another way to do this is to add a field twice to a GI. 

So, using your example, I would include the  APRegister.DocType field twice in the same query. The first time I select DocType from the field drop-down list. The second time, I would open the formula editor, enter an'=' sign, and then select APRegister.DocType from the field list. This results in a formula of '=[APRegister.DocType]. (Don't forget to manually enter a Caption on your results grid. Otherwise, you will get a non-user-friendly column heading.)

As you know, selecting the field from the drop-down list returns a user-friendly value for the field. In your example, that would be the value in the 'Type' column above.  However, by using a formula to pull from a table, Acumatica will skip the 'interpretation' process to find the user-friendly value. It will simply return the raw value from the table. (Database Code Value in Tim's table above)

I find this helpful when wanting to know the underlying values in tables for use in filters and joins.

Hope this helps someone out there with their next GI.

Cheers!


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,528 Topics
  • 10.9 K Posts
  • 16 Online
  • 2,413 Members
Our newest member: psteichen
Latest Post: Credit Reference Report Needed
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.

‹›×

    ‹›×