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)]