Solved

Add selector in the grid

  • 12 November 2022
  • 1 reply
  • 76 views

Userlevel 2
Badge

I want to add a selector for Cost Modifier in this grid just like the InventoryID. The data is from my custom DAC but I am not able to do so can anyone please help me here.

 

 

icon

Best answer by Naveen Boga 12 November 2022, 14:33

View original

1 reply

Userlevel 7
Badge +19

Hi @param2022  Add your DAC field like below

 

  #region CostModifier

[PXDBInt()]

[PXUIField(DisplayName = "Cost Modifier")]
[PXSelector(typeof(Search<CustomeDAC.IDField>), typeof(CustomeDAC.DescriptionField), DescriptionField = typeof(CustomeDAC.DescriptionField), CacheGlobal = true)]
public virtual int? CostModifier { get; set; }
public abstract class costModifier : BqlInt.Field<costModifier> { }
#endregion

 

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