Skip to main content
Solved

EntityIDSelector Not Working

  • July 17, 2025
  • 4 replies
  • 158 views
  • Translate All

I want to use a selector in my grid that provides me with only  with Customers , Vendors , Business Accounts , Contacts similar to Relations Tab in Business Account the problem is the EntityIDSelector which takes type of DAC like PX.objects.CR.BAccount , PX.objects.CR.Contact, PX.objects , PX.Objects.AR.Customer , PX.Objects.AP.Vendor 

i have noticed that when i start by selecting Business Account in the first place the selector works without changing the table fileds name in the selector view but if i start with a different type ex:Customer,vendor i get this Error “undefined: Cannot read properties of undefined (reading 'getAttribute')”

Note: i have commit changes for the feilds

Best answer by ToufikSam89

​@Tony Lanzer unfortunately i had to move on i am not using EntityIDSelector Anymore i found another way that worked for me. Thanks

View original

4 replies

Tony Lanzer
Captain II
Forum|alt.badge.img+3

​@ToufikSam89 Can you post your callstack from the error Trace?

Translate

Forum|alt.badge.img+4

​@ToufikSam89 In the screen shot I noticed that the BqlString have declared and [PXDBGuid]

A mismatch like BqlString vs Guid? can lead to selector errors, failures.

 

Translate

​@Saikrishna V  i changed that but still got the same error message

Translate

  • Author
  • Freshman II
  • Answer
  • July 24, 2025

​@Tony Lanzer unfortunately i had to move on i am not using EntityIDSelector Anymore i found another way that worked for me. Thanks

Translate