This short example will demonstrate how to open note windows in the SOP Sales Transaction Entry form using Visual Studio Tools for Dynamics GP
The code is pretty self explanitory, we add an event handler in the Initialize method, and we show how to open 9 different windows. The hard part was figuring out what button went with what functionality, because they have semi cryptic names
In our example below, we run of the CustomerNumberChanged event, and we open all the windows at one time.
If you use this code as-is you'll get some errors because some of the notes windows require something. For example the Batch note button requires a batch to open.