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
KevinJ of Kansas
04/11/2019, 12:33 AM
Have you considered setting the accounting preference for location is mandatory?
❤️ 1
b
Ben
04/11/2019, 12:54 AM
@KevinJ of Kansas Have not seen that before, Thanks! will look into it as its company wide may have unforeseen issues
k
KevinJ of Kansas
04/11/2019, 12:56 AM
I don't know for sure if that will work to be up front with you
KevinJ of Kansas
04/11/2019, 12:56 AM
That said. With that preference you can hide it on forms you dont care about
KevinJ of Kansas
04/11/2019, 12:57 AM
Which bypasses the mandatory flag
b
Ben
04/11/2019, 1:14 AM
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.
Ben
04/11/2019, 2:15 AM
@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?