Hello ,
how I can add event handler in additional part for the sales transaction entry in Microsoft dynamics GP 2013
*This post is locked for comments
Hello ,
how I can add event handler in additional part for the sales transaction entry in Microsoft dynamics GP 2013
*This post is locked for comments
Mr. Ibrahim
I would like to welcome you to Dynamics GP Community as this seems to be your very first post.
The form name is SopEntryForm. Although,I believe you need to consider the Name Wizard in order to be able to get the windows, fields and forms names in general. As shown below;
Give a man a fish and you feed him for a day, teach a man to fish and you feed him for a lifetime :)
Never hesitate to share any further inquiries,
The technical name for the Sales Transaction Entry form is SopEntryForm and the window name is SopEntry.
Example Code for add window to Sales Transaction Entry window additional menu as below.
static SopEntryForm sopFormName = Dynamics.Forms.SopEntry;
static SopEntryForm.SopEntryWindow sopWindowName = sopFornName.SopEntry;
public void Initialize()
{
sopFornName.AddMenuHandler(addNewWindow, "New Window", "N");
}
static void addNewWindow(object Sender, EventArgs e)
{
// check to make sure the form is not either empty or already created
if (window1Obj == null)
{
window1Obj = new Window1();
}
else if (window1Obj.Created == false)
{
window1Obj = new Window1();
}
window1Obj.Show();
window1Obj.Activate();
window1Obj.WindowState = System.Windows.Forms.FormWindowState.Normal;
}
Hope this helps!!!
thanks guys,
I am working with VS Tools, but I want to know what's the technical form name for the Sales transaction screen
Yes you can add event handlers using VS Tools as Soma suggested. Below is the tutorial you can start with.
dynamicsgpblogster.blogspot.in/.../getting-started-with-visual-studio.html
Please note that
1. The tutorial uses Visual Studio 2008. Since you are on GP 2013 you should use VS 2010.
2. Also you should install VS Tools SDK from your GP 2013 install disk and it will be available under Tools\SDK
Hope this helps.
Create a addons in VSTools and add it the window Sales Transaction Entry window.
Hope this helps!!!
André Arnaud de Cal...
292,489
Super User 2025 Season 1
Martin Dráb
231,305
Most Valuable Professional
nmaenpaa
101,156