- 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."
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.