Skip to main content

I am looking to set the Price Class field to be required on the location screen when a customer is being created.

So my attributes are set as below.

This works fine on the customer screen but when I try to add a vendor or employee I hit a stop as the price class is not populated, price class isnt required on either so is there anyway just to enforce this requirement on the customer screen?

 

>PXDBString(10, IsUnicode = true)]
>PXSelector(typeof(AR.ARPriceClass.priceClassID))]
>PXDefault(PersistingCheck = PXPersistingCheck.NullOrBlank)]
>PXUIField(DisplayName = "Price Class", Visibility = PXUIVisibility.Visible, Required = true)]

 

You should use CacheAttached to only replace the attributes for a specific graph.

See here: https://help.acumatica.com/(W(5))/Help?ScreenId=ShowWiki&pageid=d0634e8a-3a21-454c-963a-6741e7ec8390

And here: https://help.acumatica.com/(W(6))/Help?ScreenId=ShowWiki&pageid=80e817bd-e70b-45b9-a9b1-2d2d0e2f8ee2


Thanks for that Dmitrii


Reply