Skip to main content
Solved

Bill & Adjustments Making Owner a Required Field

  • November 10, 2021
  • 3 replies
  • 463 views

Forum|alt.badge.img

Hello, I’m attempting to mark the “Owner” field from the Financial Details > Assigned To, on the Bill and Adjustments screen in Accounts Payables required. I’ve created a customization project and tried a few different methods without any luck so far.

First just a simple customization to set the “Required” property to True.

 

Unfortunately I can still save and remove hold without the system flagging the issue. Also not getting a red asterisk next to the field. 

Next I added the owner field just underneath vendor as a new field. Set to true and still no luck. Lastly added the field to the “Fields” section in the tree for the customized screen but had no affect. 

 

Guessing I’m missing a step, but not turning up to much in my google searches. Anyone have any ideas what I’ve missed? 

Thanks - Adam

Best answer by markusray17

The Required property should show the red asterisk but it won’t prevent saving or enforce the need for a value, here’s a stack overflow post that goes into pretty deep detail:

https://stackoverflow.com/questions/47933636/how-do-you-mark-a-field-as-required-in-acumatica

 

You are likely looking at adding the PXDefault attribute during the cache attached event to the field with the PersistingCheck option that matches your needs.  

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+5
  • Jr Varsity II
  • 237 replies
  • Answer
  • November 10, 2021

The Required property should show the red asterisk but it won’t prevent saving or enforce the need for a value, here’s a stack overflow post that goes into pretty deep detail:

https://stackoverflow.com/questions/47933636/how-do-you-mark-a-field-as-required-in-acumatica

 

You are likely looking at adding the PXDefault attribute during the cache attached event to the field with the PersistingCheck option that matches your needs.  


Vinay Koppula
Semi-Pro II
Forum|alt.badge.img+1
  • Semi-Pro II
  • 125 replies
  • November 11, 2021

PXDefault is already applied for that field as out of box feature. I believe there could be some other attribute restricting it to show the asterisk symbol. 


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 23 replies
  • November 11, 2021

Thanks gang, the link Mark provided led me to additional articles from the official guide that got me there in the end. Aside from setting the field “Required” to true, modified the data access class, and overrode the attribute for the field. Red asterisk showed up and added a new condition so user can’t remove hold until the owner field is set. 


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