Scripting

  • 1.  I hope I'm not missing something simple, but I'm t

    Posted 09-23-2015 20:31
    I hope I'm not missing something simple, but I'm trying to stop the user before they move off of the Header tab of Sales Order Entry if the warehouse is equal to X, so that I can force them to change to a valid warehouse code prior to them getting to the Lines tab. It's important that all new lines adopt the correct warehouse code. Is there a way to ""require"" a field when they try to focus on a new tab? Or maybe I'm thinking of this the wrong way - maybe there's a more efficient or cleaner way to go at this?


  • 2.  RE: I hope I'm not missing something simple, but I'm t

    Posted 09-23-2015 21:19
      |   view attached
    The new UI scripting in 2015 allows this. Part of the VIP program last year gave some scripts that prevented a user from exiting a tab if a field was blank, it would pop a message indicating the field was required. So I imagine you could just change it to be the value and off you go! I have attached the script package. I believe it is the IMTransExit script. Good Luck!

    Attachment(s)

    zip
    VIPScripts.zip   2 KB 1 version


  • 3.  RE: I hope I'm not missing something simple, but I'm t

    Posted 09-24-2015 03:11
    thanks @MichelleNichols I was not aware of the VIP scripts.


  • 4.  RE: I hope I'm not missing something simple, but I'm t

    Posted 09-24-2015 06:11
    That's beautiful, Michelle - thank you so much!! It looks like I have an upgrade opportunity too, now. I can't wait to try this on my side!


  • 5.  RE: I hope I'm not missing something simple, but I'm t

    Posted 09-24-2015 06:48
    UI Scripting is super fun! I look for opportunities to use it. And for those clients worried about the clerks not completing work and taking shortcuts, this is a HUGE upsell. Glad this will work!