Patrick Roth - Click for blog homepageThis is a reposting of an article Patrick Roth originally wrote on my Developing for Dynamics GP blog.

Every so often, a developer might need to check or set the status of a form level menu item.  Say, for instance, the goal would be to make sure that the “Add Item” menu item of the Sales Transaction Entry Options menu was checked.

Read more →

Chris Roehrich - Click for blog homepageThis is a reposting of an article Chris Roehrich originally wrote on my Developing for Dynamics GP blog.

This post is due to requests I have come across in the past and very recently in a support incident.  The question raised was how to retrieve quantity amounts like Quantity On Hand for inventory items?  This Visual Studio 2005 (C#) sample shows how to retrieve the Quantity On Hand value for an Inventory Item.  The SalesItem class provides a Quantities property which is a collection of SalesItemWarehouse objects.  The SalesItemWarehouse object contains the different quantity amounts for each Item and Site combination.  These values are stored in the IV00102 table.

Read more →

Dave Dusek - Click for blog homepageThis is a reposting of an article Dave Dusek originally wrote on my Developing for Dynamics GP blog.

A common situation that can happen when coding with Dexterity is an error that you attempted to use the old()/diff() function from a field that doesn’t have focus. The exact error message is as follows:

Unhandled Script Exception: Attempt to use old()/diff() from a field that does not have focus.

Read more →