Why won’t my Dexterity Application Dictionary update?

This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
A couple of weeks ago, I had another interesting situation raised by Sivakumar Venkataraman. In this scenario, we had a custom Dexterity dictionary installed on a customer’s system. This customisation contained a table definition for a temporary table. To support some additional functionality, the temporary table needed an extra index added. Installing the updated chunk on the customer’s system failed to add the new index to the table definition. Running the code generated errors about an invalid index.

