Reputation: 559
I am trying to filter the catalog item based on logged in customer business account. How do i get the logged in customer business account value in acumatica portal?
Regards, R.Muralidharan
Upvotes: 3
Views: 1184
Reputation: 559
I have used Base.currentCustomer.BAccountID and it works fine
Upvotes: 0
Reputation: 3783
As you've found out, PXAccess.GetUserID()
allows you to get this information, but you can also use the AccessInfo DAC in BQL queries:
Current<AccessInfo.userID>
Current<AccessInfo.userName>
Upvotes: 4