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...
IsPrimary field on ...
 
Notifications
Clear all

Questions IsPrimary field on contact not working in GI results

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by nperez 3 years ago
4 Posts
3 Users
1 Reactions
1,401 Views
RSS
Michael Ho
Posts: 16
 Michael Ho
Topic starter
July 19, 2022 6:13 pm
(@mho)
Eminent Member
Joined: 3 years ago

I'm trying to create a simple GI to display vendor contact information. I've connected the PX.Objects.AP.VendorR table to the PX.Objects.CR.Contact table and related them by bAccountID field.

I'm able to get the results I'm looking for, however I've added the "IsPrimary" field to the results so users can see which contact is the primary one for that vendor account and it does not appear to be working correctly. In the GI results that field is displaying a False result (unchecked box) for all contacts, even those designated as the Primary contact in the Vendor.

Any thoughts as to how to fix this?


3 Replies
Royce Lithgo
Posts: 557
 Royce Lithgo
July 19, 2022 7:17 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

https://www.augforums.com/forums/acumatica-generic-inquiries/boolean-field-values-in-results-grid/#post-10001

ps. don't forget to do a search before posting as someone else may have asked the same question.


Reply
Michael Ho
Posts: 16
 Michael Ho
Topic starter
July 20, 2022 11:33 am
(@mho)
Eminent Member
Joined: 3 years ago

Thanks, Royce. I had tried searching and didn't find anything originally. Appreciate the help.


Reply
nperez
Posts: 13
 nperez
July 21, 2022 8:37 pm
(@nperez)
Active Member
Joined: 4 years ago

Michael

If you want to find the primary contacts for vendors use the PX.Objects.AP.VendorR.primaryContactID = PX.Objects.CR.Contact.ContactID You will get only the primary contacts but not the checkbox=true.

I understand that when you set a contact as primary, Acumatica stores the ContactID in the PX.Objects.AP.VendorR.primaryContactID

 

 


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 46 Online
  • 2,325 Members
Our newest member: Tim Partin
Latest Post: Pick List report suddenly not splitting on Shipment
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 © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×