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...
Default Vendor for ...
 
Notifications
Clear all

#AcumaticaTnT Default Vendor for an Item

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 2 years ago
5 Posts
3 Users
1 Reactions
3,607 Views
RSS
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
Topic starter
June 19, 2020 11:14 am
(@timrodman)
Famed Member
Joined: 10 years ago

Here's an interesting scenario.

Some Data Access Class (DAC) fields in Acumatica only get calculated in the screen. So, when you drop them on a Generic Inquiry, they don't display any data. I'd seen that scenario before, but I'd only seen it be all or nothing, either the data was there or it was not.

This scenario though is new to me in that whether or not the data is there depends on what columns you've added to the Generic Inquiry.

Β 

Take this sample Item in the Stock Items (IN202500) screen and note the Default field on the VENDOR DETAILS tab:

image

Β 

If I create a Generic Inquiry with only these fields:

image

Β 

Then the Default column doesn’t get populated when you run the Generic Inquiry:

image

Β 

But if I add the VendorLocationID field to the Generic Inquiry:

image

Β 

Then the Default column gets populated correctly:

image

Β 

Note two screenshots ago that the Visible column is unchecked for VendorLocationID, but it can still be selected by a user with the Column Configuration icon, that was the best that I could come up with to "hide" the field:

image

Β 

This is strange/interesting behavior, but it's consistent with the Data Access Class (DAC) code which uses the VendorLocationID field for some reason (not sure why):

image

ncantral reacted
4 Replies
Dan Wilkins
Posts: 19
 Dan Wilkins
June 19, 2020 4:35 pm
(@dwilkins)
Eminent Member
Joined: 6 years ago

Like in Quantum Entanglement, it's in a superposition 👍Β 


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
Topic starter
August 2, 2020 2:20 am
(@timrodman)
Famed Member
Joined: 10 years ago

I have no idea what "Quantum Entanglement" is, but maybe that doesn't "matter" πŸ™‚


Reply
Kyle Wright
Posts: 7
 Kyle Wright
March 31, 2023 2:28 pm
(@kyle-wright)
Active Member
Joined: 4 years ago

This is extremely frustrating when you go to use this field and find out that it doesn't actually exist in the database.
Scenario: Add the default vendor to the Stock Items GI


Reply
Tim Rodman
 Tim Rodman
Admin
(@timrodman)
Joined: 10 years ago

Famed Member
Posts: 3199
October 20, 2023 7:40 pm
Reply toKyle WrightKyle Wright

@kyle-wright You can get the Preferred Vendor for the Item in the InventoryItemCurySettings.PreferredVendorID field.

This is how you join from InventoryItem to InventoryItemCurySettings:

image

Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,527 Topics
  • 10.9 K Posts
  • 22 Online
  • 2,412 Members
Our newest member: Peter Paasch
Latest Post: Can't export GI's to excel that contain the FATrans DAC after upgrade to 2025 R1 in less than 25 min
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

  • amassey
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.

β€Ήβ€ΊΓ—

    β€Ήβ€ΊΓ—