Make Sales Order Number field compulsory?
Do you know how to adjust this so it is only required for a certain order type? Or to exclude a certain order type? I have added this and it works fine for most orders, but orders with the TR type do not have a CustomerOrderNbr field but still give an error saying you cannot save until it is updated.
I do keep getting a random popup on sales orders, and dashboards grabbing info from sales orders, since implementing this change. The message is:
[A]PX.Objects.SO.SO_SOOrder_ExistingColumn cannot be cast to [B]PX.Objects.SO.SO_SOOrder_ExistingColumn. Type A originates from 'App_Code.ho_9myru, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\8bc05a18f9be40f0b1ebb13a2567a021\tempdirectory\root\12c687a2\c062361a\App_Code.ho_9myru.dll'. Type B originates from 'App_Code.oyg-m7i8, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\8bc05a18f9be40f0b1ebb13a2567a021\tempdirectory\root\12c687a2\c062361a\App_Code.oyg-m7i8.dll'.
Whats this message about? Often by refreshing the page it goes away, but it does keep popping up. Also hopefully I'm not causing a security risk by posting this message, please let me know if it is.
Has anyone had any luck figuring out how to make this required without getting an error on transfer orders?
I have updated to make this field required and it works fine for most orders, but orders with the TR type do not have a CustomerOrderNbr field but still give an error saying you cannot save until it is updated. I have been unable to figure out how to either add the CustomerOrderNbr to make it visible even for TR order types or to make the required error exclude the TR order type.
Those messages pop up after publishing a customization sometimes. You can clear them by restarting your instance (System Management -> Apply Updates screen -> Restart Application). It gets the application back in sync.