Developing for Dynamics GP

by David Musgrave (Perth, Australia) and Microsoft Dynamics GP Developer Support Team (Fargo, ND, USA)

Hybrid - Adding Record Notes to a window Example

Hybrid - Adding Record Notes to a window Example

  • Comments 2

David MeegoI spent this morning discussing a very interesting customisation with my good friend Mariano Gomez.  We had both seen a newsgroup posting asking if it was possible to add access to the Item Master's record note from the Item Inquiry window using VBA. Mariano had told me that he wanted to see if he could do it and this morning sent me the first version of his code as a package. 

After a long messenger chat and a few ideas from me, he came up with a streamlined version and posted it on his blog.  For the full story and a very detailed step by step instructions please see his post here. During the day today I made some fine tuning changes to his v10.0 code and created packages for versions 8.0 and 9.0 as well as version 10.0.

This VBA example shows it is possible to add access to record notes from a window using Modifier to add the fields and VBA scripts with passthrough Dexterity sanScript to make it work as though it was an original part of the window. 

By using the Continuum Integration Library from VBA we were able to access the 'Note Index' value from the IV_Item_MSTR table buffer and also leverage the Note_Button and Check_For_Note Dexterity global procedures to re-use some of the standard Microsoft Dynamics GP code.

NOTE: This customisation uses a method of executing Dexterity sanScript code from VBA which is unsupported by Microsoft.

Example code for v8.0, v9.0 & v10.0 is attached at the bottom of the article.

Please see the "Installation Instructions.txt" file in each version's archive for more information.

Attachment: Record Notes
Page 1 of 1 (2 items)
Comments Information


Please only post comments relating to the topic of this page.

If you wish to ask a technical question, please use the links in the links section (scroll down, on right hand side) to ask on the Newsgroups or Forums. If you ask on the Newsgroups or Forums, others in the community can respond and the answers are available for everyone in the future.

Leave a Comment
  • Please add 4 and 3 and type the answer here:
  • Post