- Add the Sales Serial Number Entry window to VBA
- On the Window_BeforeModalDialog event paste in this code:
If PromptString = "Do you want to add this serial number?" Then
Answer = dcButton2
MsgBox "You must select a serial number from the list of available serial numbers."
End If
Now, when a user attempts to add a serial number on the fly when fulfilling a Sales Document they will be presented with a message instructing them to pick one from the list instead.
3 comments:
Awesome! Will this work on GP versions 10 or is this for 2010 only?
I'm still flooded with GP 10 work so I haven't even tested this on GP 2010 yet.
So, to answer your question; Yes it will work on GP 10. That is the version on which it was built and tested. I haven't tested it on GP2010 yet.
Thanks! Works like a charm on GP 2010.
Post a Comment