Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
woodsdarren 1/14/2012 5:34:17 PM

VS Tools - Validate Field

I am validating the Customer Number field on the Customer Maintenance window.  I have this working just fine using the CustomerNumber.LeaveAfterOriginal event.  My issue is when a customer is added on the fly from another window such as cash Receipts.  This event does not fire, in fact none of the field events seem to fire and the form event do not have the Customer Number value yet.  I realize I could put code on the other windows to validate before they reach the Customer Maintenance form, but I would rather keep all code on the same form if possible.  Anyone have any ideas?  I started playing with trapping Procedure events, but could not find the right one.

Thank a lot,


Version: GP 2010
Section: Visual Studio Tools for Dynamics GP

Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables