PXSelector configuration

  • 11 November 2022
  • 3 replies

Userlevel 2

I want to save ID in the database and retrive description in PXSelector can anyone please help me here.

So I want to store costModifierId in the DB and Show costModifierName in the UI.




Best answer by Naveen Boga 11 November 2022, 12:56

View original

3 replies

Userlevel 7
Badge +17

Hi @param2022  To Save ID value and display the Description Name, you need to use the Substitute Key like below


[PXSelector(typeof(Search<INSite.siteID>), new Type[] { typeof(INSite.siteID) }, SubstituteKey = typeof(INSite.siteCD))]

Userlevel 2

@Naveen Boga Thank you soo much.

Userlevel 7
Badge +17

Most welcome @param2022 


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved