Skip to main content
Question

catch event "Control Total is required for shipment confirmation."


Forum|alt.badge.img+1

Hi,

Is there any way I catch “ Control Total is required for shipment confirmation. ” exception with my code on shipment screen?

4 replies

Nilkanth Dipak
Varsity II
Forum|alt.badge.img+10

Hi ​@hotdok,

As I understand your question right, You may want to throw an same exception form your code.

You can use 
throw new PXException(Messages.MissingShipmentControlTotal);
 

Hope, it helps!


Forum|alt.badge.img+1
  • Author
  • Varsity I
  • 34 replies
  • March 12, 2025

Hi,

no I mean I want to catch this event with-in my code somehow.


Forum|alt.badge.img+1
  • Author
  • Varsity I
  • 34 replies
  • March 12, 2025

My problem is that ConfirmShipmentAction that Im overriding is executed before acumatica runs Quantity verification code.

 


Forum|alt.badge.img+8
  • Captain II
  • 362 replies
  • March 12, 2025

@hotdok 

 

You could add the code that ​@Nilkanth Dipak shared to your override, which would call it within the ConfirmShipmentAction

 

Aleks


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings