Site Search:
Sign in | Join | Help

Open a Sales Transaction's Notes Automatically?

Last post 03-13-2008 11:52 AM by Steve Gray. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-12-2008 4:29 PM

    Open a Sales Transaction's Notes Automatically?

    Hello everyone. Let me preface this by saying that until today, I have no real experience using Visual Studio or coding in C#. I do have a fairly large background in programming though, so don't worry about that.

    The business needs of my company changed recently, and we need to help out some of our Dynamics GP users usability-wise. One such improvement that they've been asking for is a way for a document's notes (if already attached) to open as soon as they open it in the Sales Transaction Entry form.

    Using the examples provided in the Visual Studio Tools for Microsoft Dynamics GP Programmer's Guide, I've been able to figure out how to open a Note form when a user opens the Sales Transaction Entry form. However, I haven't been able to figure out how to open notes that have already been attached to the document. I've looked through what seems like a billion properties using Visual Studio's IntelliSense, but I can't seem to make any sense of it.

    If anyone has any ideas, please share. Thanks in advance.

    --Matt
     

    Filed under:
    • 24.75.47.130
  • 03-13-2008 11:52 AM In reply to

    Re: Open a Sales Transaction's Notes Automatically?

    The basic technique for opening forms is to find the button and set it's value to 1 (myButton.value = 1)

    It's kind of a pain, sometimes, to get the name of the button. Sometimes you can just figure it out, sometimes i'll add the button to VBA and go into the VBA editor (this is not Visual Studio, but the VBA editor that comes with Dynamics) and open up the codepage for that form and see what just got added to the object dropdown.

    You might also be able to go into Modifier (Tools > Customize > Modify This Form) and find the name there.

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 71.100.137.9
Page 1 of 1 (2 items)