Solved

Identify Invalid(Error included) rows in RowPersisting event

  • 23 October 2023
  • 4 replies
  • 66 views

Userlevel 3
Badge

Hi All,

Need to know how to identify error lines( Exception included) in RowPersisting event.

This is my sample screen.

 

Thanks

icon

Best answer by Giri K 1 December 2023, 07:38

View original

4 replies

Userlevel 4
Badge +1

@bhagyat25 

You can write below syntax

String ex="error msg";

throw Exception ex;

Userlevel 7
Badge

Hi @bhagyat25 were you able to find a solution? Thank you!

Userlevel 3
Badge

Hi @bhagyat25, Can you please share more details the requirement?

Hi @Vignesh Ponnusamy

I set some property Exception after clicking the Verify Vendors button. If that validation fails, row field is marked it has an exception. So, I need to prevent saving those exception including rows.  Hope that makes sense. 

Userlevel 7
Badge +4

Hi @bhagyat25, Can you please share more details on the requirement? Like, current behavior, expected behavior.

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