Solved

PXSelector configuration

  • 11 November 2022
  • 3 replies
  • 522 views

Userlevel 2
Badge

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.

 

 

icon

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

View original

3 replies

Userlevel 7
Badge +18

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

Example:

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

Userlevel 2
Badge

@Naveen Boga Thank you soo much.

Userlevel 7
Badge +18

Most welcome @param2022 

Reply


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