What event is the script assigned to? I would guess that it is on the column pre-validate of VendoNo$ of PO Purchase Order Header, but there are also several things in your script that don't make sense.
↧