Skip to main content
Question

Global search user fields Customer (AR303000) & Vendor (AP303000)

  • November 4, 2025
  • 3 replies
  • 39 views

Bravo94
Freshman I
Forum|alt.badge.img

Hi guys,

I’ve created the following two user fields:

  • BAccountExt.usrSAGAlteKDNr
  • BAccountExt.usrSAGAlteLieferantenNr

I would like to make these fields searchable via the global search.

 

Hope u can help me.

Thanks

3 replies

mohammadnawaz51
Jr Varsity I
Forum|alt.badge.img+4

@Bravo94 Did you suggestions here 

 


dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • November 4, 2025

@Bravo94 This is what i use whever i need to make changes to it. It can all be done by a low code customisation

https://www.acumatica.com/blog/technical-tuesday-universal-search-in-acumatica/


Bravo94
Freshman I
Forum|alt.badge.img
  • Author
  • Freshman I
  • November 11, 2025

@dcomerford 


Hi,
I tried it, but it didn’t work.

I want the following fields to be searchable via the global search:

BAccountExt.usrSAGAlteKDNr

BAccountExt.usrSAGAlteLieferantenNr

So I added them to the Note ID.

 

[PXSearchable(SM.SearchCategory.CR, "{0} {1}", 
    new Type[] { typeof(BAccount.type), typeof(BAccount.acctName) },
    new Type[] { 
        typeof(BAccount.acctCD), 
        typeof(BAccount.defContactID), 
        typeof(Contact.displayName), 
        typeof(Contact.eMail), 
        typeof(Contact.phone1), 
        typeof(Contact.phone2), 
        typeof(Contact.phone3), 
        typeof(Contact.webSite),
        typeof(BAccountExt.usrSAGAlteKDNr),
        typeof(BAccountExt.usrSAGAlteLieferantenNr)
    },
    NumberFields = new Type[] { typeof(BAccount.acctCD) },
    Line1Format = "{0}{1}{3}{4}{5}", 
    Line1Fields = new Type[] {  
        typeof(BAccount.type), 
        typeof(BAccount.acctCD), 
        typeof(BAccount.defContactID), 
        typeof(Contact.displayName), 
        typeof(Contact.phone1), 
        typeof(Contact.eMail) 
    },
    Line2Format = "{1}{2}{3}", 
    Line2Fields = new Type[] { 
        typeof(BAccount.defAddressID), 
        typeof(Address.displayName), 
        typeof(Address.city), 
        typeof(Address.state) 
    },
    WhereConstraint = typeof(Where<BAccount.type, Equal<BAccountType.prospectType>>),
    SelectForFastIndexing = typeof(Select2<BAccount, InnerJoin<Contact, On<Contact.contactID, Equal<BAccount.defContactID>>>, Where<BAccount.type, Equal<BAccountType.prospectType>>>)
)]

 


 

But i get this Error Message : 

Error: The entry form (ID: AR303000, title: Customers) cannot be automated. Incorrect syntax near ')'.