Solved

Add custom column for total

  • 15 November 2022
  • 3 replies
  • 132 views

Userlevel 2
Badge

I want to add a new column for the custom calculation on total of all inventory item’s Ext.Price.  How do achieve that. The value should update as the new field is added to the details tab.

icon

Best answer by Naveen Boga 15 November 2022, 12:09

View original

3 replies

Userlevel 7
Badge +17

Hi, @param2022  This requires a customization, please find the details for the customization.

  1. Extend the SOOrder DAC and add a new field
  2. Write a field selecting an event for this field and add logic to get the Ext Price sum from the Details tab
  3. FieldSelecting code will be useful to show the updated sum in the header level. Apart from this override a Persist() method and add the same logic to get the sum from the Details tab and assign it to the extended field and update the caches.
Userlevel 2
Badge

@Naveen Boga I didn’t understand the 3rd point you are trying to make. I have achieved the first 2. Are you suggesting for the RowPersist action ??

Userlevel 7
Badge +17

Yes that is correct @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