I am trying to disable the quantity field on a sales order whenever there is a linked production order. To be honest, im not even entirely sure what extension is adding this field to the soline. i dont see it on soline, or SOLineExt. I did find it on SOLineMFGOnly, but that seems to be just a projection. i tried adding the below code line to the quantity field and it does make the field readonly when there is a production order, but if i unlink the production order or delete the production order the quantity field is still disabled. i looked at the below post but when i try to use SOLineMFGOnly in the get extension, it doesnt recognize it.
[PXUIEnabled(typeof(Where<SOLineMfgOnly.aMProdOrdID, IsNull>))]

