title: Determining Current User for Generic Inquiry
body: <p>I want to create a number of generic inquiries that lists the leads or other items for the user that's currently logged into Acumatica. </p>
  
  <p>The answer to the question [Current logged in user for GI / Reports in 4.2] (<a href="https://stackoverflow.com/questions/32467211/current-logged-in-user-for-gi-reports-in-4-2">Current logged in user for GI / Reports in 4.2</a>) does not work for me in a generic inquiry. It works as described for reports. 
  We are using Acumatica 5.20.1757.</p>
  
  <p>Using only PX.Data.AccessInfo in the generic inquiry results in the error: Sequence contains no elements. Using it in a cross join with another table gives: "Invalid object name: AccessInfo. What don't I understand/know?</p>