Skip to main content
Solved

Remove required field

  • July 11, 2025
  • 3 replies
  • 69 views

FinnSystemAG
Freshman II
Forum|alt.badge.img

Hello,

im a bit lost here as im trying to achieve the following: Im trying to set the “RequestDate” in the sales orders as a non required field. I tried to do it with setting the “requird” collumn to false, but im afraid i dont have the “false” option to choose from:
 

Can you help me, which option i should choose or tell me if its even possible with this particular field?

Thanks for your help.

Best regards

Best answer by Abhishek Niikam

Hello ​@FinnSystemAG, I’m also not able to find that option I think its not available for particular fields. 
I have another option to do this with Customize Attribute.
 

 


Just replace [PXDefault(typeof(AccessInfo.businessDate))] this with 

[PXDefault(typeof(AccessInfo.businessDate), PersistingCheck = PXPersistingCheck.Nothing)]
  • Do not throw a validation error if the field is empty on insert/update.

I hope it helps!

3 replies

FinnSystemAG
Freshman II
Forum|alt.badge.img
  • Author
  • Freshman II
  • July 11, 2025

Here in english again:)
 

 


Forum|alt.badge.img+2

Hello ​@FinnSystemAG, I’m also not able to find that option I think its not available for particular fields. 
I have another option to do this with Customize Attribute.
 

 


Just replace [PXDefault(typeof(AccessInfo.businessDate))] this with 

[PXDefault(typeof(AccessInfo.businessDate), PersistingCheck = PXPersistingCheck.Nothing)]
  • Do not throw a validation error if the field is empty on insert/update.

I hope it helps!


FinnSystemAG
Freshman II
Forum|alt.badge.img
  • Author
  • Freshman II
  • July 11, 2025

@Abhishek Niikam Thank you very much, you were a great help!!

Have a nice day.