Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36993

Forum Post: Down Arrow Key in PO Entry Causes Script to Create New Line or Modify Next Line on PO

$
0
0
I created a script that is triggered off the Column - Post-Validate event on a PO line item UDF. The UDF is located in the upper grid (GD_Lines). The script does exactly what I want it to do as long as the user hits the enter key before they leave the field. If they hit the down arrow key, the following line on the PO gets changed to exactly what was on the first line if it's an existing PO or, it adds a new line mirroring the previous line if it's a new PO. I'm assuming it has to do with focus changing due to the movement of the cursor due to the down arrow key but I'm not sure how to handle this in the script. I also tried the Column - Pre-Validate event and got the same results. Any suggestions would be appreciated. thx.

Viewing all articles
Browse latest Browse all 36993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>