Is there any way to force users to specify a locat...
# general
b
Is there any way to force users to specify a location in the "Manage Intercompany Sales Orders" Screen? The screen itself cannot be customized but we were wondering if we are missing something or if we can add some SuiteScript to fail on creating the Sales Orders if Location is not set.
k
Have you considered setting the accounting preference for location is mandatory?
❤️ 1
b
@KevinJ of Kansas Have not seen that before, Thanks! will look into it as its company wide may have unforeseen issues
k
I don't know for sure if that will work to be up front with you
That said. With that preference you can hide it on forms you dont care about
Which bypasses the mandatory flag
b
Yeah, Just found that out via sandbox testing, anywhere it is shown it is mandatory (even on forms where you cant force the field) but if it is not shown then it is not mandatory.
@KevinJ of Kansas Unfortunately it seems to have too big of an impact (mainly to finance and their automated processes) to enable "Force Location on all transactions". Could you point me in the right direction for SuiteScript regarding this kind of validation?