AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
DAC Field UI warnin...
 
Notifications
Clear all

Questions DAC Field UI warning indicator behaving like error

 
Everything Else
Last Post by tlanzer 5 years ago
2 Posts
1 Users
1 Reactions
1,967 Views
RSS
tlanzer
Posts: 3
 tlanzer
Topic starter
February 23, 2021 4:47 pm
(@tlanzer)
Active Member
Joined: 5 years ago

I am raising a warning message on a field in its FieldUpdating event handler, but it is displaying and behaving like an error instead of a warning. In other words, red instead of yellow icon, and turns the field value red. Any ideas why it might be behaving like this? Below is the exception being thrown. I have also tried sender.RaiseExceptionHandling, and putting this in the FieldVerifying instead, but it still shows as error.

    throw new PXSetPropertyException(string.Format("Instead of using this description, consider using the existing description: '{0}'", 
closestFound.Key.Description, PXErrorLevel.Warning));

1 Reply
tlanzer
Posts: 3
 tlanzer
Topic starter
February 23, 2021 6:05 pm
(@tlanzer)
Active Member
Joined: 5 years ago

I was able to get it to behave like I want by using PXUIFieldAttribute.SetWarning instead of raising an error. Maybe PXErrorLevel.Warning doesn't actually behave like a warning, not sure.


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,528 Topics
  • 10.9 K Posts
  • 22 Online
  • 2,414 Members
Our newest member: Megan Pawlowski
Latest Post: Credit Reference Report Needed
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

  • russ
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×